/* ============================================================
   contact.css — Contact page specific styles
   ------------------------------------------------------------
     • Reduce hero top padding by ~30%
     • 4 enhanced contact cards (Admissions / General / WhatsApp / Hours)
     • New subject list in the form
     • 16:9 Google Maps embed below the form
============================================================ */

/* ============================================================
   1. HERO — reduced top padding (~30% less)
============================================================ */

.contact-hero {
  /* Original .page-header padding was ~clamp(60px, 8vw, 120px).
     30% reduction → ~clamp(42px, 5.6vw, 84px). */
  padding: clamp(42px, 5.6vw, 84px) 0 clamp(28px, 3vw, 48px);
  background: var(--surface);
}

.contact-hero .ph-bread {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.contact-hero .ph-sep { margin: 0 8px; color: var(--ink-soft); }

.contact-hero h1.ph-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--secondary);
  margin-bottom: 14px;
}

.contact-hero p.ph-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: #4a6885;
  margin: 0;
  max-width: 620px;
}

/* ============================================================
   2. CONTACT CARDS — 4-card grid with WhatsApp, Hours, etc.
============================================================ */

.contact-cards-wrap {
  padding: clamp(28px, 3vw, 48px) 0;
}

.cc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.cc-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}
.cc-tile:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-soft);
  box-shadow: 0 24px 50px -30px rgba(0, 50, 98, 0.3);
}

/* Top color accent bar — varies per card type */
.cc-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--secondary);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.cc-tile:hover::before { opacity: 1; }

.cc-tile.whatsapp::before { background: #25D366; }
.cc-tile.hours::before { background: var(--accent-gradient); }
.cc-tile.general::before { background: #2A9D8F; }

/* Icon */
.cc-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: clamp(16px, 1.8vw, 22px);
  transition: all 0.3s ease;
}
.cc-tile:hover .cc-icon {
  background: var(--secondary);
  color: var(--primary);
}
.cc-tile.whatsapp:hover .cc-icon { background: #25D366; color: #fff; }
.cc-tile.hours:hover .cc-icon { background: var(--accent-gradient); color: var(--secondary); }
.cc-tile.general:hover .cc-icon { background: #2A9D8F; color: #fff; }
.cc-icon svg { width: 22px; height: 22px; }

.cc-tile .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.cc-tile h4 {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cc-tile .val {
  font-size: 13.5px;
  color: #4a6885;
  line-height: 1.6;
  margin: 0;
}
.cc-tile .val a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}
.cc-tile .val a:hover { color: var(--accent); }

.cc-tile .note {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   3. CONTACT BODY — form + sidebar info
============================================================ */

.contact-body { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 64px); }

.cb-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.cb-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 24px);
  padding: clamp(28px, 3.5vw, 44px);
}

.cb-form-wrap h4 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 6px;
}
.cb-form-wrap .sub {
  font-size: 14.5px;
  color: var(--ink-mute);
  margin: 0 0 clamp(22px, 2.5vw, 30px);
}

/* Sidebar info block */
.cb-side {
  background: var(--secondary);
  color: var(--primary);
  border-radius: clamp(18px, 2vw, 24px);
  padding: clamp(28px, 3vw, 36px);
  position: sticky;
  top: 100px;
}

.cb-side .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 216, 0, 0.12);
  border: 1px solid rgba(255, 216, 0, 0.25);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cb-side .pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

.cb-side h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: clamp(16px, 1.8vw, 22px);
}

.cb-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 20px);
}
.cb-side-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: clamp(16px, 1.6vw, 20px);
  border-bottom: 1px solid rgba(240, 248, 255, 0.12);
}
.cb-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cb-side-item .ico {
  width: 36px;
  height: 36px;
  background: rgba(240, 248, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cb-side-item .ico svg { width: 16px; height: 16px; }
.cb-side-item .body { flex: 1; min-width: 0; }
.cb-side-item .lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 248, 255, 0.55);
  margin-bottom: 4px;
}
.cb-side-item .val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
}
.cb-side-item .val a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dotted rgba(240, 248, 255, 0.3);
}
.cb-side-item .val a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   4. MAP SECTION — 16:9 Google Maps embed
============================================================ */

.map-section { padding: clamp(40px, 5vw, 80px) 0; }

.map-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  width: fit-content;
  margin-bottom: 14px;
}
.map-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.map-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--secondary);
}
.map-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #4a6885;
}
.map-intro a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--secondary-soft);
}
.map-intro a:hover { border-bottom-style: solid; }

/* 16:9 map embed */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(20px, 2.5vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(0, 50, 98, 0.3);
  background: var(--primary-deep);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   5. RESPONSIVE
============================================================ */

@media (max-width: 980px) {
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
  .cb-grid { grid-template-columns: 1fr; }
  .cb-side { position: static; }
  .map-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
}

@media (max-width: 540px) {
  .cc-grid { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 4 / 5; }
}
