:root {
  --navy: #10182b;
  --navy-2: #14233f;
  --blue: #175899;
  --blue-2: #2369b1;
  --blue-deep: #0f457d;
  --blue-bright: #2f74b8;
  --red-deep: #a91f27;
  --red-soft: #df4b4b;
  --cyan: #f9b903;
  --violet: #ce2e2e;
  --red: #ce2e2e;
  --yellow: #f9b903;
  --logo-gray: #868988;
  --cloud: #f3f6fa;
  --ink: #20283a;
  --muted: #667085;
  --line: #dfe5ee;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 24, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 112px 0; }
.section-dark { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(16,24,43,.82);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 128px; }
.brand img { width: 150px; height: auto; }
.brand-fallback { display: none; color: var(--white); font: 800 25px Sora, sans-serif; letter-spacing: -.05em; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #d9e0eb; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--white); }
.nav-login { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); font-weight: 700; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  color: var(--white);
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(23,88,153,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,88,153,.32); }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-ghost { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); box-shadow: none; }
.button-outline { border-color: #cbd5e1; background: transparent; color: var(--navy); box-shadow: none; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero { padding: 160px 0 120px; min-height: 760px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .46; }
.hero-glow-a { width: 520px; height: 520px; left: -180px; top: 20px; background: radial-gradient(circle, rgba(23,88,153,.48), transparent 66%); }
.hero-glow-b { width: 500px; height: 500px; right: -140px; bottom: -120px; background: radial-gradient(circle, rgba(249,185,3,.22), transparent 64%); }
.eyebrow { display: inline-flex; margin-bottom: 18px; color: #f9d361; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
h1,h2,h3 { margin: 0; font-family: Sora, Inter, sans-serif; letter-spacing: -.05em; }
h1 { max-width: 730px; font-size: clamp(48px, 6vw, 78px); line-height: .98; }
h2 { font-size: clamp(35px, 4.2vw, 58px); line-height: 1.03; }
h3 { font-size: 23px; line-height: 1.2; }
.hero-copy > p { max-width: 660px; margin: 26px 0 0; color: #cbd5e1; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: #98a6bb; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-proof i { width: 28px; height: 1px; background: linear-gradient(90deg, var(--red-deep), var(--red-soft)); }

.product-stage { position: relative; min-height: 570px; }
.browser-shell { position: absolute; inset: 30px 38px 30px 0; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; overflow: hidden; background: #f8fafc; box-shadow: 0 42px 90px rgba(0,0,0,.32); transform: perspective(1200px) rotateY(-5deg) rotateX(1deg); }
.browser-bar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #e8edf4; }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #b6c1d0; }
.browser-url { margin-left: 12px; width: 45%; padding: 6px 12px; border-radius: 7px; background: #f8fafc; color: #7b8799; font-size: 10px; }
.app-preview { min-height: 470px; display: grid; grid-template-columns: 90px 1fr; }
.app-preview aside { padding: 22px 16px; background: #0f1a2e; }
.mini-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg,var(--red),var(--yellow)); color: #fff; font-weight: 900; }
.nav-line { height: 9px; margin-top: 28px; border-radius: 99px; background: #32415b; }
.nav-line.active { background: var(--blue); }
.nav-line.short { width: 68%; }
.app-preview section { padding: 28px; color: var(--ink); }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-header small { color: var(--muted); }
.preview-header h3 { margin-top: 5px; font-size: 23px; }
.status { padding: 7px 10px; border-radius: 99px; background: #eafaf4; color: #12805c; font-size: 10px; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 26px; }
.metric-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.metric-card strong { display: block; font: 800 25px Sora; }
.metric-card span { color: var(--muted); font-size: 9px; }
.content-card { display: grid; grid-template-columns: 82px 1fr; gap: 16px; margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.thumb { border-radius: 12px; background: linear-gradient(135deg,var(--blue),var(--yellow)); }
.content-lines span { display: block; height: 9px; margin: 7px 0; border-radius: 99px; background: #dfe5ee; }
.content-lines span:nth-child(2){width:88%}.content-lines span:nth-child(3){width:62%}
.chip-row { display: flex; gap: 8px; margin-top: 18px; }.chip-row b{width:62px;height:20px;border-radius:7px;background:#eef2f7}
.phone-shell { position: absolute; right: 0; bottom: 0; width: 185px; height: 360px; padding: 22px 11px 12px; border: 6px solid #0a1020; border-radius: 36px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: rotate(5deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 74px; height: 18px; border-radius: 99px; background: #0a1020; transform: translateX(-50%); }
.social-result { height: 100%; padding-top: 18px; color: var(--ink); }
.social-image { height: 235px; border-radius: 22px; background: linear-gradient(160deg,var(--navy),var(--blue) 58%,var(--yellow)); }
.social-result strong,.social-result span{display:block;margin:12px 8px 0}.social-result span{color:var(--muted);font-size:10px}

.problem-section { background: #fff; }
.narrow > p { margin: 20px auto 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.cards-3,.cards-4 { display: grid; gap: 22px; margin-top: 54px; }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.cards-4 { grid-template-columns: repeat(4,1fr); }
.feature-card,.step-card,.price-card,.comparison-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 32px rgba(16,24,43,.05); }
.feature-card { padding: 30px; }
.icon { display: inline-grid; width: 44px; height: 44px; place-items: center; margin-bottom: 36px; border-radius: 12px; background: var(--cloud); color: var(--blue); font-weight: 850; }
.feature-card p,.step-card p,.benefit-card p,.price-card p { color: var(--muted); line-height: 1.65; }

.solution-section { background: var(--cloud); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.split p { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.flow-card { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 290px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.flow-node,.flow-output span { padding: 13px 16px; border-radius: 12px; background: var(--cloud); font-weight: 800; }
.flow-node.primary { background: #edf3f9; color: var(--blue); }
.brand-node { background: linear-gradient(135deg,var(--blue-deep),var(--blue-bright)); color:#fff; }
.flow-arrow { color: #aab4c3; font-size: 28px; }
.flow-output { display: grid; gap: 7px; }.flow-output span{font-size:12px}

.how-section { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.step-card { padding: 30px; }
.step-number { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 28px; border-radius: 50%; background: var(--navy); color:#fff; font-weight:800; }
.mini-ui { min-height: 180px; margin-top: 26px; padding: 18px; border-radius: 17px; background: var(--cloud); }
.form-ui span{display:block;height:10px;margin-bottom:13px;border-radius:99px;background:#d7deea}.form-ui .large{height:50px}.form-ui button,.result-ui button{width:70px;height:25px;border:0;border-radius:8px;background:var(--blue)}
.processing-ui{display:flex;flex-direction:column;align-items:center;justify-content:center}.spinner{width:45px;height:45px;border:4px solid #d6def0;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}.processing-ui strong{margin:16px 0 10px}.processing-ui span{width:60%;height:8px;margin-top:7px;border-radius:99px;background:#d7deea}
.result-ui{display:grid;grid-template-columns:78px 1fr;gap:14px;align-items:center}.mini-result-image{height:118px;border-radius:12px;background:linear-gradient(145deg,var(--blue),var(--yellow))}.result-ui span{height:10px;border-radius:99px;background:#d7deea}
@keyframes spin{to{transform:rotate(360deg)}}

.benefits-section h2 { color:#fff; }
.benefit-card { padding: 26px; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(255,255,255,.05); }
.benefit-card > span { display:inline-grid;width:42px;height:42px;place-items:center;margin-bottom:30px;border-radius:12px;background:rgba(249,185,3,.13);color:var(--yellow);font-size:20px }
.benefit-card h3{font-size:20px}.benefit-card p{color:#aeb9c9}

.product-section { background:#fff; }
.product-copy { margin-bottom: 55px; }
.check-list { margin:0; padding:0; list-style:none; display:grid; gap:14px; }
.check-list li { position:relative; padding-left:34px; color:#48556a; font-weight:600; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:-2px; display:grid; width:23px; height:23px; place-items:center; border-radius:50%; background:#eafaf4; color:#12805c; }
.showcase { display:grid; grid-template-columns:100px 1fr; min-height:580px; overflow:hidden; border:1px solid var(--line); border-radius:28px; background:#f7f9fc; box-shadow:var(--shadow); }
.showcase-sidebar{padding:28px 20px;background:var(--navy)}.showcase-sidebar span{display:block;height:10px;margin-top:30px;border-radius:99px;background:#35425a}.showcase-sidebar span.active{background:var(--blue)}
.showcase-main{padding:46px}.showcase-title small{color:var(--muted)}.showcase-title h3{margin-top:6px;font-size:31px}.showcase-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.showcase-kpis div{height:130px;border:1px solid var(--line);border-radius:18px;background:#fff}.showcase-content{display:grid;grid-template-columns:1.7fr .8fr;gap:18px;margin-top:18px}.showcase-list,.showcase-panel{height:250px;border:1px solid var(--line);border-radius:18px;background:#fff}

.video-section { background:var(--cloud); }
.video-placeholder { min-height:330px;display:grid;place-items:center;align-content:center;border-radius:26px;background:linear-gradient(135deg,var(--navy),#1a2b4c);color:#fff;box-shadow:var(--shadow) }
.video-placeholder button{width:78px;height:78px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--blue-deep),var(--blue-bright));color:#fff;font-size:28px;cursor:pointer;box-shadow:0 18px 40px rgba(23,88,153,.35)}
.video-placeholder p{color:#aeb9c9}

.pricing-section { background:#fff; }
.pricing-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;margin-top:56px }
.price-card { position:relative;display:flex;flex-direction:column;padding:30px; }
.price-card.featured { border-color:var(--blue);box-shadow:0 24px 62px rgba(23,88,153,.18);transform:translateY(-12px) }
.popular { position:absolute;top:-16px;left:50%;padding:8px 15px;border-radius:99px;background:linear-gradient(135deg,var(--blue-deep),var(--blue-bright));color:#fff;font-size:12px;font-weight:800;transform:translateX(-50%) }
.price-top > span{font:800 21px Sora}.price-top p{min-height:52px}.price{margin:22px 0 10px}.price del{display:block;color:#98a2b3;font-size:14px}.price strong{display:block;font:800 43px Sora;letter-spacing:-.06em}.price span{color:var(--muted);font-size:13px}.custom-price strong{font-size:32px}.launch-badge{width:max-content;padding:7px 10px;border-radius:99px;background:#fff4d6;color:#8a5b00;font-size:11px;font-weight:800}.price-card ul{flex:1;margin:24px 0 30px;padding:0;list-style:none;display:grid;gap:13px}.price-card li{position:relative;padding-left:26px;color:#465267;font-size:14px;line-height:1.45}.price-card li::before{content:"✓";position:absolute;left:0;color:#12805c;font-weight:900}
.template-note { display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;margin-top:68px;padding:35px;border:1px solid var(--line);border-radius:22px;background:var(--cloud) }.template-note h3{font-size:29px}.template-note p{color:var(--muted);line-height:1.7}

.comparison-section { background:var(--cloud); }
.comparison-grid { display:grid;grid-template-columns:1fr 1fr;gap:24px; }
.comparison-card { padding:34px; }.comparison-card > span{font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.comparison-card h3{margin:15px 0 25px;font-size:30px}.comparison-card ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}.comparison-card li{padding:13px 16px;border-radius:10px;background:rgba(255,255,255,.8)}.comparison-card.muted{background:#eef1f5}.comparison-card.brand{border-color:transparent;background:linear-gradient(135deg,var(--navy),#1d3157);color:#fff}.comparison-card.brand li{background:rgba(255,255,255,.08)}

.faq-section { background:#fff; }.faq-list{max-width:880px;margin-top:46px}.faq-list details{border-bottom:1px solid var(--line);padding:22px 0}.faq-list summary{cursor:pointer;font:700 18px Sora;list-style:none}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";float:right;color:var(--blue);font-size:24px}.faq-list details[open] summary::after{content:"–"}.faq-list p{margin:16px 0 0;color:var(--muted);line-height:1.7}

.cta-grid { display:grid;grid-template-columns:1fr .9fr;gap:80px;align-items:start }.cta-grid h2{color:#fff}.cta-grid p{color:#aeb9c9;font-size:18px;line-height:1.7}.demo-form{padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(255,255,255,.06)}.demo-form label{display:block;margin-bottom:15px;color:#dbe3ef;font-size:13px;font-weight:700}.demo-form input,.demo-form textarea{width:100%;margin-top:7px;padding:13px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;outline:none}.demo-form input:focus,.demo-form textarea:focus{border-color:var(--yellow);box-shadow:0 0 0 4px rgba(249,185,3,.14)}.demo-form .button{width:100%;border:0;cursor:pointer}.demo-form small{display:block;margin-top:14px;color:#8f9bae;text-align:center}.demo-form small a{color:#fff;text-decoration:underline}

.site-footer { padding:70px 0 24px;background:#0b1220;color:#c3ccda }.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:60px}.footer-brand{margin-bottom:16px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.footer-grid strong{color:#fff}.footer-grid a:hover{color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:48px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#78869a}

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1020px) {
  .main-nav { gap:18px; }
  .hero-grid,.split,.cta-grid { grid-template-columns:1fr; }
  .hero-copy { text-align:center; }.hero-copy>p{margin-inline:auto}.hero-actions,.hero-proof{justify-content:center}
  .product-stage { width:min(720px,100%);margin:0 auto; }
  .cards-4 { grid-template-columns:repeat(2,1fr); }
  .pricing-grid { grid-template-columns:1fr; max-width:720px; }.price-card.featured{transform:none}
  .template-note,.comparison-grid{grid-template-columns:1fr}
}

@media (max-width: 820px) {
  .menu-toggle { display:block; }
  .main-nav { position:absolute;top:76px;left:20px;right:20px;display:none;flex-direction:column;align-items:stretch;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#10182b;box-shadow:var(--shadow) }
  .main-nav.open { display:flex; }.nav-login{padding-left:0;border-left:0}.main-nav .button{width:100%}
  .hero { padding-top:130px; }.hero-grid{gap:38px}
  .browser-shell{position:relative;inset:auto;height:520px}.phone-shell{right:10px;bottom:-30px}
  .cards-3,.steps-grid { grid-template-columns:1fr; }
  .showcase { grid-template-columns:72px 1fr; }.showcase-main{padding:28px}.showcase-kpis{grid-template-columns:1fr}.showcase-kpis div{height:88px}.showcase-content{grid-template-columns:1fr}.showcase-panel{display:none}
  .footer-grid { grid-template-columns:1fr 1fr; }.footer-grid>div:first-child{grid-column:1/-1}
}

@media (max-width: 560px) {
  .container { width:min(100% - 28px,1180px); }.section{padding:82px 0}.header-inner{min-height:68px}.main-nav{top:68px}
  h1{font-size:44px}.hero-copy>p{font-size:17px}.hero-actions{flex-direction:column}.hero-actions .button{width:100%}
  .product-stage{min-height:420px}.browser-shell{height:390px}.app-preview{grid-template-columns:60px 1fr;min-height:350px}.app-preview aside{padding:18px 11px}.app-preview section{padding:18px}.metric-row{grid-template-columns:1fr}.metric-card:nth-child(n+2){display:none}.content-card{grid-template-columns:60px 1fr}.phone-shell{display:none}
  .cards-4 { grid-template-columns:1fr; }.flow-card{flex-direction:column}.flow-arrow{transform:rotate(90deg)}
  .showcase{grid-template-columns:55px 1fr;min-height:430px}.showcase-sidebar{padding:20px 10px}.showcase-main{padding:20px}.showcase-kpis{display:none}.showcase-content{margin-top:30px}.showcase-list{height:260px}
  .template-note{padding:24px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column}
}


/* Identidad oficial Pixeel · gradientes tonales */
.brand img { object-fit: contain; }
.hero-proof i { background: linear-gradient(90deg, var(--red-deep), var(--red-soft)); }
.button {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
}
.button:hover { filter: saturate(1.08) brightness(1.03); }
.popular { background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright)); }
.launch-badge { background: rgba(249,185,3,.16); color: #755300; }
.mini-logo { background: conic-gradient(from 225deg, var(--red) 0 25%, var(--blue) 0 50%, var(--yellow) 0 75%, var(--logo-gray) 0); }
.nav-line.active, .showcase-sidebar span.active { background: var(--yellow); }
.eyebrow.dark { color: var(--red); }
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 24px 62px rgba(23,88,153,.18);
}
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.faq-list summary::after { color: var(--blue); }
.video-placeholder button,
.brand-node {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
}

/* ==========================================================
   AJUSTES FINALES · PIXEEL LANDING
   1) CTA del header en degradado amarillo
   2) Texto blanco en todos los botones de planes
========================================================== */

/* CTA principal del menú */
.site-header .button,
.site-header .button:link,
.site-header .button:visited {
  position: relative;
  overflow: hidden;
  border-color: #e6a400;
  background: linear-gradient(
    135deg,
    #ffd54a 0%,
    #ffc61a 35%,
    #f9b903 70%,
    #f5a300 100%
  );
  color: #10182b !important;
  box-shadow:
    0 12px 30px rgba(249,185,3,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.site-header .button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  );
  transform: skewX(-25deg);
  transition: left .8s ease;
}

.site-header .button:hover {
  color: #10182b !important;
  filter: brightness(1.04) saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(249,185,3,.45),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.site-header .button:hover::before {
  left: 160%;
}

.site-header .button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(249,185,3,.25);
}

/* Botones de la sección de planes */
.pricing-section .button,
.pricing-section .button:link,
.pricing-section .button:visited,
.pricing-section .button:hover,
.pricing-section .button:active,
.price-card .button,
.price-card .button:link,
.price-card .button:visited,
.price-card .button:hover,
.price-card .button:active {
  color: #ffffff !important;
}

.price-card .button span,
.price-card .button strong {
  color: #ffffff !important;
}

/* Mantener legibilidad en móvil */
@media (max-width: 820px) {
  .site-header .button {
    color: #10182b !important;
  }
}

/* ==========================================================
   CTA DINÁMICO DEL HEADER
   Oculto mientras el Hero está visible
========================================================== */

.header-demo-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        box-shadow .25s ease;
}


/* Aparece después de abandonar el Hero */

.header-demo-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* Color amarillo exclusivo del CTA del header */

.site-header .header-demo-cta {
    border-color: #e6a400;

    background: linear-gradient(
        135deg,
        #ffd54a 0%,
        #ffc61a 38%,
        #f9b903 72%,
        #f5a300 100%
    );

    color: #10182b !important;

    font-weight: 800;

    box-shadow:
        0 10px 28px rgba(249, 185, 3, .28),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}


.site-header .header-demo-cta:hover {
    color: #10182b !important;

    transform: translateY(-2px);

    filter: brightness(1.05);

    box-shadow:
        0 16px 36px rgba(249, 185, 3, .40),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}


/* Cuando aparece, el transform de visibilidad debe conservarse */

.site-header .header-demo-cta.is-visible {
    transform: translateY(0);
}


.site-header .header-demo-cta.is-visible:hover {
    transform: translateY(-2px);
}

/* ==========================================================
   CTA PRINCIPAL DEL HERO — AMARILLO PIXEEL
========================================================== */

.hero .button {
    background: linear-gradient(
        135deg,
        #FFD54A 0%,
        #FFC61A 38%,
        #F9B903 72%,
        #F5A300 100%
    );

    color: #10182B !important;

    border: 1px solid #E6A400;

    font-weight: 800;

    box-shadow:
        0 10px 28px rgba(249, 185, 3, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.hero .button:hover {
    color: #10182B !important;

    transform: translateY(-2px);

    filter: brightness(1.05);

    box-shadow:
        0 16px 36px rgba(249, 185, 3, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* =========================================
   VIDEO DEMOSTRATIVO
   Temporalmente pausado hasta tener el video
========================================= */

.video-section.is-paused {
    display: none;
}

/* ===========================
   BOTÓN CTA DEL ARTÍCULO
=========================== */

.article-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;

    margin-top: 12px;
    padding: 15px 26px;

    background: linear-gradient(
        135deg,
        #1760a0 0%,
        #347fbd 100%
    );

    color: #ffffff;

    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.article-cta-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22);

    filter: brightness(1.08);
}

.article-cta-button:active {
    transform: translateY(0);
}

.article-cta-button:focus-visible {
    outline: 3px solid #f9b903;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .article-cta-button {
        width: 100%;
        padding: 16px 22px;
    }
}