/* ========== Tokens ========== */
:root {
  --navy: #1E2D31;
  --navy-2: #273C42;
  --slate: #5E696C;
  --mist: #BFC7CA;
  --white: #FFFFFF;
  --sun: #F6CD4C;
  --coral: #F55E61;
  --pink: #F58F8F;
  --deep-red: #AF4345;
  --green: #83D061;

  --accent: var(--coral);
  --accent-2: var(--sun);
  --bg: #FBF8F3;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(30, 45, 49, 0.12);
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

body.mode-business {
  --accent: var(--navy-2);
  --accent-2: var(--green);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: var(--font-display); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Animated Skyline (fixed background) ========== */
.skyline {
  position: fixed;
  inset: 0;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FDEFD3 0%, #FBD6A8 30%, #F7B98F 55%, #F58F8F 75%, #F55E61 100%);
}

/* Night overlay: fades in/out over a slow cycle so the sun visibly sets
   behind the mountains and rises again, without ever animating the sky's
   gradient stops directly (which browsers can't tween smoothly). */
.sky-night {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0B1220 0%, #16202E 30%, #1E2D31 58%, #2C2130 82%, #3A2233 100%);
  opacity: 0;
  animation: nightFade 45s ease-in-out infinite;
}
@keyframes nightFade {
  0%    { opacity: 0; }
  90%   { opacity: 0; }
  95%   { opacity: 0.7; }
  97%   { opacity: 1; }
  98.5% { opacity: 1; }
  99.6% { opacity: 0.2; }
  100%  { opacity: 0; }
}

.stars {
  position: absolute;
  inset: 0 0 40% 0;
  opacity: 0;
  animation: nightFade 45s ease-in-out infinite;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 18% 32%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 27% 12%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 36% 26%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 45% 8%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 52% 34%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 61% 15%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 69% 28%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 76% 10%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 84% 30%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 91% 20%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 13% 42%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 58% 44%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 96% 40%, #fff, transparent);
}

/* Grey/overcast wash: sits above everything (sun, clouds, mountains) so the
   whole scene visibly dulls down when the storm rolls in. */
.weather-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(94, 104, 112, 0.5), rgba(70, 80, 90, 0.62) 55%, rgba(45, 53, 61, 0.68) 100%);
  opacity: 0;
  animation: weatherFade 45s ease-in-out infinite;
  pointer-events: none;
}
@keyframes weatherFade {
  0%   { opacity: 0; }
  38%  { opacity: 0; }
  44%  { opacity: 0.5; }
  50%  { opacity: 0.7; }
  66%  { opacity: 0.7; }
  73%  { opacity: 0.15; }
  80%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Rain: real drops drawn on a canvas (js/main.js) rather than a CSS stripe
   pattern, which read as flat diagonal wallpaper instead of falling rain.
   The canvas draws continuously; only its opacity is tied to the weather
   cycle below, so it's only visible during the storm phase. */
.rain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  animation: rainCycle 45s ease-in-out infinite;
}
@keyframes rainCycle {
  0%   { opacity: 0; }
  40%  { opacity: 0; }
  46%  { opacity: 0.75; }
  50%  { opacity: 0.9; }
  64%  { opacity: 0.9; }
  70%  { opacity: 0.2; }
  74%  { opacity: 0; }
  100% { opacity: 0; }
}

.cloud--storm {
  width: 260px;
  height: 72px;
  background: rgba(88, 97, 105, 0.8);
  filter: blur(2px);
  opacity: 0;
  animation: driftRight 65s linear infinite, stormCloudFade 45s ease-in-out infinite;
}
.cloud--storm::before { width: 130px; height: 130px; top: -60px; left: 30px; }
.cloud--storm::after { width: 100px; height: 100px; top: -40px; left: 155px; }
.cloud--storm-1 { top: 8%; left: -40%; }
.cloud--storm-2 { top: 22%; left: -60%; animation-delay: -18s, 0s; opacity: 0; }
@keyframes stormCloudFade {
  0%   { opacity: 0; }
  36%  { opacity: 0; }
  44%  { opacity: 0.85; }
  66%  { opacity: 0.85; }
  76%  { opacity: 0; }
  100% { opacity: 0; }
}

.sun {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: 60%;
  left: 15%;
  background: radial-gradient(circle at 35% 35%, #FFF6D8, var(--sun) 60%, #F6B24C 100%);
  box-shadow: 0 0 60px 20px rgba(246, 205, 76, 0.55), 0 0 140px 60px rgba(245, 94, 97, 0.25);
  animation: sunCycle 45s ease-in-out infinite;
}
/* One full weather cycle: sunrise -> clear morning -> clouds gather and it
   pours (sun dims behind the overcast, 40-74%) -> skies clear again -> warm
   sunset, dipping behind the mountain silhouette -> night -> sunrise once
   more. Runs quickly (45s) so visitors see the whole day/weather story
   without having to sit and wait for it. */
@keyframes sunCycle {
  0%   { top: 58%; left: 6%;  opacity: 1;    transform: scale(0.85); }
  20%  { top: 8%;  left: 38%; opacity: 1;    transform: scale(1.08); }
  40%  { top: 14%; left: 60%; opacity: 1;    transform: scale(1); }
  46%  { top: 16%; left: 64%; opacity: 0.5;  transform: scale(0.95); }
  55%  { top: 18%; left: 70%; opacity: 0.25; transform: scale(0.9); }
  65%  { top: 18%; left: 75%; opacity: 0.3;  transform: scale(0.9); }
  73%  { top: 16%; left: 79%; opacity: 0.7;  transform: scale(0.95); }
  82%  { top: 22%; left: 85%; opacity: 1;    transform: scale(1); }
  90%  { top: 55%; left: 91%; opacity: 1;    transform: scale(0.88); }
  95%  { top: 80%; left: 93%; opacity: 0;    transform: scale(0.8); }
  98%  { top: 80%; left: 6%;  opacity: 0;    transform: scale(0.8); }
  100% { top: 58%; left: 6%;  opacity: 1;    transform: scale(0.85); }
}

.cloud {
  position: absolute;
  background: rgba(255,255,255,0.55);
  border-radius: 100px;
  filter: blur(1px);
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud--1 { width: 140px; height: 40px; top: 18%; left: -20%; animation: driftRight 55s linear infinite; }
.cloud--1::before { width: 70px; height: 70px; top: -35px; left: 15px; }
.cloud--1::after { width: 50px; height: 50px; top: -22px; left: 70px; }
.cloud--2 { width: 100px; height: 30px; top: 32%; left: -30%; animation: driftRight 70s linear infinite; animation-delay: -20s; }
.cloud--2::before { width: 50px; height: 50px; top: -25px; left: 10px; }
.cloud--2::after { width: 40px; height: 40px; top: -16px; left: 45px; }
.cloud--3 { width: 160px; height: 44px; top: 8%; left: -25%; animation: driftRight 90s linear infinite; animation-delay: -45s; opacity: 0.8;}
.cloud--3::before { width: 80px; height: 80px; top: -40px; left: 20px; }
.cloud--3::after { width: 55px; height: 55px; top: -24px; left: 85px; }
@keyframes driftRight {
  from { transform: translateX(0); }
  to   { transform: translateX(160vw); }
}

.bird {
  position: absolute;
  width: 34px;
  height: 18px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.75;
}
.bird--1 { top: 22%; animation: flyAcross 16s linear infinite, flap 0.5s ease-in-out infinite; }
.bird--2 { top: 30%; animation: flyAcross 21s linear infinite; animation-delay: -6s; }
.bird--2, .bird--2 { animation: flyAcross 21s linear infinite -6s, flap 0.45s ease-in-out infinite; }
.bird--3 { top: 16%; animation: flyAcross 26s linear infinite -12s, flap 0.55s ease-in-out infinite; }
@keyframes flyAcross {
  from { transform: translateX(-10vw) translateY(0); }
  50%  { transform: translateX(55vw) translateY(-30px); }
  to   { transform: translateX(115vw) translateY(0); }
}
@keyframes flap {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.55); }
}

.mountains {
  position: absolute;
  left: -5%;
  width: 110%;
  bottom: -2px;
  background-repeat: no-repeat;
  background-size: cover;
}
.mountains--back {
  height: 42%;
  bottom: 6%;
  clip-path: polygon(0% 100%, 0% 55%, 12% 35%, 24% 58%, 38% 20%, 52% 50%, 66% 28%, 80% 60%, 92% 38%, 100% 55%, 100% 100%);
  background: #C9757A;
  opacity: 0.55;
}
.mountains--mid {
  height: 34%;
  bottom: 3%;
  clip-path: polygon(0% 100%, 0% 65%, 10% 40%, 22% 62%, 34% 30%, 48% 58%, 60% 32%, 74% 60%, 88% 42%, 100% 62%, 100% 100%);
  background: #A65458;
  opacity: 0.75;
}
.mountains--front {
  height: 26%;
  bottom: 0;
  clip-path: polygon(0% 100%, 0% 70%, 14% 45%, 28% 68%, 42% 38%, 56% 62%, 70% 40%, 84% 66%, 100% 48%, 100% 100%);
  background: var(--navy-2);
}

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 1.6rem; font-weight: 600; color: var(--navy); flex-shrink: 0; }
.logo__map { color: var(--green); margin-left: -0.17em; }
.logo__mark { height: 38px; width: 38px; object-fit: cover; border-radius: 10px; }
.nav__links {
  display: flex;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a { opacity: 0.8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__biz { color: var(--deep-red); }
.nav__panoramas { color: var(--coral); }
.nav__panoramas.is-current { opacity: 0.55; pointer-events: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__account { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nav__login {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity .2s;
}
.nav__login:hover { opacity: 1; text-decoration: underline; }
body.mode-business .nav__login { display: none; }

.mode-toggle {
  background: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
}
.mode-toggle__pill {
  display: flex;
  position: relative;
}
.mode-toggle__opt {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  border-radius: 999px;
  transition: color .25s;
  white-space: nowrap;
}
.mode-toggle__opt.is-active {
  color: var(--navy);
  background: var(--sun);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ========== Hero ========== */
.hero { position: relative; padding: 64px 0 40px; min-height: 78vh; display: flex; align-items: center; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__copy {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  padding: 40px 44px;
  box-shadow: 0 24px 60px rgba(15, 20, 22, 0.1);
}
.eyebrow {
  font-weight: 700;
  color: var(--deep-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--navy);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--navy-2);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .3s;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(245, 94, 97, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 94, 97, 0.45); }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

.hero__stats { display: flex; gap: 14px; }
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 45, 49, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}
.hero__stats strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.hero__stats span { font-size: 0.78rem; color: var(--slate); }

.scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--navy);
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---- Phone mockup ---- */
.hero__mock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; position: relative; }
.hero__mock-label {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.hero__mock::before {
  content: "";
  position: absolute;
  inset: -8% -4% -6%;
  background: radial-gradient(closest-side, rgba(255, 249, 238, 0.9), rgba(255, 249, 238, 0.4) 60%, rgba(255, 249, 238, 0) 78%);
  z-index: 0;
  pointer-events: none;
}
.phone {
  position: relative;
  z-index: 1;
  width: 360px;
  max-width: 92vw;
  background: var(--navy);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 46px;
  padding: 16px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.05), 0 44px 70px -14px rgba(15, 20, 22, 0.55), 0 0 0 10px rgba(255,255,255,0.18);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.phone:hover { transform: rotate(0deg); }
.phone__notch {
  width: 84px; height: 20px;
  background: var(--navy);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone__screen {
  background: linear-gradient(180deg, #FFF9EE, #FFFFFF);
  border-radius: 32px;
  margin-top: -20px;
  padding: 24px 20px 28px;
}
.app__content { transition: opacity 0.5s ease; }
.app__content.is-fading { opacity: 0; }
.app__topbar { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; margin-bottom: 18px; }
.app__greeting { font-family: var(--font-display); font-size: 1.1rem; }
.app__weather { display: inline-block; animation: weatherPulse 4s ease-in-out infinite; }
@keyframes weatherPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.wave { display: inline-block; transform-origin: 70% 70%; }
.wave.is-waving { animation: waveHand 0.7s ease-in-out; }
@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(16deg); }
  60% { transform: rotate(-10deg); }
}
.app__label { font-size: 0.8rem; color: var(--slate); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px;}
.app__card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(30,45,49,0.08);
  margin-bottom: 12px;
}
.app__card-img {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.app__card-title { margin: 0; font-weight: 700; font-size: 0.98rem; }
.app__card-sub { margin: 3px 0 0; font-size: 0.8rem; color: var(--slate); }
.app__combo {
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 14px;
}
.app__combo button {
  background: var(--sun);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ========== Generic sections ========== */
.section { padding: 96px 0; position: relative; }
.section--alt { background: rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.section__eyebrow {
  font-weight: 700;
  color: var(--deep-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 10px;
}
.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 700px;
  margin: 0 0 48px;
  color: var(--navy);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
  isolation: isolate;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background: var(--step-grad);
}
.step::after {
  content: attr(data-step);
  position: absolute;
  right: 6px;
  bottom: -18px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  z-index: -1;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(15,20,22,0.16); }
.step--1 { --step-grad: linear-gradient(135deg, #F6CD4C, #F58F8F); }
.step--2 { --step-grad: linear-gradient(135deg, #7FC8E8, #3A6EA5); }
.step--3 { --step-grad: linear-gradient(135deg, #F55E61, #AF4345); }
.step--4 { --step-grad: linear-gradient(135deg, #83D061, #3f7a2c); }
.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--step-grad);
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(15,20,22,0.14);
}
.step__num {
  position: absolute;
  top: 18px; right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(30, 45, 49, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--slate); font-size: 0.92rem; line-height: 1.5; }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px) rotate(-0.3deg); box-shadow: 0 18px 36px rgba(30,45,49,0.16); }
.card__icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--slate); font-size: 0.92rem; line-height: 1.55; }

/* Examples */
.examples { margin-top: 56px; }
.examples__title { font-weight: 700; margin-bottom: 18px; }
.examples__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.example {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
}
.example__tag {
  display: inline-block;
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.example p { margin: 0; font-size: 0.92rem; line-height: 1.55; opacity: 0.92; }

/* Puntos */
.puntos__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.puntos__lead { color: var(--navy-2); font-size: 1.05rem; line-height: 1.6; max-width: 480px; }
.puntos__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.puntos__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.puntos__list span { font-size: 1.3rem; }
.widget {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.widget__label { font-size: 0.8rem; opacity: 0.7; margin: 0; }
.widget__level { font-family: var(--font-display); font-size: 1.3rem; margin: 6px 0 16px; }
.widget__bar { height: 10px; background: rgba(255,255,255,0.15); border-radius: 999px; overflow: hidden; }
.widget__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sun), var(--coral));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.widget__count { margin-top: 14px; font-size: 1.6rem; font-family: var(--font-display); }
.widget__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.widget__badges span {
  background: rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Business section */
.section--business {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--white);
}
.section__eyebrow--inv { color: var(--sun); }
.section--business h2.inv { color: var(--white); }
.alianzas__lead { max-width: 640px; font-size: 1.05rem; line-height: 1.6; opacity: 0.85; margin-bottom: 40px; }
.card--inv { background: rgba(255,255,255,0.06); box-shadow: none; border: 1px solid rgba(255,255,255,0.1); color: var(--white); }
.card--inv p { color: rgba(255,255,255,0.75); }
.card--inv:hover { background: rgba(255,255,255,0.1); }

.marquee {
  overflow: hidden;
  margin: 8px 0 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.alianzas__cta { text-align: center; margin-top: 56px; }
.alianzas__cta p { margin-top: 14px; opacity: 0.7; font-size: 0.85rem; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final__inner h2 { margin: 0 auto 14px; }
.cta-final__inner p { max-width: 480px; margin: 0 auto 32px; color: var(--navy-2); }
.cta-final .hero__ctas { justify-content: center; margin-bottom: 0; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 64px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.logo--footer { color: var(--white); }
.footer__inner > div:first-child p { margin-top: 8px; opacity: 0.6; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__title { font-weight: 800; color: var(--white); margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__cols a { display: block; margin-bottom: 8px; font-size: 0.9rem; opacity: 0.75; }
.footer__cols a:hover { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; opacity: 0.6; }

/* ========== Reveal on scroll ========== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__mock { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards--4, .cards--3, .cards--5 { grid-template-columns: repeat(2, 1fr); }
  .examples__grid { grid-template-columns: 1fr; }
  .puntos__inner { grid-template-columns: 1fr; }
  .puntos__copy { text-align: center; }
  .puntos__list { align-items: center; }
  .puntos__lead { margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }
  body.nav-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .mode-toggle__opt { padding: 8px 10px; font-size: 0.72rem; }
  .hero__copy { padding: 28px 24px; border-radius: 22px; }
  .nav__actions { gap: 8px; }
  .steps, .cards--4, .cards--3, .cards--5 { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 400px) {
  .logo { font-size: 1.35rem; gap: 6px; }
  .logo__mark { height: 30px; width: 30px; }
  .mode-toggle__opt { padding: 6px 7px; font-size: 0.62rem; }
  .nav__actions { gap: 6px; }
}

/* ========== Reduced motion: keep a pleasant static day scene ========== */
@media (prefers-reduced-motion: reduce) {
  .sun, .sky-night, .stars, .weather-overlay, .rain-canvas,
  .cloud, .bird, .mountains--back, .mountains--mid, .mountains--front,
  .app__weather, .wave {
    animation: none !important;
  }
  .sun { top: 10%; left: 50%; opacity: 1; transform: scale(1.05); }
  .sky-night, .stars, .weather-overlay, .rain-canvas { opacity: 0; }
  html { scroll-behavior: auto; }
}
