/* ════════════════════════════════════════════════════════════
   CONTACT.CSS — Contact Page
   Requires: variables.css, common.css loaded first.
   ════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   HERO — Video bg + navy overlay + 4-card info strip
   ════════════════════════════════════════════════════════════ */
#contact-hero {
  position:   relative;
  padding:    140px 64px 0;          /* no bottom padding — info strip sits flush */
  overflow:   hidden;
  isolation:  isolate;
  text-align: center;
}

.ch-video {
  position:   absolute;
  inset:      0;
  width:      100%;
  height:     100%;
  object-fit: cover;
  z-index:    -2;
}

#contact-hero::after {
  content:    '';
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  bottom:     0;
  background: linear-gradient(180deg,
                rgba(15, 27, 61, 0.92) 0%,
                rgba(15, 27, 61, 0.88) 50%,
                rgba(15, 27, 61, 0.94) 100%);
  z-index:    -1;
}

.ch-content {
  max-width: 900px;
  margin:    0 auto 80px;
  z-index: 1;
  position: inherit;
}

#contact-hero .section-label {
  justify-content: center;
}

.ch-title {
  font-family:    var(--font-display);
  font-size:      clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight:    900;
  line-height:    1.05;
  color:          var(--white);
  margin:         14px 0 18px;
  letter-spacing: -0.01em;
}

.ch-sub {
  font-family: var(--font-body);
  font-size:   16px;
  line-height: 1.7;
  color:       rgba(255, 255, 255, 0.78);
  max-width:   620px;
  margin:      0 auto;
}


/* ── Yellow info strip at the bottom of the hero ── */
.ch-info-strip {
  position:              relative;
  background:            var(--sun);
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   28px;
  padding:               34px 64px;
  width:             100%;
  z-index: 1;
}

.ch-info {
  display:     flex;
  align-items: center;
  gap:         16px;
}

.ch-info-icon {
  width:           48px;
  height:          48px;
  border-radius:   12px;
  background:      var(--navy);
  color:           var(--sun);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       18px;
  flex-shrink:     0;
}

.ch-info-label {
  font-family:    'Inter', sans-serif;
  font-size:      10px;
  font-weight:    800;
  color:          var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom:  4px;
}

.ch-info-value {
  font-family: var(--font-heading);
  font-size:   15px;
  font-weight: 800;
  color:       var(--navy);
  line-height: 1.2;
  margin-bottom: 3px;
}

.ch-info-meta {
  font-family: 'Inter', sans-serif;
  font-size:   12px;
  font-weight: 500;
  color:       rgba(15, 27, 61, 0.7);
}


/* ════════════════════════════════════════════════════════════
   FORM + SIDEBAR
   ════════════════════════════════════════════════════════════ */
#contact-form-section {
  background: var(--white);
  padding:    90px 64px 100px;
}

.cfs-grid {
  display:               grid;
  grid-template-columns: 1.4fr 1fr;
  gap:                   60px;
  max-width:             1240px;
  margin:                0 auto;
  align-items:           start;
}


/* ── Left form card ── */
.cf-card {
  background:    var(--white);
  border-radius: 18px;
  padding:       40px 44px 44px;
  box-shadow:    0 12px 40px rgba(15, 27, 61, 0.08);
}

.cf-title {
  font-family:    var(--font-display);
  font-size:      clamp(1.8rem, 3vw, 2.4rem);
  font-weight:    900;
  color:          var(--navy);
  margin:         8px 0 10px;
  line-height:    1.15;
  letter-spacing: -0.01em;
}

.cf-sub {
  font-family: 'Inter', sans-serif;
  font-size:   14px;
  line-height: 1.6;
  color:       var(--text-soft);
  margin:      0 0 28px;
}

.cf-form {
  display:        flex;
  flex-direction: column;
  gap:            20px;
}

.cf-row {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   16px;
}

.cf-field { display: flex; flex-direction: column; }

.cf-field label {
  font-family:   'Inter', sans-serif;
  font-size:     13px;
  font-weight:   700;
  color:         var(--navy);
  margin-bottom: 8px;
}
.cf-field label span { color: var(--coral); }

.cf-field input,
.cf-field textarea {
  font-family:   'Inter', sans-serif;
  font-size:     14px;
  font-weight:   400;
  color:         var(--navy);
  background:    #F6F8FC;
  border:        1px solid #E4E8F0;
  border-radius: 10px;
  padding:       12px 14px;
  outline:       none;
  resize:        vertical;
  transition:    border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(15, 27, 61, 0.4); }
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--sun);
  background:   var(--white);
  box-shadow:   0 0 0 3px rgba(245, 200, 0, 0.18);
}

.cf-submit {
  background:    var(--navy);
  color:         var(--sun);
  font-family:   'Inter', sans-serif;
  font-weight:   800;
  font-size:     14px;
  letter-spacing: 0.06em;
  padding:       16px 30px;
  border-radius: 50px;
  border:        none;
  cursor:        pointer;
  margin-top:    8px;
  transition:    all 0.3s var(--ease-bounce);
}
.cf-submit:hover {
  background: var(--sun);
  color:      var(--navy);
  transform:  translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 27, 61, 0.15);
}


/* ── Right sidebar ── */
.cfs-side {
  display:        flex;
  flex-direction: column;
  gap:            22px;
}


/* Collage */
.cs-collage          { display: flex; flex-direction: column; gap: 10px; }
.cs-collage-main     {
  border-radius: 14px;
  overflow:      hidden;
  aspect-ratio:  16 / 10;
  box-shadow:    0 12px 32px rgba(15, 27, 61, 0.1);
}
.cs-collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-collage-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-collage-row > div {
  border-radius: 14px;
  overflow:      hidden;
  aspect-ratio:  4 / 3;
  box-shadow:    0 10px 28px rgba(15, 27, 61, 0.1);
}
.cs-collage-row img  { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Branches card */
.cs-branches {
  background:    var(--navy);
  border-radius: 16px;
  padding:       28px 28px 26px;
  color:         var(--white);
}

.cs-branches .section-label {
  color: var(--sun);
}
.cs-branches .section-label::before,
.cs-branches .section-label::after {
  background: var(--sun);
}

.cs-branches-title {
  font-family: var(--font-display);
  font-size:   1.45rem;
  font-weight: 900;
  color:       var(--white);
  margin:      10px 0 22px;
  line-height: 1.2;
}

.cs-branch-list {
  list-style:     none;
  padding:        0;
  margin:         0 0 22px;
  display:        flex;
  flex-direction: column;
  gap:            14px;
}

.cs-branch-list li {
  display:     flex;
  align-items: center;
  gap:         14px;
}

.cs-branch-icon {
  width:           34px;
  height:          34px;
  border-radius:   50%;
  background:      var(--sun);
  color:           var(--navy);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       13px;
  flex-shrink:     0;
}

.cs-branch-name {
  font-family: var(--font-heading);
  font-size:   14px;
  font-weight: 800;
  color:       var(--white);
  line-height: 1.2;
}

.cs-branch-area {
  font-family: 'Inter', sans-serif;
  font-size:   12px;
  color:       rgba(255, 255, 255, 0.55);
  margin-top:  3px;
}

.cs-branch-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  background:      var(--sun);
  color:           var(--navy);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       12px;
  letter-spacing:  0.06em;
  padding:         10px 18px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.cs-branch-cta:hover {
  background: var(--white);
  transform:  translateY(-2px);
}
.cs-branch-cta span { transition: transform 0.3s; display: inline-block; }
.cs-branch-cta:hover span { transform: translateX(3px); }


/* Ready to Enroll callout */
.cs-enroll {
  background:    var(--cream);
  border:        2px solid var(--sun);
  border-radius: 16px;
  padding:       22px 24px 26px;
}

.cs-enroll-icon {
  font-size:    24px;
  margin-bottom: 8px;
}

.cs-enroll h4 {
  font-family: var(--font-display);
  font-size:   1.3rem;
  font-weight: 900;
  color:       var(--navy);
  margin:      0 0 8px;
}

.cs-enroll p {
  font-family: 'Inter', sans-serif;
  font-size:   13px;
  line-height: 1.65;
  color:       var(--text-soft);
  margin:      0 0 16px;
}

.cs-enroll-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  background:      var(--navy);
  color:           var(--sun);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       13px;
  padding:         11px 22px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.cs-enroll-cta:hover {
  background: var(--sun);
  color:      var(--navy);
  transform:  translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 27, 61, 0.15);
}


/* ════════════════════════════════════════════════════════════
   INTERACTIVE MAP PLACEHOLDER
   ════════════════════════════════════════════════════════════ */
#contact-map {
  background: var(--white);
  padding:    20px 64px 90px;
}

.cm-frame {
  position:      relative;
  max-width:     1100px;
  margin:        0 auto;
  background:    #F4F6FB;
  border-radius: 22px;
  padding:       80px 40px;
  min-height:    320px;
  text-align:    center;
}

.cm-center { position: relative; z-index: 1; }

.cm-center-icon { font-size: 36px; margin-bottom: 10px; }

.cm-center h3 {
  font-family: var(--font-display);
  font-size:   1.6rem;
  font-weight: 900;
  color:       var(--navy);
  margin:      0 0 8px;
}

.cm-center p {
  font-family: 'Inter', sans-serif;
  font-size:   14px;
  color:       var(--text-soft);
  margin:      0;
  max-width:   480px;
  margin:      0 auto;
}

.cm-pin {
  position:       absolute;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  z-index:        2;
}
.cm-pin::before {
  content:       '';
  width:         28px;
  height:        28px;
  border-radius: 50%;
  background:    var(--navy);
  border:        3px solid var(--sun);
  margin-bottom: 4px;
  position:      relative;
}
.cm-pin::after {
  content:       '📍';
  position:      absolute;
  top:           4px;
  font-size:     14px;
  color:         var(--sun);
}
.cm-pin span {
  background:    var(--sun);
  color:         var(--navy);
  font-family:   var(--font-heading);
  font-size:     11px;
  font-weight:   800;
  padding:       3px 9px;
  border-radius: 50px;
  white-space:   nowrap;
}

.cm-pin--1 { top: 22%; left: 18%; }
.cm-pin--2 { top: 28%; left: 52%; }
.cm-pin--3 { top: 60%; left: 38%; }
.cm-pin--4 { top: 24%; right: 18%; }


/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
#contact-faq {
  background: #F4F6FB;
  padding:    80px 64px 90px;
}

.cfaq-head {
  text-align:    center;
  margin-bottom: 44px;
}

.cfaq-head .section-label {
  justify-content: center;
}

.cfaq-title {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 4vw, 3rem);
  font-weight:    900;
  color:          var(--navy);
  margin:         10px 0 0;
  line-height:    1.1;
  letter-spacing: -0.01em;
}

.cfaq-list {
  max-width:      800px;
  margin:         0 auto;
  display:        flex;
  flex-direction: column;
  gap:            14px;
}

.cfaq-item {
  background:    var(--white);
  border-radius: 14px;
  box-shadow:    0 6px 20px rgba(15, 27, 61, 0.06);
  overflow:      hidden;
}

.cfaq-item summary {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
  padding:         18px 24px;
  font-family:     'Inter', sans-serif;
  font-size:       15px;
  font-weight:     700;
  color:           var(--navy);
  cursor:          pointer;
  list-style:      none;
  transition:      background 0.2s;
}
.cfaq-item summary::-webkit-details-marker { display: none; }
.cfaq-item summary:hover { background: #FAFBFE; }

.cfaq-toggle {
  width:           28px;
  height:          28px;
  border-radius:   50%;
  background:      #EEF1F8;
  color:           var(--navy);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       16px;
  font-weight:     700;
  flex-shrink:     0;
  transition:      transform 0.3s var(--ease-bounce), background 0.25s;
}
.cfaq-item[open] .cfaq-toggle {
  transform:  rotate(45deg);
  background: var(--sun);
}

.cfaq-item p {
  font-family: 'Inter', sans-serif;
  font-size:   14px;
  line-height: 1.7;
  color:       var(--text-soft);
  margin:      0;
  padding:     0 24px 22px;
}


/* ════════════════════════════════════════════════════════════
   ENROLL CTA (navy section before footer)
   ════════════════════════════════════════════════════════════ */
#contact-enroll {
  background: var(--navy);
  padding:    100px 64px;
}

.ce-grid {
  display:               grid;
  grid-template-columns: 1fr 1.2fr;
  gap:                   72px;
  max-width:             1200px;
  margin:                0 auto;
  align-items:           center;
}


/* Collage */
.ce-collage          { display: flex; flex-direction: column; gap: 10px; }
.ce-collage-main     {
  border-radius: 14px;
  overflow:      hidden;
  aspect-ratio:  16 / 10;
}
.ce-collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-collage-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ce-collage-row > div {
  border-radius: 14px;
  overflow:      hidden;
  aspect-ratio:  4 / 3;
}
.ce-collage-row img  { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Content */
.ce-content .section-label {
  color: var(--sun);
}
.ce-content .section-label::before,
.ce-content .section-label::after {
  background: var(--sun);
}

.ce-title {
  font-family:    var(--font-display);
  font-size:      clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight:    900;
  color:          var(--white);
  line-height:    1.1;
  margin:         14px 0 18px;
  letter-spacing: -0.01em;
}

.ce-sub {
  font-family: 'Inter', sans-serif;
  font-size:   15px;
  line-height: 1.7;
  color:       rgba(255, 255, 255, 0.7);
  max-width:   520px;
  margin:      0 0 28px;
}

.ce-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  background:      var(--sun);
  color:           var(--navy);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       14px;
  padding:         15px 32px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.ce-cta:hover {
  background: var(--white);
  transform:  translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #contact-hero { padding: 130px 32px 0; }
  .ch-content   { margin-bottom: 60px; }
  .ch-info-strip {
    grid-template-columns: repeat(2, 1fr);
    margin:                0 -32px;
    padding:               28px 32px;
    gap:                   24px 28px;
  }

  #contact-form-section { padding: 70px 32px 80px; }
  .cfs-grid             { grid-template-columns: 1fr; gap: 40px; }
  .cf-card              { padding: 32px 28px 36px; }

  #contact-map   { padding: 10px 32px 70px; }
  .cm-frame      { padding: 70px 30px; }
  .cm-pin--1, .cm-pin--2, .cm-pin--3, .cm-pin--4 { display: none; }

  #contact-faq   { padding: 70px 32px 80px; }

  #contact-enroll { padding: 80px 32px; }
  .ce-grid        { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  #contact-hero   { padding: 110px 24px 0; }
  .ch-content     { margin-bottom: 48px; }
  .ch-info-strip {
    grid-template-columns: 1fr;
    margin:                0 -24px;
    padding:               24px;
    gap:                   18px;
  }

  #contact-form-section { padding: 60px 18px 70px; }
  .cf-card              { padding: 26px 22px 30px; }
  .cf-row               { grid-template-columns: 1fr; }

  #contact-map { padding: 0 18px 60px; }
  .cm-frame    { padding: 50px 24px; min-height: 240px; }

  #contact-faq { padding: 60px 18px 70px; }
  .cfaq-item summary { font-size: 14px; padding: 16px 18px; }
  .cfaq-item p       { padding: 0 18px 20px; font-size: 13.5px; }

  #contact-enroll { padding: 70px 24px; }
}