/* Colores y fuentes según el manual de marca bye rizos (v1 · noviembre 2026) */
:root {
  --crema: #FFFDF6;   /* fondo · ~45 % */
  --naranja: #E8461E; /* la marca · ~25 % */
  --cielo: #D3E3FF;   /* ~15 % */
  --amarillo: #FFC72C;/* la chispa · ~10 % */
  --royal: #1D3FBF;   /* texto · ~5 % */
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--crema); color: var(--royal); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; }

/* Titulares: Fraunces Black 900, SOFT 100, WONK 1, en minúscula, interlineado corto */
h1, h2, h3, .logo, .price-badge strong {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: lowercase;
  line-height: .95;
  letter-spacing: -.01em;
}
h1, h2 { color: var(--naranja); margin: 0 0 .4em; }
h1 { font-size: clamp(3.2rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h3 { font-size: 1.6rem; margin: 0 0 .6em; color: var(--royal); }

/* Etiquetas: Outfit Medium 500, minúscula, muy espaciada */
.tag { font: 500 .8rem var(--sans); letter-spacing: .28em; text-transform: lowercase; color: var(--royal); margin: 0 0 16px; }
.tag-cream { color: var(--crema); }

/* Logo provisional (sustituir por archivo oficial) */
.logo { display: inline-flex; flex-direction: column; color: var(--naranja); text-decoration: none; font-size: 1.7rem; line-height: .82; }
.logo-small { font-size: 1.5rem; color: var(--crema); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px clamp(16px, 5vw, 64px); background: var(--crema); border-bottom: 2px solid var(--cielo); }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a { text-decoration: none; font-weight: 500; }

/* Pastillas */
.pill { display: inline-block; border: 0; border-radius: 999px; padding: 10px 20px; font: 500 .95rem var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.pill-orange { background: var(--naranja); color: var(--crema) !important; }
.pill-royal { background: var(--royal); color: var(--crema) !important; }
.pill-lg { padding: 15px 28px; font-size: 1rem; }
.pill-xs { padding: 5px 14px; font-size: .8rem; }
.pill-block { width: 100%; }
.pill:hover { filter: brightness(1.08); }

/* Secciones */
.section { position: relative; padding: clamp(64px, 10vw, 112px) clamp(16px, 5vw, 64px); overflow: hidden; }
.section-sky { background: var(--cielo); }
.block-orange { background: var(--naranja); color: var(--crema); }
.block-orange h2 { color: var(--crema); }
.lead { font-size: 1.15rem; max-width: 520px; }
.lead.narrow { max-width: 680px; margin-bottom: 40px; }
.note, .hint { font-size: .9rem; opacity: .8; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }

/* Letras gigantes en azul cielo, cortadas por los bordes */
.giant { position: absolute; z-index: 0; font-family: var(--display); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--cielo); font-size: clamp(22rem, 55vw, 46rem); line-height: .8; left: -4vw; top: -6vw; pointer-events: none; user-select: none; }
.section-sky .giant { color: var(--crema); }
.giant-right { left: auto; right: -6vw; top: -10vw; }
.section > :not(.giant), .hero > :not(.giant) { position: relative; z-index: 1; }

/* Fotos: bloques planos (sin degradados ni sombras) */
.photo { position: relative; background: var(--cielo); border-radius: var(--radius); min-height: 280px; overflow: hidden; }
.photo-cream { background: var(--crema); }
.photo::after { content: "[ " attr(data-label) " ]"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 .8rem var(--sans); letter-spacing: .2em; color: var(--royal); opacity: .6; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 64px); }
.hero-photo { min-height: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.circle { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--amarillo); top: -50px; right: -50px; z-index: 1; }
.price-badge { position: absolute; z-index: 2; left: 20px; bottom: 20px; background: var(--naranja); color: var(--crema); border-radius: 999px; padding: 16px 26px; font-weight: 500; line-height: 1.1; text-align: center; }
.price-badge strong { font-size: 2rem; display: block; color: var(--amarillo); }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 36px 0 18px; }
.service-card { border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.service-card:nth-child(1) { background: var(--naranja); color: var(--crema); }
.service-card:nth-child(1) h3 { color: var(--crema); }
.service-card:nth-child(2) { background: var(--cielo); }
.service-card h3 { font-size: 2.6rem; margin: 0; }
.service-card p { margin: 0; flex: 1; }
.service-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 500; }
.service-meta .price { background: var(--amarillo); color: var(--royal); border-radius: 999px; padding: 6px 16px; font-weight: 700; }

/* Antes y después */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.ba { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba .photo { min-height: 300px; background: var(--crema); }
.ba .pill { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; }

/* Reserva */
.booking { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 20px; align-items: start; }
.booking > * { min-width: 0; }
.service-option strong { white-space: nowrap; text-align: right; }
.step, .summary { background: var(--crema); border: 2px solid var(--cielo); border-radius: var(--radius); padding: 26px; }
.summary { background: var(--cielo); border-color: var(--cielo); }
.step h3 { display: flex; align-items: center; gap: 10px; }
.step h3 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amarillo); color: var(--royal); font: 700 .9rem var(--sans); }
.booking .step:nth-child(3) { grid-column: 1 / 3; }
.summary { grid-row: 1 / 3; grid-column: 3; position: sticky; top: 90px; }
.service-options { display: flex; flex-direction: column; gap: 10px; }
.service-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border: 2px solid var(--cielo); border-radius: 16px; cursor: pointer; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option:has(input:checked) { border-color: var(--naranja); background: var(--naranja); color: var(--crema); }
.service-option:has(input:focus-visible) { outline: 3px solid var(--royal); outline-offset: 2px; }
.service-option small { display: block; opacity: .8; }
.field { display: block; font-weight: 500; margin-bottom: 14px; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid var(--cielo); border-radius: 14px; font: 400 1rem var(--sans); color: var(--royal); background: var(--crema); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--royal); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { padding: 9px 0; border: 2px solid var(--cielo); border-radius: 999px; background: var(--crema); color: var(--royal); font: 500 .9rem var(--sans); cursor: pointer; }
.slot:hover { border-color: var(--royal); }
.slot.active { background: var(--royal); border-color: var(--royal); color: var(--crema); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0 0 18px; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .strong { font-weight: 700; font-size: 1.1rem; padding-top: 10px; border-top: 2px solid var(--crema); }
.check { display: flex; gap: 10px; font-size: .85rem; margin-bottom: 14px; }
.check input { margin-top: 4px; accent-color: var(--naranja); }
.error { color: var(--naranja); font-weight: 500; font-size: .9rem; min-height: 1.2em; margin: 0 0 10px; }
.secure { text-align: center; font-size: .8rem; margin: 10px 0 0; }
.policy { max-width: 680px; margin-top: 48px; }

.map { min-height: 360px; }
.section-sky .split p { margin: 0 0 18px; }

.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 36px clamp(16px, 5vw, 64px); background: var(--royal); }
.footer .tag { margin: 0; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(29,63,191,.45); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-box { background: var(--crema); border-radius: var(--radius); padding: 32px; max-width: 440px; }

/* Días disponibles */
.field-label { font-weight: 500; margin: 0 0 8px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 10px 8px; border: 2px solid var(--cielo); border-radius: 16px; background: var(--crema); color: var(--royal); font: 500 .8rem var(--sans); cursor: pointer; }
.day strong { font: 900 1.5rem var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1; }
.day:hover { border-color: var(--royal); }
.day.active { background: var(--royal); border-color: var(--royal); color: var(--crema); }
button:disabled { opacity: .6; cursor: wait; }
.summary [hidden] { display: none; }

/* Modo de reserva: body[data-booking="dm" | "online"] */
body[data-booking="dm"] .only-online,
body[data-booking="online"] .only-dm { display: none !important; }
.dm-box { background: var(--cielo); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); max-width: 720px; }
.dm-box .lead { margin-top: 0; }
.dm-box .hint { margin: 18px 0 0; }

/* Responsive */
@media (max-width: 1000px) {
  .booking { grid-template-columns: 1fr 1fr; }
  .booking .step:nth-child(3) { grid-column: 1 / -1; }
  .summary { grid-row: auto; grid-column: 1 / -1; position: static; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav nav a:not(.pill) { display: none; }
  .hero, .split, .booking { grid-template-columns: 1fr; }
  .booking .step:nth-child(3) { grid-column: auto; }
  .hero-photo { min-height: 360px; }
}
