/* CajaMaster — sitio web. Colores de la app: verde oscuro, esmeralda, dorado y crema. */
@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg1: #06231b;
  --bg2: #0b3b2d;
  --bg3: #0f4a39;
  --emerald: #10b981;
  --emerald-soft: #34d399;
  --gold: #fbbf24;
  --gold-deep: #f59e0b;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --ink: #0b1a16;
  --ink-soft: #4b5b55;
  --line: #e4ddd0;
  --wa: #25d366;
  --tg: #2aabee;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(6, 35, 27, 0.35);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.gold { color: var(--gold); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(251, 191, 36, 0.6); }
.btn--gold:hover { background: #fcd34d; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.section:not(.section--dark) .btn--ghost { border-color: var(--bg2); color: var(--bg2); }
.btn--wa { background: var(--wa); color: #06331a; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 35, 27, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.25rem; font-weight: 600; }
.brand b { color: var(--gold); font-weight: 800; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav__links a:hover { color: var(--gold); }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, var(--bg3) 0%, transparent 60%), linear-gradient(160deg, var(--bg1) 0%, var(--bg2) 100%); padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero__glow { position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); color: var(--gold); font-weight: 700; font-size: 0.88rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, 0.82); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__cta--center { justify-content: center; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.hero__checks li::before { content: "✓"; color: var(--emerald-soft); font-weight: 800; margin-right: 6px; }
.hero__art { position: relative; display: flex; justify-content: center; }

.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 700 / 1515; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #1c2a26, #050b09); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.phone--sm { width: min(220px, 46vw); }
.phone--xs { width: 100%; border-radius: 30px; padding: 7px; }
.phone--xs img { border-radius: 24px; }
.hero .phone { transform: rotate(3deg); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(3deg) translateY(-10px); } }
.float { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 0.88rem; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); white-space: nowrap; }
.float span { font-size: 1.1rem; }
.float--a { top: 12%; left: -2%; }
.float--b { top: 46%; right: -4%; }
.float--c { bottom: 10%; left: 2%; }

/* ---------- strip ---------- */
.strip { background: var(--gold); color: var(--ink); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 0; text-align: center; }
.strip b { display: block; font-size: 1.5rem; font-weight: 800; }
.strip span { font-size: 0.9rem; font-weight: 600; opacity: 0.8; }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--dark { background: linear-gradient(170deg, var(--bg1), var(--bg2)); color: #fff; }
.section--cream { background: var(--cream); }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head p:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.head--light p:last-child { color: rgba(255, 255, 255, 0.75); }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 800; color: var(--emerald); margin-bottom: 10px; }
.kicker--gold { color: var(--gold); }

.grid { display: grid; gap: 18px; }
.grid--feat { grid-template-columns: repeat(3, 1fr); }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform 0.2s, box-shadow 0.2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #d1fae5, #ecfdf5); font-size: 1.5rem; margin-bottom: 14px; }
.feat p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split--rev { grid-template-columns: 1.1fr 0.9fr; }
.split__copy > p { font-size: 1.07rem; color: rgba(255, 255, 255, 0.8); }
.section:not(.section--dark) .split__copy > p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald); color: #04251b; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.note { display: inline-block; background: rgba(251, 191, 36, 0.14); color: var(--gold); border-radius: 12px; padding: 8px 14px; font-weight: 700; font-size: 0.95rem; }
.split__art--duo { position: relative; padding-bottom: 40px; }
.shot { border-radius: 18px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.75); border: 1px solid rgba(255, 255, 255, 0.1); }
.split__art--duo .shot { width: 88%; }
.split__art--duo .phone { position: absolute; right: -10px; bottom: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery figure { margin: 0; text-align: center; }
.gallery figcaption { margin-top: 12px; font-weight: 700; font-size: 0.95rem; }

/* ---------- devices + video ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.duo img { width: 100%; height: auto; border-radius: 18px; aspect-ratio: 900 / 710; object-fit: cover; box-shadow: var(--shadow); }
.video { justify-self: center; text-align: center; }
.video video { width: min(320px, 78vw); aspect-ratio: 9 / 16; border-radius: 26px; background: #000; box-shadow: 0 30px 70px -25px rgba(6, 35, 27, 0.6); }
.video__cap { margin-top: 12px; font-weight: 700; color: var(--bg2); }

/* ---------- before / after ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs__col { border-radius: var(--radius); padding: 28px; }
.vs__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vs__col li { padding-left: 30px; position: relative; }
.vs__col--bad { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.vs__col--bad li::before { content: "✕"; position: absolute; left: 0; color: #e11d48; font-weight: 800; }
.vs__col--good { background: linear-gradient(160deg, var(--bg2), var(--bg1)); color: #fff; box-shadow: var(--shadow); }
.vs__col--good li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 26px 20px 20px; }
.plan h3 { color: rgba(255, 255, 255, 0.85); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.plan__price { margin: 6px 0 0; font-size: 1rem; color: rgba(255, 255, 255, 0.8); }
.plan__price b { font-size: 2.3rem; color: #fff; font-weight: 800; letter-spacing: -0.03em; }
.plan__sub { color: var(--emerald-soft); font-weight: 700; font-size: 0.88rem; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); flex: 1; }
.plan li::before { content: "✓ "; color: var(--emerald-soft); font-weight: 800; }
.plan--best { background: linear-gradient(170deg, #fff8e6, #fff); color: var(--ink); border: 2px solid var(--gold); transform: translateY(-10px); box-shadow: 0 30px 70px -20px rgba(251, 191, 36, 0.45); }
.plan--best h3, .plan--best .plan__price, .plan--best ul { color: var(--ink); }
.plan--best .plan__price b { color: var(--ink); }
.plan--best .plan__sub { color: #047857; }
.plan--best li::before { color: #059669; }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.addon { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: rgba(251, 191, 36, 0.08); border: 1px dashed rgba(251, 191, 36, 0.5); }
.addon__ic { font-size: 2rem; }
.addon__txt { flex: 1; }
.addon__txt h3 { margin-bottom: 4px; color: var(--gold); }
.addon__txt p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.fineprint { margin: 20px auto 0; text-align: center; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); max-width: 760px; }

/* ---------- steps + pay ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg2); color: var(--gold); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.pay { margin-top: 36px; text-align: center; }
.pay__title { font-weight: 800; margin-bottom: 14px; }
.pay__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--emerald); font-weight: 600; transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* ---------- final cta ---------- */
.cta { position: relative; color: #fff; text-align: center; padding: clamp(80px, 12vw, 140px) 0; background: linear-gradient(180deg, rgba(6, 35, 27, 0.78), rgba(6, 35, 27, 0.92)), var(--bg) center 40% / cover no-repeat; }
.cta p { font-size: 1.12rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- footer ---------- */
.foot { background: var(--bg1); color: rgba(255, 255, 255, 0.7); padding: 48px 0 24px; font-size: 0.92rem; }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; }
.foot__h { color: #fff; font-weight: 800; margin-bottom: 8px; }
.foot a { color: var(--gold); }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot__copy { text-align: center; margin: 32px 0 0; font-size: 0.82rem; opacity: 0.6; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.45); transition: transform 0.15s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.plan--best.reveal.in { transform: translateY(-10px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(n + 4) { display: none; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg1); padding: 8px 16px 18px; transform: translateY(-120%); transition: transform 0.25s; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 1.05rem; }
  .menu-open .nav__links { transform: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__in, .split, .split--rev { grid-template-columns: 1fr; }
  .hero__art { margin-top: 12px; }
  .grid--feat { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split--rev .video { order: -1; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .strip__in { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .grid--feat, .steps, .vs { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; }
  .feat__ic { grid-row: span 2; margin: 0; }
  .feat h3 { margin-bottom: 4px; }
  .plans { grid-template-columns: 1fr; gap: 22px; }
  .plan--best { transform: none; }
  .plan--best.reveal.in { transform: none; }
  .gallery { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .gallery figure { scroll-snap-align: center; }
  .gallery figure:nth-child(n + 4) { display: block; }
  .float { font-size: 0.78rem; padding: 8px 11px; }
  .float--a { left: 0; }
  .float--b { right: 0; }
  .addon { flex-direction: column; text-align: center; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
