/* ═══════════════════════════════════════════════════
   Innotecno · Design System 2026
   Shared base — import in every page
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:          #F5F7F2;
  --surface:     #FFFFFF;
  --surface-2:   #EEF2E8;
  --ink:         #3E3E3E;
  --ink-2:       #616161;
  --ink-3:       #B3B3B3;
  --green:       #508927;   /* verde primario — oscuro de marca */
  --green-2:     #3d6b1e;   /* hover / activo */
  --green-dim:   rgba(80,137,39,.12);
  --green-dark:  #3d6b1e;   /* verde más oscuro — hover secundario */
  --green-bright:#82D41B;   /* lima original — solo decorativo / logo */
  --teal:        #508927;   /* alias → verde primario */
  --teal-2:      #3d6b1e;
  --teal-dim:    rgba(80,137,39,.12);
  --amber:       #508927;   /* alias → verde primario (CTAs secundarios) */
  --amber-2:     #3d6b1e;
  --amber-dim:   rgba(80,137,39,.10);
  --border:      #D8E4C8;
  --border-2:    #C0D0A8;
  --serif:       'Montserrat', system-ui, sans-serif;
  --sans:        'Montserrat', system-ui, sans-serif;
  --max:         1080px;
  --nav:         62px;
  --r:           6px;
  --r-lg:        14px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink);
       line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
       font-feature-settings: "kern" 1; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── LAYOUT ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── TYPE SCALE ── */
.display {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.06; letter-spacing: -.015em; color: var(--ink);
}
.display em { font-style: italic; }
.h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15; letter-spacing: -.01em; color: var(--ink);
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25; color: var(--ink);
}
.body-lg { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.body    { font-size: 15px; line-height: 1.7;  color: var(--ink-2); }
.small   { font-size: 13px; color: var(--ink-3); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 13px 24px; border-radius: var(--r);
  cursor: pointer; border: none; transition: all .18s;
  line-height: 1; white-space: nowrap;
}
.btn-teal   { background: var(--green); color: #fff; font-weight: 600; }
.btn-teal:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-amber  { background: var(--green-dark); color: #fff; font-weight: 600; }
.btn-amber:hover { background: #3d6b1e; transform: translateY(-1px); }
.btn-ghost  { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn-wa     { background: #075E54; color: #fff; }
.btn-wa:hover { background: #128C7E; transform: translateY(-1px); }
.icon-wa { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ── LIVE INDICATOR ── */
.live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--green);
  background: var(--green-dim); padding: 4px 10px; border-radius: 100px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.25 } }

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav);
  background: rgba(245,247,242,.95); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 1px; line-height: 1;
}
.nav__logo img { height: 30px; width: auto; display: block; }
.nav__logo-accent { display: none; } /* legacy — oculto con logo real */
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__act { display: flex; gap: 10px; align-items: center; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3);
  padding-top: calc(var(--nav) + 28px); margin-bottom: 40px;
}
.breadcrumb a { color: var(--teal); transition: opacity .15s; }
.breadcrumb a:hover { opacity: .75; }
.breadcrumb-sep { color: var(--border-2); }

/* ── PAGE HERO ── */
.page-hero { padding-top: 0; padding-bottom: 80px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.page-hero__copy { max-width: 520px; }
.page-hero__pill {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: var(--teal-dim); color: var(--teal);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 20px;
}
.page-hero__h1 { margin-bottom: 20px; }
.page-hero__sub { margin-bottom: 32px; }
.page-hero__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero__svg {
  border-radius: var(--r-lg); overflow: hidden;
}

/* ── SECTION HEADERS ── */
.sec-kicker { font-size: 13px; font-weight: 500; color: var(--teal); margin-bottom: 12px; }
.sec-head { margin-bottom: 48px; }
.sec-head .h2 { margin-bottom: 14px; }
.sec-head .body-lg { max-width: 560px; }

/* ── FEATURE GRID ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
}
.feat-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--teal-dim); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-title { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.feat-desc  { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ── TWO-COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col--rev .two-col__vis { order: -1; }

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}
.check-dot {
  flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green-dim);
  display: flex; align-items: center; justify-content: center;
}
.check-dot svg { width: 10px; height: 10px; }

/* ── PROCESS STRIP ── */
.process-strip { background: var(--surface-2); padding: 80px 0; }
.steps-h { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; counter-reset: stp; }
.stp {
  padding-right: 32px; counter-increment: stp;
  position: relative;
}
.stp:not(:last-child)::after {
  content: ''; position: absolute; top: 18px; right: 0;
  width: 32px; height: 1px; background: var(--border);
}
.stp__n {
  font-size: 11px; font-weight: 600; color: var(--teal);
  letter-spacing: .08em; margin-bottom: 12px;
}
.stp__n::before { content: counter(stp, decimal-leading-zero); }
.stp__title { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.stp__body  { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* ── PRICING ── */
.pricing { padding: 80px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
}
.plan--featured { border-color: var(--teal); position: relative; }
.plan--featured::before {
  content: 'Más popular'; position: absolute; top: -11px; left: 32px;
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 12px; border-radius: 100px; letter-spacing: .04em;
}
.plan__name { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.plan__price { font-size: 32px; font-weight: 600; color: var(--amber); line-height: 1; margin-bottom: 4px; }
.plan__price span { font-size: 15px; color: var(--ink-3); font-weight: 400; }
.plan__desc { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.plan__sep { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.plan__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan__feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); }

/* ── FAQ ── */
.faq-sec { padding: 80px 0; }
.faq__list { max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  transition: color .15s;
}
.faq-q:hover { color: var(--teal); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-3); transition: all .25s; line-height: 1;
}
.faq-item.open .faq-icon { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(45deg); }
.faq-a { font-size: 14px; color: var(--ink-2); line-height: 1.72; max-width: 600px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--ink); padding: 80px 0; text-align: center;
}
.cta-banner__h { font-family: var(--serif); font-style: italic;
  font-size: clamp(28px,4vw,48px); color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.cta-banner__sub { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 36px; }
.cta-banner__acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 60px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand-name { margin-bottom: 10px; }
.footer__brand-name img { height: 26px; width: auto; display: block; }
.footer__brand-desc { font-size: 14px; color: var(--ink-3); line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.footer-col ul a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-legal { font-size: 13px; color: var(--ink-3); }
.footer-legal a { transition: color .15s; }
.footer-legal a:hover { color: var(--ink-2); }

/* ── ANIMATIONS ── */
@keyframes up { from { opacity:0; transform:translateY(18px) } to { opacity:1; transform:translateY(0) } }
.ani-up { animation: up .5s .1s ease both; }
.ani-up-2 { animation: up .5s .22s ease both; }
.ani-up-3 { animation: up .5s .34s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid  { grid-template-columns: 1fr 1fr; }
  .two-col    { grid-template-columns: 1fr; gap: 48px; }
  .two-col--rev .two-col__vis { order: 0; }
  .steps-h    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stp::after { display: none; }
  .plans      { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__act .btn-ghost { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 600px) {
  .feat-grid  { grid-template-columns: 1fr; }
  .steps-h    { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; }
}
