/* Altmis — contact page-specific styles */

/* ─── Altmis design tokens (Global Design System v1) ─────────────── */
:root {
      /* seed six, bound to the Altmis brand palette */
      --bg:      #FAF9F7;   /* Off-White — page background */
      --surface: #FFFFFF;   /* Pure White — cards, raised areas */
      --fg:      #221B1E;   /* Charcoal — headings */
      --muted:   #7A7276;   /* Muted Grey — secondary text */
      --border:  #F0E1E8;   /* Border / divider */
      --accent:  #E0167C;   /* Primary Pink */

      /* brand extensions (all hex lives here only) */
      --accent-dark:  #B7115F;  /* pink hover / pressed */
      --accent-2:     #FF5FA2;  /* gradient end stop */
      --blush:        #FDF1F6;  /* blush tint section bg */
      --rose:         #FFF6FA;  /* soft rose card bg */
      --offwhite:     #FAF9F7;  /* off-white section bg */
      --ink:          #3A3238;  /* soft black body text */
      --trust:        #2F7D5A;  /* verified-patient green (sparing) */
      --grad:         linear-gradient(135deg, #E0167C, #FF5FA2);
      --accent-soft:  color-mix(in oklch, var(--accent) 14%, transparent);
      --shadow-soft:  0 8px 24px rgba(224, 22, 124, 0.08);
      --shadow-lift:  0 16px 40px rgba(224, 22, 124, 0.14);

      /* type */
      --font-display: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
      --font-body:    'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
      --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

      /* scale */
      --fs-h1: clamp(40px, 5.2vw, 64px);
      --fs-h2: clamp(30px, 3.6vw, 44px);
      --fs-h3: 21px;
      --fs-lead: 17px;
      --fs-body: 15.5px;
      --fs-meta: 13px;

      /* spacing — 8pt grid */
      --gap-xs: 8px; --gap-sm: 12px; --gap-md: 20px;
      --gap-lg: 32px; --gap-xl: 56px; --gap-2xl: 96px;
      --container: 1180px;
      --gutter: 24px;

      --radius: 12px;
      --radius-card: 20px;
      --radius-pill: 999px;
      --header-h: 76px;
    }

.bg-rose     { background: var(--rose); }

.stack { display: flex; flex-direction: column; }

.row { display: flex; align-items: center; gap: var(--gap-md); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-lg); }

/* ─── type ─────────────────────────────────────────────────────── */
h1, .h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.01em; margin: 0; font-weight: 400; }

.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }

.btn-white { background: var(--surface); color: var(--accent-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }

.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }

.btn-outline-white { background: transparent; color: var(--surface); border-color: rgba(255, 255, 255, 0.85); }

.btn-outline-white:hover { background: var(--surface); color: var(--accent-dark); }

.brand .brand-logo {
      height: 48px; width: auto; display: block;
    }

/* ─── page hero (compact) ──────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 72px); }

.hero-blob {
      position: absolute; top: -30%; right: -8%;
      width: min(560px, 58vw); aspect-ratio: 1; border-radius: 50%;
      background: radial-gradient(circle, rgba(224, 22, 124, 0.14), rgba(255, 95, 162, 0.05) 62%, transparent 72%);
      filter: blur(10px); pointer-events: none;
    }

.breadcrumb {
      display: flex; align-items: center; gap: 8px;
      font-size: 13px; color: var(--muted); margin-bottom: 22px; position: relative;
    }

.breadcrumb a { color: var(--muted); transition: color 0.2s ease; }

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb .sep { opacity: 0.55; }

.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 16px; position: relative; }

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero .lead { position: relative; color: color-mix(in oklch, var(--muted) 45%, var(--ink)); font-weight: 400; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; position: relative; }

/* ─── location blocks (details + map, alternating) ─────────────── */
.location-block {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: var(--gap-xl); align-items: stretch;
    }

.location-block + .location-block { margin-top: var(--gap-xl); }

.location-block.flip .loc-details { order: 2; }

.location-block.flip .loc-map { order: 1; }

.loc-details {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 36px 34px;
      box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
    }

.branch-tag {
      display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
      padding: 6px 14px; border-radius: var(--radius-pill);
      background: var(--accent-soft); color: var(--accent-dark);
      font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 18px;
    }

.branch-tag svg { width: 13px; height: 13px; }

.loc-details h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 22px; }

.loc-row { display: flex; gap: 14px; padding-block: 16px; border-top: 1px solid var(--border); }

.loc-row:first-of-type { border-top: 0; padding-top: 0; }

.loc-icon {
      width: 42px; height: 42px; border-radius: 12px; flex: none;
      background: var(--accent-soft); color: var(--accent);
      display: grid; place-items: center;
    }

.loc-icon svg { width: 19px; height: 19px; }

.loc-row .lbl {
      font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
    }

.loc-row address { font-style: normal; font-size: 14.5px; line-height: 1.7; color: var(--ink); }

.loc-row .phone-num { font-size: 17px; font-weight: 600; color: var(--fg); transition: color 0.2s ease; }

.loc-row .phone-num:hover { color: var(--accent); }

.loc-row .wa-link {
      display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
      font-size: 13.5px; font-weight: 500; color: var(--accent); transition: color 0.2s ease;
    }

.loc-row .wa-link:hover { color: var(--accent-dark); text-decoration: underline; }

.loc-row .wa-link svg { width: 14px; height: 14px; }

/* map card — live Google Map background with pin + CTA overlay */
.loc-map {
      position: relative; overflow: hidden;
      border-radius: var(--radius-card); border: 1px solid var(--border);
      background: linear-gradient(150deg, var(--rose), var(--blush)); /* shown while the map loads */
      box-shadow: var(--shadow-soft);
      min-height: 340px;
    }

.loc-map iframe {
      position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
    }

.map-overlay {
      position: absolute; inset: 0; z-index: 1;
      display: flex; flex-direction: column; align-items: center; justify-content: space-between;
      padding: 28px; pointer-events: none; /* map stays pannable/zoomable */
    }

.map-pin {
      position: relative; width: 64px; height: 64px; border-radius: 50%;
      background: var(--grad); color: var(--surface);
      display: grid; place-items: center;
      box-shadow: 0 12px 28px rgba(224, 22, 124, 0.35);
    }

.map-pin svg { width: 28px; height: 28px; }

.map-pin::before {
      content: ''; position: absolute; inset: 0; border-radius: 50%;
      border: 2px solid var(--accent); opacity: 0.6;
      animation: wa-pulse 2.2s ease-out infinite;
    }

.map-panel {
      pointer-events: auto; text-align: center;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      border-radius: 16px; padding: 16px 24px;
      box-shadow: var(--shadow-soft);
    }

.map-panel .map-area { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 2px; }

.map-panel .map-city { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }

.map-panel .btn { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }

/* ─── directions band ──────────────────────────────────────────── */
.directions-band { text-align: center; }

.directions-band .section-head { margin-inline: auto; text-align: center; margin-bottom: 32px; }

.directions-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ─── quick contact cards ──────────────────────────────────────── */
.quick-card {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 30px 26px;
      box-shadow: var(--shadow-soft); text-align: center;
      display: flex; flex-direction: column; align-items: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.quick-icon {
      width: 52px; height: 52px; border-radius: 16px;
      background: var(--accent-soft); color: var(--accent);
      display: grid; place-items: center; margin-bottom: 18px;
    }

.quick-icon svg { width: 24px; height: 24px; }

.quick-card h3 { font-size: 16.5px; margin-bottom: 6px; }

.quick-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

.quick-card .btn { margin-top: auto; padding: 11px 22px; font-size: 13.5px; }

/* ─── reassurance / closing ────────────────────────────────────── */
.closing-inner { text-align: center; max-width: 640px; margin-inline: auto; }

.closing-inner h2 { margin-bottom: 14px; }

.closing-inner p { color: var(--muted); font-size: var(--fs-lead); font-weight: 300; margin-bottom: 32px; }

.closing-inner .hero-cta { justify-content: center; margin-top: 0; }

/* ─── responsive: 1024px ───────────────────────────────────────── */
@media (max-width: 1024px) {
      .main-nav, .header-ctas { display: none; }
      .hamburger { display: flex; }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .location-block { gap: var(--gap-lg); }
      .loc-details { padding: 28px 24px; }
    }

/* ─── responsive: 768px ────────────────────────────────────────── */
@media (max-width: 768px) {
      :root { --header-h: 68px; }
      body { padding-bottom: 54px; } /* clear the mobile CTA bar */
      .section { padding-block: 48px; }
      .page-hero { padding-block: 36px 44px; }
      .hero-cta .btn { flex: 1 1 100%; padding: 15px; font-size: 15px; }
      .location-block, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
      /* mobile order: details first, map second — even on the flipped block */
      .location-block.flip .loc-details { order: 1; }
      .location-block.flip .loc-map { order: 2; }
      .location-block + .location-block { margin-top: var(--gap-lg); }
      .loc-map { min-height: 280px; }
      .directions-btns .btn { flex: 1 1 100%; }
      .wa-float { bottom: 76px; right: 16px; width: 52px; height: 52px; }
      .mobile-cta-bar { display: flex; }
      /* footer accordion */
      .footer-grid { grid-template-columns: 1fr; gap: 8px; padding-block: 48px 32px; }
      .f-col { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
      .f-acc {
        display: flex; width: 100%; align-items: center; justify-content: space-between;
        background: none; border: 0; padding: 16px 0;
        color: var(--surface); font-size: 13px; font-weight: 600;
        letter-spacing: 0.1em; text-transform: uppercase;
      }
      .f-acc::after { content: '+'; font-size: 18px; color: var(--accent-2); transition: transform 0.25s ease; }
      .f-col.open .f-acc::after { transform: rotate(45deg); }
      .f-col h4 { display: none; }
      .f-col .f-list { display: none; padding-bottom: 18px; }
      .f-col.open .f-list { display: flex; }
      .footer-bottom { justify-content: center; text-align: center; }
    }
