/* Canal Playa - versión inicial para Bluehost
   Colores principales:
   Azul océano #03697d
   Turquesa #0397b8
   Arena #f5ddb3
   Coral #ff785a
*/

:root {
  --ocean-950: #063342;
  --ocean-900: #074153;
  --ocean-800: #07566b;
  --ocean-700: #03697d;
  --aqua-600: #0397b8;
  --aqua-400: #35c6d9;
  --sand-100: #fff7e7;
  --sand-200: #f5ddb3;
  --coral-500: #ff785a;
  --green-500: #26b66b;
  --yellow-500: #f3b33d;
  --red-500: #ea4b4b;
  --white: #ffffff;
  --ink: #12313b;
  --muted: #6a7d84;
  --line: rgba(7, 65, 83, .14);
  --shadow: 0 24px 60px rgba(3, 65, 83, .16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fbfb;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }
.section-light { background: linear-gradient(180deg, #ffffff 0%, #eef9fb 100%); }
.skip-link {
  position: absolute; left: 12px; top: -44px; z-index: 1000;
  background: var(--ocean-900); color: white; padding: 10px 14px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-top: -2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #31535d;
  font-size: .94rem;
}
.main-nav a:hover { background: #eaf7f9; color: var(--ocean-800); }
.nav-cta {
  background: var(--ocean-900) !important;
  color: white !important;
  padding-inline: 18px !important;
}
.menu-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: #eaf7f9; padding: 10px;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--ocean-900);
  margin: 5px 0; border-radius: 999px; transition: .2s ease;
}

.hero {
  overflow: hidden;
  padding-top: 96px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 120, 90, .20), transparent 28%),
    radial-gradient(circle at 15% 28%, rgba(53, 198, 217, .35), transparent 32%),
    linear-gradient(135deg, #eefcff 0%, #fff8e7 52%, #e6f9fd 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .72fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.075em;
  margin-bottom: 26px;
  color: var(--ocean-950);
}
h1 span {
  display: inline-block;
  color: var(--aqua-600);
}
.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  max-width: 680px;
  color: #355964;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--ocean-800), var(--aqua-600));
  color: white;
  box-shadow: 0 16px 34px rgba(3, 105, 125, .22);
}
.btn-secondary {
  background: rgba(255,255,255,.74);
  color: var(--ocean-800);
  border-color: rgba(3, 105, 125, .14);
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(3, 105, 125, .1);
  color: #31535d;
  font-size: .9rem;
}
.live-panel {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 22px;
}
.panel-top h2 { font-size: 1.55rem; letter-spacing: -.04em; margin-bottom: 0; }
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(234, 75, 75, .1);
  color: var(--red-500);
  font-size: .78rem; font-weight: 900;
  padding: 7px 10px; border-radius: 999px;
}
.live-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500);
  box-shadow: 0 0 0 0 rgba(234, 75, 75, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 11px rgba(234,75,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(234,75,75,0); }
}
.radio-player {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #07394a, #0397b8);
  color: white;
}
.radio-player p { margin: 4px 0 0; color: rgba(255,255,255,.78); font-size: .92rem; }
.play-button {
  width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: white; color: var(--ocean-900);
  font-size: 1.45rem; font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
}
.now-card {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--sand-100);
  border: 1px solid rgba(245, 221, 179, .85);
  padding: 18px;
  border-radius: 22px;
}
.now-card small { display: block; color: var(--muted); }
.now-card strong { font-size: 1.25rem; }
.score-badge {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--green-500); color: white; font-weight: 900; font-size: 1.28rem;
}
.mini-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px;
}
.mini-metrics div {
  background: #f4fbfc; border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 10px; text-align: center;
}
.mini-metrics strong { display: block; font-size: 1.15rem; }
.mini-metrics small { color: var(--muted); font-size: .74rem; }
.wave {
  position: absolute; inset: auto 0 -2px 0; height: 120px; z-index: 1;
  background:
    radial-gradient(80px 56px at 40px 80px, #f8fbfb 49%, transparent 51%) 0 0/120px 120px repeat-x;
  opacity: .9;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading h2, .map-grid h2, .tv-grid h2, .sponsors h2, .contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--ocean-950);
  margin-bottom: 18px;
}
.section-heading p, .map-grid p, .tv-grid p, .sponsors p, .contact-card p {
  color: #4b6871;
  font-size: 1.05rem;
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 14px;
  margin-bottom: 22px;
}
.filters label {
  display: grid; gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: .86rem;
}
.filters input, .filters select, .contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  outline: none;
}
.filters input:focus, .filters select:focus, .contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--aqua-600);
  box-shadow: 0 0 0 4px rgba(3, 151, 184, .10);
}
.beach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.beach-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(3,65,83,.07);
}
.beach-image {
  min-height: 160px;
  padding: 16px;
  display: flex; align-items: flex-start; justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.38), transparent 24%),
    linear-gradient(135deg, var(--aqua-600), var(--ocean-800));
}
.beach-image.surf {
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.38), transparent 22%),
    linear-gradient(135deg, #ff9f52, #08738e);
}
.beach-image.family {
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.38), transparent 22%),
    linear-gradient(135deg, #28b88d, #0397b8);
}
.beach-image.walk {
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.38), transparent 22%),
    linear-gradient(135deg, #8bb5ff, #03697d);
}
.beach-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); }
.flag-dot.amarilla { background: var(--yellow-500); }
.flag-dot.roja { background: var(--red-500); }
.island-pill {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.beach-body { padding: 18px; }
.beach-body h3 { font-size: 1.45rem; letter-spacing: -.04em; margin-bottom: 4px; }
.beach-body > p { color: var(--muted); margin-bottom: 16px; }
.beach-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.beach-metrics div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f9fcfc;
}
.beach-metrics small { display: block; color: var(--muted); font-size: .75rem; }
.beach-metrics strong { font-size: 1rem; }
.recommendation {
  margin-top: 14px;
  padding: 12px 13px;
  background: var(--sand-100);
  border-radius: 15px;
  color: #654a16;
  font-size: .94rem;
}

.map-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 198, 217, .18), transparent 25%),
    linear-gradient(135deg, #07394a 0%, #03697d 100%);
  color: white;
}
.map-section h2, .map-section p, .map-section .eyebrow { color: white; }
.map-section p { color: rgba(255,255,255,.78); }
.map-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: center;
}
.feature-list {
  list-style: none;
  padding: 0; margin: 24px 0 0;
  display: grid; gap: 10px;
}
.feature-list li {
  padding: 12px 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
}
.mock-map {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 28%, rgba(245,221,179,.8) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 52%, rgba(245,221,179,.8) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 74%, rgba(245,221,179,.76) 0 11%, transparent 12%),
    linear-gradient(135deg, #5dd6e3 0%, #0690ad 48%, #03566b 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.mock-map::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,.07) 0 1px, transparent 1px 20px);
}
.pin {
  position: absolute;
  left: var(--x); top: var(--y); z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: white;
  color: var(--ocean-900);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
.pin::before {
  content: "";
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--green-500);
}
.pin-yellow::before { background: var(--yellow-500); }
.pin-orange::before { background: var(--coral-500); }
.pin-blue::before { background: var(--aqua-600); }

.webcam-grid, .agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.webcam-card, .agenda-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 14px 36px rgba(3,65,83,.07);
}
.webcam-screen {
  min-height: 190px;
  border-radius: 18px;
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(7,65,83,.2), rgba(7,65,83,.2)),
    radial-gradient(circle at 70% 20%, #fff5, transparent 20%),
    linear-gradient(135deg, #60d2df, #03697d);
  color: white;
  font-weight: 900;
  letter-spacing: .12em;
}
.webcam-card h3, .agenda-card h3 { margin: 16px 0 6px; letter-spacing: -.03em; }
.webcam-card p, .agenda-card p { color: var(--muted); margin-bottom: 0; }

.tv-section {
  background: linear-gradient(135deg, #fff7e7 0%, #e8fbff 100%);
}
.tv-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.video-stack {
  display: grid;
  gap: 14px;
}
.video-stack article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(3,65,83,.06);
}
.video-stack span {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--ocean-900);
  color: white;
  font-weight: 900;
}
.video-stack h3 { margin-bottom: 4px; }
.video-stack p { margin-bottom: 0; color: var(--muted); }

.agenda-card time {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf7f9;
  color: var(--ocean-800);
  font-weight: 900;
  font-size: .8rem;
}

.sponsors {
  background: var(--ocean-950);
  color: white;
}
.sponsors h2, .sponsors .eyebrow { color: white; }
.sponsors p { color: rgba(255,255,255,.74); }
.sponsors-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 26px;
  align-items: start;
}
.sponsor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sponsor-cards article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 20px;
}
.sponsor-cards p { margin-bottom: 0; }

.contact-section {
  background: linear-gradient(135deg, #e8fbff 0%, #fff7e7 100%);
}
.contact-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form label {
  display: grid; gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.install-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--coral-500);
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 120, 90, .34);
  cursor: pointer;
}

.site-footer {
  background: #052d3a;
  color: white;
  padding: 46px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid p, .footer-grid a, .footer-brand small { color: rgba(255,255,255,.72); }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid strong { margin-bottom: 6px; }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.65);
}

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .hero-grid, .map-grid, .tv-grid, .sponsors-grid, .contact-card {
    grid-template-columns: 1fr;
  }
  .beach-grid, .webcam-grid, .agenda-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, var(--container)); }
  .section { padding: 62px 0; }
  .hero { padding-top: 58px; }
  .hero-actions .btn { width: 100%; }
  .live-panel { padding: 18px; }
  .radio-player { grid-template-columns: 58px 1fr; padding: 14px; }
  .play-button { width: 52px; height: 52px; }
  .mini-metrics { grid-template-columns: 1fr; }
  .beach-grid, .webcam-grid, .agenda-grid, .sponsor-cards { grid-template-columns: 1fr; }
  .mock-map { min-height: 360px; }
  .pin { font-size: .7rem; padding: 6px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
