/* SUP Sup-surf & Surf School — mobile first */
:root {
  --ocean: #0b5f73;
  --ocean-dark: #073f4d;
  --sea: #18a0a8;
  --sand: #f6efe3;
  --sand-dark: #e9dcc4;
  --ink: #17282e;
  --muted: #55686e;
  --white: #ffffff;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(7, 63, 77, .12);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--ocean-dark); }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(7, 63, 77, .08);
}
.brand { font-weight: 800; text-decoration: none; color: var(--ocean-dark); font-size: 1rem; white-space: nowrap; }
.brand span { font-weight: 600; color: var(--sea); }
.nav { display: none; }
.lang { display: flex; border: 1.5px solid var(--ocean); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.lang button {
  font: inherit; font-size: .85rem; font-weight: 700;
  padding: 6px 12px; min-width: 44px; min-height: 36px;
  border: 0; background: transparent; color: var(--ocean); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ocean); color: var(--white); }

/* Portada */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 63, 77, .05) 25%, rgba(7, 40, 50, .78) 100%); }
.hero-text { position: relative; z-index: 1; padding: 32px 16px 40px; width: 100%; max-width: var(--max); margin: 0 auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .92; margin-bottom: .6em; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.lead { font-size: clamp(1.1rem, 4.2vw, 1.35rem); max-width: 32ch; margin-bottom: 1.4em; }
.rating-chip { display: inline-block; margin: 18px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px); font-size: .9rem; font-weight: 600; }
.rating-chip span:first-child { color: #ffd34d; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: background .2s, transform .2s;
}
.btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 6px 18px rgba(31, 168, 85, .35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--ocean); color: var(--ocean); background: var(--white); width: 100%; }
.btn-outline:hover { background: var(--ocean); color: var(--white); }
.link-wa { display: inline-block; font-weight: 700; color: var(--ocean); text-decoration: none; padding: 8px 0; }
.link-wa:hover { text-decoration: underline; }

/* Secciones */
.section { padding: 56px 16px; max-width: var(--max); margin: 0 auto; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section-alt { max-width: none; background: var(--sand); }
.section-alt > * { max-width: var(--max); margin: 0 auto; }

.cards { display: grid; gap: 20px; margin-top: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 20px 14px; }
.card h3 { font-size: 1.3rem; color: var(--ocean-dark); }
.card p { color: var(--muted); }

.two-col { display: grid; gap: 20px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.price-list { list-style: none; padding: 0; margin: 0 0 20px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--sand-dark); font-size: 1.05rem; }
.price-list strong { color: var(--ocean); }
.hours { display: flex; flex-direction: column; gap: 2px; font-size: 1.1rem; margin-bottom: 12px; }
.hours strong { font-size: 2rem; color: var(--ocean); letter-spacing: -.01em; }
.muted { color: var(--muted); margin: 0; }

/* Reseñas */
.reviews { position: relative; max-width: none; padding: 0; color: var(--white); overflow: hidden; }
.reviews-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews::after { content: ""; position: absolute; inset: 0; background: rgba(7, 40, 50, .62); }
.reviews-box { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 64px 16px; }
.reviews h2 { color: var(--white); }
.score { font-size: 1.15rem; font-weight: 700; }
.stars { color: #ffd34d; letter-spacing: 2px; }
.highlights { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 10px; }
.highlights li { padding: 12px 16px 12px 44px; position: relative; background: rgba(255, 255, 255, .12); border-radius: 12px; backdrop-filter: blur(3px); font-size: 1.05rem; }
.highlights li::before { content: "✓"; position: absolute; left: 16px; font-weight: 800; color: #8fe3c0; }
.link-light { color: var(--white); font-weight: 700; }

/* Mapa */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 8px 0 12px; aspect-ratio: 4 / 3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contacto */
.section-dark { max-width: none; background: var(--ocean-dark); color: var(--white); text-align: center; padding-bottom: 96px; }
.section-dark h2 { color: var(--white); }
.section-dark p { opacity: .9; max-width: 40ch; margin-left: auto; margin-right: auto; }

.footer { background: #052e38; color: rgba(255, 255, 255, .75); text-align: center; padding: 20px 16px 96px; font-size: .9rem; }
.footer p { margin: 0; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: var(--wa-dark); transform: scale(1.06); }

a:focus-visible, button:focus-visible { outline: 3px solid #ffb020; outline-offset: 3px; }

/* Tablet y escritorio */
@media (min-width: 720px) {
  .cards, .two-col { grid-template-columns: 1fr 1fr; }
  .btn-outline { width: auto; }
  .hero-text { padding: 48px 32px 64px; }
  .section { padding: 80px 32px; }
  .reviews-box { padding: 96px 32px; }
  .map { aspect-ratio: 16 / 7; }
}
@media (min-width: 960px) {
  .topbar { padding: 12px 32px; }
  .nav { display: flex; gap: 22px; margin-left: auto; }
  .nav a { text-decoration: none; font-weight: 600; color: var(--ocean-dark); font-size: .95rem; }
  .nav a:hover { color: var(--sea); }
  .footer { padding-bottom: 24px; }
  .section-dark { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
