/* =========================================================
   Tema Océano — Opción 2
   Se carga DESPUÉS de estilos.css y solo cambia la apariencia.
   ========================================================= */
:root {
  --abyss: #071a2c;
  --navy: #0d2b45;
  --navy-deep: #08203a;
  --sea: #145374;
  --aqua: #2fb5b0;
  --aqua-soft: #bfe9e6;
  --foam: #eef8f7;
  --gold: #d4a03c;
  --gold-soft: #f0d394;
  --gold-deep: #a9792a;
  --sand: #f1f6f7;
  --line: #d5e6e8;
  --muted: #4f6474;
  --ink: #1b2a36;
  --shadow: 0 12px 32px rgba(7, 26, 44, .12);

  /* Ornamentos (SVG) */
  --rope: repeating-linear-gradient(-55deg, var(--gold) 0 5px, var(--gold-deep) 5px 7px, var(--gold-soft) 7px 9px);
  --anchor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V22M7 11h10M4 14a8 8 0 0 0 16 0'/%3E%3C/svg%3E");
  --compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23d4a03c' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='94'/%3E%3Ccircle cx='100' cy='100' r='86' stroke-dasharray='2 4'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Cpath d='M100 2 L113 87 L198 100 L113 113 L100 198 L87 113 L2 100 L87 87Z'/%3E%3Cpath d='M100 2 L100 198 M2 100 L198 100'/%3E%3Cpath d='M100 30 L107 93 L170 100 L107 107 L100 170 L93 107 L30 100 L93 93Z' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='5'/%3E%3C/svg%3E");
  --schooner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150' fill='none' stroke='%23d4a03c' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M18 104 H186 L170 122 Q102 130 34 122 Z'/%3E%3Cpath d='M26 110 H178'/%3E%3Cpath d='M70 104 V14 M128 104 V24 M184 102 L214 88'/%3E%3Cpath d='M68 98 V20 L26 32 L20 98 Z'/%3E%3Cpath d='M126 98 V30 L88 40 L82 98 Z'/%3E%3Cpath d='M130 28 L212 88 L134 98 Z'/%3E%3Cpath d='M70 14 L84 18 L70 22'/%3E%3Cpath d='M0 136 Q14 130 28 136 T56 136 T84 136 T112 136 T140 136 T168 136 T196 136 T220 136'/%3E%3Cpath d='M30 146 Q44 140 58 146 T86 146 T114 146 T142 146 T170 146 T196 146'/%3E%3C/svg%3E");
  --compass-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23d4a03c' stroke-width='1.1' stroke-opacity='.32'%3E%3Ccircle cx='100' cy='100' r='94'/%3E%3Ccircle cx='100' cy='100' r='86' stroke-dasharray='2 4'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Cpath d='M100 2 L113 87 L198 100 L113 113 L100 198 L87 113 L2 100 L87 87Z'/%3E%3Cpath d='M100 2 L100 198 M2 100 L198 100'/%3E%3Cpath d='M100 30 L107 93 L170 100 L107 107 L100 170 L93 107 L30 100 L93 93Z' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='5'/%3E%3C/svg%3E");
  --schooner-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150' fill='none' stroke='%23d4a03c' stroke-width='1.6' stroke-opacity='.55' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M18 104 H186 L170 122 Q102 130 34 122 Z'/%3E%3Cpath d='M26 110 H178'/%3E%3Cpath d='M70 104 V14 M128 104 V24 M184 102 L214 88'/%3E%3Cpath d='M68 98 V20 L26 32 L20 98 Z'/%3E%3Cpath d='M126 98 V30 L88 40 L82 98 Z'/%3E%3Cpath d='M130 28 L212 88 L134 98 Z'/%3E%3Cpath d='M70 14 L84 18 L70 22'/%3E%3Cpath d='M0 136 Q14 130 28 136 T56 136 T84 136 T112 136 T140 136 T168 136 T196 136 T220 136'/%3E%3Cpath d='M30 146 Q44 140 58 146 T86 146 T114 146 T142 146 T170 146 T196 146'/%3E%3C/svg%3E");
  /* Olas: capa aqua translúcida + capa sólida + línea dorada en la cresta */
  --wave-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%232fb5b0' fill-opacity='.25' d='M0 22 C 200 50 420 0 640 24 S 1020 52 1220 22 S 1400 8 1440 20 V60 H0Z'/%3E%3Cpath fill='%23f1f6f7' d='M0 36 C 180 12 360 12 540 32 S 900 60 1080 36 S 1320 8 1440 28 V60 H0Z'/%3E%3C/svg%3E");
  --wave-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%232fb5b0' fill-opacity='.18' d='M0 24 C 240 2 460 50 700 26 S 1100 0 1300 24 S 1420 34 1440 30 V60 H0Z'/%3E%3Cpath fill='%23ffffff' d='M0 34 C 220 54 440 10 680 30 S 1080 58 1280 32 S 1420 18 1440 26 V60 H0Z'/%3E%3C/svg%3E");
  --wave-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%232fb5b0' fill-opacity='.45' d='M0 20 C 200 48 420 0 640 22 S 1020 50 1220 20 S 1400 6 1440 18 V60 H0Z'/%3E%3Cpath fill='%230d2b45' d='M0 34 C 180 10 360 10 540 30 S 900 58 1080 34 S 1320 6 1440 26 V60 H0Z'/%3E%3Cpath fill='none' stroke='%23d4a03c' stroke-width='1.5' d='M0 34 C 180 10 360 10 540 30 S 900 58 1080 34 S 1320 6 1440 26'/%3E%3C/svg%3E");
  --wave-abyss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%232fb5b0' fill-opacity='.35' d='M0 18 C 240 46 480 0 720 22 S 1200 46 1440 16 V60 H0Z'/%3E%3Cpath fill='%23071a2c' d='M0 32 C 240 8 480 56 720 32 S 1200 8 1440 30 V60 H0Z'/%3E%3Cpath fill='none' stroke='%23d4a03c' stroke-width='1.5' d='M0 32 C 240 8 480 56 720 32 S 1200 8 1440 30'/%3E%3C/svg%3E");
}

body { background: var(--sand); color: var(--ink); overflow-x: clip; }
a { color: var(--sea); }
a:hover { color: var(--aqua); }

/* ---------- Tipografía y adornos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); letter-spacing: .2em; font-size: .78rem; color: var(--sea);
}
.eyebrow::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--aqua);
  -webkit-mask: var(--anchor) center / contain no-repeat; mask: var(--anchor) center / contain no-repeat;
}
.center .eyebrow::after {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--aqua);
  -webkit-mask: var(--anchor) center / contain no-repeat; mask: var(--anchor) center / contain no-repeat;
}
.section--navy .eyebrow { color: var(--gold-soft); }
.section--navy .eyebrow::before, .section--navy .eyebrow::after { background: var(--gold); }

/* Ola dorada bajo los títulos centrados */
.center h2::after {
  content: ""; display: block; width: 120px; height: 14px; margin: 14px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' fill='none' stroke='%23d4a03c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 7 Q 9 1 16 7 T 30 7 T 44 7'/%3E%3Cpath d='M76 7 Q 83 1 90 7 T 104 7 T 118 7'/%3E%3Ccircle cx='60' cy='7' r='3.5' fill='%232fb5b0' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Encabezado con borde de cuerda ---------- */
.site-header { background: linear-gradient(90deg, rgba(7,26,44,.97), rgba(13,43,69,.97) 60%, rgba(20,83,116,.95)); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; background: var(--rope); }
.nav a { color: #d9e8ee; }
.nav a:hover { background: rgba(47,181,176,.16); color: #fff; }
.nav a[aria-current="page"] { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--abyss); }
@media (max-width: 900px) {
  .nav { background: var(--abyss); border-bottom: 0; top: calc(100% + 5px); }
  .nav::after { content: ""; display: block; height: 5px; background: var(--rope); }
}

/* ---------- Botones ---------- */
.btn--gold { background: linear-gradient(180deg, #e8bd61, var(--gold)); color: var(--abyss); box-shadow: 0 4px 14px rgba(212,160,60,.35); }
.btn--gold:hover { background: linear-gradient(180deg, #f0c873, #dcab4b); color: var(--abyss); }
.btn--navy { background: linear-gradient(180deg, var(--sea), var(--navy)); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost:hover { background: rgba(47,181,176,.22); border-color: var(--aqua-soft); }

/* ---------- Olas entre secciones ---------- */
.section { position: relative; }
.section--white::before,
.section--white + .section:not(.section--white):not(.section--navy)::before,
.section--navy::before {
  content: ""; position: absolute; left: 0; right: 0; top: -47px; height: 48px; pointer-events: none;
  background: var(--wave-white) center / 100% 100% no-repeat;
}
.section--white + .section:not(.section--white):not(.section--navy)::before { background-image: var(--wave-sand); }
.section--navy { z-index: 1; background: var(--navy) var(--compass-faint) right -150px center / 400px no-repeat; }
.section--navy::before { background-image: var(--wave-navy); }
.section--navy::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -47px; height: 48px; pointer-events: none;
  background: var(--wave-navy) center / 100% 100% no-repeat; transform: scaleY(-1);
}
@media (max-width: 700px) { .section--navy { background-size: 260px; background-position: right -110px top 30px; } }

/* ---------- Portada ---------- */
.hero::before {
  background:
    linear-gradient(180deg, rgba(7,26,44,.55) 0%, rgba(13,43,69,.25) 45%, rgba(7,26,44,.85) 100%),
    linear-gradient(90deg, rgba(20,83,116,.35), transparent 60%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; pointer-events: none;
  background: var(--wave-sand) center / 100% 100% no-repeat;
}
.hero .hero-sub { color: var(--aqua-soft); }
.hero blockquote { border-left: 3px solid var(--gold); padding-left: 18px; }
.page-hero { padding-bottom: clamp(80px, 10vw, 110px); }
.page-hero::before { background: linear-gradient(180deg, rgba(7,26,44,.62), rgba(13,43,69,.82)), linear-gradient(90deg, rgba(20,83,116,.35), transparent); }
.page-hero .container::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 190px; height: 190px; transform: translateY(-50%);
  background: var(--compass) center / contain no-repeat; opacity: .55; pointer-events: none;
}
@media (max-width: 760px) { .page-hero .container::after { display: none; } }

/* ---------- Tarjetas con borde de cuerda ---------- */
.time-card, .belief { position: relative; overflow: hidden; border-top: 0; padding-top: 30px; border: 1px solid rgba(212,160,60,.28); }
.time-card::before, .belief::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rope); }
.time-card::after {
  content: ""; position: absolute; right: 14px; bottom: 12px; width: 46px; height: 46px; background: var(--aqua); opacity: .14;
  -webkit-mask: var(--anchor) center / contain no-repeat; mask: var(--anchor) center / contain no-repeat;
}
.time-card .day, .belief .ref { color: var(--sea); }
.time-card .hour { color: var(--navy); }
.card { border: 1px solid var(--line); border-bottom: 4px solid var(--aqua); }
a.card:hover { border-bottom-color: var(--gold); box-shadow: 0 16px 36px rgba(7,26,44,.18); }
.card-link { color: var(--sea); }
a.card:hover .card-link { color: var(--gold-deep); }

/* ---------- Fotos enmarcadas ---------- */
.photo { background: #fff; padding: 10px; border: 1px solid rgba(212,160,60,.45); position: relative; }
.photo img { border-radius: 8px; }
.photo::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(47,181,176,.35); border-radius: 11px; pointer-events: none; }
.gallery img { border: 6px solid #fff; outline: 1px solid rgba(212,160,60,.45); }

/* ---------- Versículos ---------- */
.verse {
  position: relative; background: var(--foam); border-left: 4px solid var(--gold); color: var(--ink);
  padding-right: 52px;
}
.verse::after {
  content: ""; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  background: var(--aqua); opacity: .28; -webkit-mask: var(--anchor) center / contain no-repeat; mask: var(--anchor) center / contain no-repeat;
}
.verse cite { color: var(--sea); }
.section--navy .verse { background: rgba(47,181,176,.12); color: #fff; }
.section--navy .verse cite { color: var(--gold-soft); }
.banner-verse p { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.section--navy .banner-verse cite { color: var(--gold-soft); }

/* ---------- Cómo ser salvo ---------- */
.step { border: 1px solid var(--line); border-left: 4px solid var(--aqua); }
.step::before {
  background: radial-gradient(circle at 35% 30%, var(--sea), var(--navy-deep));
  color: var(--gold-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
}
.prayer {
  background: linear-gradient(160deg, var(--navy), var(--sea)) ; border: 1px solid rgba(212,160,60,.5);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.prayer > * { position: relative; }
.prayer::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: var(--compass) center / contain no-repeat; opacity: .5; }
.prayer .verse { background: rgba(255,255,255,.09); color: #fff; }
.prayer .verse::after { background: var(--gold); }

/* ---------- Medios y contacto ---------- */
.video-frame { border: 1px solid rgba(212,160,60,.5); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), var(--shadow); }
.platform { border: 1px solid var(--line); border-left: 4px solid var(--aqua); }
.form { border: 1px solid var(--line); border-top: 0; position: relative; overflow: hidden; padding-top: 42px; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rope); }
.field label { color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(47,181,176,.22); }
.info-list svg { color: var(--aqua); }
.map, .fb-wrap { border: 1px solid rgba(212,160,60,.45); }
.note { background: var(--foam); border-color: var(--aqua); }

/* ---------- Pie de página con goleta ---------- */
.site-footer {
  position: relative; margin-top: 48px;
  background: var(--abyss) var(--schooner-faint) right 2% bottom 64px / 230px no-repeat;
  color: #a9bfcc;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -47px; height: 48px; pointer-events: none;
  background: var(--wave-abyss) center / 100% 100% no-repeat;
}
.site-footer h4 { color: var(--gold-soft); font-family: var(--serif); letter-spacing: .08em; font-size: 1rem; }
.social a:hover { background: var(--aqua); color: var(--abyss); }
.footer-bottom { border-top: 0; position: relative; }
.footer-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rope); opacity: .6; border-radius: 2px; }
@media (max-width: 760px) { .site-footer { background-size: 170px; background-position: right 10px bottom 96px; } }

.wa-float { box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 8px 24px rgba(0,0,0,.25); }

/* =========================================================
   Club de Niños — un toque más alegre
   ========================================================= */
.kids h1, .kids h2 { font-family: "Baloo 2", var(--heading); letter-spacing: .01em; }
.kids .page-hero::before { background: linear-gradient(180deg, rgba(20,83,116,.55), rgba(47,181,176,.55)), linear-gradient(0deg, rgba(7,26,44,.55), transparent); }
.kids .page-hero h1 { font-size: clamp(2.6rem, 7vw, 4rem); }
.kids .page-hero .container::after { display: none; }

/* Burbujas */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.65); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,.05) 60%);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 8%;  width: 18px; height: 18px; animation-duration: 9s; }
.bubbles span:nth-child(2) { left: 22%; width: 30px; height: 30px; animation-duration: 12s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 41%; width: 14px; height: 14px; animation-duration: 8s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 58%; width: 24px; height: 24px; animation-duration: 11s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 72%; width: 36px; height: 36px; animation-duration: 14s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 86%; width: 16px; height: 16px; animation-duration: 9s;  animation-delay: 5s; }
.bubbles span:nth-child(7) { left: 94%; width: 22px; height: 22px; animation-duration: 10s; animation-delay: 6s; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(14px, -45vh); }
  100% { transform: translate(-6px, -90vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .bubbles span { animation: none; display: none; } }

/* Peces decorativos */
.fish-row { display: flex; justify-content: center; gap: 18px; margin: 0 0 10px; }
.fish { width: 44px; height: 26px; display: inline-block; background: var(--c, var(--aqua));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 26'%3E%3Cpath d='M2 13 C 10 2 26 0 34 13 C 26 26 10 24 2 13Z M32 13 L44 3 L41 13 L44 23Z'/%3E%3Ccircle cx='10' cy='11' r='2' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 26'%3E%3Cpath d='M2 13 C 10 2 26 0 34 13 C 26 26 10 24 2 13Z M32 13 L44 3 L41 13 L44 23Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: swim 3.5s ease-in-out infinite; }
.fish:nth-child(2) { --c: var(--gold); animation-delay: .6s; transform: scale(.8); }
.fish:nth-child(3) { --c: #e2725b; animation-delay: 1.2s; }
@keyframes swim { 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .fish { animation: none; } }

.kids .checklist li::before { background-color: var(--aqua); }
.kids .time-card { border-radius: 20px; }
.kids .time-card:nth-child(1)::before { background: repeating-linear-gradient(-55deg, var(--aqua) 0 6px, #22928e 6px 9px); }
.kids .time-card:nth-child(3)::before { background: repeating-linear-gradient(-55deg, #e2725b 0 6px, #c4573f 6px 9px); }
.kids .gallery img { border-width: 10px; border-bottom-width: 34px; border-radius: 6px; outline: 0; box-shadow: 0 10px 24px rgba(7,26,44,.18); transition: transform .25s ease; }
.kids .gallery img:nth-child(odd) { transform: rotate(-2deg); }
.kids .gallery img:nth-child(even) { transform: rotate(1.8deg); }
.kids .gallery img:hover { transform: rotate(0) scale(1.03); }
.kids .photo { border-radius: 24px; }
