/* ==========================================================================
   La Boutique de Beauté — Design tokens (Soft UI Evolution / wellness)
   ========================================================================== */
:root{
  --color-primary:      #B58A66;
  --color-primary-dark: #8B6541;
  --color-on-primary:   #FFFFFF;
  --color-secondary:    #D4AE9B;
  --color-accent:       #C69B7B;
  --color-background:   #FFFFFF;
  --color-surface:      #FFFFFF;
  --color-foreground:   #3A2A1E;
  --color-body:         #5C4A3C;
  --color-muted:        #FBF6F2;
  --color-muted-text:   #8B7566;
  --color-border:       #E8D6C8;
  --color-ring:         #B58A66;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 24px -8px rgba(131, 24, 67, 0.18);
  --shadow-strong: 0 20px 45px -12px rgba(131, 24, 67, 0.28);

  --ease-standard: cubic-bezier(.22,1,.36,1);
  --header-h: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
/* overflow-x lives on html only: setting it on body too would force the
   UA to compute body's overflow-y as "auto", turning body into its own
   scroll container separate from the document/window — breaking
   window.scrollTo, scroll-behavior:smooth anchors and ScrollTrigger's
   scroll-position tracking. */
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin: 0;
  background: var(--color-background);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3{ font-family: var(--font-heading); color: var(--color-foreground); margin: 0; font-weight: 600; }
p{ margin: 0; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--color-primary); color: #fff;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus{ left: var(--space-4); top: var(--space-4); }

:focus-visible{
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard), background 220ms var(--ease-standard), color 220ms var(--ease-standard);
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-foreground));
  color: var(--color-on-primary);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.btn-primary:active{ transform: translateY(0); }

.btn-ghost{
  background: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}
.btn-ghost:hover{ background: var(--color-muted); transform: translateY(-2px); }

.btn-sm{ padding: 10px 18px; font-size: 0.875rem; }
.btn-lg{ padding: 16px 32px; font-size: 1rem; }
.btn-block{ width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(253, 242, 248, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease-standard), box-shadow 300ms var(--ease-standard);
}
.site-header.is-scrolled{
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(131,24,67,0.25);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-foreground);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}
.logo-mark{
  display: inline-block;
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text-wrap{ display: flex; flex-direction: column; line-height: 1.15; }
.logo-text em{ font-style: italic; color: var(--color-primary); font-weight: 500; }
.logo-sub{
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted-text);
}

.main-nav{
  display: none;
  align-items: center;
  gap: var(--space-6);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a{
  position: relative;
  color: var(--color-body);
  padding: 6px 0;
  transition: color 200ms var(--ease-standard);
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 220ms var(--ease-standard);
}
.main-nav a:hover{ color: var(--color-primary); }
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: var(--space-4); }
.header-actions .btn-sm{ display: none; }

.nav-toggle{
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  width: 22px; height: 2px;
  background: var(--color-foreground);
  border-radius: 2px;
  transition: transform 260ms var(--ease-standard), opacity 200ms var(--ease-standard);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-5) var(--space-6);
  gap: var(--space-2);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-standard), transform 240ms var(--ease-standard), visibility 240ms;
  box-shadow: var(--shadow-soft);
}
.mobile-menu.is-open{ opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu a{
  padding: 14px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-muted);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu .btn{ margin-top: var(--space-3); }

@media (min-width: 900px){
  .main-nav{ display: flex; }
  .header-actions .btn-sm{ display: inline-flex; }
  .nav-toggle{ display: none; }
  .mobile-menu{ display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-9);
  overflow: hidden;
  isolation: isolate;
}
.hero-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  will-change: transform;
}
.blob-a{ width: 420px; height: 420px; top: -140px; right: -120px; background: radial-gradient(circle, var(--color-secondary), transparent 70%); }
.blob-b{ width: 320px; height: 320px; bottom: -100px; left: -100px; background: radial-gradient(circle, var(--color-accent), transparent 70%); opacity: 0.35; }
.blob-c{ width: 220px; height: 220px; top: 40%; left: 55%; background: radial-gradient(circle, var(--color-primary), transparent 70%); opacity: 0.25; }

.hero-inner{
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.hero-copy{ max-width: 640px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-foreground);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-5);
}
.stars{ color: #F59E0B; letter-spacing: 1px; font-size: 0.9em; }
.stars-lg{ color: #F59E0B; font-size: 1.4rem; letter-spacing: 2px; }

.hero h1{
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: var(--space-5);
}
.accent-text{
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  font-size: 1.1rem;
  color: var(--color-muted-text);
  margin-bottom: var(--space-6);
  max-width: 52ch;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }
.hero-meta{
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 0.9rem; font-weight: 600; color: var(--color-foreground);
}
.status-dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
  transition: background 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.status-dot.is-closed{
  background: #B3543E;
  box-shadow: 0 0 0 4px rgba(179,84,62,0.2);
}

.hero-visual{
  position: relative;
  height: 340px;
  display: none;
}
.hero-orb{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-secondary), var(--color-primary) 55%, var(--color-accent));
  box-shadow: var(--shadow-strong);
}
.hero-card{
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-strong);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-foreground);
  z-index: 2;
}
.hero-card svg{ color: var(--color-primary); flex-shrink: 0; }
.card-float-1{ top: 10%; left: -4%; }
.card-float-2{ bottom: 6%; right: -2%; }

.scroll-cue{
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  animation: bounce 2.2s ease-in-out infinite;
  display: none;
}
@keyframes bounce{
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 900px){
  .hero-inner{ grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual{ display: block; }
  .scroll-cue{ display: inline-flex; }
}

/* ==========================================================================
   Section shared
   ========================================================================== */
section{ padding: var(--space-9) 0; }
.section-tag{
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: var(--space-3);
}
.section-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-4);
  max-width: 30ch;
}
.section-sub{
  color: var(--color-muted-text);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: var(--space-7);
}
.section-tag.light, .section-title.light{ color: #fff; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid{
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
.service-card{
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  cursor: pointer;
  transition: transform 260ms var(--ease-standard), box-shadow 260ms var(--ease-standard), border-color 260ms;
}
.service-card:hover, .service-card:focus-visible{
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: var(--color-primary);
}
.service-card:hover .service-link, .service-card:focus-visible .service-link{
  color: var(--color-primary-dark);
  gap: var(--space-2);
}
.service-card:hover .service-link svg, .service-card:focus-visible .service-link svg{ transform: translateX(3px); }
.service-icon{
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  margin-bottom: var(--space-4);
}
.service-card h3{ font-size: 1.2rem; }
.service-card p{ color: var(--color-muted-text); font-size: 0.95rem; }
.service-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap 220ms var(--ease-standard), color 220ms var(--ease-standard);
}
.service-link svg{ transition: transform 220ms var(--ease-standard); flex-shrink: 0; }
.service-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.price-tag{
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-muted);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* ---- Listino prezzi (accordion) ---- */
.price-list{
  margin-top: var(--space-8);
  max-width: 780px;
  margin-inline: auto;
}
.price-list-intro{
  text-align: center;
  color: var(--color-muted-text);
  margin-bottom: var(--space-5);
  font-size: 0.98rem;
}
.price-cat{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + var(--space-4));
}
/* Native smooth open/close animation (Chrome/Edge 131+, spreading to other
   engines). Where unsupported, the browser just falls back to its normal
   instant toggle — no breakage, only less motion. */
.price-cat::details-content{
  overflow: clip;
  block-size: 0;
  opacity: 0;
  transition: block-size 0.45s cubic-bezier(.22,1,.36,1), opacity 0.35s ease, content-visibility 0.45s allow-discrete;
}
.price-cat[open]::details-content{
  block-size: auto;
  opacity: 1;
}
/* Flash highlight when a service card jumps the visitor here — visible in
   every browser regardless of ::details-content support, so the "which
   box just opened for me" cue always lands. */
@keyframes priceCatFlash{
  0%   { box-shadow: 0 0 0 0 rgba(181,138,102,0); border-color: var(--color-border); }
  30%  { box-shadow: 0 0 0 6px rgba(181,138,102,0.28); border-color: var(--color-primary); }
  100% { box-shadow: 0 0 0 0 rgba(181,138,102,0); border-color: var(--color-border); }
}
.price-cat.just-opened{ animation: priceCatFlash 1.4s ease-out; }
@media (prefers-reduced-motion: reduce){
  .price-cat.just-opened{ animation: none; border-color: var(--color-primary); }
}
.price-cat summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--color-foreground);
  min-height: 44px;
  transition: background 200ms var(--ease-standard);
}
.price-cat summary::-webkit-details-marker{ display: none; }
.price-cat summary:hover{ background: var(--color-muted); }
.price-cat summary span{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-muted);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}
.price-cat summary::after{
  content: "";
  width: 10px; height: 10px;
  flex-shrink: 0;
  margin-left: auto;
  order: 3;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 240ms var(--ease-standard);
}
.price-cat[open] summary::after{ transform: rotate(-135deg); }
.price-cat ul{
  padding: 0 var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
}
.price-cat li{
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 10px 0;
  border-top: 1px solid var(--color-muted);
  font-size: 0.92rem;
}
.price-cat li:first-child{ border-top: none; }
.price-cat li span:first-child{ color: var(--color-body); }
.price-cat li span:last-child{ font-weight: 700; color: var(--color-foreground); flex-shrink: 0; }
.price-cat li span.free{ color: #1F9D55; }

@media (min-width: 640px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .services-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about{ background: var(--color-surface); }
.about-inner{
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.about-visual{ max-width: 420px; margin-inline: auto; }
/* Flexbox instead of CSS Grid row-spanning on purpose: some mobile
   browsers mis-size a grid-row-span item combined with object-fit,
   which was overlapping the "Chi siamo" text that follows. Flex + a
   plain wrapper div for the two small photos has no such ambiguity. */
.about-mosaic{
  width: 100%;
  display: flex;
  gap: var(--space-3);
  align-items: stretch;
}
.about-mosaic img{
  display: block;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
/* flex-basis 0 (the "0" in "1.3 1 0") is what actually splits the row
   proportionally — a width:100% on a flex item competes with that and
   was making the big photo claim the full row width. */
.mosaic-big{ flex: 1.3 1 0; min-width: 0; aspect-ratio: 3 / 4; }
.mosaic-col{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mosaic-col img{ width: 100%; flex: 1 1 0; min-height: 0; aspect-ratio: 1 / 1; }

.about-list{ margin: var(--space-6) 0; display: flex; flex-direction: column; gap: var(--space-3); }
.about-list li{ display: flex; align-items: center; gap: var(--space-3); font-weight: 500; }
.check-icon{
  width: 28px; height: 28px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-primary);
}

/* ---- Gallery strip (real salon photos) ---- */
.gallery-strip{ margin-top: var(--space-8); }
.gallery-track{
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-2) var(--space-5) var(--space-4);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.gallery-item{
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.gallery-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-standard);
}
.gallery-item:hover img{ transform: scale(1.08); }

@media (min-width: 900px){
  .about-inner{ grid-template-columns: 0.8fr 1.2fr; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews{
  background: linear-gradient(160deg, var(--color-foreground), #5C4130 65%, var(--color-primary-dark));
  color: #fff;
}
.reviews .section-sub{ color: rgba(255,255,255,0.75); }

.rating-summary{
  display: flex; align-items: center; gap: var(--space-5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  max-width: 480px;
}
.rating-number{ font-family: var(--font-heading); font-size: 3rem; font-weight: 700; }
.rating-summary p{ color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: var(--space-1); }

.reviews-grid{
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
.review-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 260ms var(--ease-standard), background 260ms var(--ease-standard);
}
.review-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.review-card p{ font-size: 0.98rem; line-height: 1.65; color: rgba(255,255,255,0.92); }
.review-author{ display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0;
}
.review-author strong{ display: block; font-size: 0.9rem; }
.review-author span{ font-size: 0.78rem; color: rgba(255,255,255,0.6); }

@media (min-width: 700px){
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px){
  .reviews-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-inner{
  display: grid;
  gap: var(--space-7);
}
.contact-list{ display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-6) 0; }
.contact-item{
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  min-height: 44px;
  transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard);
}
.contact-item:hover{ transform: translateX(4px); box-shadow: var(--shadow-soft); }
.contact-icon{
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-primary);
}
.socials{ display: flex; gap: var(--space-3); }
.socials a{
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  transition: transform 220ms var(--ease-standard), background 220ms var(--ease-standard), color 220ms;
}
.socials a:hover{ background: var(--color-primary-dark); color: #fff; transform: translateY(-3px); }

.hours-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  align-self: start;
}
.hours-head{ display: flex; align-items: center; gap: var(--space-3); color: var(--color-primary); margin-bottom: var(--space-5); }
.hours-head h3{ font-size: 1.15rem; color: var(--color-foreground); }
.hours-list{ display: flex; flex-direction: column; margin-bottom: var(--space-6); }
.hours-list li{
  display: flex; justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-muted);
  font-size: 0.92rem;
}
.hours-list li:last-child{ border-bottom: none; }
.hours-list li span:first-child{ color: var(--color-body); font-weight: 500; }
.hours-list li span:last-child{ font-weight: 600; color: var(--color-foreground); }
.hours-list .closed{ color: var(--color-muted-text); font-weight: 500; }
.hours-list .is-today{
  background: var(--color-muted);
  border-radius: var(--radius-sm);
  padding-inline: 10px;
  margin-inline: -6px;
}
.hours-list .is-today span{ color: var(--color-primary-dark) !important; }

@media (min-width: 900px){
  .contact-inner{ grid-template-columns: 1.1fr 0.9fr; }
}

/* ---- Map embed ---- */
.map-embed{
  position: relative;
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-embed-cta{
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  color: var(--color-foreground);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-strong);
  transition: transform 220ms var(--ease-standard), background 220ms var(--ease-standard);
}
.map-embed-cta:hover{ transform: translateY(-2px); background: var(--color-muted); }

@media (min-width: 700px){
  .map-embed{ aspect-ratio: 21 / 9; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--color-foreground);
  color: rgba(255,255,255,0.75);
  padding: var(--space-6) 0;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.footer-logo{ color: #fff; }
.footer-logo .logo-mark{ width: 40px; height: 40px; }
.footer-copy{ font-size: 0.85rem; }
.back-to-top{
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 220ms var(--ease-standard), transform 220ms var(--ease-standard);
}
.back-to-top:hover{ background: var(--color-primary-dark); transform: translateY(-3px); }

@media (min-width: 700px){
  .footer-inner{ flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   Scroll reveal — CSS transition driven by an IntersectionObserver toggling
   .is-visible (see main.js). Deliberately NOT a JS-computed tween: a CSS
   transition runs on the compositor and always finishes on its own once
   triggered, even if the tab was backgrounded or rAF gets throttled — a
   GSAP/ScrollTrigger tween can stall mid-animation in exactly that case
   and leave content stuck invisible. Elements default to visible so a
   slow/failed script never hides real content.
   ========================================================================== */
.reveal-up{ opacity: 1; }
/* :not(.hero *) excludes hero content — that's animated directly by GSAP
   via inline styles (see main.js), and a CSS transition on the same
   properties would fight it frame-by-frame and make the entrance feel
   laggy. Everything else uses this transition alone. */
.js-ready .reveal-up:not(.hero *){
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js-ready .reveal-up:not(.hero *).is-visible{ opacity: 1; transform: translateY(0); }
/* Hero elements: no CSS transition here on purpose. GSAP animates them
   directly via inline styles frame-by-frame when it loads; a CSS
   transition on the same property would fight that. If GSAP fails to
   load, main.js adds .is-visible directly and this just snaps them
   visible with no animation — a safe, simple fallback. */
.js-ready .hero .reveal-up{ opacity: 0; }
.js-ready .hero .reveal-up.is-visible{ opacity: 1; }

/* Nice staggered wave for grid layouts: each child gets a little extra
   delay so cards/reviews cascade in rather than popping together. */
.services-grid .service-card:nth-child(1){ --reveal-delay: 0s; }
.services-grid .service-card:nth-child(2){ --reveal-delay: 0.08s; }
.services-grid .service-card:nth-child(3){ --reveal-delay: 0.16s; }
.services-grid .service-card:nth-child(4){ --reveal-delay: 0.24s; }
.services-grid .service-card:nth-child(5){ --reveal-delay: 0.32s; }
.services-grid .service-card:nth-child(6){ --reveal-delay: 0.4s; }
.reviews-grid .review-card:nth-child(1){ --reveal-delay: 0s; }
.reviews-grid .review-card:nth-child(2){ --reveal-delay: 0.12s; }
.reviews-grid .review-card:nth-child(3){ --reveal-delay: 0.24s; }

/* Service cards get a soft pop (scale + rise) instead of a plain fade */
.js-ready .service-card.reveal-up{
  transform: translateY(20px) scale(0.94);
  transition-timing-function: cubic-bezier(.34,1.56,.64,1);
}
.js-ready .service-card.reveal-up.is-visible{ transform: translateY(0) scale(1); }
