/* ==========================================================================
   SAM'S CLEANING — CONTACT PAGE STYLES (contact.css)
   Companion to style.css — inherits all brand tokens & components
   ========================================================================== */

/* =========================================================
   SECTION 1 — HERO BANNER
   Uses shared home-page hero classes (.hero-section, .hero-wrapper,
   .hero-content, .hero-visual, .hero-img) from style.css.
   ========================================================= */
.contact-page .page-hero {
  flex: none;
}

.contact-page .page-hero .hero-wrapper {
  min-height: 520px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ct-hero-btn {
  gap: 0.85rem;
}

@media (max-width: 992px) {
  .contact-page .page-hero .hero-wrapper {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-page .page-hero .hero-wrapper {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
}

/* =========================================================
   SECTION 2 — MAIN CONTACT SECTION
   Two-column: Left Info + Image / Right Quote Form Card
   ========================================================= */
.ct-main-section {
  position: relative;
  background-color: var(--color-bg);
  padding: 6rem 0;
  border-bottom: 1px solid rgba(229, 219, 203, 0.5);
}

.ct-main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 5.5rem;
  align-items: flex-start;
}

/* --- Left Column: Image Card & Contact Channels --- */
.ct-info-col {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.ct-img-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 56, 40, 0.1);
  border: 1px solid rgba(229, 219, 203, 0.85);
  background-color: #EAE3D5;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.ct-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(20, 56, 40, 0.16);
}

.ct-living-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.ct-img-card:hover .ct-living-img {
  transform: scale(1.03);
}

.ct-section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.ct-info-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.95rem;
}

.ct-info-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--color-text-body);
  margin-bottom: 2rem;
}

/* Channels List */
.ct-channels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ct-channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform var(--transition-fast);
}

.ct-channel-item:hover {
  transform: translateX(4px);
}

.ct-channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(20, 56, 40, 0.16);
  transition: all var(--transition-fast);
}

.ct-channel-item:hover .ct-channel-icon {
  background-color: var(--color-accent-gold);
  transform: scale(1.08);
}

.ct-channel-icon--gold {
  background-color: var(--color-accent-gold);
}

.ct-channel-item:hover .ct-channel-icon--gold {
  background-color: var(--color-primary);
}

.ct-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ct-channel-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

a.ct-channel-heading:hover {
  color: var(--color-accent-gold);
}

.ct-channel-sub {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* --- Right Column: Quote Form Card --- */
.ct-form-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(20, 56, 40, 0.08);
  padding: 3.2rem 3rem;
  position: relative;
}

.ct-form-header {
  margin-bottom: 2rem;
}

.ct-form-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.ct-form-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}

.ct-form-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Direct Form Elements */
.ct-direct-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
}

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 8px;
  border: 1.5px solid #DDD3C3;
  background-color: #FAF8F5;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
}

.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(20, 56, 40, 0.12);
}

.ct-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.ct-submit-btn {
  padding: 1.05rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Form Success State */
.ct-form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.ct-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #E8F5EE;
  color: var(--color-primary);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ct-form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.ct-form-success p {
  color: var(--color-text-body);
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

/* Or Divider */
.ct-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.8rem 0 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.ct-or-divider::before,
.ct-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.ct-or-divider span {
  padding: 0 1rem;
  font-weight: 500;
  color: #7D8E86;
}

/* Quick Direct Call Strip */
.ct-direct-call-strip {
  text-align: center;
}

.ct-call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.ct-call-icon {
  color: var(--color-accent-gold);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.ct-call-link:hover {
  color: var(--color-accent-gold);
}

.ct-call-link:hover .ct-call-icon {
  transform: rotate(15deg) scale(1.1);
}

/* =========================================================
   SECTION 3 — OUR SERVICE AREAS
   Two-column: Suburbs list & Interactive Sydney Region Map
   ========================================================= */
.ct-areas-section {
  position: relative;
  background-color: var(--color-bg);
  padding: 6.5rem 0;
}

.ct-areas-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5.5rem;
  align-items: center;
}

.ct-areas-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.ct-areas-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-body);
  margin-bottom: 2rem;
}

/* Suburbs Grid */
.ct-suburbs-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2rem;
  margin-bottom: 2.5rem;
}

.ct-suburb-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.ct-check-icon {
  color: var(--color-accent-gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ct-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 8px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--color-primary);
}

/* --- Map Card & Photo --- */
.ct-map-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 56, 40, 0.12);
  border: 1px solid rgba(229, 219, 203, 0.9);
  background-color: #F4EDE2;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.ct-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(20, 56, 40, 0.18);
}

.ct-map-wrapper {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.ct-map-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-map-card:hover .ct-map-img {
  transform: scale(1.03);
}

/* =========================================================
   SECTION 4 — CTA BANNER
   "Ready for a cleaner, healthier space? Contact Sam Today!"
   ========================================================= */
.ct-cta-banner {
  background-color: var(--color-primary);
  background: radial-gradient(circle at 50% 25%, #184431 0%, #143828 60%, #0E291D 100%);
  padding: 5.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(229, 219, 203, 0.15);
}

.ct-cta-leaf-left,
.ct-cta-leaf-right {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0.08;
  background: radial-gradient(circle, #FFFFFF 0%, transparent 70%);
  pointer-events: none;
}

.ct-cta-leaf-left  { top: -100px; left: -80px; }
.ct-cta-leaf-right { bottom: -100px; right: -80px; }

.ct-cta-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  margin: 0 auto;
}

.ct-cta-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #D4AF37;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ct-cta-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  margin-bottom: 2.2rem;
}

.ct-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.ct-cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   FOOTER brand divider
   ========================================================= */
.footer-brand-divider {
  width: 1px;
  height: 54px;
  background: rgba(229, 219, 203, 0.4);
  margin: 0 1.4rem;
  flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE — TABLET (max 992px)
   ========================================================= */
@media (max-width: 992px) {

  .ct-main-section {
    padding: 4.5rem 0;
  }

  .ct-main-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 0 1.8rem;
  }

  .ct-info-title {
    font-size: 2.3rem;
  }

  .ct-living-img {
    height: 300px;
  }

  .ct-form-card {
    padding: 2.5rem 2rem;
  }

  .ct-form-title {
    font-size: 2.1rem;
  }

  /* Areas section */
  .ct-areas-section {
    padding: 4.5rem 0;
  }

  .ct-areas-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.8rem;
  }

  .ct-areas-title {
    font-size: 2.5rem;
  }

  /* CTA */
  .ct-cta-title {
    font-size: 2.4rem;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE (max 640px)
   ========================================================= */
@media (max-width: 640px) {

  .ct-main-section {
    padding: 3.5rem 0;
  }

  .ct-main-container {
    padding: 0 1.25rem;
    gap: 2.8rem;
  }

  .ct-living-img {
    height: 220px;
  }

  .ct-info-title {
    font-size: 2rem;
  }

  .ct-channel-item {
    gap: 1rem;
  }

  .ct-channel-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .ct-channel-heading {
    font-size: 1rem;
  }

  .ct-form-card {
    padding: 2rem 1.4rem;
    border-radius: 16px;
  }

  .ct-form-title {
    font-size: 1.8rem;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Areas section */
  .ct-areas-section {
    padding: 3.5rem 0;
  }

  .ct-areas-container {
    padding: 0 1.25rem;
    gap: 2.2rem;
  }

  .ct-areas-title {
    font-size: 2rem;
  }

  .ct-suburbs-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* CTA */
  .ct-cta-banner {
    padding: 4rem 1.25rem;
  }

  .ct-cta-title {
    font-size: 1.95rem;
  }

  .ct-cta-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
  }
}

