/* Altmis — index 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;
    }

.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); }

/* ─── 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); }

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

/* ─── hero ─────────────────────────────────────────────────────── */
.hero {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      height: calc(100vh - var(--header-h));
      height: calc(100svh - var(--header-h));
      padding-block: clamp(20px, 2.5vw, 36px);
    }

.hero > .container { width: 100%; }

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

.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--gap-2xl); align-items: center; position: relative; }

.hero h1 { margin-bottom: 14px; }

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

.hero .lead { margin-bottom: 24px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; max-height: calc(100svh - var(--header-h) - 48px); }

.hero-visual .ph-img,
    .hero-visual .photo-frame {
      border-radius: 28px;
      box-shadow: var(--shadow-lift);
      width: auto;
      max-width: 100%;
      max-height: calc(100svh - var(--header-h) - 48px);
      margin-inline-start: auto;
    }

.photo-frame { width: 100%; overflow: hidden; background: var(--blush); }

.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-frame.portrait { aspect-ratio: 5 / 4; }

.photo-frame.landscape { aspect-ratio: 16 / 10; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }

.cred-badge {
      position: absolute; left: 18px; bottom: 18px;
      background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lift);
      padding: 12px 18px; display: flex; align-items: center; gap: 12px;
    }

.cred-badge .cred-icon {
      width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
      display: grid; place-items: center; color: var(--surface); flex: none;
    }

.cred-badge .cred-icon svg { width: 18px; height: 18px; }

.cred-badge strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--fg); line-height: 1.3; }

.cred-badge span { font-size: 12px; color: var(--muted); }

.cred-badge.badge-right { left: auto; right: 18px; }

/* image placeholder (never a broken <img>) */
.ph-img {
      background: linear-gradient(150deg, var(--rose), var(--blush));
      border: 1px dashed color-mix(in oklch, var(--accent) 35%, var(--border));
      border-radius: var(--radius-card);
      aspect-ratio: 16 / 10;
      display: grid; place-items: center; text-align: center;
      color: var(--muted); font-family: var(--font-mono);
      font-size: 12px; letter-spacing: 0.06em; line-height: 1.7;
      padding: 20px;
    }

.ph-img.portrait { aspect-ratio: 5 / 4; }

.ph-img .ph-tag { color: var(--accent); font-weight: 600; display: block; margin-bottom: 4px; }

/* ─── trust strip ──────────────────────────────────────────────── */
.trust-strip { padding-block: 26px; border-bottom: 1px solid var(--border); }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }

.trust-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

.trust-chip .chip-dot {
      width: 30px; height: 30px; border-radius: 50%; flex: none;
      background: var(--accent-soft); color: var(--accent);
      display: grid; place-items: center;
    }

.trust-chip .chip-dot svg { width: 15px; height: 15px; }

/* ─── about snippet ────────────────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-2xl); align-items: center; }

.text-link {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--accent); font-weight: 500; font-size: 14.5px; margin-top: 24px;
    }

.text-link::after { content: '→'; transition: transform 0.18s ease; }

.text-link:hover::after { transform: translateX(3px); }

/* ─── specialization cards ─────────────────────────────────────── */
.spec-card {
      background: var(--rose); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 40px 36px;
      box-shadow: var(--shadow-soft);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex; flex-direction: column;
    }

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

.spec-icon {
      width: 56px; height: 56px; border-radius: 18px; background: var(--grad);
      display: grid; place-items: center; color: var(--surface);
      box-shadow: 0 8px 18px rgba(224, 22, 124, 0.3); margin-bottom: 24px;
    }

.spec-icon svg { width: 26px; height: 26px; }

.spec-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 18px; }

.spec-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.spec-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); }

.spec-list .tick {
      width: 22px; height: 22px; border-radius: 50%; flex: none;
      background: var(--surface); border: 1px solid var(--border);
      color: var(--accent); display: grid; place-items: center;
    }

.spec-list .tick svg { width: 11px; height: 11px; }

.spec-card .btn { align-self: flex-start; margin-top: auto; }

/* ─── why choose ───────────────────────────────────────────────── */
.why-card {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 32px 28px;
      box-shadow: var(--shadow-soft);
    }

.why-check {
      width: 46px; height: 46px; border-radius: 50%; background: var(--grad);
      display: grid; place-items: center; color: var(--surface);
      box-shadow: 0 8px 18px rgba(224, 22, 124, 0.28); margin-bottom: 20px;
    }

.why-check svg { width: 20px; height: 20px; }

.why-card h3 { font-size: 18px; margin-bottom: 10px; }

.why-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── visit / contact strip ────────────────────────────────────── */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gap-2xl); align-items: center; }

.visit-block { display: flex; flex-direction: column; gap: 18px; }

.visit-line { display: flex; gap: 14px; align-items: flex-start; }

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

.visit-line .v-icon svg { width: 18px; height: 18px; }

.visit-line strong { display: block; font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 3px; }

.visit-line p, .visit-line a { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

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

.hours-note { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

.visit-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.map-frame {
      border-radius: var(--radius-card); overflow: hidden;
      border: 1px solid var(--border); box-shadow: var(--shadow-soft);
      aspect-ratio: 4 / 3; background: var(--blush);
    }

.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ─── responsive: 1024px ───────────────────────────────────────── */
@media (max-width: 1024px) {
      .main-nav, .header-ctas { display: none; }
      .hamburger { display: flex; }
      .hero-split, .about-split, .visit-grid { gap: var(--gap-xl); }
    }

/* ─── responsive: 768px ────────────────────────────────────────── */
@media (max-width: 768px) {
      :root { --header-h: 68px; }
      body { padding-bottom: 54px; } /* clear the mobile CTA bar */
      .section { padding-block: 48px; }
      .hero {
        display: block;
        height: auto;
        padding-block: 32px 40px;
      }
      .hero-split, .about-split, .visit-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
      .hero-visual { max-width: 440px; max-height: none; }
      .hero-visual .ph-img,
      .hero-visual .photo-frame { width: 100%; max-height: none; margin-inline: 0; }
      .grid-3 { gap: 20px; }
      .spec-card { padding: 30px 26px; }
      .trust-row { gap: 12px 20px; justify-content: flex-start; }
      .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; }
    }
