@font-face { font-family: "Fraunces"; src: url("/fuentes/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fuentes/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --deep: #0d1f33; --abyss: #071322; --water: #7ef7f0; --teal: #1c9c9e;
  --cream: #fff5e6; --soft: rgba(255, 245, 230, .74); --faint: rgba(255, 245, 230, .5); --line: rgba(255, 245, 230, .14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif; --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 50% 30%, #17405a 0%, var(--deep) 55%, var(--abyss) 100%) fixed;
  color: var(--cream); font: 17px/1.6 var(--sans); overflow-x: hidden;
}
a { color: var(--water); }

header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); position: relative; z-index: 2; }
.marca { color: var(--soft); text-decoration: none; font-weight: 700; letter-spacing: .02em; font-size: .95rem; }
.marca:hover { color: var(--cream); }
.idiomas { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.idiomas a { color: var(--faint); text-decoration: none; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.idiomas a[aria-current] { background: var(--water); color: var(--abyss); }

main { flex: 1; display: grid; place-items: center; text-align: center; padding: 8px clamp(16px, 5vw, 48px) 40px; position: relative; z-index: 1; }
.gota { width: min(68vw, 340px); aspect-ratio: 1; margin: 0 auto calc(min(68vw, 340px) * -.12); animation: flota 4.8s ease-in-out infinite; }
.gota img { width: 100%; height: 100%; display: block; }
.sombra { width: min(26vw, 130px); height: 14px; margin: 0 auto 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); animation: sombra 4.8s ease-in-out infinite; }
.pronto { display: inline-block; margin: 0 0 6px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(126, 247, 240, .4); color: var(--water); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 12vw, 5.2rem); line-height: 1; margin: 8px 0 14px; letter-spacing: -.01em; }
p { max-width: 34rem; margin: 0 auto 14px; color: var(--soft); }
p strong { color: var(--cream); }
.luego { font-size: .95rem; color: var(--faint); }

footer { text-align: center; padding: 18px 16px 26px; font-size: .85rem; color: var(--faint); position: relative; z-index: 1; }
footer a { color: var(--faint); }

.burbujas { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.burbujas i { position: absolute; bottom: -24px; border-radius: 50%; border: 1px solid rgba(126, 247, 240, .35); background: rgba(126, 247, 240, .06); animation: sube linear infinite; }
.burbujas i:nth-child(1) { left: 12%; width: 10px; height: 10px; animation-duration: 14s; }
.burbujas i:nth-child(2) { left: 27%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: -4s; }
.burbujas i:nth-child(3) { left: 44%; width: 14px; height: 14px; animation-duration: 18s; animation-delay: -9s; }
.burbujas i:nth-child(4) { left: 63%; width: 8px; height: 8px; animation-duration: 13s; animation-delay: -2s; }
.burbujas i:nth-child(5) { left: 78%; width: 12px; height: 12px; animation-duration: 16s; animation-delay: -11s; }
.burbujas i:nth-child(6) { left: 90%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: -6s; }

@keyframes flota { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes sombra { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.8); opacity: .55; } }
@keyframes sube { from { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateY(-110vh); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .gota, .sombra, .burbujas i { animation: none; } .burbujas { display: none; } }
