/* Altmis Hair & Skin Clinic — shared styles (extracted from inline <style> blocks) */

/* ─── reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
      margin: 0;
      background: var(--surface);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      font-weight: 400;
      line-height: 1.65;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      padding-top: var(--header-h);
    }

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

p { text-wrap: pretty; margin: 0; }

h1, h2, h3, h4 { text-wrap: balance; color: var(--fg); }

/* ─── layout primitives ────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(48px, 8vw, 96px); }

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

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

.bg-white    { background: var(--surface); }

h2, .h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.14; margin: 0; font-weight: 400; }

h3, .h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.35; margin: 0; }

.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 54ch; margin: 0; font-weight: 300; }

.eyebrow {
      font-family: var(--font-body); font-size: 12px; font-weight: 600;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--accent); margin: 0 0 14px;
    }

.section-head { max-width: 560px; margin-bottom: 48px; }

.section-head.center { margin-inline: auto; text-align: center; }

.section-head h2 { margin-bottom: 12px; }

/* ─── buttons (pill system) ────────────────────────────────────── */
.btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 9px;
      padding: 13px 26px;
      border-radius: var(--radius-pill);
      border: 1.5px solid transparent;
      font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em;
      transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
      white-space: nowrap;
    }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--grad); color: var(--surface); box-shadow: 0 6px 18px rgba(224, 22, 124, 0.28); }

.btn-primary:hover { box-shadow: 0 10px 26px rgba(224, 22, 124, 0.38); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--fg); border-color: var(--fg); }

.btn-outline:hover { background: var(--fg); color: var(--surface); }

.btn-arrow::after { content: '→'; transition: transform 0.18s ease; }

.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── shared header ────────────────────────────────────────────── */
.site-header {
      position: fixed; inset: 0 0 auto 0; z-index: 50;
      height: var(--header-h);
      background: transparent;
      transition: background 0.25s ease, box-shadow 0.25s ease;
    }

.site-header.scrolled { background: var(--surface); box-shadow: var(--shadow-soft); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }

.brand { display: flex; align-items: center; gap: 12px; }

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a { font-size: 14px; font-weight: 400; color: var(--ink); padding: 6px 2px; position: relative; transition: color 0.2s ease; }

.main-nav a::after {
      content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
      background: var(--accent); border-radius: 2px; transition: right 0.25s ease;
    }

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

.main-nav a.active { color: var(--accent); font-weight: 500; }

.main-nav a.active::after { right: 0; }

.header-ctas { display: flex; align-items: center; gap: 10px; }

.header-ctas .btn { padding: 10px 20px; font-size: 13.5px; }

.hamburger {
      display: none; width: 44px; height: 44px; border: 0; background: transparent;
      flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    }

.hamburger span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }

/* mobile overlay menu */
.mobile-menu {
      position: fixed; inset: 0; z-index: 60; background: var(--blush);
      display: flex; flex-direction: column; padding: 20px 28px 32px;
      opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s;
    }

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu .menu-top { display: flex; align-items: center; justify-content: space-between; }

.mobile-menu .menu-top img { height: 42px; width: auto; display: block; }

.menu-close { width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 50%; font-size: 18px; color: var(--fg); box-shadow: var(--shadow-soft); }

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }

.mobile-menu nav a {
      font-family: var(--font-display); font-size: 30px; color: var(--fg);
      padding: 10px 0; border-bottom: 1px solid var(--border);
    }

.mobile-menu nav a.active { color: var(--accent); }

.menu-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }

.menu-ctas .btn { width: 100%; padding: 15px; font-size: 15px; }

/* ─── shared footer ────────────────────────────────────────────── */
.site-footer { background: var(--fg); color: rgba(255, 255, 255, 0.75); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 44px; padding-block: 64px 48px; }

.footer-brand img { height: 48px; width: auto; display: block; margin-bottom: 18px; }

.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 30ch; }

.footer-brand .doc-line { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }

.footer-brand .doc-line strong { color: var(--accent-2); font-weight: 500; }

.f-col h4 {
      color: var(--surface); font-family: var(--font-body); font-size: 13px; font-weight: 600;
      letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 20px;
    }

.f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.f-col a, .f-col li { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; transition: color 0.2s ease; }

.f-col a:hover { color: var(--accent-2); }

.f-col .branch-name { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

.f-col .dir-link { color: var(--accent-2); font-weight: 500; }

.f-col .dir-link:hover { text-decoration: underline; }

.f-acc { display: none; }

.footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px;
      justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.5);
    }

.footer-legal { display: inline-flex; align-items: center; gap: 10px; }

.footer-bottom a { color: rgba(255, 255, 255, 0.65); transition: color 0.2s ease; }

.footer-bottom a:hover { color: var(--accent-2); }

/* ─── floating CTAs ────────────────────────────────────────────── */
.wa-float {
      position: fixed; right: 24px; bottom: 24px; z-index: 40;
      width: 58px; height: 58px; border-radius: 50%;
      background: var(--grad); color: var(--surface);
      display: grid; place-items: center;
      box-shadow: 0 10px 28px rgba(224, 22, 124, 0.4);
      transition: transform 0.2s ease;
    }

.wa-float:hover { transform: scale(1.06); }

.wa-float svg { width: 28px; height: 28px; }

.wa-float::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;
    }

@keyframes wa-pulse {
      0% { transform: scale(1); opacity: 0.55; }
      70% { transform: scale(1.55); opacity: 0; }
      100% { transform: scale(1.55); opacity: 0; }
    }

.mobile-cta-bar {
      display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
      background: var(--surface); border-top: 1px solid var(--border);
      box-shadow: 0 -6px 20px rgba(224, 22, 124, 0.08);
    }

.mobile-cta-bar a {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
      padding: 15px 8px; font-size: 14.5px; font-weight: 600;
    }

.mobile-cta-bar a svg { width: 17px; height: 17px; }

.mobile-cta-bar .bar-call { color: var(--fg); }

.mobile-cta-bar .bar-wa { background: var(--grad); color: var(--surface); }

@media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }
