/* ============================================================
   KULKARNI DIABETOLOGY CENTRE — contact.css
   Standalone (includes all variables — no dependency on index.css)
   Info card structure: icon | label-col | divider | content-col
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:       #1a2e7a;
  --navy-dark:  #111e55;
  --cyan:       #00b8d9;
  --mint:       #00e5a0;
  --teal:       #00c9b1;
  --white:      #ffffff;
  --soft-bg:    #f0fbff;
  --text-dark:  #0d1b4b;
  --text-mid:   #3a4a7a;
  --text-light: #7a8ab0;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:      80px;
  --radius:     18px;
  --shadow:     0 8px 40px rgba(26,46,122,.12);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatCell {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  33%  { transform: translateY(-40px) scale(1.05) rotate(120deg); }
  66%  { transform: translateY(20px) scale(.95) rotate(240deg); }
  100% { transform: translateY(0) scale(1) rotate(360deg); }
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
@keyframes spinAnim { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.spin { animation: spinAnim .8s linear infinite; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,184,217,.15);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(26,46,122,.12); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 78px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 18px; border-radius: 50px;
  transition: all var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: linear-gradient(90deg, var(--mint), var(--cyan));
  border-radius: 2px; transition: all var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { left: 18px; right: 18px; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--cyan)) !important;
  color: var(--white) !important; padding: 10px 24px !important;
  border-radius: 50px !important; font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(0,184,217,.35);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,184,217,.5) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  padding: 20px 5% 30px; border-bottom: 1px solid rgba(0,184,217,.15);
  flex-direction: column; gap: 4px; z-index: 999;
  transform: translateY(-20px); opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--text-mid); padding: 12px 16px; border-radius: 12px; transition: all var(--transition); }
.mobile-nav a:hover { background: var(--soft-bg); color: var(--navy); }
.mobile-nav .nav-cta { margin-top: 8px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--cyan)) !important; color: var(--white) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy), #2541a8); color: var(--white);
  font-size: .95rem; font-weight: 600; padding: 14px 30px; border-radius: 50px;
  border: none; cursor: pointer; box-shadow: 0 6px 30px rgba(26,46,122,.35);
  transition: all var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,46,122,.4); }
.btn-primary:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy);
  font-size: .95rem; font-weight: 600; padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(0,184,217,.4); cursor: pointer; transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(0,184,217,.08); border-color: var(--cyan); transform: translateY(-3px); }
.btn-whatsapp { border-color: rgba(37,211,102,.5) !important; color: #128c3e !important; }
.btn-whatsapp:hover { background: rgba(37,211,102,.1) !important; border-color: #25d366 !important; }
.btn-whatsapp svg { color: #25d366; }
.btn-arrow { transition: transform var(--transition); }
.form-submit:hover .btn-arrow { transform: translateX(4px); }
.btn-loader { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--mint), var(--cyan), var(--navy));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: var(--white); border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 6px 24px rgba(0,184,217,.4);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all var(--transition); z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,184,217,.55); }

/* ============================================================
   CONTACT HERO
   ============================================================ */
.contact-hero {
  min-height: 52vh; padding-top: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; width: 100%;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,229,160,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,184,217,.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(26,46,122,.06) 0%, transparent 50%);
}
.hero-bg-cells { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cell { position: absolute; border-radius: 50%; opacity: .06; animation: floatCell linear infinite; }
.cell:nth-child(1) { width:200px;height:200px;background:var(--mint);top:5%;left:3%;animation-duration:20s; }
.cell:nth-child(2) { width:130px;height:130px;background:var(--cyan);top:65%;left:1%;animation-duration:24s;animation-delay:-5s; }
.cell:nth-child(3) { width:250px;height:250px;background:var(--navy);top:15%;left:78%;animation-duration:22s;animation-delay:-9s; }
.cell:nth-child(4) { width:100px;height:100px;background:var(--teal);top:72%;left:88%;animation-duration:18s;animation-delay:-3s; }
.cell:nth-child(5) { width:160px;height:160px;background:var(--mint);top:40%;left:50%;animation-duration:28s;animation-delay:-14s; }
.contact-hero-content {
  position: relative; z-index: 2; padding: 60px 5% 50px;
  width: 100%; max-width: 100%; animation: fadeSlideUp .8s ease both;
}
.contact-hero-content .hero-badge { margin-bottom: 20px; }
.contact-hero-content .hero-title {
  font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.8rem);
  font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 18px; word-wrap: break-word;
}
.contact-hero-content .hero-subtitle {
  font-size: 1.05rem; line-height: 1.75; color: var(--text-mid);
  max-width: 560px; margin: 0 auto 32px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0,229,160,.12), rgba(0,184,217,.12));
  border: 1px solid rgba(0,184,217,.25); color: var(--teal);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 20px;
}
.hero-badge .dot {
  width: 7px; height: 7px; background: var(--mint);
  border-radius: 50%; animation: pulse 2s ease infinite;
}
.contact-quick-pills {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeSlideUp .8s .3s ease both; width: 100%;
}
.quick-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid rgba(0,184,217,.2);
  border-radius: 50px; padding: 9px 18px; font-size: .85rem; font-weight: 500;
  color: var(--text-mid); box-shadow: 0 4px 16px rgba(26,46,122,.07);
  transition: all var(--transition); word-break: break-all; text-align: center;
}
.quick-pill:hover { color: var(--navy); border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,184,217,.18); }
.quick-pill.no-link { cursor: default; }
.quick-pill.no-link:hover { transform: none; }
.pill-icon { font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   TABS SECTION
   ============================================================ */
.contact-tabs-section {
  background: var(--soft-bg); border-bottom: 1px solid rgba(0,184,217,.12);
  padding: 0 8%; position: sticky; top: var(--nav-h); z-index: 90;
  box-shadow: 0 2px 16px rgba(26,46,122,.06); width: 100%; box-sizing: border-box;
}
.tabs-wrapper { display: flex; gap: 4px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.tabs-wrapper::-webkit-scrollbar { display: none; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 18px 28px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--text-mid);
  background: transparent; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap; transition: all var(--transition); outline: none;
}
.tab-btn:hover { color: var(--navy); background: rgba(0,184,217,.05); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--cyan); background: rgba(0,184,217,.06); }
.tab-icon { font-size: 1.05rem; }

/* ============================================================
   MAIN CONTACT GRID
   ============================================================ */
.contact-main {
  background: var(--soft-bg); padding: 52px 8% 80px;
  width: 100%; box-sizing: border-box; overflow: hidden;
}
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  align-items: flex-start; width: 100%; min-width: 0;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeSlideUp .5s ease both; }

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card {
  background: var(--white); border: 1px solid rgba(0,184,217,.12);
  border-radius: 28px; padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(26,46,122,.08);
  position: relative; overflow: hidden;
  width: 100%; min-width: 0; box-sizing: border-box;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--navy));
}
.form-card-header {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(0,184,217,.1);
  flex-wrap: wrap;
}
.form-card-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,229,160,.15), rgba(0,184,217,.15));
  border: 1px solid rgba(0,184,217,.2); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.form-card-header h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--navy); line-height: 1.2; margin-bottom: 4px;
  word-wrap: break-word; overflow-wrap: break-word;
}
.form-card-header p { font-size: .85rem; color: var(--text-light); line-height: 1.5; }
.form-banner {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px;
  border-radius: 14px; font-size: .88rem; line-height: 1.6; margin-bottom: 24px;
  animation: fadeSlideUp .4s ease both;
}
.form-banner.success { background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.3); color: #027a52; }
.form-banner.error   { background: rgba(229,57,53,.08); border: 1px solid rgba(229,57,53,.25); color: #c62828; }
.form-banner span:first-child { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.form-banner strong { display: block; margin-bottom: 2px; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 20px; width: 100%; min-width: 0; }
.form-row { display: flex; gap: 16px; width: 100%; }
.form-row.two-col > * { flex: 1 1 0; min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; width: 100%; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-dark); letter-spacing: .02em; }
.req { color: #e05555; }
.input-wrap { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; }
.input-icon { position: absolute; left: 14px; font-size: 1rem; pointer-events: none; z-index: 1; line-height: 1; }
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%; min-width: 0; padding: 12px 14px 12px 40px;
  font-family: var(--font-body); font-size: .9rem; color: var(--text-dark);
  background: var(--soft-bg); border: 1.5px solid rgba(0,184,217,.2);
  border-radius: 12px; transition: all var(--transition); outline: none;
  appearance: none; -webkit-appearance: none; box-sizing: border-box;
}
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--text-light); }
.input-wrap input:focus, .input-wrap select:focus, .input-wrap textarea:focus {
  border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 3px rgba(0,184,217,.12);
}
.input-wrap select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8ab0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.input-wrap select option { color: var(--text-dark); }
.input-wrap select optgroup { color: var(--navy); font-weight: 700; }
.textarea-wrap { align-items: flex-start; }
.textarea-wrap .input-icon { top: 14px; }
.input-wrap textarea { resize: vertical; min-height: 100px; }
.field-error { font-size: .76rem; color: #e05555; display: none; animation: fadeSlideUp .3s ease; }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; padding: 10px 0 4px; }
.radio-label { display: inline-flex; align-items: center; gap: 7px; font-size: .87rem; color: var(--text-mid); cursor: pointer; transition: color var(--transition); }
.radio-label input[type="radio"] { accent-color: var(--cyan); width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.radio-label:hover { color: var(--navy); }
.checkbox-group { margin-top: 4px; }
.checkbox-label { display: inline-flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--text-mid); cursor: pointer; line-height: 1.5; }
.checkbox-label input[type="checkbox"] { accent-color: var(--cyan); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px 28px; margin-top: 8px; border: none; }
.form-submit:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }

/* ============================================================
   INFO CARDS — right column
   Structure: icon | label-col | divider | content-col
   ============================================================ */
.info-cards {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 20px; width: 100%; min-width: 0;
}

.info-card {
  background: var(--white); border: 1px solid rgba(0,184,217,.12);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all var(--transition); box-shadow: 0 3px 16px rgba(26,46,122,.05);
  width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden;
}
.info-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26,46,122,.10);
  border-color: rgba(0,184,217,.28);
}

/* Emoji icon box */
.info-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem;
}

/* Label column — small caps title */
.info-card-label-col { flex-shrink: 0; width: 90px; }
.info-card-label-col h4 {
  font-size: .68rem; font-weight: 700; color: var(--navy);
  letter-spacing: .09em; text-transform: uppercase; margin: 0; line-height: 1.3;
}

/* Vertical divider */
.info-card-divider {
  width: 1px; height: 36px; background: rgba(0,184,217,.18);
  flex-shrink: 0; margin-right: 14px;
}

/* Content column */
.info-card-content-col {
  flex: 1; min-width: 0; display: flex; align-items: center;
  gap: 12px; flex-wrap: nowrap; overflow: hidden;
}
.info-card-main { flex: 1; min-width: 0; overflow: hidden; }

.info-card-main p {
  font-size: .84rem; color: var(--text-mid); line-height: 1.55; margin: 0;
  white-space: normal; word-break: break-word; overflow-wrap: break-word;
}
.info-card-main p a {
  color: var(--teal); font-weight: 500; transition: color var(--transition);
  word-break: break-all; overflow-wrap: break-word;
}
.info-card-main p a:hover { color: var(--navy); }

/* Allow address to wrap fully */
.info-card-main.allow-wrap p {
  white-space: normal; overflow: visible; text-overflow: unset;
  font-size: .83rem; line-height: 1.6; word-break: break-word;
}

/* Phone — larger, bold, stays single line */
.info-phone { font-size: .96rem !important; font-weight: 700 !important; white-space: nowrap !important; }
.info-phone a { color: var(--navy) !important; font-weight: 700 !important; transition: color var(--transition); white-space: nowrap; }
.info-phone a:hover { color: var(--cyan) !important; }

/* Sub text */
.info-sub { font-size: .74rem !important; color: var(--text-light) !important; white-space: normal; margin-top: 2px; word-break: break-word; }

/* CTA link */
.info-link {
  display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600;
  color: var(--cyan); white-space: nowrap; flex-shrink: 0; transition: color var(--transition);
}
.info-link:hover { color: var(--navy); }

/* Hours */
.hours-inline { display: flex; flex-direction: column; gap: 5px; }
.hours-row { display: flex; align-items: center; gap: 10px; font-size: .84rem; flex-wrap: wrap; }
.hours-day { font-weight: 700; color: var(--text-dark); flex-shrink: 0; min-width: 68px; }
.hours-time { color: var(--text-mid); white-space: nowrap; }
.hours-closed { color: #e05555 !important; font-weight: 600; white-space: nowrap; }

/* ============================================================
   MAP
   ============================================================ */
.map-container {
  background: var(--white); border: 1px solid rgba(0,184,217,.14);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,46,122,.08);
  width: 100%; min-width: 0; box-sizing: border-box;
}
.map-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid rgba(0,184,217,.1);
  gap: 8px; flex-wrap: wrap;
}
.map-header h3 { font-size: .95rem; font-weight: 700; color: var(--navy); }
.map-external-link { font-size: .78rem; font-weight: 600; color: var(--cyan); transition: color var(--transition); white-space: nowrap; }
.map-external-link:hover { color: var(--navy); }
.map-embed-wrap { position: relative; width: 100%; overflow: hidden; }
.map-embed-wrap iframe { display: block; width: 100%; height: 300px; border: 0; max-width: 100%; }
.map-address-pill {
  display: flex; align-items: flex-start; gap: 8px; padding: 14px 22px;
  font-size: .82rem; color: var(--text-mid); border-top: 1px solid rgba(0,184,217,.1);
  background: var(--soft-bg); word-break: break-word;
}
.map-address-pill span:first-child { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 8%;
  background: linear-gradient(135deg, rgba(0,229,160,.08) 0%, rgba(0,184,217,.10) 100%);
  border-top: 1px solid rgba(0,184,217,.15); border-bottom: 1px solid rgba(0,184,217,.15);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.cta-banner-text p { font-size: 1rem; color: var(--text-mid); max-width: 480px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER — HOSPITAL
   ============================================================ */
.footer-hospital { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 64px 6% 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 80px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 260px; }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.5); transition: all var(--transition);
}
.social-icons a:hover { background: rgba(0,229,160,.15); border-color: var(--mint); color: var(--mint); }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); line-height: 1.4; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.contact-row .ci { color: var(--teal); flex-shrink: 0; margin-top: 2px; font-size: 1rem; }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: center; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); text-align: center; }

/* ============================================================
   FOOTER — DEVELOPER
   ============================================================ */
.footer-dev { background: #060e1a; padding: 20px 8%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-dev p { font-size: .78rem; color: rgba(255,255,255,.4); text-align: center; }
.footer-dev .heart { color: #e05555; }
.footer-dev .dev-name { color: var(--cyan); font-weight: 600; }
.footer-dev-socials { display: flex; align-items: center; gap: 14px; }
.dev-social-link { display: flex; align-items: center; justify-content: center; opacity: .7; border-radius: 6px; transition: opacity var(--transition), transform var(--transition); }
.dev-social-link:hover { opacity: 1; transform: translateY(-2px); }
.dev-social-link svg { display: block; }

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-card { padding: 36px 28px; }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .contact-main { padding: 40px 5% 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .info-cards { margin-bottom: 0; }
  .footer-grid { gap: 28px; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .contact-hero { min-height: auto; padding-top: calc(var(--nav-h) + 8px); }
  .contact-hero-content { padding: 36px 5% 32px; }
  .contact-hero-content .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .contact-hero-content .hero-subtitle { font-size: .95rem; }
  .contact-quick-pills { flex-direction: column; align-items: center; gap: 8px; }
  .quick-pill { width: 100%; max-width: 340px; justify-content: center; font-size: .82rem; padding: 8px 16px; }

  .contact-tabs-section { padding: 0 5%; }
  .tab-btn { padding: 14px 18px; font-size: .85rem; }

  .contact-main { padding: 24px 4% 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }

  .form-card { padding: 24px 18px; border-radius: 20px; width: 100%; max-width: 100%; }
  .form-card-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; }
  .form-card-icon { width: 48px; height: 48px; font-size: 1.35rem; border-radius: 13px; }
  .form-card-header h2 { font-size: 1.3rem; }
  .form-card-header p { font-size: .82rem; }
  .form-row.two-col { flex-direction: column; gap: 20px; }
  .form-row.two-col > * { width: 100%; flex: none; }
  .radio-group { gap: 10px; }

  .contact-info-col { grid-template-columns: 1fr; gap: 0; }
  .info-cards { gap: 10px; margin-bottom: 14px; }

  .info-card { padding: 14px 14px; gap: 12px; max-width: 100%; overflow: hidden; }
  .info-card-icon { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 10px; }
  .info-card-label-col { width: 72px; }
  .info-card-label-col h4 { font-size: .62rem; letter-spacing: .05em; }
  .info-card-divider { height: 28px; margin-right: 10px; }
  .info-card-content-col { flex-wrap: wrap; gap: 6px; align-items: flex-start; }
  .info-card-main p { white-space: normal; overflow-wrap: break-word; word-break: break-word; font-size: .82rem; }
  .info-card-main p a { word-break: break-all; overflow-wrap: break-word; }
  .info-phone { font-size: .88rem !important; white-space: nowrap !important; }
  .info-sub { font-size: .72rem !important; white-space: normal !important; }
  .hours-row { font-size: .78rem; gap: 8px; flex-wrap: nowrap; }
  .hours-day { min-width: 58px; }

  .map-embed-wrap iframe { height: 240px; }
  .map-header { padding: 14px 16px; }
  .map-address-pill { padding: 12px 16px; font-size: .79rem; }

  .input-wrap input, .input-wrap select, .input-wrap textarea { font-size: .88rem; padding: 11px 12px 11px 36px; }
  .input-icon { left: 11px; font-size: .9rem; }

  .cta-banner { flex-direction: column; text-align: center; padding: 52px 5%; }
  .cta-banner-actions { justify-content: center; }

  .footer-hospital { padding: 48px 5% 32px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 64px; margin-bottom: 12px; }
  .footer-brand p { font-size: .88rem; max-width: 100%; }
  .social-icons { margin-top: 14px !important; }
  .social-icons a { width: 34px; height: 34px; }
  .footer-col:nth-child(2) { grid-column: 1 / 2; }
  .footer-col:nth-child(3) { grid-column: 2 / 3; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(0,184,217,.10); }
  .footer-col:nth-child(4) .footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .footer-col h4 { font-size: .78rem; margin-bottom: 16px; }
  .footer-col ul { gap: 10px; }
  .footer-col ul li a { font-size: .88rem; }
  .contact-row { font-size: .84rem; gap: 8px; }
  .footer-bottom p { font-size: .8rem; }
  .footer-dev { padding: 16px 5%; }
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: .95rem; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .contact-main { padding: 20px 4% 40px; }
  .contact-hero-content { padding: 28px 4% 24px; }
  .contact-hero-content .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .contact-hero-content .hero-subtitle { font-size: .9rem; }
  .quick-pill { font-size: .78rem; padding: 7px 14px; max-width: 100%; }
  .contact-tabs-section { padding: 0 4%; }
  .tab-btn { padding: 12px 14px; font-size: .82rem; gap: 6px; }
  .tab-icon { font-size: .95rem; }
  .form-card { padding: 20px 14px; }
  .form-card-header { gap: 10px; margin-bottom: 18px; padding-bottom: 16px; }
  .form-card-header h2 { font-size: 1.2rem; }
  .form-card-header p { font-size: .8rem; }
  .form-submit { font-size: .9rem; padding: 13px 18px; }
  .form-banner { padding: 12px 14px; font-size: .82rem; gap: 10px; }
  .input-wrap input, .input-wrap select, .input-wrap textarea { font-size: .86rem; padding: 10px 10px 10px 34px; border-radius: 10px; }
  .input-icon { left: 10px; font-size: .85rem; }
  .form-group label { font-size: .79rem; }
  .radio-group { gap: 8px; }
  .radio-label { font-size: .82rem; }
  .checkbox-label { font-size: .8rem; }
  .info-card { padding: 12px 12px; gap: 10px; }
  .info-card-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 9px; }
  .info-card-label-col { width: 66px; }
  .info-card-label-col h4 { font-size: .6rem; }
  .info-card-divider { height: 24px; margin-right: 8px; }
  .info-card-main p { font-size: .79rem; }
  .info-phone { font-size: .84rem !important; }
  .info-sub { font-size: .7rem !important; }
  .info-link { font-size: .74rem; }
  .hours-row { font-size: .75rem; gap: 6px; }
  .hours-day { min-width: 52px; }
  .map-embed-wrap iframe { height: 210px; }
  .map-address-pill { padding: 10px 14px; font-size: .77rem; }
  .cta-banner-text h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .footer-hospital { padding: 40px 5% 28px; }
  .footer-grid { gap: 28px 20px; }
  .footer-brand img { height: 56px; }
  .footer-brand p { font-size: .84rem; }
  .footer-col:nth-child(4) .footer-contact { grid-template-columns: 1fr; gap: 12px; }
  .footer-col h4 { font-size: .76rem; }
  .footer-col ul li a { font-size: .84rem; }
  .contact-row { font-size: .82rem; }
  .footer-bottom p { font-size: .76rem; }
}

/* ============================================================
   RESPONSIVE — 360px
   ============================================================ */
@media (max-width: 360px) {
  .contact-main { padding: 16px 3% 36px; }
  .contact-hero-content { padding: 24px 3% 20px; }
  .quick-pill { font-size: .74rem; padding: 6px 12px; }
  .contact-tabs-section { padding: 0 3%; }
  .form-card { padding: 16px 12px; }
  .form-card-header h2 { font-size: 1.1rem; }
  .radio-group { gap: 6px; }
  .radio-label { font-size: .78rem; }
  .checkbox-label { font-size: .76rem; }
  .form-banner { padding: 10px 12px; font-size: .79rem; }
  .form-submit { font-size: .86rem; padding: 12px 14px; }
  .info-card { padding: 10px 10px; gap: 8px; }
  .info-card-icon { width: 34px; height: 34px; font-size: .9rem; }
  .info-card-label-col { width: 60px; }
  .info-card-label-col h4 { font-size: .58rem; }
  .info-card-divider { margin-right: 6px; }
  .info-card-main p { font-size: .76rem; }
  .info-phone { font-size: .8rem !important; }
  .hours-row { font-size: .72rem; }
  .map-embed-wrap iframe { height: 190px; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn-primary, .cta-banner-actions .btn-secondary { justify-content: center; }
  .footer-hospital { padding: 36px 4% 24px; }
  .footer-grid { gap: 24px 16px; }
  .footer-brand img { height: 50px; }
  .footer-brand p { font-size: .8rem; }
  .footer-col h4 { font-size: .72rem; }
  .footer-col ul li a { font-size: .8rem; }
  .contact-row { font-size: .78rem; }
  .footer-bottom p { font-size: .72rem; }
}