/* GluberLink — sitio estático. Paleta y tipografía de marca. */
:root {
  --brand: #FE5000;
  --brand-deep: #E24700;
  --ink: #12151C;
  --navy: #0E1526;
  --mist: #F6F7F9;
  --paper: #FFFFFF;
  --text: #1B1F27;
  --slate: #5B6472;
  --signal: #2F6FED;
  --line: #E4E4E1;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.mist { background: var(--mist); }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; max-width: 46rem; }
.lead { margin-top: 1rem; font-size: 1.125rem; color: var(--slate); max-width: 42rem; }
.accent { color: var(--brand); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: all .3s; background: transparent; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(18,21,28,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a { font-size: .875rem; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav-desktop a:hover { color: var(--text); }
@media (min-width: 1024px) { .nav-desktop { display: flex; } .menu-btn { display: none; } }
.menu-btn { background: none; border: 0; cursor: pointer; width: 2.5rem; height: 2.5rem; display: flex; flex-direction: column; gap: .375rem; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 1.5rem; height: 2px; background: var(--text); transition: all .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); padding: 1rem 1.25rem 2rem; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: .5rem 0; font-size: 1.125rem; font-weight: 500; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }

/* Wordmark */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.wordmark .g { color: var(--ink); }
.wordmark .l { color: var(--brand); }
.wordmark .i { position: relative; color: var(--brand); }
.wordmark .i svg { position: absolute; top: -0.62em; left: 50%; transform: translateX(-50%); width: .72em; }

/* CTA identities */
.cta-header { display: inline-flex; align-items: center; border-radius: 999px; background: var(--brand); color: #fff; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; transition: background .2s; }
.cta-header:hover { background: var(--brand-deep); }
.cta-hero { display: inline-flex; align-items: center; gap: .75rem; border-radius: .75rem; background: var(--brand); color: #fff; padding: 1rem 1.75rem; font-weight: 600; box-shadow: 0 10px 24px rgba(254,80,0,.28); transition: all .2s; }
.cta-hero:hover { background: var(--brand-deep); box-shadow: 0 14px 30px rgba(254,80,0,.36); }
.cta-hero .arr { transition: transform .2s; }
.cta-hero:hover .arr { transform: translateX(6px); }
.cta-ghost { display: inline-flex; align-items: center; border-radius: .75rem; border: 1px solid rgba(27,31,39,.2); padding: 1rem 1.75rem; font-weight: 500; transition: border-color .2s; position: relative; }
.cta-ghost:hover { border-color: rgba(27,31,39,.45); }
.cta-ghost .u { position: relative; }
.cta-ghost .u::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--brand); transition: width .3s; }
.cta-ghost:hover .u::after { width: 100%; }
.cta-sprint { margin-top: 1.5rem; display: flex; justify-content: center; border-radius: 1rem; background: var(--brand); color: #fff; padding: .875rem 1.5rem; font-size: .875rem; font-weight: 600; transition: all .3s; box-shadow: 0 0 0 0 rgba(254,80,0,.15); }
.cta-sprint:hover { background: var(--brand-deep); box-shadow: 0 0 0 8px rgba(254,80,0,.15); }
.cta-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; transition: color .2s; }
.cta-link:hover { color: var(--brand); }
.cta-link .chev { color: var(--brand); transition: transform .2s; }
.cta-link:hover .chev { transform: translateX(4px); }
.cta-journey { font-family: var(--display); font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 8px; transition: color .2s; }
.cta-journey:hover { color: var(--brand); }
.cta-final { display: inline-flex; border-radius: 1rem; background: var(--brand); color: #fff; padding: 1.25rem 2.25rem; font-size: 1.125rem; font-weight: 600; transition: all .3s; outline: 4px solid rgba(254,80,0,0); outline-offset: 4px; }
.cta-final:hover { background: var(--brand-deep); outline-color: rgba(254,80,0,.3); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 9rem 0 5rem; }
@media (min-width: 768px) { .hero { padding: 11rem 0 7rem; } }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at top right, black 20%, transparent 70%); mask-image: radial-gradient(ellipse at top right, black 20%, transparent 70%); }
.hero::after { content: ""; position: absolute; top: -8rem; right: -8rem; width: 28rem; height: 28rem; border-radius: 50%; background: rgba(254,80,0,.08); filter: blur(60px); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; margin-top: 1.25rem; }
.hero .lead { margin-top: 1.5rem; }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; align-items: center; } }
.hero-note { margin-top: 2.5rem; font-size: .875rem; color: rgba(91,100,114,.8); }
.hero-svg { width: 100%; max-width: 28rem; margin: 0 auto; }
@media (min-width: 1024px) { .hero-svg { max-width: none; } }
.rise { animation: rise .7s cubic-bezier(.22,1,.36,1) both; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: translateY(0); } }
.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.float-a { animation: floaty 7s ease-in-out infinite alternate; }
.float-b { animation: floaty 9s ease-in-out 1.2s infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .rise, .draw, .float-a, .float-b { animation: none; }
  .draw { stroke-dashoffset: 0; }
}

/* Cards / grids */
.grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem; transition: all .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(254,80,0,.4); box-shadow: 0 14px 30px rgba(18,21,28,.08); }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 3px rgba(18,21,28,.04); transition: box-shadow .2s; }
.quote-card:hover { box-shadow: 0 8px 22px rgba(18,21,28,.08); }
.quote-card .qm { font-family: var(--display); font-size: 1.875rem; font-weight: 700; line-height: 1; color: rgba(254,80,0,.35); }
.quote-card p { margin-top: .25rem; font-weight: 500; }
.after-grid { margin-top: 2.5rem; color: var(--slate); }
.link-inline { font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-color: rgba(254,80,0,.4); text-underline-offset: 4px; }
.link-inline:hover { text-decoration-color: var(--brand); }
.card .num { font-family: var(--display); font-size: .875rem; font-weight: 700; color: var(--brand); }
.card h3 { margin-top: .75rem; font-size: 1.125rem; line-height: 1.35; }
.card .d { margin-top: .75rem; font-size: .875rem; color: var(--slate); }

/* Comparison */
.compare { margin-top: 3rem; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(18,21,28,.04); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head { background: var(--mist); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 640px) { .compare-head { font-size: .875rem; } }
.compare-head div { padding: 1rem 1.25rem; color: var(--slate); }
.compare-head div:last-child { color: var(--brand); }
.compare-row { border-top: 1px solid var(--line); background: #fff; }
.compare-row div { padding: 1rem 1.25rem; display: flex; gap: .625rem; align-items: flex-start; }
.compare-row div:first-child { color: var(--slate); }
.compare-row div:last-child { font-weight: 500; }
.x { color: var(--line); } .ok { color: var(--brand); }

/* Método */
.steps { position: relative; margin-top: 3.5rem; }
.steps-line { display: none; }
@media (min-width: 1024px) {
  .steps-line { display: block; position: absolute; left: 0; top: 1.5rem; width: 100%; height: 2px; }
}
.steps ol { list-style: none; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .steps ol { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }
.steps li { position: relative; padding-left: 4rem; }
@media (min-width: 1024px) { .steps li { padding-left: 0; padding-top: 3.5rem; } }
.steps .n { position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--brand); background: #fff; font-family: var(--display); font-weight: 700; font-size: .875rem; color: var(--brand); box-shadow: 0 1px 4px rgba(18,21,28,.06); }
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: .5rem; font-size: .875rem; color: var(--slate); }
.method-next { margin-top: 3.5rem; }
.method-next a { font-family: var(--display); font-size: 1.125rem; font-weight: 500; display: inline-flex; gap: .5rem; align-items: center; transition: color .2s; }
.method-next a:hover { color: var(--brand); }

/* Productos */
.prod-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } .prod-featured { grid-row: span 2; } }
.prod-featured { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--brand); border-radius: 1.5rem; padding: 2rem; box-shadow: 0 18px 40px rgba(254,80,0,.10); }
.badge { position: absolute; top: -0.875rem; left: 2rem; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; padding: .25rem .75rem; }
.prod-featured h3 { margin-top: .5rem; font-size: 1.5rem; line-height: 1.3; }
.prod-featured .desc { margin-top: 1rem; color: var(--slate); }
.prod-featured .pain { margin-top: 1rem; font-size: .875rem; font-style: italic; color: rgba(91,100,114,.8); }
.prod-featured .inc { margin-top: 1rem; font-size: .875rem; color: var(--slate); }
.prod-featured .spacer { margin-top: auto; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.75rem; transition: all .2s; }
.prod-card:hover { transform: translateY(-4px); border-color: rgba(254,80,0,.4); box-shadow: 0 14px 30px rgba(18,21,28,.08); }
.prod-card h3 { font-size: 1.125rem; line-height: 1.35; }
.prod-card .desc { margin-top: .75rem; font-size: .875rem; color: var(--slate); }
.prod-card .pain { margin-top: .75rem; font-size: .75rem; font-style: italic; color: rgba(91,100,114,.75); }
.prod-card .spacer { margin-top: auto; }

/* Accordions */
.acc { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .75rem; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.5rem; box-shadow: 0 1px 3px rgba(18,21,28,.04); }
.acc details[open] { border-color: rgba(254,80,0,.4); box-shadow: 0 8px 22px rgba(18,21,28,.08); }
.acc summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc .stepnum { flex-shrink: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(254,80,0,.1); color: var(--brand); font-size: .875rem; font-family: var(--body); font-weight: 600; }
.acc .plus { margin-left: auto; font-size: 1.25rem; color: var(--slate); transition: transform .25s; }
.acc details[open] .plus { transform: rotate(45deg); }
.acc .body { margin-top: .75rem; color: var(--slate); padding-left: 3rem; }
.acc.faq .body { padding-left: 0; }
.acc.faq summary { justify-content: space-between; }

/* Casos IA */
.ia-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; transition: border-color .2s; }
.ia-card:hover { border-color: rgba(47,111,237,.6); }
.dot-ia { display: inline-block; width: .625rem; height: .625rem; border-radius: 50%; background: var(--signal); }
.ia-card h3 { margin-top: .75rem; font-size: 1rem; }
.ia-card p { margin-top: .5rem; font-size: .875rem; color: var(--slate); }

/* Claims */
.claims { display: flex; flex-direction: column; gap: 3.5rem; max-width: 60rem; margin: 0 auto; }
.claims p { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; }
.claims p:nth-child(even) { padding-left: 0; }
@media (min-width: 768px) { .claims p:nth-child(even) { padding-left: 6rem; } }
.claims .slash { color: var(--brand); margin-right: 1rem; }

/* Historia */
.hitos { list-style: none; margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .hitos { grid-template-columns: repeat(5, 1fr); } }
.hitos li { border-top: 2px solid var(--line); padding-top: 1.25rem; transition: border-color .2s; }
.hitos li:hover { border-color: var(--brand); }
.hitos .year { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.hitos p { margin-top: .5rem; font-size: .875rem; color: var(--slate); }

/* Confianza */
.adn-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 3px rgba(18,21,28,.04); }
.adn-card .bar { display: inline-block; width: 2rem; height: .375rem; border-radius: 999px; background: var(--brand); }
.adn-card h3 { margin-top: .75rem; font-size: 1rem; }
.adn-card p { margin-top: .375rem; font-size: .875rem; color: var(--slate); }
.stats { margin-top: 3.5rem; display: grid; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats dt { font-size: .875rem; color: var(--slate); }
.stats dd { margin-top: .25rem; font-family: var(--display); font-weight: 700; font-size: 2.25rem; }
.stats dd.sm { font-size: 1.5rem; line-height: 1.3; }

/* CTA final */
.final-wrap { padding: 5rem 1.25rem; }
@media (min-width: 768px) { .final-wrap { padding: 7rem 1.25rem; } }
.final-panel { position: relative; overflow: hidden; max-width: 72rem; margin: 0 auto; background: var(--ink); border-radius: 2.5rem; padding: 4rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .final-panel { padding: 6rem 4rem; } }
.final-panel svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.final-panel h2 { position: relative; color: #fff; font-size: clamp(1.875rem, 4.5vw, 3rem); max-width: none; }
.final-panel .sub { position: relative; margin-top: 1rem; font-size: 1.125rem; color: rgba(255,255,255,.65); }
.final-panel .ctarow { position: relative; margin-top: 2.5rem; }
.final-panel .alt { position: relative; margin-top: 2rem; font-size: .875rem; color: rgba(255,255,255,.45); }
.final-panel .alt a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 4px; }
.final-panel .alt a:hover { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .tagline { margin-top: 1rem; font-size: .875rem; color: var(--slate); max-width: 18rem; }
.site-footer h3 { font-family: var(--body); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.site-footer ul { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .625rem; }
.site-footer ul a { font-size: .875rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--brand); }
.footer-legal { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .75rem; color: var(--slate); }

/* Fixes v1.1 */
@media (min-width: 1024px) { .menu-btn { display: none; } }
.wordmark .i svg { top: -0.55em; width: 0.62em; }
