:root {
  --pino: #1E4A44;
  --girasol: #F3B23A;
  --zorro: #E1673B;
  --papel: #FBF8F2;
  --menta: #DCEBE4;
  --tenue: #45625D;       /* texto secundario sobre papel/menta (AA) */
  --linea: #CBDDD5;
  --redondo: "Fredoka", "Nunito", system-ui, sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --borde: 20px;
  --ancho: 1120px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--pino);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--pino); }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--zorro); outline-offset: 3px; border-radius: 6px; }
.urgencia :focus-visible, .pie :focus-visible { outline-color: var(--girasol); }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--pino); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.saltar:focus { top: 12px; }

.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Franja ---------- */
.franja {
  background: var(--pino); color: var(--menta);
  font-size: .75rem; text-align: center; padding: 6px 16px;
}

/* ---------- Cabecera ---------- */
.cabecera {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--borde);
  max-width: calc(var(--ancho) + 2 * var(--borde)); margin: 0 auto;
}
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca__huella { width: 34px; height: 34px; color: var(--girasol); flex: none; transform: rotate(-12deg); }
.marca__nombre { display: block; font: 600 1.6rem/1 var(--redondo); letter-spacing: -.01em; }
.marca__rubro { display: block; font-size: .8rem; font-weight: 700; color: var(--tenue); margin-top: 2px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--menta); color: var(--pino);
  font: 600 1rem var(--redondo); text-decoration: none;
  transition: background .2s, transform .2s var(--rebote);
}
.pastilla:hover { background: #cde2d8; transform: translateY(-1px); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 24px; border: 0; border-radius: 18px; cursor: pointer;
  font: 600 1.2rem/1.2 var(--redondo); text-decoration: none; text-align: center;
  transition: transform .25s var(--rebote), background-color .2s, box-shadow .25s;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(1px) scale(.98); }
.boton--zorro { background: var(--zorro); color: #fff; box-shadow: 0 5px 0 #B94E27; font-size: 1.25rem; font-weight: 700; padding-inline: 18px; } /* 20px en negrita: texto grande, AA con 3,38:1 */
.boton--zorro:hover { box-shadow: 0 7px 0 #B94E27; }
.boton--zorro:active { box-shadow: 0 2px 0 #B94E27; }
.boton--girasol { background: var(--girasol); color: var(--pino); }
.boton--pino { background: var(--pino); color: #fff; font-size: 1.05rem; }
.boton--linea { background: transparent; color: var(--pino); box-shadow: inset 0 0 0 2px var(--pino); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: 22px;
  padding: 18px var(--borde) 64px;
  max-width: calc(var(--ancho) + 2 * var(--borde)); margin: 0 auto;
}
.hero__titulo {
  font: 600 clamp(2.15rem, 9.6vw, 4.2rem)/1.04 var(--redondo);
  letter-spacing: -.02em; text-wrap: balance;
}
.hero__sub { margin-top: 12px; font-size: 1.08rem; color: var(--tenue); max-width: 34ch; }
.hero__foto { position: relative; padding-top: 14px; }
.arco {
  overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  aspect-ratio: 1 / 1.02;
  background: var(--menta);
}
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sticker {
  position: absolute; top: 0; right: 4px;
  display: grid; place-items: center; text-align: center;
  width: 118px; height: 118px; padding: 14px;
  border-radius: 50%;
  background: var(--girasol); color: var(--pino); text-decoration: none;
  transform: rotate(8deg);
  box-shadow: 0 0 0 4px var(--papel);
}
.sticker__nota { font: 600 2.1rem/1 var(--redondo); }
.sticker__texto { font-size: .74rem; font-weight: 700; line-height: 1.15; margin-top: -6px; }
.hero__accion { display: grid; gap: 10px; }
.hero__accion .boton { width: 100%; }
.hero__debajo { text-align: center; font-size: .95rem; color: var(--tenue); }
.abierto {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; color: var(--tenue);
}
.abierto::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9DB3AD; }
.abierto--si { color: var(--pino); font-weight: 700; }
.abierto--si::before { background: #2E8B57; box-shadow: 0 0 0 4px rgba(46,139,87,.18); }

@media (prefers-reduced-motion: no-preference) {
  .arco { animation: arco 1.2s var(--ease) both; }
  .arco img { animation: foto 1.6s var(--ease) both; }
  .sticker { animation: sticker .8s var(--rebote) .75s both; }
  .hero__titulo, .hero__sub { animation: subir .9s var(--ease) both; }
  .hero__sub { animation-delay: .12s; }
  .hero__accion { animation: subir .9s var(--ease) .4s both; }
}
@keyframes arco { from { clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); } to { clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); } }
@keyframes foto { from { transform: scale(1.15); } to { transform: none; } }
@keyframes sticker { from { transform: rotate(-30deg) scale(.3); opacity: 0; } to { transform: rotate(8deg) scale(1); opacity: 1; } }
@keyframes subir { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Revelado ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .8s var(--rebote);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].visto { opacity: 1; transform: none; }
  .js .polaroid--a[data-reveal].visto { transform: rotate(-3deg); }
  .js .polaroid--b[data-reveal].visto { transform: rotate(4deg); }
}

/* ---------- Secciones ---------- */
section { padding: 64px var(--borde); }
.titulo { font: 600 clamp(1.9rem, 8vw, 3rem)/1.08 var(--redondo); letter-spacing: -.015em; }
.nota { font-size: .88rem; color: var(--tenue); }
.servicios, .antes, .resenas, .turno, .visita { max-width: calc(var(--ancho) + 2 * var(--borde)); margin-inline: auto; }

/* Servicios */
.servicios { padding-top: 24px; }
.servicios__grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.servicio {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px 18px;
  border-radius: 24px;
  background: var(--menta);
}
.servicio:nth-child(2), .servicio:nth-child(3) { background: var(--papel); box-shadow: inset 0 0 0 2px var(--menta); }
.servicio:nth-child(1) { border-top-left-radius: 44px; }
.servicio:nth-child(4) { border-bottom-right-radius: 44px; }
.servicio__ico { width: 40px; height: 40px; color: var(--pino); margin-bottom: 6px; }
.servicio__nombre { font: 600 1.3rem/1.1 var(--redondo); }
.servicio__detalle { font-size: .9rem; line-height: 1.45; color: var(--tenue); flex: 1; }
.servicio__precio { font-size: .85rem; color: var(--tenue); margin-top: 6px; }
.precio-pendiente, .precio { font: 600 1.05rem var(--redondo); color: var(--pino); margin-left: 2px; }
.servicio:hover .servicio__ico { animation: menear .5s var(--ease); }
@keyframes menear { 30% { transform: rotate(-10deg); } 65% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .servicio:hover .servicio__ico { animation: none; } }

.urgencia {
  margin-top: 12px;
  display: grid; gap: 18px;
  padding: 24px 20px;
  border-radius: 26px;
  background: var(--pino); color: #fff;
}
.urgencia__titulo { font: 600 1.6rem/1.1 var(--redondo); color: var(--girasol); }
.urgencia p { margin-top: 6px; font-size: 1.05rem; color: #E7F1EC; }
.urgencia .boton { width: 100%; font-size: 1.1rem; flex-wrap: wrap; }
.urgencia__num { font-weight: 500; }

/* Antes de venir */
.antes { display: grid; gap: 40px; padding-top: 40px; }
.antes__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 10px 6px 0; }
.polaroid {
  background: #fff; padding: 8px 8px 26px; border-radius: 8px;
  box-shadow: 0 1px 0 rgba(30,74,68,.08), 0 12px 24px -16px rgba(30,74,68,.45);
}
.polaroid img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.polaroid--a { transform: rotate(-3deg); }
.polaroid--b { transform: rotate(4deg); margin-top: 26px; }
.antes__lista { margin-top: 22px; display: grid; gap: 4px; }
.consejo {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  padding: 16px 0; border-bottom: 2px dashed var(--linea);
}
.consejo:last-child { border-bottom: 0; }
.consejo__ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--girasol); color: var(--pino);
}
.consejo:nth-child(2) .consejo__ico { border-radius: 50%; }
.consejo:nth-child(3) .consejo__ico { border-radius: 18px 18px 18px 4px; }
.consejo__ico svg { width: 30px; height: 30px; }
.consejo__titulo { font: 600 1.2rem/1.2 var(--redondo); }
.consejo p { margin-top: 4px; color: var(--tenue); font-size: .97rem; }

/* Reseñas */
.resenas {
  background: var(--menta);
  border-radius: 36px;
  margin: 8px 12px 0;
  padding: 52px 20px;
}
.resenas__nota { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; }
.resenas__num { font: 600 2.4rem/1 var(--redondo); }
.resenas__estr { color: #B27713; letter-spacing: 2px; }
.resenas__lista { margin-top: 28px; display: grid; gap: 22px; }
.cita { position: relative; max-width: 30em; }
.cita blockquote {
  position: relative; background: #fff; padding: 20px 20px 18px; border-radius: 24px 24px 24px 6px;
  font: 500 1.2rem/1.38 var(--redondo);
}
.cita:nth-child(2) { justify-self: end; }
.cita:nth-child(2) blockquote { border-radius: 24px 24px 6px 24px; background: var(--papel); }
.cita:nth-child(2) .cita__fuente { text-align: right; }
.cita__fuente { margin-top: 8px; padding-inline: 8px; font-size: .85rem; font-weight: 700; color: var(--tenue); }

/* Turno */
.turno { display: grid; gap: 26px; }
.turno__cab p { margin-top: 10px; color: var(--tenue); font-size: 1.05rem; }
.form { display: grid; gap: 16px; }
.form__fila { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.campo { display: grid; gap: 6px; }
.campo span { font-weight: 700; font-size: .92rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1.05rem var(--sans); color: var(--pino);
  background: #fff; border: 2px solid var(--linea); border-radius: 14px;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.campo ::placeholder { color: #6E8783; }
.campo select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E4A44' stroke-width='2.2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--pino); box-shadow: 0 0 0 4px rgba(243,178,58,.45); }
.campo [aria-invalid="true"] { border-color: #B3361A; }
.form__error { color: #A3301A; font-weight: 700; font-size: .92rem; }
.form__error:empty { display: none; }
.form .boton { width: 100%; margin-top: 6px; }

/* Visita */
.visita { display: grid; gap: 28px; padding-top: 24px; }
.visita address { margin-top: 12px; font-size: 1.08rem; }
.horarios { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.horarios caption { text-align: left; font: 600 1.25rem var(--redondo); padding-bottom: 8px; }
.horarios th, .horarios td { padding: 11px 12px; text-align: left; font-weight: 400; border-bottom: 1px solid var(--linea); }
.horarios th { padding-left: 12px; }
.horarios td { text-align: right; }
.horarios tr:last-child th, .horarios tr:last-child td { border-bottom: 0; }
.horarios .hoy th, .horarios .hoy td { background: var(--girasol); font-weight: 700; border-bottom-color: transparent; }
.horarios .hoy th { border-radius: 12px 0 0 12px; }
.horarios .hoy td { border-radius: 0 12px 12px 0; }
.hoy__marca { font-size: .78rem; font-weight: 700; margin-left: 4px; }
.visita__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.visita__mapa { overflow: hidden; border-radius: 26px; background: var(--menta); }
.visita__mapa iframe { display: block; width: 100%; aspect-ratio: 4 / 3.6; border: 0; }

/* Pie */
.pie {
  margin-top: 24px; padding: 40px var(--borde) 110px;
  background: var(--pino); color: #E7F1EC; text-align: center;
  border-radius: 36px 36px 0 0;
  display: grid; gap: 6px;
}
.pie a { color: #fff; }
.pie__marca { font: 600 1.8rem var(--redondo); color: var(--girasol); }
.pie__brito { margin-top: 12px; font-size: .8rem; color: #BFD3CC; }

/* Flotante */
.flotante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pino); color: #fff;
  box-shadow: 0 0 0 3px var(--girasol), 0 12px 26px -8px rgba(30,74,68,.6);
  transition: transform .35s var(--rebote), opacity .3s;
}
.flotante .ico { width: 30px; height: 30px; }
.flotante:hover { transform: scale(1.08) rotate(-6deg); }
.flotante.oculto { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }

/* ---------- Escritorio ---------- */
@media (min-width: 760px) {
  :root { --borde: 40px; }
  .hero {
    grid-template-columns: 1.05fr .95fr; grid-template-rows: auto auto 1fr;
    column-gap: 56px; row-gap: 26px; padding-top: 40px; padding-bottom: 88px; align-items: start;
  }
  .hero__texto { grid-column: 1; grid-row: 1; padding-top: 40px; }
  .hero__accion { grid-column: 1; grid-row: 2; justify-items: start; }
  .hero__accion .boton { width: auto; padding-inline: 32px; }
  .hero__debajo, .abierto { text-align: left; justify-self: start; }
  .hero__foto { grid-column: 2; grid-row: 1 / span 3; }
  .sticker { width: 140px; height: 140px; right: auto; left: -30px; top: 40px; }
  .sticker__nota { font-size: 2.6rem; }

  .servicios__grilla { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .servicio { padding: 24px 22px; }
  .urgencia { grid-template-columns: 1fr auto; align-items: center; padding: 30px 36px; }
  .urgencia .boton { width: auto; padding-inline: 28px; }

  .antes { grid-template-columns: .9fr 1.1fr; column-gap: 72px; align-items: center; }

  .resenas { margin-inline: auto; padding: 64px 56px; max-width: var(--ancho); }
  .resenas__lista { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .cita:nth-child(2) { justify-self: auto; margin-top: 40px; }

  .turno { grid-template-columns: .8fr 1.2fr; column-gap: 64px; align-items: start; }
  .visita { grid-template-columns: .9fr 1.1fr; column-gap: 56px; }
  .visita__acciones { display: flex; }
  .visita__mapa iframe { aspect-ratio: auto; height: 100%; min-height: 440px; }
}
