/* =========================================================
   DoggyDog – Pet Salon · stylesheet
   Token layers: primitive → semantic → component
   ========================================================= */

/* ---------- 1. Primitive tokens ---------- */
:root {
  --cream-50: #FFFDF9;
  --sand-100: #F4EFE6;
  --sand-200: #E6DEC8;
  --white: #FFFFFF;
  --forest-900: #133A2E;
  --forest-800: #1B4A3B;
  --forest-700: #245C49;
  --coral-500: #F26430;
  --coral-600: #D94E1F;
  --coral-400: #FF7847;
  --honey-500: #F59E0B;
  --honey-400: #FBBF24;
  --mint-500: #10B981;
  --ink-900: #1C2522;
  --ink-600: #52605B;
  --char-950: #111916;
  --char-900: #192420;
  --char-800: #263630;
  --char-700: #31443C;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale (1.25 ratio, base 17px) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.4375rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-hero: clamp(2.1rem, 1.35rem + 3.1vw, 3.75rem);

  /* spacing (4/8 rhythm) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 150ms;
  --dur: 240ms;

  --z-header: 40;
  --z-bar: 50;
  --z-toast: 100;

  --header-h: 72px;
  --mobile-bar-h: 0px;
}

/* ---------- 2. Semantic tokens — LIGHT (default) ---------- */
:root,
:root[data-theme="light"] {
  --bg: var(--cream-50);
  --bg-alt: var(--sand-100);
  --surface: var(--white);
  --surface-2: var(--sand-100);
  --border: var(--sand-200);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --heading: var(--forest-900);
  --brand: var(--forest-900);
  --on-brand: var(--cream-50);
  --deep-bg: var(--forest-900);
  --deep-surface: var(--forest-800);
  --deep-text: #E9F1EC;
  --deep-muted: #B9CCC3;
  --accent: var(--coral-500);
  --accent-hover: var(--coral-600);
  --on-accent: var(--white);
  --accent-text: #C2410C;          /* coral închis pt. text mic (contrast AA) */
  --honey: var(--honey-500);
  --honey-soft: #FEF3D7;
  --honey-ink: #8A5300;
  --mint: var(--mint-500);
  --mint-soft: #DCF5EA;
  --mint-ink: #0B6B4A;
  --coral-soft: #FDE6DC;
  --shadow-sm: 0 1px 2px rgba(28, 37, 34, 0.05), 0 2px 6px rgba(28, 37, 34, 0.04);
  --shadow-md: 0 2px 4px rgba(28, 37, 34, 0.04), 0 10px 28px rgba(28, 37, 34, 0.06);
  --shadow-lg: 0 18px 50px rgba(19, 58, 46, 0.14);
  --focus: var(--coral-600);
  --header-bg: rgba(255, 253, 249, 0.92);
  --footer-bg: var(--forest-900);
  color-scheme: light;
}

/* ---------- Semantic tokens — DARK ---------- */
:root[data-theme="dark"] {
  --bg: var(--char-950);
  --bg-alt: #151F1B;
  --surface: var(--char-900);
  --surface-2: #1F2C27;
  --border: var(--char-800);
  --text: #E7EAE4;
  --text-muted: #A9B6AF;
  --heading: #F3EEE2;
  --brand: #F3EEE2;
  --on-brand: var(--char-950);
  --deep-bg: #0C1310;
  --deep-surface: var(--char-900);
  --deep-text: #E7EAE4;
  --deep-muted: #A9B6AF;
  --accent: var(--coral-400);
  --accent-hover: #FF9168;
  --on-accent: var(--char-950);
  --accent-text: var(--coral-400);
  --honey: var(--honey-400);
  --honey-soft: rgba(251, 191, 36, 0.14);
  --honey-ink: var(--honey-400);
  --mint: #34D399;
  --mint-soft: rgba(16, 185, 129, 0.16);
  --mint-ink: #6EE7B7;
  --coral-soft: rgba(255, 120, 71, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.4);
  --focus: var(--honey-400);
  --header-bg: rgba(17, 25, 22, 0.9);
  --footer-bg: #0C1310;
  color-scheme: dark;
}

/* ---------- 3. Component tokens ---------- */
:root {
  --card-bg: var(--surface);
  --card-border: 1px solid var(--border);
  --card-radius: var(--r-lg);
  --btn-radius: var(--r-md);
  --input-bg: var(--surface);
  --input-border: var(--border);
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--text-muted); }
.break { overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: var(--fs-md);   /* ≥19px semibold: text mare → contrast 3:1 suficient pe coral */
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 18px rgba(242, 100, 48, 0.28);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--heading);
}
.btn-ghost:hover { background: var(--heading); color: var(--bg); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: var(--fs-md); }
.btn-lg { min-height: 56px; padding: 14px 26px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease;
}
.icon-btn:hover { background: var(--surface-2); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.brand-tag { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.brand-kind { color: var(--accent-text); font-weight: 800; }
[data-theme="dark"] .site-header .brand img { filter: drop-shadow(0 0 1.5px rgba(243, 238, 226, 0.7)); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.main-nav ul a:hover { background: var(--surface-2); color: var(--heading); }
.main-nav ul a[aria-current="true"] { color: var(--heading); background: var(--surface-2); }
.main-nav .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--heading); text-decoration: none;
  min-height: 44px; padding: 0 6px;
}
.header-phone:hover { color: var(--accent-text); }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .header-cta, .header-phone { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 16px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .main-nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { width: 100%; font-size: var(--fs-md); border-radius: var(--r-md); }
  .main-nav .nav-cta-mobile { display: flex; margin-top: 12px; width: 100%; }
}

@media (max-width: 400px) {
  .brand-tag .brand-kind { display: none; }
  .brand-name { font-size: 1.25rem; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 40px 0 64px;
  overflow: hidden;
}
.hero::before {
  /* pată organică caldă în spatele fotografiei */
  content: "";
  position: absolute;
  right: -12%;
  top: -8%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  background: var(--bg-alt);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--mint-soft);
  color: var(--mint-ink);
  font-weight: 800;
  font-size: var(--fs-sm);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 19ch;
}
.hero-lead {
  margin-top: 20px;
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 54ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.guarantees li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.4;
}
.guarantees strong {
  display: block;
  color: var(--heading);
  font-weight: 800;
  margin-bottom: 2px;
}
.g-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
}
.g-coral { background: var(--coral-soft); color: var(--accent-text); }
.g-mint { background: var(--mint-soft); color: var(--mint-ink); }
.g-honey { background: var(--honey-soft); color: var(--honey-ink); }

/* Arcada — elementul-semnătură: fereastra salonului */
.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--bg-alt);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-hero {
  aspect-ratio: 4 / 5;
  border: 10px solid var(--surface);
  box-shadow: var(--shadow-lg);
}
.hero-paw {
  position: absolute;
  width: 54px; height: 54px;
  color: var(--accent);
  pointer-events: none;
}
.hero-paw-1 { top: 6%; left: -30px; transform: rotate(-22deg); }
.hero-paw-2 { top: -2%; left: 12px; width: 34px; height: 34px; color: var(--honey); transform: rotate(-8deg); }

.status-card {
  position: absolute;
  left: -36px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-width: 290px;
}
.status-title { display: block; font-weight: 800; color: var(--heading); font-size: var(--fs-sm); line-height: 1.3; }
.status-sub { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.status-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--text-muted);
}
.status-card.is-open .status-dot { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.status-card.is-closed .status-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--coral-soft); }

@media (max-width: 900px) {
  .hero { padding: 24px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .hero-visual { width: min(100%, 380px); }
  .hero::before { right: -30%; top: 38%; width: 110vw; }
  .status-card { left: 50%; transform: translateX(-50%); bottom: -24px; width: max-content; max-width: calc(100% - 16px); }
  .hero-paw-1 { left: -8px; }
}
@media (max-width: 640px) {
  .guarantees { grid-template-columns: 1fr; gap: 14px; }
  .hero-ctas .btn { width: 100%; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--sp-9) 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: var(--fs-md);
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 800;
  line-height: 1.5;
}
.tag-mint { background: var(--mint-soft); color: var(--mint-ink); }
.tag-honey { background: var(--honey-soft); color: var(--honey-ink); }
.tag-coral { background: var(--coral-soft); color: var(--accent-text); }

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 14px 22px;
}
.service-media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 999px 999px var(--r-md) var(--r-md);
}
.service-media .arch { position: absolute; inset: 0; border-radius: inherit; }
.salon-gallery > * { position: relative; min-height: 0; }
.salon-gallery img { position: absolute; inset: 0; }
.service-icon {
  position: absolute;
  left: 18px;
  bottom: -22px;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--on-brand);
  border: 4px solid var(--surface);
  z-index: 1;
}
.service-icon .icon { width: 22px; height: 22px; }
.service-body { padding: 34px 8px 0; display: flex; flex-direction: column; flex: 1; }
.service-body .tag { align-self: flex-start; margin-bottom: 10px; }
.service-body p { margin-top: 8px; color: var(--text-muted); font-size: var(--fs-sm); }
.service-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-from {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.price-from small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-muted); font-weight: 700; margin-right: 4px; }
.link-book {
  font-weight: 800;
  color: var(--heading);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.link-book:hover { color: var(--accent-text); }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   Pricing tabs & packages
   ========================================================= */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.tab:hover { color: var(--heading); background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.tier-hint { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-sm); min-height: 1.6em; }

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.package h3 { font-size: var(--fs-lg); }
.package-summary { margin-top: 8px; color: var(--text-muted); font-size: var(--fs-sm); min-height: 3em; }
.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-display);
}
.package-price .amount {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.package-price .currency { font-weight: 600; font-size: var(--fs-md); color: var(--heading); }
.package-duration {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 700;
}
.package ul { margin: 22px 0 26px; display: grid; gap: 10px; }
.package li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; }
.package li .icon { color: var(--mint); width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.6; }
.package .btn { margin-top: auto; width: 100%; }

.package.is-featured {
  background: var(--deep-bg);
  border-color: var(--deep-bg);
  color: var(--deep-text);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.package.is-featured h3,
.package.is-featured .package-price .currency { color: #FFFDF9; }
.package.is-featured .package-summary,
.package.is-featured .package-duration { color: var(--deep-muted); }
.package.is-featured .package-price .amount { color: var(--coral-400); }
.package.is-featured li .icon { color: #6EE7B7; }
.featured-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--honey-400);
  color: #3D2600;
  font-weight: 800;
  font-size: var(--fs-xs);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
}
.featured-badge .icon { width: 14px; height: 14px; }
.package.is-featured .btn-ghost { color: #FFFDF9; border-color: rgba(255,253,249,.5); }

.packages.is-switching .package-price .amount { animation: price-in var(--dur) var(--ease-out); }
@keyframes price-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.fine-print { margin-top: 22px; font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 960px) {
  .packages { grid-template-columns: 1fr; max-width: 520px; }
  .package.is-featured { transform: none; order: -1; }
  .package-summary { min-height: 0; }
}
@media (max-width: 640px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { justify-content: center; padding: 8px 10px; }
}

/* =========================================================
   Salon (secțiune întunecată de încredere)
   ========================================================= */
.section-deep {
  background: var(--deep-bg);
  color: var(--deep-text);
}
.section-deep h2, .section-deep h3 { color: #FFFDF9; }
.salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.salon-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 540px;
}
.salon-gallery .arch,
.salon-gallery .ph { overflow: hidden; background: var(--deep-surface); }
.salon-gallery > :first-child { grid-row: 1 / 3; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.salon-gallery > :nth-child(2) { border-radius: var(--r-lg) 999px var(--r-lg) var(--r-lg); }
.salon-gallery > :nth-child(3) { border-radius: var(--r-lg); }
.salon-gallery img { width: 100%; height: 100%; object-fit: cover; }

.salon-lead { margin-top: 16px; font-size: var(--fs-md); color: var(--deep-muted); max-width: 52ch; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 36px; }
.features li { display: flex; flex-direction: column; gap: 12px; }
.features p { margin-top: 6px; color: var(--deep-muted); font-size: var(--fs-sm); }
.f-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 253, 249, 0.08);
  color: var(--honey-400);
  border: 1px solid rgba(255, 253, 249, 0.12);
}

@media (max-width: 960px) {
  .salon-grid { grid-template-columns: 1fr; gap: 44px; }
  .salon-gallery { height: 420px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features li { flex-direction: row; gap: 14px; }
  .salon-gallery { height: 340px; gap: 10px; }
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.reviews-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.rating-big { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.rating-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.rating-count { display: block; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 700; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--honey); }
.stars .icon { width: 20px; height: 20px; }
.stars .icon.is-empty { color: var(--border); }
.google-note {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 22px; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 600;
}
.google-g { width: 18px; height: 18px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.review {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
}
.review-author { font-weight: 800; color: var(--heading); line-height: 1.2; }
.review-meta { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.review .stars { margin-top: 14px; }
.review .stars .icon { width: 17px; height: 17px; }
.review blockquote { margin: 10px 0 0; font-size: var(--fs-sm); line-height: 1.6; }
.review-pet { margin-top: 14px; }

@media (max-width: 1024px) {
  .reviews-layout { grid-template-columns: 1fr; gap: 32px; }
  .reviews-summary { position: static; }
}
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Booking form
   ========================================================= */
.booking-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.booking-intro p { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-md); }
.booking-steps { margin-top: 26px; display: grid; gap: 12px; }
.booking-steps li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.booking-steps .icon { color: var(--mint); stroke-width: 2.6; margin-top: 3px; }
.booking-steps a { color: var(--heading); font-weight: 800; }

.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
}
.booking-form { padding: 32px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-weight: 800; font-size: var(--fs-sm); color: var(--heading); padding: 0; margin-bottom: 6px; }
.field legend { margin-bottom: 8px; }
.req { color: var(--accent-text); }

input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--r-md);
  background: var(--input-bg);
  font-size: 1rem;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
textarea { min-height: 96px; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352605B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--heading);
  box-shadow: 0 0 0 4px var(--coral-soft);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .8; }
.field.has-error input, .field.has-error select { border-color: #C0392B; }
[data-theme="dark"] .field.has-error input, [data-theme="dark"] .field.has-error select { border-color: #FF8A80; }
.field-error { color: #B42318; font-size: var(--fs-sm); font-weight: 700; min-height: 0; }
[data-theme="dark"] .field-error { color: #FF9C94; }
.field-error:empty { display: none; }
.field-help { font-size: var(--fs-xs); color: var(--text-muted); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--text-muted);
  background: var(--surface);
  transition: all var(--dur-fast) ease;
}
.seg:hover span { border-color: var(--text-muted); }
.seg input:checked + span {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-errors {
  background: var(--coral-soft);
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: var(--fs-sm);
}
.form-errors strong { display: block; color: var(--heading); }
.form-errors ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.form-errors a { color: var(--heading); font-weight: 700; }
.form-note { font-size: var(--fs-sm); color: var(--text-muted); text-align: center; min-height: 1.4em; }
.form-note.is-success { color: var(--mint-ink); font-weight: 700; }

@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .booking-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-list { display: grid; gap: 22px; margin-top: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.contact-list a { color: var(--heading); font-weight: 800; text-underline-offset: 3px; }
.c-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: var(--coral-soft); color: var(--accent-text);
}
.hours { border-collapse: collapse; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 4px 0; font-weight: 600; }
.hours th { padding-right: 24px; color: var(--text-muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--heading); font-weight: 800; }
.hours tr.is-today td::after {
  content: "azi";
  margin-left: 10px;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  background: var(--mint-soft);
  color: var(--mint-ink);
  font-size: var(--fs-xs);
  font-weight: 800;
}
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.map-wrap {
  position: relative;
  min-height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--card-border);
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map-wrap iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .map-wrap { min-height: 320px; }
}
@media (max-width: 560px) {
  .contact-ctas .btn { width: 100%; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  color: #C9D8D0;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer h2 { font-size: var(--fs-md); color: #FFFDF9; margin-bottom: 14px; }
.site-footer a { color: #FFFDF9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.brand-light .brand-name { color: #FFFDF9; }
.brand-light .brand-tag { color: #B9CCC3; }
.brand-light .brand-kind { color: var(--coral-400); }
.footer-nav ul { display: grid; gap: 4px; }
.footer-nav a, .footer-contact a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-contact p { margin-bottom: 6px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  font-size: var(--fs-sm); color: #9FB5AA;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   Mobile bottom bar (< 768px)
   ========================================================= */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  :root { --mobile-bar-h: calc(72px + env(safe-area-inset-bottom, 0px)); --header-h: 64px; }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-bar);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(28, 37, 34, 0.08);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; border-radius: var(--r-md);
    padding: 0 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    white-space: nowrap;
    text-decoration: none;
  }
  .mobile-bar .icon { width: 20px; height: 20px; }
  .mb-call { color: var(--heading); border: 2px solid var(--heading); }
  .mb-wa { background: var(--accent-text); color: var(--on-accent); }
  .brand img { width: 40px; height: 40px; }
}

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--mobile-bar-h));
  transform: translateX(-50%);
  z-index: var(--z-toast);
  background: var(--deep-bg);
  color: #FFFDF9;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  max-width: calc(100% - 32px);
}

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