/* =====================================================================
   Ani's Happy Vet — stiluri
   Culorile principale sunt definite mai jos ca variabile (--cream etc.).
   Schimbați-le aici și se schimbă peste tot.
   ===================================================================== */

:root {
  --cream: #fbf6ee;
  --cream-2: #f5ebdc;
  --peach: #f6d9c2;
  --peach-soft: #fbe9db;
  --terracotta: #d2693f;
  --terracotta-dark: #b0532e;
  --sage: #7f9f80;
  --sage-soft: #e3ece0;
  --honey: #e9b44c;
  --brown: #3e2f25;
  --brown-soft: #6e5a4c;
  --white: #fffdf9;
  --line: #ead9c6;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 10px 30px -12px rgba(110, 70, 40, 0.25);
  --shadow-soft: 0 4px 16px -8px rgba(110, 70, 40, 0.2);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--brown);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--tint { background: var(--cream-2); }
.section--sage { background: var(--sage-soft); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--brown-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.eyebrow svg { width: 18px; height: 18px; }
.section-head { margin-bottom: 48px; }
.hand { font-family: var(--font-head); font-style: italic; color: var(--terracotta); font-weight: 500; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 800 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 20px -8px var(--terracotta); }
.btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn--ghost { background: var(--white); color: var(--brown); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Bara de urgență ---------- */
.topbar {
  background: var(--brown); color: var(--cream);
  font-size: .9rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--peach); text-decoration: none; font-weight: 700; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; }
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa39a; display: inline-block; }
.open-dot.is-open { background: #7ed492; box-shadow: 0 0 0 4px rgba(126, 212, 146, .25); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-soft); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.logo-mark {
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--terracotta); color: #fff;
  display: grid; place-items: center;
  transform: rotate(-6deg);
  box-shadow: 0 6px 14px -6px var(--terracotta);
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-mark--img {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; overflow: hidden;
  transform: none; box-shadow: 0 4px 12px -6px rgba(110, 70, 40, .45);
}
.logo-mark--img img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { line-height: 1.1; }
.logo-text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; display: block; }
.logo-text small { white-space: nowrap; font-size: .8rem; color: var(--brown-soft); font-weight: 700; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  text-decoration: none; color: var(--brown); font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  transition: background .2s;
}
.nav a:hover { background: var(--peach-soft); }
.nav a.active { background: var(--peach); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { background: var(--terracotta-dark); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brown);
}
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 16px 16px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 18px; font-size: 1.1rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 .hand { display: block; }
.hero .lead { margin-bottom: 30px; }
.hero-art { position: relative; }
.hero-art .blob {
  position: absolute; inset: 4% 2% 2% 6%;
  background: var(--peach);
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  animation: morph 14s ease-in-out infinite;
}
.hero-art svg.pets { position: relative; width: 100%; height: auto; }
.badge {
  position: absolute;
  background: var(--white); border-radius: 18px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  font-weight: 800; font-size: .92rem; line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.badge small { display: block; font-weight: 600; color: var(--brown-soft); }
.badge .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.badge .ico svg { width: 20px; height: 20px; }
.badge--a { top: 8%; left: -4%; }
.badge--a .ico { background: var(--sage-soft); color: var(--sage); }
.badge--b { bottom: 8%; right: -2%; animation-delay: -3s; }
.badge--b .ico { background: var(--peach-soft); color: var(--terracotta); }
.hero-logo {
  position: absolute; left: -6%; bottom: 2%; z-index: 2;
  width: clamp(120px, 38%, 180px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 6px solid var(--white); overflow: hidden;
  box-shadow: 0 18px 40px -14px rgba(110, 70, 40, .45);
  transform: rotate(-8deg);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--brown-soft); font-weight: 700; font-size: .95rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--sage); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 460px; margin: 10px auto 0; }
  .badge--a { left: 0; }
  .badge--b { right: 0; }
  .hero-logo { left: 2%; bottom: 4%; width: 24%; min-width: 84px; border-width: 4px; }
  .badge--b { right: -2%; bottom: 2%; }
}

@keyframes morph {
  0%, 100% { border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%; }
  50% { border-radius: 58% 42% 44% 56% / 44% 58% 42% 56%; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wag { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(14deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.tail-wag { transform-origin: 300px 270px; animation: wag 1.2s ease-in-out infinite; }
.cat-tail { transform-origin: 120px 300px; animation: wag 3.5s ease-in-out infinite; }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }

/* Valuri decorative între secțiuni */
.wave { display: block; width: 100%; height: 60px; color: var(--cream-2); }
.wave--down { transform: rotate(180deg); }
.wave--sage { color: var(--sage-soft); }

/* Labuțe decorative pe fundal */
.paws-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.paws-bg span { position: absolute; width: 34px; color: var(--terracotta); opacity: .09; }

/* ---------- Carduri valori ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.value .ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--peach-soft); color: var(--terracotta);
}
.value:nth-child(2) .ico { background: var(--sage-soft); color: var(--sage); }
.value:nth-child(3) .ico { background: #fbefd2; color: #c18c1f; }
.value .ico svg { width: 28px; height: 28px; }
.value p { color: var(--brown-soft); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Servicii ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.service::after {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: var(--peach-soft); right: -50px; bottom: -50px; transition: transform .4s ease; z-index: 0;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--peach); }
.service:hover::after { transform: scale(1.6); }
.service > * { position: relative; z-index: 1; }
.service .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--terracotta); color: #fff; margin-bottom: 18px;
  transform: rotate(-5deg);
}
.service:nth-child(3n+2) .ico { background: var(--sage); }
.service:nth-child(3n+3) .ico { background: var(--honey); }
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--brown-soft); margin: 0; font-size: 1rem; }
.service--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; }
.service--link:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.service .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px;
  font-weight: 800; font-size: .95rem; color: var(--terracotta-dark);
}
.service .more svg { width: 18px; height: 18px; transition: transform .25s; }
.service--link:hover .more svg { transform: translateX(4px); }

/* ---------- Fereastra cu detalii serviciu ---------- */
.svc-modal {
  width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--brown); box-shadow: 0 30px 80px -20px rgba(62, 47, 37, .5);
  overflow: auto; overscroll-behavior: contain;
}
.svc-modal::backdrop { background: rgba(62, 47, 37, .55); backdrop-filter: blur(3px); }
.svc-modal[open] { animation: svc-in .25s ease; }
@keyframes svc-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
html:has(.svc-modal[open]) { overflow: hidden; }
.svc-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; background: var(--white); border-bottom: 1px solid var(--line);
}
.svc-head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); flex: 1; }
.svc-head .ico {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--terracotta); color: #fff; transform: rotate(-5deg);
}
.svc-head .ico svg { width: 24px; height: 24px; }
.svc-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); flex: none;
  background: var(--cream); color: var(--brown); display: grid; place-items: center; cursor: pointer;
}
.svc-close:hover { border-color: var(--terracotta); }
.svc-close svg { width: 22px; height: 22px; }
.svc-body { padding: 24px 26px 8px; }
.svc-modal .svc-body:focus, .svc-modal .svc-body:focus-visible { outline: none; }
.svc-body .lead { font-size: 1.15rem; }
.svc-body h3 { margin-top: 1.4em; }
.svc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 8px 0 18px; }
.svc-gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--peach-soft); }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-gallery a:hover img { transform: scale(1.05); }
.svc-foot { padding: 18px 26px 26px; border-top: 1px dashed var(--line); }
@media (max-width: 520px) {
  .svc-head, .svc-body, .svc-foot { padding-left: 18px; padding-right: 18px; }
  .svc-foot .btn { flex: 1; justify-content: center; }
}

/* ---------- Doi coloane (despre) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--peach); aspect-ratio: 4/5; box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame svg { width: 100%; height: 100%; }
.photo-wrap { position: relative; max-width: 440px; margin-inline: auto; }
.photo-wrap .sticker {
  position: absolute; right: -14px; bottom: 30px;
  background: var(--sage); color: #fff; border-radius: 20px; padding: 14px 18px;
  font-weight: 800; box-shadow: var(--shadow); transform: rotate(4deg); max-width: 210px; line-height: 1.3;
}
/* ---------- Galerie foto ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin-inline: auto; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--peach-soft); box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 12px; } }
.photo-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.photo-card img { width: 100%; height: auto; display: block; }
.photo-card figcaption { background: var(--white); padding: 16px 22px; color: var(--brown-soft); font-weight: 700; }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex: none; color: #fff; background: var(--sage); border-radius: 50%; padding: 4px; margin-top: 2px; }

/* ---------- Pași vizită ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--white); border: 3px dashed var(--terracotta);
  display: grid; place-items: center;
  font: 700 1.6rem var(--font-head); color: var(--terracotta);
}
.step p { color: var(--brown-soft); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Recenzii ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); position: relative; }
.testimonial::before { content: "\201E"; font: 700 4.5rem/1 var(--font-head); color: var(--peach); position: absolute; top: 4px; right: 22px; }
.testimonial footer { font-weight: 800; color: var(--terracotta); margin-top: 10px; }
.testimonial footer small { font-weight: 600; color: var(--brown-soft); }
.stars { color: var(--honey); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 8px; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 800; box-shadow: var(--shadow-soft); text-decoration: none; color: var(--brown);
}
.rating-pill .stars { margin: 0; }
.rating-pill:hover { border-color: var(--terracotta); }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.insta-tile {
  aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center;
  color: #fff; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .25s;
}
.insta-tile:hover { transform: scale(1.03) rotate(-1deg); }
.insta-tile svg { width: 44%; height: auto; opacity: .9; }
.insta-tile:nth-child(1) { background: var(--terracotta); }
.insta-tile:nth-child(2) { background: var(--sage); }
.insta-tile:nth-child(3) { background: var(--honey); }
.insta-tile:nth-child(4) { background: var(--brown-soft); }
@media (max-width: 700px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA ---------- */
.cta {
  background: var(--terracotta); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: #fde9dc; margin: 0; font-size: 1.1rem; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta .btn--light { background: #fff; color: var(--terracotta-dark); }
.cta .deco { position: absolute; width: 220px; color: #fff; opacity: .08; right: -40px; top: -50px; transform: rotate(20deg); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Page hero (paginile interioare) ---------- */
.page-hero { padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.page-hero .lead { margin-inline: auto; }
.crumbs { font-size: .9rem; font-weight: 700; color: var(--brown-soft); margin-bottom: 14px; }
.crumbs a { color: var(--brown-soft); text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }

/* ---------- Acordeon (sfaturi, întrebări) ---------- */
.accordion { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.accordion details {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  transition: box-shadow .25s;
}
.accordion details[open] { box-shadow: var(--shadow); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; align-items: center; gap: 16px;
  font: 600 1.15rem var(--font-head);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--peach-soft); color: var(--terracotta);
}
.accordion summary .ico svg { width: 24px; height: 24px; }
.accordion summary .chev { margin-left: auto; width: 22px; height: 22px; transition: transform .3s; color: var(--brown-soft); flex: none; }
.accordion details[open] .chev { transform: rotate(180deg); }
.accordion .body { padding: 0 26px 24px 88px; color: var(--brown-soft); }
.accordion .body ul { padding-left: 20px; margin: 0 0 1em; }
.accordion .body li { margin-bottom: 6px; }
@media (max-width: 600px) { .accordion .body { padding-left: 26px; } }
.note {
  max-width: 860px; margin: 30px auto 0; padding: 18px 22px; border-radius: var(--radius);
  background: var(--sage-soft); display: flex; gap: 12px; color: var(--brown-soft); font-size: .98rem;
}
.note svg { width: 24px; height: 24px; flex: none; color: var(--sage); }

/* ---------- Formular ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 6px; }
label .opt { font-weight: 600; color: var(--brown-soft); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--cream);
  font: inherit; font-size: 1rem; color: var(--brown);
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.pet-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pet-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pet-pick label {
  margin: 0; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--cream); cursor: pointer; font-weight: 700; transition: all .2s;
}
.pet-pick input:checked + label { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.pet-pick input:focus-visible + label { outline: 3px solid var(--honey); }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ico { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; }
.form-success .ico svg { width: 40px; height: 40px; }
.form-hint { font-size: .9rem; color: var(--brown-soft); margin-top: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > *, .split > *, .info-list li > div { min-width: 0; }
.info-list a, .info-list span { overflow-wrap: anywhere; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--peach-soft); color: var(--terracotta); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brown-soft); }
.info-list a { color: var(--brown); font-weight: 800; text-decoration: none; }
.info-list a:hover { color: var(--terracotta); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 800; }
.hours-table tr.today td { color: var(--terracotta); }
.hours-table tr.today td:first-child::after { content: " · azi"; font-weight: 700; font-size: .85rem; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--cream-2); font-weight: 800; font-size: .9rem; margin-bottom: 16px; }
.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 380px; height: 100%; background: var(--cream-2);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.15) saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: #e9dccd; padding: 70px 0 30px; margin-top: 0; position: relative; }
.footer a { color: #e9dccd; text-decoration: none; }
.footer a:hover { color: var(--peach); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-text small { color: #c7b4a2; }
.footer p { color: #c7b4a2; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--terracotta); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; color: #a8957f; }
.footer-bottom svg { display: inline; width: 14px; height: 14px; color: var(--terracotta); vertical-align: -2px; }

/* ---------- Diverse ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--terracotta); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

[data-icon] { display: inline-flex; }
.chev svg, .cta .deco svg, .paws-bg span svg { width: 100%; height: auto; }
.insta-tile > span { width: 40%; }
.insta-tile > span svg { width: 100%; height: auto; }

.ph { background: #fff3a8; outline: 2px dashed #e0b400; border-radius: 4px; padding: 0 3px; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Date legale în subsol (firmă, confidențialitate, ANPC SAL) ---------- */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .9rem;
}
.footer-legal p { margin: 0 0 4px; color: #c7b4a2; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .sal { text-decoration: none; flex: none; }
.footer-legal .sal img { width: 250px; height: 50px; border-radius: 6px; }

/* ---------- Harta încărcată la cerere ---------- */
.map-consent { display: grid; place-items: center; height: 100%; min-height: 380px; text-align: center; padding: 30px; color: var(--brown-soft); }
.map-pin { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--terracotta); }
.map-pin svg { width: 100%; height: 100%; }
.small-print { font-size: .85rem; margin-top: 16px; max-width: 42ch; margin-inline: auto; }

/* ---------- Pagina de confidențialitate ---------- */
.legal-text { max-width: 820px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.legal-text h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text ul { padding-left: 22px; }
.legal-text li { margin-bottom: 6px; }
.legal-text table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .97rem; }
.legal-text th, .legal-text td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-text th { background: var(--cream-2); }
.table-wrap { overflow-x: auto; }

/* Pe telefon, butonul „sus” stă deasupra insignei Netlify din colțul de jos */
@media (max-width: 760px) {
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}
