/* Paine Wash — estilos
   Azules del letrero + amarillo sol para un look más alegre */
:root {
  --azul: #1F63D8;        /* azul principal, más luminoso */
  --azul-letrero: #1747A6;
  --azul-noche: #0B2A6F;  /* textos y detalles */
  --agua: #5AD2F4;        /* gotas */
  --cielo: #DDF3FD;       /* fondo celeste suave */
  --espuma: #F4FBFF;      /* fondo claro */
  --sol: #FFC93C;         /* acento alegre */
  --texto: #14213D;
  --gris: #51607A;
  --blanco: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--espuma);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--azul-letrero); }
h3 { font-size: 1.45rem; font-weight: 700; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--blanco); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Logo (SVG en línea, toma el color del texto) */
.logo { display: block; height: auto; }
.logo__word { font-family: "Montserrat", "Arial Black", sans-serif; font-weight: 800; }
.logo__sub { font-family: "Montserrat", Arial, sans-serif; font-weight: 500; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em;
  padding: .7rem 1.6rem; border-radius: 999px; border: 2px solid var(--sol);
  background: var(--sol); color: var(--azul-noche); text-decoration: none; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 0 -1px #E0A800;
  transition: transform .12s, box-shadow .12s, background-color .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -1px #E0A800; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 -1px #E0A800; }
.btn--ghost { background: rgba(255,255,255,.12); color: var(--blanco); border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn--ghost:hover { background: var(--blanco); color: var(--azul-noche); box-shadow: none; }
.btn--small { font-size: 1.05rem; padding: .45rem 1.1rem; box-shadow: 0 4px 0 -1px #E0A800; }
.btn--block { width: 100%; }

/* Barra superior */
.top { background: var(--blanco); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(11,42,111,.08); }
.top__inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; gap: 16px; }
.brand { display: block; color: var(--azul-letrero); text-decoration: none; }
.brand .logo { width: 170px; }
.top__nav { display: flex; align-items: center; gap: 22px; }
.top__nav a:not(.btn) { color: var(--azul-noche); text-decoration: none; font-weight: 600; }
.top__nav a:not(.btn):hover { color: var(--azul); }

/* Portada */
.hero {
  position: relative; color: var(--blanco); padding: 48px 0 120px; overflow: hidden;
  background: linear-gradient(160deg, #2A7BEA 0%, var(--azul) 45%, var(--azul-letrero) 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__logo { width: min(360px, 85%); color: var(--blanco); margin: 0 0 22px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; margin-bottom: .3em; text-shadow: 0 3px 0 rgba(11,42,111,.25); }
.hero__lead { font-size: 1.2rem; max-width: 34ch; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__phone { margin: 24px 0 0; }
.hero__phone a { color: var(--sol); font-weight: 700; }
.hero__photo { margin: 0; position: relative; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 20% 30%;
  border-radius: 28px 28px 28px 120px;
  border: 6px solid var(--blanco);
  box-shadow: 0 30px 60px -24px rgba(11,42,111,.6);
  transform: rotate(1.5deg);
}
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; z-index: 1; }

/* Burbujas de jabón: el detalle alegre de la portada */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubbles span {
  position: absolute; bottom: -100px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,.18) 18%, rgba(255,255,255,.06) 60%, rgba(255,255,255,.35) 100%);
  border: 1px solid rgba(255,255,255,.45);
  animation: subir linear infinite;
}
.bubbles span:nth-child(1) { left: 4%;  width: 42px; height: 42px; animation-duration: 14s; }
.bubbles span:nth-child(2) { left: 14%; width: 18px; height: 18px; animation-duration: 10s; animation-delay: -4s; }
.bubbles span:nth-child(3) { left: 27%; width: 64px; height: 64px; animation-duration: 18s; animation-delay: -9s; }
.bubbles span:nth-child(4) { left: 39%; width: 26px; height: 26px; animation-duration: 12s; animation-delay: -2s; }
.bubbles span:nth-child(5) { left: 48%; width: 90px; height: 90px; animation-duration: 22s; animation-delay: -14s; }
.bubbles span:nth-child(6) { left: 62%; width: 22px; height: 22px; animation-duration: 11s; animation-delay: -6s; }
.bubbles span:nth-child(7) { left: 74%; width: 50px; height: 50px; animation-duration: 16s; animation-delay: -11s; }
.bubbles span:nth-child(8) { left: 86%; width: 30px; height: 30px; animation-duration: 13s; animation-delay: -1s; }
.bubbles span:nth-child(9) { left: 90%; width: 60px; height: 60px; animation-duration: 20s; animation-delay: -7s; }
@keyframes subir {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(18px, -45vh); }
  100% { transform: translate(-10px, -95vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles span { animation: none; opacity: .7; }
  .bubbles span:nth-child(odd) { bottom: 40%; }
  .bubbles span:nth-child(even) { bottom: 70%; }
}

/* Secciones */
.section { padding: 72px 0; }
.section__intro { color: var(--gris); margin: -4px 0 28px; max-width: 60ch; font-size: 1.15rem; }

/* Pizarra de precios */
.board {
  background: var(--azul); color: var(--blanco); border-radius: 28px;
  display: grid; grid-template-columns: 1.6fr 1fr; overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(31,99,216,.8);
}
.board__list { list-style: none; margin: 0; padding: 12px 36px; }
.board__list li {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 2px dotted rgba(255,255,255,.35);
}
.board__list li:last-child { border-bottom: 0; }
.board__list h3 { margin: 0 0 4px; font-size: 1.75rem; }
.board__list p { margin: 0; opacity: .9; }
.price {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; white-space: nowrap;
  background: var(--sol); color: var(--azul-noche); padding: .15em .7em; border-radius: 999px;
  transform: rotate(-3deg);
}
.board__perks {
  list-style: none; margin: 0; padding: 36px; background: var(--cielo); color: var(--azul-noche);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.board__perks li {
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1;
  padding-left: 34px; position: relative;
}
.board__perks li::before { /* gota */
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px;
  background: var(--azul); border-radius: 0 50% 50% 50%; transform: rotate(45deg);
}

/* Reserva */
.section--reserva { background: var(--cielo); }
.reserva { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.reserva > *, .ubicacion > *, .hero__grid > * { min-width: 0; }
.reserva__copy p { color: var(--gris); max-width: 42ch; font-size: 1.15rem; }
.form {
  background: var(--blanco); border-radius: 28px; padding: 32px; display: grid; gap: 18px;
  box-shadow: 0 24px 50px -30px rgba(11,42,111,.45);
}
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field input, .field select {
  font: inherit; color: var(--texto); background: var(--espuma);
  border: 1.5px solid #C5DDF0; border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(90,210,244,.45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--espuma);
  border: 1.5px solid #C5DDF0; font-weight: 600;
}
.chips input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.chips input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 2px; }
.form .btn { margin-top: 6px; }
.form__total { margin: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--azul-noche); }
.form__total strong { background: var(--sol); padding: 0 .45em; border-radius: 999px; }
.form__error { margin: 0; color: #B42318; font-weight: 600; }
.form__done { background: #E7F8EE; border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.form__done p { margin: 0; color: #146C43; font-weight: 600; }
.btn--wa { background: #25D366; border-color: #25D366; color: #fff; box-shadow: 0 6px 0 -1px #1A9E4B; }
.btn--wa:hover { box-shadow: 0 8px 0 -1px #1A9E4B; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* Ubicación */
.ubicacion { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: stretch; }
.ubicacion address { font-style: normal; font-size: 1.15rem; margin-bottom: 14px; }
.ubicacion__zona { color: var(--gris); max-width: 40ch; margin: 0 0 26px; }
.ubicacion h3 { color: var(--azul-letrero); margin-bottom: .3em; }
.horario { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0 0 30px; }
.horario dt { font-weight: 600; }
.horario dd { margin: 0; color: var(--gris); }
.map { border-radius: 28px; overflow: hidden; min-height: 380px; background: var(--cielo); border: 6px solid var(--blanco); box-shadow: 0 24px 50px -30px rgba(11,42,111,.45); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Pie */
.foot { background: var(--azul-letrero); color: rgba(255,255,255,.9); padding: 32px 0 96px; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot .logo { width: 160px; color: var(--blanco); }
.foot p { margin: 0; }
.foot a { color: var(--sol); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.wa-float svg { width: 26px; height: 26px; }

/* Móvil */
@media (max-width: 860px) {
  .top__nav a:not(.btn) { display: none; }
  .brand .logo { width: 140px; }
  .hero { padding: 32px 0 100px; }
  .hero__grid, .reserva, .ubicacion, .board { grid-template-columns: 1fr; }
  .hero__grid { gap: 32px; }
  .hero__photo img { border-radius: 22px 22px 22px 70px; transform: none; }
  .board__list { padding: 6px 22px; }
  .board__list li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .board__perks { padding: 26px 22px; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; }
  .board__perks li { font-size: 1.3rem; }
  .reserva { gap: 24px; }
  .form { padding: 22px; }
  .section { padding: 56px 0; }
  .map, .map iframe { min-height: 300px; }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

/* Lo que tiene el atributo hidden no se muestra, aunque otra regla le dé display */
[hidden] { display: none !important; }
