/* =============================================================
   ARO MED SPA — Homepage layout (Phase 2)
   Page-level composition only. Tokens & core components are
   inherited from aro-ds.css and reused exactly.
   ============================================================= */

/* ---------- Global site header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(248,243,230,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(248,243,230,.95); border-bottom-color: var(--sand-line); box-shadow: var(--e-1); }
.sh-inner { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .35s var(--ease); }
.is-scrolled .sh-inner { padding-top: 12px; padding-bottom: 12px; }
.sh-logo { display: flex; align-items: center; }
.sh-logo img { height: 38px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .sh-logo img { height: 30px; }

.sh-nav { display: flex; align-items: center; gap: 4px; }
.sh-link { position: relative; text-decoration: none; color: var(--obsidian); font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s; white-space: nowrap; }
.sh-link:hover { color: var(--clay-deep); background: var(--sand-100); }
.sh-link .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); opacity: .7; }
.sh-item { position: relative; }
.sh-item.has-drop:hover .caret { transform: rotate(-135deg) translateY(-2px); }

/* services dropdown */
.sh-drop {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md);
  box-shadow: var(--e-3); padding: 10px; min-width: 300px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 20;
}
.sh-item.has-drop:hover .sh-drop, .sh-drop:hover { opacity: 1; visibility: visible; transform: none; }
.sh-drop a { text-decoration: none; color: var(--obsidian); font-size: .9rem; font-weight: 500; padding: 10px 12px; border-radius: var(--r-sm); transition: background .18s, color .18s; }
.sh-drop a:hover { background: var(--clay-tint); color: var(--clay-deep); }
.sh-drop .sh-drop-all { grid-column: 1 / -1; border-top: 1px solid var(--sand-200); margin-top: 4px; padding-top: 12px; color: var(--clay-deep); font-weight: 600; display: flex; align-items: center; gap: 6px; }

.sh-actions { display: flex; align-items: center; gap: 14px; }
.sh-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--obsidian); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.sh-call svg { color: var(--clay); }
.sh-call:hover { color: var(--clay-deep); }

.sh-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.sh-burger span { width: 24px; height: 2px; background: var(--obsidian); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* mobile menu panel */
.sh-mobile { display: none; }

@media (max-width: 1080px) {
  .sh-nav, .sh-call, .sh-actions .lang-toggle { display: none; }
  .sh-burger { display: flex; }
  .sh-actions { gap: 10px; }
  .sh-mobile {
    display: block; position: fixed; inset: 0 0 auto 0; top: 0; z-index: 99;
    background: var(--sand-50); padding: 92px 28px 32px; box-shadow: var(--e-3);
    transform: translateY(-100%); transition: transform .4s var(--ease);
    max-height: 100vh; overflow-y: auto;
  }
  .sh-mobile.open { transform: none; }
  .sh-mobile a { display: block; text-decoration: none; color: var(--obsidian); font-family: var(--font-serif); font-size: 1.4rem; padding: 14px 0; border-bottom: 1px solid var(--sand-line); }
  .sh-mobile .sh-mobile-sub a { font-family: var(--font-sans); font-size: 1rem; padding: 9px 0 9px 16px; color: var(--ink-soft); border: 0; }
  .sh-mobile-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Homepage hero ---------- */
.hero-home { position: relative; min-height: 0; padding: 96px 0 64px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; overflow: hidden; background: var(--sand-100); }
.hero-home .hero__media { position: absolute; inset: 0; }
.hero-home .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-home .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(244,233,210,.99) 0%, rgba(244,233,210,.97) 34%, rgba(244,233,210,.82) 50%, rgba(244,233,210,.32) 70%, rgba(48,66,75,.28) 100%); }
.hero-home__inner { position: relative; z-index: 3; padding: 20px 0 32px 8px; max-width: 600px; margin-left: max(28px, calc((100vw - 1240px)/2 + 28px)); display: flex; flex-direction: column; gap: 22px; }
.hero-home h1 { font-size: clamp(2.9rem, 5vw, 4.5rem); line-height: 1.02; color: var(--obsidian); letter-spacing: -.02em; }
.hero-home__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-home__quiz { position: relative; z-index: 3; justify-self: center; width: min(420px, 90%); margin-right: max(28px, calc((100vw - 1240px)/2 + 28px)); }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: var(--obsidian); color: var(--sand); }
.hero-strip__inner { max-width: 1240px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero-strip__item { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; color: rgba(240,231,207,.9); font-weight: 500; }
.hero-strip__item svg { color: var(--cactus); flex: none; }

@media (max-width: 980px) {
  .hero-home { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .hero-home .hero__media::after { background: linear-gradient(180deg, rgba(244,233,210,.95) 30%, rgba(244,233,210,.78) 100%); }
  .hero-home__inner { padding: 104px 0 24px; margin: 0 28px; max-width: none; }
  .hero-home__quiz { margin: 0 28px 40px; justify-self: stretch; width: auto; }
  .hero-strip { position: static; }
}

/* ---------- Section scaffolding (homepage) ---------- */
.hp-section { padding: var(--s-9) 0; }
.hp-section.tight { padding: var(--s-8) 0; }
.hp-head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.hp-head.left { margin-left: 0; text-align: left; }
.hp-head .t-eyebrow { display: block; margin-bottom: 14px; }
.hp-head p { margin-top: 16px; }

/* ---------- Featured services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-grid .svc-card.wide { grid-column: span 2; }
.svc-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.svc-subtag { font-size: .76rem; font-weight: 600; color: var(--clay-deep); background: var(--clay-tint); padding: 4px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.svc-card.feature .svc-card__media { aspect-ratio: 16/10; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid .svc-card.wide { grid-column: span 2; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid .svc-card.wide { grid-column: auto; } }

/* ---------- Video module ---------- */
.video-mod { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--e-3); aspect-ratio: 16/8; }
.video-mod img { width: 100%; height: 100%; object-fit: cover; }
.video-mod::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,66,75,.15), rgba(48,66,75,.5)); }
.video-mod__play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; background: rgba(240,231,207,.92); border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: var(--e-3); transition: transform .3s var(--ease), background .3s; }
.video-mod__play:hover { transform: scale(1.07); background: #fff; }
.video-mod__play svg { color: var(--clay); margin-left: 5px; }
.video-mod__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(240,231,207,.5); animation: vpulse 2.6s var(--ease) infinite; }
@keyframes vpulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.video-mod__cap { position: absolute; left: 28px; bottom: 24px; z-index: 2; color: var(--sand); }
.video-mod__cap .t-eyebrow { color: var(--columbia); }
.video-mod__cap h3 { color: var(--sand); margin-top: 6px; }
.video-mod__tag { position: absolute; right: 22px; top: 22px; z-index: 2; }

/* ---------- Why ARO / trust ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--e-3); }
.trust__media img { width: 100%; height: 100%; object-fit: cover; }
.trust__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: 16px 18px; display: flex; align-items: center; gap: 13px; box-shadow: var(--e-2); }
.trust__badge img { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.trust__badge b { color: var(--obsidian); display: block; font-size: .95rem; line-height: 1.25; white-space: nowrap; }
.trust__badge span { font-size: .82rem; color: var(--ink-soft); }
.trust__points { display: grid; gap: 18px; margin-top: 26px; }
.trust__pt { display: flex; gap: 14px; align-items: flex-start; }
.trust__pt .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sand-100); border: 1px solid var(--sand-200); display: flex; align-items: center; justify-content: center; color: var(--clay); }
.trust__pt b { display: block; color: var(--obsidian); font-weight: 600; margin-bottom: 2px; }
.trust__pt span { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; gap: 34px; } .trust__media { aspect-ratio: 4/3; max-height: 460px; } }

/* landscape accent strip */
.land-accent { position: relative; height: 340px; overflow: hidden; }
.land-accent img { width: 100%; height: 100%; object-fit: cover; }
.land-accent__quote { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.land-accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,66,75,.55), rgba(48,66,75,.25)); }
.land-accent__quote h2 { position: relative; z-index: 2; color: var(--sand); max-width: 22ch; font-weight: 400; }

/* ---------- Reviews row ---------- */
.review-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-strip { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.review-strip .gscore { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--obsidian); }
.review-strip .gscore .big { font-family: var(--font-serif); font-size: 1.8rem; color: var(--clay); }
@media (max-width: 980px) { .review-row { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Gallery teaser ---------- */
.gallery-teaser { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.gallery-teaser .ba-wrap { aspect-ratio: auto; height: 100%; min-height: 340px; }
.gallery-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e-2); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile__split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--sand); }
.gallery-tile .ba-label { position: absolute; bottom: 14px; }
@media (max-width: 860px) { .gallery-teaser { grid-template-columns: 1fr; } .gallery-teaser .ba-wrap { aspect-ratio: 4/3; min-height: 0; } }

/* ---------- Gift cards ---------- */
.giftcard { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand-100); border: 1px solid var(--sand-200); border-radius: var(--r-xl); overflow: hidden; }
.giftcard__media { position: relative; min-height: 320px; overflow: hidden; }
.giftcard__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.giftcard__card { position: absolute; inset: 0; margin: auto; width: 70%; height: 58%; background: linear-gradient(135deg, var(--clay), var(--clay-700)); border-radius: var(--r-md); box-shadow: var(--e-3); padding: 22px; color: var(--sand); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); }
.giftcard__card img { position: static; width: auto; height: 22px; filter: none; }
.giftcard__card .amt { font-family: var(--font-serif); font-size: 2rem; }
.giftcard__body { padding: 48px 50px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
@media (max-width: 760px) { .giftcard { grid-template-columns: 1fr; } .giftcard__body { padding: 34px 26px; } }

/* ---------- Final CTA band ---------- */
.final-cta { background: var(--obsidian); color: var(--sand); border-radius: var(--r-xl); padding: 64px 56px; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; left: -100px; top: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(207,85,37,.4), transparent 68%); }
.final-cta::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(191,213,222,.18), transparent 68%); }
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { color: var(--sand); max-width: 18ch; margin: 0 auto; }
.final-cta__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--obsidian); color: rgba(240,231,207,.78); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col h4 { font-family: var(--font-sans); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.footer-col a { display: block; text-decoration: none; color: rgba(240,231,207,.74); font-size: .95rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--clay); }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; line-height: 1.6; max-width: 30ch; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(240,231,207,.2); display: flex; align-items: center; justify-content: center; color: var(--sand); transition: background .25s, color .25s; }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.footer-contact .loc-row b { color: var(--sand); }
.footer-contact .loc-row span, .footer-contact .loc-row { color: rgba(240,231,207,.74); }
.footer-bottom { max-width: 1240px; margin: 48px auto 0; padding: 24px 28px 0; border-top: 1px solid rgba(240,231,207,.16); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom a { color: rgba(240,231,207,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--clay); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile action bar (fixed) ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sand-200); box-shadow: 0 -8px 24px -10px rgba(48,66,75,.22); }
.mobile-bar .btn { flex: 1; justify-content: center; }
@media (max-width: 860px) { .mobile-bar { display: flex; } body { padding-bottom: 74px; } }

/* a lone wide card closing the grid spans the full row as a horizontal feature */
.svc-grid .svc-card.full { grid-column: span 3; display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.svc-grid .svc-card.full .svc-card__media { aspect-ratio: auto; min-height: 320px; }
.svc-grid .svc-card.full .svc-card__body { padding: 38px 42px; justify-content: center; gap: 14px; }
.svc-grid .svc-card.full .svc-card__head { font-size: 1.9rem; }
.svc-grid .svc-card.full .svc-card__benefit { flex: 0; max-width: 42ch; }
@media (max-width: 980px) { .svc-grid .svc-card.full { grid-column: span 2; grid-template-columns: 1fr; } .svc-grid .svc-card.full .svc-card__media { aspect-ratio: 16/10; min-height: 0; } .svc-grid .svc-card.full .svc-card__body { padding: 22px 24px 26px; } .svc-grid .svc-card.full .svc-card__head { font-size: 1.5rem; } }
@media (max-width: 640px) { .svc-grid .svc-card.full { grid-column: auto; } }
