@charset "UTF-8";
/* ============================================================
   Diagnóstico Veterinario — extraído del código fuente Next.js
   Tokens en :root del repo (oklch) + pequeñas utilidades
   ============================================================ */
:root {
  --background: oklch(0.98 0.002 240);
  --foreground: oklch(0.25 0.02 240);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.25 0.02 240);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.25 0.02 240);
  --primary: oklch(0.52 0.12 230);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.96 0.005 240);
  --secondary-foreground: oklch(0.25 0.02 240);
  --muted: oklch(0.96 0.005 240);
  --muted-foreground: oklch(0.5 0.02 240);
  --accent: oklch(0.65 0.13 175);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.92 0.005 240);
  --input: oklch(0.92 0.005 240);
  --ring: oklch(0.52 0.12 230);
  --radius: 0.625rem;
  --header-height: 7rem;
  --section-y: clamp(1.75rem, 4vw, 3rem);
  --anchor-gap: clamp(1rem, 3vw, 1.5rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Buttons (shadcn-like) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 9999px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease, color 0.15s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 2.75rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.btn-icon { width: 2.25rem; height: 2.25rem; padding: 0; border-radius: 9999px; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.btn-primary:hover { background: oklch(0.46 0.12 230); }
.btn-secondary {
  background: var(--card);
  color: var(--primary);
}
.btn-secondary:hover { background: oklch(0.97 0.005 240); }
.btn-outline {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }
.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover { background: var(--muted); }

/* Card */
.card {
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-shadow { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.06); }
.card-shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04); }
.card-shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18); }

/* Headings */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(252, 253, 254, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.brand-logo { height: 96px; width: auto; object-fit: contain; max-width: 420px; }
@media (min-width: 768px) { .brand-logo { height: 112px; max-width: 500px; } }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-mobile-trigger { display: none !important; }
  .nav-mobile-panel { display: none !important; }
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
  cursor: pointer;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-mobile-trigger {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--foreground);
}
.nav-mobile-trigger:hover { background: var(--muted); }
.nav-mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}
.nav-mobile-panel a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.nav-mobile-panel a.btn-primary {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  text-align: center;
  justify-content: center;
}
.nav-mobile-panel a.btn-primary:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  opacity: 0.92;
}
.nav-mobile-panel a:hover, .nav-mobile-panel a.active { background: var(--muted); color: var(--primary); }

/* Sections */
section { padding-block: var(--section-y); }
section[id], .site-footer[id] { scroll-margin-top: calc(var(--header-height) + var(--anchor-gap)); }
.bg-card { background: var(--card); }
.section-title { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }
.section-sub { color: var(--muted-foreground); margin-top: 1rem; }
.section-head { text-align: center; margin-bottom: 3rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  background: linear-gradient(to bottom right, var(--background), var(--background) 50%, oklch(0.96 0.012 200));
}
.hero-grid {
  width: 100%;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero > .hero-grid { padding-block: clamp(1rem, 3vw, 2rem); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero-eyebrow {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  text-align: left;
}
.hero-eyebrow strong { font-weight: 800; }
@media (min-width: 1024px) { .hero-eyebrow { font-size: 1.125rem; } }

/* Hero slider */
.hero-slider { position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1.25rem;
}
@media (min-width: 1024px) { .hero-sub { font-size: 1.25rem; } }
.hero-img-wrap {
  position: relative;
}
.hero-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob-1 {
  position: absolute; bottom: -1rem; left: -1rem; width: 6rem; height: 6rem;
  border-radius: 9999px; background: oklch(0.65 0.13 175 / 0.2); filter: blur(40px);
}
.hero-blob-2 {
  position: absolute; top: -1rem; right: -1rem; width: 8rem; height: 8rem;
  border-radius: 9999px; background: oklch(0.52 0.12 230 / 0.2); filter: blur(40px);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Service Cards */
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: 1fr 1fr 1fr; } }
.service-card {
  background: var(--background);
  border: 0;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.service-icon.primary { background: oklch(0.52 0.12 230 / 0.1); color: var(--primary); }
.service-icon.accent { background: oklch(0.65 0.13 175 / 0.1); color: var(--accent); }
.service-card:hover .service-icon.primary { background: var(--primary); color: var(--primary-foreground); }
.service-card:hover .service-icon.accent { background: var(--accent); color: var(--accent-foreground); }
.service-card h3 { font-size: 1.25rem; }
.service-desc { font-size: 1rem; color: var(--muted-foreground); margin-top: 0.5rem; }
.service-list {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.service-list li { display: flex; align-items: center; gap: 0.5rem; }
.dot { width: 6px; height: 6px; border-radius: 9999px; flex-shrink: 0; }
.dot.accent { background: var(--accent); }
.dot.primary { background: var(--primary); }

/* Team */
.team-grid {
  display: grid; gap: 2rem;
  max-width: 48rem; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card { text-align: center; }
.team-avatar {
  width: 10rem; height: 10rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.25rem; font-weight: 600; }
.team-role { color: var(--primary); font-weight: 500; margin-top: 0.25rem; }
.team-blurb {
  max-width: 36rem; margin: 2.5rem auto 0;
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* Trust grid */
.trust-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 64rem;
  margin-inline: auto;
  justify-items: center;
}
.trust-grid > * { width: 100%; max-width: 18rem; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { text-align: center; }
.trust-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.04);
  transition: transform 0.25s ease;
}
.trust-item:hover .trust-icon { transform: scale(1.1); }
.trust-item h3 { font-weight: 600; margin-bottom: 0.5rem; }
.trust-item p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.65; }

/* Instalaciones */
.instalaciones-head {
  max-width: 48rem; margin: 0 auto 0; text-align: center;
}
.facility-icon-wrap {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 1rem;
  background: oklch(0.52 0.12 230 / 0.1);
  color: var(--primary);
}
.instalaciones-head p {
  font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.65;
  margin-top: 1.5rem;
}
.carousel { max-width: 56rem; margin: 2.5rem auto 0; }
.carousel-main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--muted);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
  outline: 4px solid oklch(0.52 0.12 230 / 0.3);
  outline-offset: 4px;
  margin: 4px;
}
.carousel-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: rgba(252, 253, 254, 0.85);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--foreground);
}
.carousel-arrow:hover { background: var(--background); }
.carousel-arrow.prev { left: 0.75rem; }
.carousel-arrow.next { right: 0.75rem; }
.carousel-counter {
  position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
  background: rgba(252, 253, 254, 0.85);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.thumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; border-color: oklch(0.52 0.12 230 / 0.5); }
.thumb.active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Benefits cards */
.benefit-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .benefit-grid.benefit-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 60rem; margin-inline: auto; } }
.benefit-grid.benefit-grid-3 > * { width: 100%; }
.benefit-card {
  border: 2px solid oklch(0.52 0.12 230 / 0.2);
  background: oklch(0.52 0.12 230 / 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.06);
}
.benefit-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.12);
}
.benefit-card h3 { font-size: 1.125rem; }
.benefit-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.65; margin-top: 0.5rem; }

/* CTA */
.cta-section { background: var(--primary); padding-block: clamp(2.25rem, 4vw, 3.25rem); text-align: center; color: var(--primary-foreground); }
.cta-section h2 { font-size: 1.875rem; }
@media (min-width: 1024px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p { color: oklch(1 0 0 / 0.85); margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--card); }
.site-footer .grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer .grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer { padding-block: clamp(2rem, 4vw, 2.75rem); }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-mark {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem;
}
.footer-block h3 { font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-list li.with-icon { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-list svg { color: var(--primary); flex-shrink: 0; }
.footer-list a:hover { color: var(--primary); transition: color 0.15s ease; }
.footer-map {
  display: block; margin-top: 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.footer-map:hover { opacity: 0.9; }
.footer-map img { width: 100%; height: auto; }
.footer-bottom {
  margin-top: 3rem; border-top: 1px solid var(--border);
  padding-top: 1.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   TURNOS PAGE
   ============================================================ */
.turnos-hero {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.turnos-hero h1 { font-size: 1.875rem; }
@media (min-width: 1024px) { .turnos-hero h1 { font-size: 2.25rem; } }
.turnos-hero p { color: var(--muted-foreground); max-width: 42rem; margin: 1rem auto 0; }

.notice {
  max-width: 48rem; margin: 0 auto 2rem;
  border: 1px solid oklch(0.577 0.245 27.325 / 0.3);
  background: oklch(0.577 0.245 27.325 / 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.notice h2 { color: var(--destructive); font-size: 1.125rem; font-weight: 600; }
.notice ul { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.notice li { display: flex; gap: 0.5rem; align-items: flex-start; }
.notice li::before { content: ""; flex: 0 0 auto; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--destructive); margin-top: 0.5rem; }

/* Grid */
.grid-toolbar {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.5rem;
}
.grid-toolbar .left { display: flex; align-items: center; gap: 0.5rem; }
.grid-toolbar .right { font-size: 0.875rem; color: var(--muted-foreground); }
.grid-toolbar strong { color: var(--foreground); font-weight: 500; }

.appt-grid-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}
.appt-grid {
  min-width: 640px;
}
.appt-row {
  display: grid;
  grid-template-columns: 80px repeat(6, 1fr);
}
.appt-head { border-bottom: 1px solid var(--border); background: oklch(0.96 0.005 240 / 0.5); }
.appt-head > div { padding: 0.75rem; text-align: center; }
.appt-head .day { border-left: 1px solid var(--border); }
.appt-head .day.today { background: oklch(0.52 0.12 230 / 0.05); }
.appt-head .day-name {
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; color: var(--muted-foreground);
  letter-spacing: 0.04em;
}
.appt-head .day-num { margin-top: 0.25rem; font-size: 1.125rem; font-weight: 600; }
.appt-head .day.today .day-num { color: var(--primary); }
.appt-head .hour-label { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }

.appt-body > .appt-row + .appt-row { border-top: 1px solid var(--border); }
.appt-body .time-col {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground);
}
.appt-body .day-cell {
  border-left: 1px solid var(--border);
  padding: 0.25rem;
}
.appt-body .day-cell.today { background: oklch(0.52 0.12 230 / 0.05); }
.slot-btn {
  display: block;
  height: 2.5rem; width: 100%;
  border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.slot-btn.available {
  background: oklch(0.65 0.13 175 / 0.2);
  color: var(--accent);
}
.slot-btn.available:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  transform: scale(1.02);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.12);
}
.slot-btn.unavailable {
  background: oklch(0.96 0.005 240 / 0.6);
  color: var(--muted-foreground);
  cursor: not-allowed;
}
.slot-btn.empty {
  background: oklch(0.96 0.005 240 / 0.25);
  cursor: default;
  pointer-events: none;
}
.slot-btn .label-default { display: inline; }
.slot-btn .label-hover { display: none; }
.slot-btn.available:hover .label-default { display: none; }
.slot-btn.available:hover .label-hover { display: inline; }

.legend {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}
.legend .swatch { width: 1rem; height: 1rem; border-radius: 4px; }
.legend .swatch.available { background: oklch(0.65 0.13 175 / 0.2); }
.legend .swatch.unavailable { background: oklch(0.96 0.005 240 / 0.6); }
.legend > div { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); }

.prep-section { border-top: 1px solid var(--border); background: var(--card); padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.prep-section .inner { max-width: 48rem; margin: 0 auto; }
.prep-section h2 { font-size: 1.25rem; font-weight: 600; }
.prep-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.prep-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.prep-list li::before { content: ""; flex: 0 0 auto; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--primary); margin-top: 0.55rem; }
.prep-list strong { color: var(--foreground); font-weight: 600; }

/* ============================================================
   Sheet (slideover) — booking form
   ============================================================ */
.sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: calc(100% - 2rem);
  max-width: 36rem;
  max-height: calc(100vh - 2rem);
  background: var(--background);
  z-index: 101;
  border-radius: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow-y: auto;
  display: flex; flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35), 0 10px 25px -10px rgba(0,0,0,0.2);
  margin: 0;
}
.sheet.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.sheet-head {
  padding: 1.5rem 1.5rem 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.sheet-head h2 { font-size: 1.125rem; font-weight: 600; }
.sheet-head p { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.sheet-close {
  width: 2rem; height: 2rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted-foreground);
}
.sheet-close:hover { background: var(--muted); color: var(--foreground); }
.sheet-body { padding: 1.5rem; }
.slot-summary {
  display: flex; align-items: center; gap: 1rem;
  background: oklch(0.52 0.12 230 / 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.slot-summary .icon-wrap {
  width: 3rem; height: 3rem; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.52 0.12 230 / 0.1);
  color: var(--primary);
}
.slot-summary .date { font-weight: 500; text-transform: capitalize; }
.slot-summary .time { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }

/* Forms */
.field-group {
  display: flex; flex-direction: column; gap: 1rem;
  padding-bottom: 0.5rem;
}
.field-group + .field-group { padding-top: 1rem; }
.field-group h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; color: var(--muted-foreground);
  margin: 0 0 0.5rem;
}
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field-label { font-size: 0.875rem; font-weight: 500; }
.field-row {
  display: grid; gap: 1rem;
}
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input, .select, .textarea {
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px oklch(0.52 0.12 230 / 0.25);
}
.input[readonly] { background: var(--muted); }
.textarea { min-height: 5.5rem; resize: vertical; }

.field-row + h4 { margin-top: 1.5rem; }

.terms-row {
  display: flex; gap: 0.625rem; align-items: flex-start;
  font-size: 0.8125rem; color: var(--muted-foreground);
}
.terms-row input[type="checkbox"] {
  width: 1rem; height: 1rem; margin-top: 0.125rem; accent-color: var(--primary);
}
.terms-row a { color: var(--primary); text-decoration: underline; }

/* File upload */
.file-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.file-drop:hover { border-color: var(--primary); color: var(--foreground); background: oklch(0.52 0.12 230 / 0.04); }
.file-drop strong { color: var(--foreground); font-weight: 500; }
.file-drop input[type="file"] { display: none; }
.file-list {
  margin-top: 0.5rem;
  display: flex; flex-direction: column; gap: 0.375rem;
  font-size: 0.8125rem;
}
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--muted);
  border-radius: var(--radius);
}
.file-item button { color: var(--muted-foreground); padding: 0.125rem; }
.file-item button:hover { color: var(--destructive); }

.btn-block { width: 100%; }

.success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  flex: 1;
}
.success .check {
  width: 5rem; height: 5rem; border-radius: 9999px;
  background: oklch(0.65 0.13 175 / 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.5rem;
}
.success h3 { font-size: 1.5rem; font-weight: 700; }
.success p { color: var(--muted-foreground); margin-top: 0.5rem; }
.success p strong { color: var(--foreground); font-weight: 500; }
.success .small { font-size: 0.875rem; margin-top: 1rem; }

/* Turnos disabled overlay */
.turnos-disabled-wrap {
  opacity: 0.35;
  filter: grayscale(0.4);
  pointer-events: none;
  user-select: none;
}
.turnos-soon-overlay {
  position: absolute;
  inset: 0 0 auto;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  z-index: 5;
}
#page-turnos { position: relative; }
.turnos-soon-card {
  background: rgba(255,255,255,0.98);
  border: 2px solid var(--primary);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  max-width: 32rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  pointer-events: auto;
  color: var(--foreground);
}
.turnos-soon-card svg { color: var(--primary); margin-bottom: 1rem; }
.turnos-soon-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.turnos-soon-card p { font-size: 1rem; color: var(--muted-foreground); line-height: 1.6; margin-top: 0.5rem; }
.turnos-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.turnos-soon-card .turnos-whatsapp-logo {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
  margin-bottom: 0;
  color: #25D366;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.35s ease both; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 1rem; height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 9999px;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

/* Page transitions */
.page { display: none; }
.page.active { display: block; }
