/* AZUL AUSTRAL — sistema visual demo
   Paleta: azul profundo + acento turquesa (buceo/expediciones). */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Work+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #050f14;
  --ink-2: #0b1a20;
  --ink-3: #10232a;
  --teal: #2fd8c9;
  --teal-dim: rgba(47, 216, 201, 0.14);
  --paper: #eef6f5;
  --paper-dim: rgba(238, 246, 245, 0.62);
  --paper-faint: rgba(238, 246, 245, 0.36);
  --whatsapp: #25d366;

  --display: 'Oswald', sans-serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 88px);
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 15, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 216, 201, 0.16);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: 0.75; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--ink) !important;
  background: linear-gradient(90deg, #6ff0e3, var(--teal));
  padding: 12px 22px; border-radius: 999px;
}
@media (max-width: 768px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 60px; overflow: hidden; background: #000;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: drift 16s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.04) translateY(-1%); }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(115% 85% at 15% 52%, rgba(2,8,11,0.45) 0%, rgba(2,8,11,0.16) 40%, transparent 64%),
    linear-gradient(180deg, rgba(2,8,11,0.2) 0%, rgba(2,8,11,0.02) 24%, rgba(2,8,11,0.1) 58%, var(--ink) 98%);
  z-index: 1;
}
.hero h1, .hero-sub, .eyebrow { text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  background: var(--teal); padding: 6px 14px; transform: rotate(-2.5deg); margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(48px, 9vw, 132px);
  line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; max-width: 1100px;
}
.hero h1 em {
  font-style: normal; position: relative; display: inline-block;
  background: linear-gradient(100deg, #8ff5ea 10%, var(--teal) 55%, #12a698 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.75)) drop-shadow(0 6px 26px rgba(0,0,0,0.5));
}
.hero-sub { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 2vw, 19px); color: var(--paper-dim); font-weight: 400; text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  font-family: var(--mono); font-weight: 600; font-size: 14px;
  background: linear-gradient(90deg, #6ff0e3, var(--teal)); color: var(--ink);
  padding: 17px 30px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(47,216,201,0.28); }
.btn-ghost {
  font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--paper);
  border: 1px solid rgba(238,246,245,0.28); padding: 17px 30px; border-radius: 999px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(47,216,201,0.08); }

/* ---------- FLOAT RENDER (equipo de buceo flotando — mismo tratamiento del panel solar) ---------- */
.hero-render, .float-render {
  position: absolute; z-index: 1; pointer-events: none;
  animation: render-float 9s ease-in-out infinite;
}
.hero-render { right: -4%; bottom: 0%; width: clamp(380px, 40vw, 680px); }
.hero-render::before, .float-render::before {
  content: ''; position: absolute; inset: -10%;
  background: radial-gradient(ellipse 55% 55% at 50% 55%, rgba(47,216,201,0.38) 0%, rgba(47,216,201,0.14) 45%, transparent 72%);
  z-index: -1; filter: blur(6px);
}
.hero-render img, .float-render img {
  width: 100%; height: auto; display: block;
  filter: saturate(1.5) hue-rotate(4deg) brightness(1.08) contrast(1.15);
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 22%, transparent 86%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 22%, transparent 86%);
}
@keyframes render-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(-0.5deg); }
}
.hero-render-tag {
  position: absolute; z-index: 2; left: -4%; bottom: 12%;
  display: flex; align-items: baseline; gap: 8px;
  background: rgba(5,15,20,0.75); backdrop-filter: blur(8px);
  border: 1px solid rgba(47,216,201,0.4); padding: 8px 14px;
  transform: rotate(-2deg); white-space: nowrap;
}
.hero-render-tag__spec { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--teal); }
.hero-render-tag__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-dim); }
.float-render--cta { right: -2%; top: -12%; width: clamp(260px, 26vw, 420px); animation-delay: -3s; }
@media (max-width: 900px) { .hero-render, .float-render { display: none; } }

/* tono de la foto de lobos marinos hacia la paleta turquesa del sitio */
.foto-teal { filter: sepia(1) saturate(1.8) hue-rotate(140deg) brightness(0.82) contrast(1.15); }

/* ---------- STATS ---------- */
.stats { background: var(--ink-2); border-top: 1px solid rgba(47,216,201,0.14); border-bottom: 1px solid rgba(47,216,201,0.14); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.5vw, 56px); color: var(--teal); line-height: 1; }
.stat-label { margin-top: 8px; font-size: 13px; color: var(--paper-dim); font-weight: 500; }
@media (max-width: 768px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SECTIONS ---------- */
section { position: relative; padding: clamp(72px, 10vw, 140px) 0; scroll-margin-top: 96px; }
.section-dark { background: var(--ink); }
.section-mid { background: var(--ink-2); }

.ghost {
  position: absolute; font-family: var(--display); font-weight: 700;
  font-size: clamp(220px, 32vw, 520px); line-height: 1; color: var(--teal);
  opacity: 0.05; z-index: 0; pointer-events: none; user-select: none;
}
.label {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: block;
}
h2.h-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 64px); line-height: 1.06; max-width: 780px; position: relative; z-index: 1;
}

/* ---------- PHOTO SECTION reusable ---------- */
.photo-section { position: relative; overflow: hidden; background: #000; }
.photo-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(2,8,11,0.62) 0%, rgba(2,8,11,0.38) 40%, rgba(2,8,11,0.3) 100%);
  z-index: 1;
}
.photo-section .wrap { position: relative; z-index: 2; }
.photo-section.tint-deep::before { background: linear-gradient(180deg, rgba(2,8,11,0.58) 0%, rgba(2,8,11,0.32) 45%, rgba(2,8,11,0.52) 100%); }
.photo-section h2, .photo-section .label, .photo-section p, .photo-section .agente-list li {
  text-shadow: 0 2px 20px rgba(0,0,0,0.65);
}
.cosmic-line {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 4.2vw, 52px); line-height: 1.1; max-width: 820px; color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

/* ---------- AGENTE ---------- */
.agente { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.agente-copy p { margin-top: 22px; font-size: 17px; color: var(--paper-dim); max-width: 480px; }
.agente-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.agente-list li { list-style: none; display: flex; gap: 14px; font-size: 15px; align-items: flex-start; }
.agente-list .num { font-family: var(--mono); color: var(--teal); font-weight: 700; flex-shrink: 0; }

.phone {
  background: rgba(9, 20, 24, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(47,216,201,0.28); border-radius: 22px; padding: 18px; max-width: 360px;
  margin-left: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: rotate(1.5deg);
}
.phone-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(238,246,245,0.1); margin-bottom: 14px; }
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.phone-name { font-size: 14px; font-weight: 600; }
.phone-status { font-size: 11px; color: var(--whatsapp); font-family: var(--mono); }
.bubble { border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 10px; max-width: 88%; line-height: 1.4; }
.bubble.in { background: rgba(238,246,245,0.08); border-bottom-left-radius: 2px; }
.bubble.out { background: var(--teal-dim); border: 1px solid rgba(47,216,201,0.3); margin-left: auto; border-bottom-right-radius: 2px; color: var(--paper); }
.bubble.out b { color: var(--teal); }
.bubble-time { font-size: 10px; color: var(--paper-faint); margin-top: 4px; text-align: right; }
@media (max-width: 900px) { .agente { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }

/* ---------- KITS / SALIDAS ---------- */
.kits-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(2,8,11,0.6); position: relative; z-index: 1; border-radius: 4px; overflow: hidden;
}
.kit-card { background: var(--paper); color: var(--ink); padding: 34px 28px; display: flex; flex-direction: column; }
.kit-card.featured { background: var(--ink); color: var(--paper); position: relative; }
.kit-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.kit-name { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; }
.kit-desc { margin-top: 12px; font-size: 14px; opacity: 0.72; flex-grow: 1; }
.kit-price { margin-top: 24px; font-family: var(--mono); font-weight: 600; font-size: 28px; }
.kit-price span { font-size: 13px; opacity: 0.55; font-weight: 400; }
.kit-consumo { margin-top: 6px; font-size: 12px; font-family: var(--mono); opacity: 0.55; }
@media (max-width: 900px) { .kits-grid { grid-template-columns: 1fr; } }

/* ---------- GALERIA ---------- */
.galeria { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; position: relative; z-index: 1; }
.galeria-item { overflow: hidden; border-radius: 4px; position: relative; }
.galeria-item img { height: 100%; object-fit: cover; transition: transform 0.4s; }
.galeria-item:hover img { transform: scale(1.04); }
.galeria-col { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .galeria { grid-template-columns: 1fr; } }

/* ---------- CALCULADORA ---------- */
.calc {
  background: rgba(9, 20, 24, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(47,216,201,0.22); border-radius: 16px; padding: clamp(24px, 4vw, 44px);
  position: relative; z-index: 1; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.calc-label { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper-dim); }
.calc-value { font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--teal); }
.calc select, .calc input[type="range"] {
  width: 100%; margin: 8px 0 24px;
}
.calc select {
  background: rgba(238,246,245,0.06); color: var(--paper); border: 1px solid rgba(238,246,245,0.18);
  border-radius: 8px; padding: 12px 14px; font-family: var(--body); font-size: 15px;
}
.calc input[type="range"] {
  height: 6px; border-radius: 999px; background: rgba(238,246,245,0.14); appearance: none; outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal);
  border: 4px solid var(--ink-3); box-shadow: 0 0 0 2px var(--teal); cursor: pointer;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal);
  border: 4px solid var(--ink-3); box-shadow: 0 0 0 2px var(--teal); cursor: pointer;
}
.calc-results { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 24px; border-top: 1px solid rgba(238,246,245,0.1); }
.calc-result-num { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); color: var(--paper); }
.calc-result-label { margin-top: 4px; font-size: 11px; font-family: var(--mono); color: var(--paper-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.calc-total { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.calc-total-num { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 52px); color: var(--teal); }
@media (max-width: 560px) { .calc-results { grid-template-columns: 1fr; } }

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative; overflow: hidden; color: var(--paper); padding: clamp(64px, 9vw, 120px) 0;
  background: var(--ink);
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 82% 30%, rgba(47,216,201,0.16) 0%, transparent 58%),
              linear-gradient(100deg, rgba(2,8,11,0.9) 0%, rgba(2,8,11,0.7) 55%, rgba(2,8,11,0.55) 100%);
  z-index: 1;
}
.cta-final .wrap { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.cta-final h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 6vw, 72px); line-height: 1.08; max-width: 640px; color: #fff; }
.cta-final .btn-primary { background: linear-gradient(90deg, #6ff0e3, var(--teal)); color: var(--ink); }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); padding: 40px 0; border-top: 1px solid rgba(47,216,201,0.14); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--paper-faint); font-family: var(--mono); }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200; height: 54px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--whatsapp); display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35); font-size: 22px; color: #fff;
  transition: transform 0.2s, box-shadow 0.2s; animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float span { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.wa-float:hover { transform: scale(1.05); box-shadow: 0 10px 34px rgba(37,211,102,0.5); }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.35); } 50% { box-shadow: 0 8px 28px rgba(37,211,102,0.65); } }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 54px; justify-content: center; } }

/* ---------- CATALOGO PAGE ---------- */
.cat-header { padding-top: 150px; padding-bottom: 40px; }
.cat-header h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 6vw, 76px); line-height: 0.95; }
.cat-header p { margin-top: 16px; max-width: 520px; color: var(--paper-dim); }
.cat-section { padding-top: 0; padding-bottom: 72px; }
.cat-section-title {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid rgba(47,216,201,0.2);
}
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-card { background: var(--ink-2); border: 1px solid rgba(238,246,245,0.08); border-radius: 6px; padding: 22px; position: relative; }
.prod-card.destacado { border-color: var(--teal); }
.prod-badge {
  position: absolute; top: -10px; left: 20px; background: var(--teal); color: var(--ink);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px; transform: rotate(-2deg);
}
.prod-name { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.prod-specs { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--paper-faint); line-height: 1.7; }
.prod-price { margin-top: 18px; font-family: var(--mono); font-weight: 600; font-size: 24px; color: var(--teal); }
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- MOBILE: la foto tiene que ganarle al texto, no al revés ---------- */
@media (max-width: 768px) {
  section { padding: 48px 0; }
  .stats .wrap { padding-top: 32px; padding-bottom: 32px; }

  .hero { padding-top: 90px; padding-bottom: 32px; }
  .hero-bg img { object-position: center 40%; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; padding: 5px 12px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); line-height: 0.98; }
  .hero-sub { margin-top: 18px; font-size: 15px; max-width: 100%; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .btn-primary, .btn-ghost { padding: 14px 22px; font-size: 13px; }

  .agente-copy p { margin-top: 16px; }
  .kits-grid, .galeria { margin-top: 36px; }
}
@media (max-width: 480px) {
  section { padding: 40px 0; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
}
