:root {
  --forest: #14352b;
  --forest-2: #1b4332;
  --sage: #40916c;
  --sage-soft: #74c69d;
  --mist: #eef6f1;
  --paper: #f7faf8;
  --ink: #14211c;
  --muted: #5c7368;
  --line: #d5e5dc;
  --danger: #9b2226;
  --warn: #bc6c25;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 53, 43, .12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(116,198,157,.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(64,145,108,.12), transparent 55%),
    linear-gradient(180deg, #f4faf7 0%, var(--paper) 35%, #f8fbf9 100%);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest-2); }
ul { padding-left: 1.1rem; }
.container { width: min(1140px, calc(100% - 2.4rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Topbar */
.topbar {
  background: var(--forest);
  color: #d8eee3;
  font-size: .86rem;
}
.topbar__inner {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  justify-content: space-between; align-items: center;
  padding: .55rem 0;
}
.topbar a { color: #d8eee3; }
.topbar__social { display: flex; gap: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247,250,248,.88);
  border-bottom: 1px solid rgba(213,229,220,.8);
  transition: box-shadow .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(20,53,43,.08); background: rgba(255,255,255,.94); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  height: 64px; width: auto; max-width: 210px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(20,53,43,.08));
}
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul {
  display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: .55rem .75rem; border-radius: 999px; display: inline-block;
}
.site-nav a:hover, .site-nav a.is-active {
  background: rgba(64,145,108,.12); color: var(--forest-2);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px; background: var(--forest); margin-inline: auto;
  transition: transform .25s, opacity .25s;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .85rem 1.35rem;
  font-family: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest-2) 120%);
  color: #fff !important; box-shadow: 0 10px 24px rgba(27,67,50,.22);
}
.btn--primary:hover { box-shadow: 0 14px 28px rgba(27,67,50,.28); color: #fff !important; }
.btn--ghost {
  background: transparent; color: var(--forest-2); border: 1.5px solid var(--line);
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--light { background: #fff; color: var(--forest-2); }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,35,28,.82) 0%, rgba(15,35,28,.55) 48%, rgba(15,35,28,.25) 100%),
    linear-gradient(0deg, rgba(15,35,28,.75) 0%, transparent 45%);
}
.hero__content {
  width: min(1140px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
  color: #f3faf6;
  animation: riseIn .9s ease both;
}
.hero__eyebrow {
  display: inline-block; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; opacity: .85; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08; margin: 0 0 1rem; font-weight: 700;
  max-width: 12ch;
}
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 36ch;
  opacity: .92; font-weight: 300; margin: 0 0 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Sections */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section__head {
  max-width: 640px; margin-bottom: 2.5rem;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15; margin: 0 0 .7rem; color: var(--forest);
}
.section__head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section__eyebrow {
  color: var(--sage); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem; display: block;
}

.notice-banner {
  background: linear-gradient(90deg, rgba(64,145,108,.12), rgba(116,198,157,.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--forest-2);
  margin-bottom: 2rem;
}

/* Service grid — no heavy cards, soft panels */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-item {
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255,255,255,.72);
  border: 1px solid transparent;
  transition: border-color .25s, transform .25s, background .25s;
}
.service-item:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  background: #fff;
}
.service-item__media {
  aspect-ratio: 16/10; overflow: hidden; border-radius: 14px; margin-bottom: 1rem;
}
.service-item__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-item:hover .service-item__media img { transform: scale(1.05); }
.service-item h3 {
  font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .45rem; color: var(--forest);
}
.service-item p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.service-item .link-more { font-weight: 600; color: var(--sage); }

/* About split */
.about-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.about-split__media {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 420px;
  box-shadow: var(--shadow);
}
.about-split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-split__content h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--forest); margin: 0 0 1rem;
}
.about-split__content p { color: var(--muted); }
.meta-chips {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.6rem; list-style: none; padding: 0;
}
.meta-chips li {
  padding: .45rem .85rem; border-radius: 999px;
  background: rgba(64,145,108,.1); color: var(--forest-2); font-size: .88rem; font-weight: 500;
}

/* Testimonials */
.quote-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.quote {
  padding: 1.5rem; border-left: 3px solid var(--sage-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(238,246,241,.5));
}
.quote p { margin: 0 0 1rem; color: var(--ink); font-size: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--forest-2); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--forest);
  color: #eef8f2; padding: 3rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 220px;
  background: radial-gradient(circle, rgba(116,198,157,.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .5rem; position: relative;
}
.cta-band p { margin: 0; opacity: .88; max-width: 42ch; position: relative; }

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(64,145,108,.08), transparent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest); margin: 0 0 .6rem;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 56ch; }

/* Content */
.prose { max-width: 760px; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--forest); }
.prose p, .prose li { color: #2a3d34; }
.content-wrap { padding: 3rem 0 4.5rem; }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
.form-grid--2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field label {
  display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; color: var(--forest-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(64,145,108,.15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.alert {
  padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: .95rem;
}
.alert--success { background: #e6f6ec; color: #1b4332; border: 1px solid #b7e4c7; }
.alert--error { background: #fde8e8; color: #7f1d1d; border: 1px solid #fecaca; }

.slot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem;
}
.slot-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: .65rem .4rem; cursor: pointer; font: inherit; font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.slot-btn:hover { border-color: var(--sage); }
.slot-btn.is-selected {
  background: var(--forest-2); color: #fff; border-color: var(--forest-2);
}
.slot-btn:disabled { opacity: .4; cursor: not-allowed; }

.appointment-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start;
}
.info-panel {
  padding: 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
}
.info-panel h3 { font-family: var(--font-display); color: var(--forest); margin-top: 0; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem;
}
.map-frame {
  border-radius: 20px; overflow: hidden; min-height: 360px; background: var(--mist);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
}
.gallery-grid a {
  display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .45s;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Blog */
.post-list { display: grid; gap: 1.5rem; }
.post-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; align-items: center;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.post-item__media {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 14px;
}
.post-item__media img { width: 100%; height: 100%; object-fit: cover; }
.post-item h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 .4rem; }
.post-item h2 a { color: var(--forest); }
.post-item p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  margin-top: 3rem; background: var(--forest); color: #d7ebe1; position: relative;
}
.footer-wave {
  height: 28px;
  background: radial-gradient(circle at 50% -20px, transparent 28px, var(--forest) 29px) top / 40px 40px;
  transform: translateY(-27px);
}
.footer__grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__logo { height: 56px; width: auto; margin-bottom: .8rem; filter: brightness(1.05); }
.footer__brand p { margin: 0 0 .5rem; opacity: .9; }
.footer__vet { font-weight: 600; color: #fff !important; }
.site-footer h3 {
  font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin: 0 0 1rem;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .55rem; }
.footer__list a { color: #d7ebe1; }
.footer__list a:hover { color: #fff; }
.footer__hours { font-size: .92rem; opacity: .9; }
.footer__map {
  border-radius: 14px; overflow: hidden; min-height: 160px; background: rgba(0,0,0,.2);
}
.footer__map iframe { width: 100% !important; height: 160px !important; border: 0 !important; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0 1.4rem;
}
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .88rem; opacity: .85;
}
.footer__note { max-width: 48ch; }

.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 1rem 1.1rem;
  display: none;
  gap: 1rem; align-items: center; justify-content: space-between;
  max-width: 720px; margin-inline: auto;
}
.cookie-bar.is-open {
  display: flex;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; font-size: .92rem; color: var(--muted); }

.whatsapp-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff !important;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.35);
  transition: transform .2s;
}
body.has-cookie .whatsapp-fab { bottom: 6.5rem; }
.whatsapp-fab:hover { transform: scale(1.06); color: #fff !important; }

.pwa-install {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 160;
  display: none; align-items: center; gap: .6rem;
  background: var(--forest); color: #fff; border: 0; border-radius: 999px;
  padding: .7rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow);
}
.pwa-install.is-visible { display: inline-flex; }
body.has-cookie .pwa-install { bottom: 6.5rem; }

/* Type cards for appointment — no visible radio */
.type-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.type-option {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.1rem 1rem; border-radius: 16px;
  border: 2px solid var(--line); cursor: pointer; background: #fff;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  min-height: 96px; user-select: none;
}
.type-option:hover {
  border-color: var(--sage-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20,53,43,.08);
}
.type-option:has(input:checked),
.type-option.is-active {
  border-color: var(--sage);
  background: linear-gradient(180deg, rgba(64,145,108,.12), rgba(64,145,108,.04));
  box-shadow: 0 0 0 3px rgba(64,145,108,.12);
}
.type-option input {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}
.type-option strong { display: block; color: var(--forest); font-size: 1rem; margin-bottom: .25rem; }
.type-option span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.type-option .type-check {
  position: absolute; top: .7rem; right: .7rem;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
}
.type-option.is-active .type-check,
.type-option:has(input:checked) .type-check {
  border-color: var(--sage); background: var(--sage);
  box-shadow: inset 0 0 0 3px #fff;
}

/* Social / reviews / instagram */
.social-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.g-review {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.15rem; margin-bottom: .8rem;
}
.g-review__top { display: flex; justify-content: space-between; gap: .6rem; align-items: center; margin-bottom: .45rem; }
.g-review__name { font-weight: 600; color: var(--forest); }
.g-review__stars { color: #f4b400; letter-spacing: 1px; font-size: .95rem; }
.g-review p { margin: 0; color: var(--muted); font-size: .95rem; }
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem;
}
.ig-card {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  display: block; background: var(--mist);
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-card:hover img { transform: scale(1.06); }
.ig-card__cap {
  position: absolute; inset: auto 0 0 0; padding: .55rem .6rem;
  background: linear-gradient(transparent, rgba(10,20,16,.75));
  color: #fff; font-size: .75rem; line-height: 1.3;
}

@media (max-width: 980px) {
  .service-grid, .quote-rail, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-split, .appointment-panel, .contact-grid, .footer__grid, .social-split { grid-template-columns: 1fr; }
  .footer__map iframe { height: 220px !important; }
  .post-item { grid-template-columns: 140px 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { width: min(1140px, calc(100% - 1.4rem)); }
  .brand__logo { height: 48px; max-width: 148px; }
  .nav-toggle { display: flex; z-index: 5; }
  .site-nav {
    position: fixed; inset: calc(var(--header-h) + 32px) 0 auto 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.4rem; flex-direction: column; align-items: stretch;
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .3s;
    max-height: calc(100vh - var(--header-h) - 40px); overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; width: 100%; }
  .site-nav a { display: block; padding: .8rem .9rem; }
  .nav-cta { text-align: center; width: 100%; }
  .topbar__hours, .topbar__social { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { min-height: 72vh; }
  .hero__content { padding: 4.5rem 0 3rem; }
  .hero h1 { max-width: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; min-height: 48px; }
  .service-grid, .quote-rail, .gallery-grid { grid-template-columns: 1fr; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .cta-band { padding: 1.5rem; }
  .cta-band .btn { width: 100%; }
  .cookie-bar.is-open { flex-direction: column; align-items: stretch; bottom: .75rem; left: .75rem; right: .75rem; }
  .cookie-bar .btn { width: 100%; min-height: 44px; }
  .post-item { grid-template-columns: 1fr; }
  .type-options { grid-template-columns: 1fr 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .slot-btn { min-height: 44px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 2.2rem 0 1.4rem; }
  .section { padding: 3.2rem 0; }
  .info-panel, .appointment-panel form { width: 100%; }
  input, select, textarea, .btn { font-size: 16px !important; } /* iOS zoom prevention */
}
@media (max-width: 420px) {
  .type-options { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .brand__logo { height: 42px; max-width: 130px; }
}
