/* ============================================================
   CIFRA — Main Stylesheet
   Brand: Navy #0B1F3A | Teal #0FB6A8
   Font: Inter
   ============================================================ */

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatGlow {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.18) translate(var(--glow-x,20px), var(--glow-y,-20px)); }
}
@keyframes subtlePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%      { box-shadow: 0 0 0 10px rgba(255,255,255,.08); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes rippleOut {
  from { width: 0; height: 0; opacity: .5; transform: translate(-50%,-50%); }
  to   { width: 260px; height: 260px; opacity: 0; transform: translate(-50%,-50%); }
}
@keyframes agentPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Hero entrance ── */
.hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-pill        { animation-delay: 0.05s; }
.hero h1          { animation-delay: 0.18s; }
.hero-sub         { animation-delay: 0.32s; }
.hero-checks      { animation-delay: 0.44s; }
.hero-btns        { animation-delay: 0.56s; }
.hero-visual .dash-card {
  opacity: 0;
  animation: fadeInRight 0.8s 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ── Page-hero entrance ── */
.page-hero .page-hero-pill { opacity: 0; animation: fadeInDown 0.55s 0.05s ease forwards; }
.page-hero h1               { opacity: 0; animation: fadeInUp  0.7s  0.18s cubic-bezier(0.22,1,0.36,1) forwards; }
.page-hero .lead            { opacity: 0; animation: fadeInUp  0.6s  0.32s ease forwards; }
.page-hero .btn             { opacity: 0; animation: fadeInUp  0.6s  0.46s ease forwards; }

/* ── Scroll-triggered fade-up ── */
.will-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.will-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero background floating glow ── */
.hero::before {
  animation: floatGlow 9s ease-in-out infinite alternate;
  transition: transform 0.4s ease;
}
.hero::after {
  animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

/* ── Gradient animated text on .hero h1 em ── */
.hero h1 em {
  background: linear-gradient(90deg, #0FB6A8 0%, #7ee8e0 40%, #0FB6A8 60%, #0a9e91 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  font-style: normal;
}

/* ── Teal underline reveal on section titles ── */
.section-title { position: relative; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 48px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s 0.2s cubic-bezier(0.22,1,0.36,1);
}
.center .section-title::after { left: 50%; transform: scaleX(0) translateX(-50%); }
.title-revealed::after { transform: scaleX(1); }
.center .title-revealed::after { transform: scaleX(1) translateX(-50%); }

/* ── CTA band button pulse ── */
.cta-band .btn-white { animation: subtlePulse 3.2s ease-in-out infinite; }

/* ── Nav underline slide ── */
.site-nav a { position: relative; }
.site-nav a::after {
  content: ''; position: absolute; bottom: 3px; left: 13px; right: 13px;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.24s ease; border-radius: 2px;
}
.site-nav a:hover::after, .site-nav a.current::after { transform: scaleX(1); }

/* ── Spring card hover (override flat .25s) ── */
.pain-card, .ac, .price-card, .benefit-card, .df,
.rec-card, .recurso-card, .formula-agent, .channel {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

/* ── Stat tile spring hover ── */
.stat-tile {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease;
}
.stat-tile:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(11,31,58,.14); }

/* ── Dashboard task text transition (JS toggles opacity/transform) ── */
.agent-row-task { transition: opacity 0.24s ease, transform 0.24s ease; }

/* ── Agent live dot pulse ── */
.live-dot { animation: agentPulse 1.6s ease-in-out infinite; }

/* ── Step numbers scale on hover ── */
.step:hover .step-num { transform: scale(1.12) rotate(-3deg); transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1); }

/* ── Formula agent icon float ── */
.formula-agent:hover .fa-icon { transform: translateY(-4px) scale(1.05); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── Ripple effect on buttons ── */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.25);
  pointer-events: none;
  animation: rippleOut 0.6s ease forwards;
}

/* ── Page hero eyebrow pill shimmer border ── */
.page-hero-pill {
  background: linear-gradient(90deg, rgba(15,182,168,.15) 0%, rgba(15,182,168,.28) 50%, rgba(15,182,168,.15) 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* ── Hero check icon bounce ── */
.hero-check-icon {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-check:hover .hero-check-icon { transform: scale(1.25); }

/* ── Agent card icon rotate on hover ── */
.ac:hover .ac-icon .ms { transform: rotate(-8deg) scale(1.1); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.ac-icon .ms { transition: transform 0.25s ease; display: inline-block; }

/* ── Benefit card icon bounce ── */
.benefit-card:hover .benefit-icon .ms { transform: translateY(-4px) scale(1.1); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.benefit-icon .ms { transition: transform 0.25s ease; display: inline-block; }

/* ── Pain card icon pulse color on hover ── */
.pain-card:hover .pain-icon { background: var(--teal); transition: background 0.3s ease; }
.pain-card:hover .pain-icon .ms { color: #fff; transition: color 0.3s ease; }

/* ── Recipe for staggered items (JS sets delay inline) ── */
/* Just ensure transition works with delay */
.pain-grid .pain-card,
.agents-5 .ac,
.pricing-grid .price-card,
.benefits-grid .benefit-card,
.despacho-grid .df,
.rec-grid .rec-card,
.recursos-grid .recurso-card {
  transition-delay: var(--delay, 0s);
}

/* ── Smooth magnetic button ── */
.btn { transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }

/* ── Dashboard card entrance glow ── */
.dash-card {
  box-shadow: 0 0 0 1px rgba(15,182,168,.2);
  transition: box-shadow 0.4s ease;
}
.dash-card:hover { box-shadow: 0 0 32px rgba(15,182,168,.18), 0 0 0 1px rgba(15,182,168,.3); }

/* ── Footer links slide ── */
.footer-col ul a { display: inline-block; transition: transform 0.22s ease, color 0.2s ease; }
.footer-col ul a:hover { transform: translateX(4px); }

/* ── Plan card hot glow pulse ── */
.price-card.hot {
  animation: hotCardGlow 3s ease-in-out infinite;
}
@keyframes hotCardGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(15,182,168,.15); }
  50%      { box-shadow: 0 0 0 3px rgba(15,182,168,.35), 0 8px 32px rgba(15,182,168,.15); }
}

/* ── Recursos category header icon spin on hover ── */
.rec-section:hover .rec-cat-icon .ms { transform: rotate(8deg) scale(1.08); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.rec-cat-icon .ms { transition: transform 0.25s ease; display: inline-block; }

/* ── Newsletter input focus glow ── */
.nl-input { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.nl-input:focus { box-shadow: 0 0 0 3px rgba(15,182,168,.2); }

/* ── Contact channel slide-in icon ── */
.channel-icon .ms { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); display: inline-block; }
.channel:hover .channel-icon .ms { transform: scale(1.2) rotate(-6deg); }

:root {
  --navy: #0B1F3A;
  --teal: #0FB6A8;
  --teal-dark: #0A9E91;
  --teal-light: rgba(15,182,168,0.12);
  --white: #FFFFFF;
  --bg-light: #F4F7FA;
  --text-gray: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(11,31,58,0.1);
  --shadow-lg: 0 8px 40px rgba(11,31,58,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

/* Material Symbols */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 20px; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  vertical-align: middle; user-select: none;
}
.ms-lg { font-size: 32px; }
.ms-xl { font-size: 48px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font); }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,182,168,.15);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.site-logo a { display: flex; align-items: center; }
.site-logo svg { height: 38px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: 7px; transition: all .2s; white-space: nowrap;
}
.site-nav a:hover, .site-nav a.current { color: #fff; background: rgba(15,182,168,.15); }

.btn-demo {
  background: var(--teal); color: #fff !important; padding: 10px 20px !important;
  border-radius: 8px !important; font-weight: 700 !important; font-size: 14px !important;
  white-space: nowrap; transition: background .2s !important;
}
.btn-demo:hover { background: var(--teal-dark) !important; }

.nav-toggle {
  display: none; background: none; color: rgba(255,255,255,.8); font-size: 22px; padding: 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 700; font-size: 16px; font-family: var(--font);
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,182,168,.35); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-white { background: #fff; color: var(--teal); }
.btn-white:hover { background: #f0fefe; color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-outline-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline-w:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0d2847; color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ============================================================
   HERO — INICIO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 152px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -160px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(15,182,168,.13) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,182,168,.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,182,168,.15); border: 1px solid rgba(15,182,168,.3);
  color: var(--teal); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: #fff;
  line-height: 1.13; letter-spacing: -1px; margin-bottom: 22px;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.72; margin-bottom: 36px; max-width: 500px;
}
.hero-checks { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(255,255,255,.72); font-weight: 500;
}
.hero-check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(15,182,168,.22); display: flex; align-items: center;
  justify-content: center; color: var(--teal); font-size: 11px; flex-shrink: 0;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual card */
.hero-visual { display: flex; justify-content: center; }
.dash-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(15,182,168,.22);
  border-radius: 20px; padding: 28px; width: 100%; max-width: 420px;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.dash-title { font-size: 14px; font-weight: 700; color: #fff; }
.live-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--teal);
  background: rgba(15,182,168,.12); border: 1px solid rgba(15,182,168,.25);
  padding: 4px 10px; border-radius: 100px;
}
.live-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.agent-rows { display: flex; flex-direction: column; gap: 10px; }
.agent-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; background: rgba(255,255,255,.05);
  border-radius: 10px; border: 1px solid rgba(255,255,255,.07);
}
.agent-row-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(15,182,168,.15); display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.agent-row-info { flex: 1; min-width: 0; }
.agent-row-name { font-size: 12px; font-weight: 600; color: #fff; }
.agent-row-task { font-size: 11px; color: rgba(255,255,255,.45); }
.agent-row-status { font-size: 18px; }

.dash-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; }
.dash-footer-label { font-size: 11px; color: rgba(255,255,255,.45); }
.dash-footer-value { font-size: 13px; font-weight: 700; color: var(--teal); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.center .section-eyebrow { justify-content: center; }
.center .section-eyebrow::before { display: none; }

.section-title {
  font-size: clamp(26px, 3.8vw, 42px); font-weight: 800;
  color: var(--navy); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 14px;
}
.section-title.wh { color: #fff; }
.section-desc {
  font-size: 17px; color: var(--text-gray); line-height: 1.75; max-width: 580px; margin-bottom: 56px;
}
.section-desc.wh { color: rgba(255,255,255,.7); }
.center { text-align: center; }
.center .section-desc { margin: 0 auto 56px; }

.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }
.bg-teal { background: var(--teal); }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: all .25s; position: relative; overflow: hidden;
}
.pain-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pain-card:hover::after { transform: scaleX(1); }
.pain-icon {
  width: 50px; height: 50px; background: var(--teal-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.pain-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pain-card p { font-size: 14.5px; color: var(--text-gray); line-height: 1.65; }

/* ============================================================
   AI AGENTS STRIP
   ============================================================ */
.agents-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 40px; }
.ac {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: all .25s;
}
.ac:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ac-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: var(--teal-light); border-radius: 14px;
  border: 1px solid rgba(15,182,168,.2);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.ac h3 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ac p { font-size: 12px; color: var(--text-gray); line-height: 1.5; }
.ac-tag {
  display: inline-block; margin-top: 10px;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px; letter-spacing: .4px;
}
.human-bar {
  display: flex; align-items: center; gap: 20px;
  background: var(--navy); border-radius: 14px; padding: 22px 28px;
}
.human-avatars {
  display: flex; flex-shrink: 0;
}
.human-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(15,182,168,.2); border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: rgba(255,255,255,.9);
}
.ha-2 { margin-left: -12px; background: rgba(15,182,168,.13); border-color: rgba(15,182,168,.5); }
.ha-3 { margin-left: -12px; background: rgba(15,182,168,.07); border-color: rgba(15,182,168,.3); }
.human-label h4 { font-size: 15px; font-weight: 700; color: #fff; }
.human-label p { font-size: 12.5px; color: rgba(255,255,255,.55); }
.human-motto {
  margin-left: auto; background: rgba(15,182,168,.12);
  border: 1px solid rgba(15,182,168,.25); border-radius: 10px;
  padding: 10px 20px; text-align: center;
}
.human-motto p { font-size: 11.5px; color: rgba(255,255,255,.6); }
.human-motto strong { font-size: 14px; color: var(--teal); display: block; margin-top: 3px; }

/* ============================================================
   HOW IT WORKS — Two column
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col.flip { }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; background: var(--teal); color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; flex-shrink: 0;
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--text-gray); line-height: 1.65; }

.stats-box { background: var(--bg-light); border-radius: 20px; padding: 28px; border: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-tile {
  background: #fff; border-radius: 12px; padding: 20px;
  border: 1px solid var(--border); text-align: center;
}
.stat-tile .val { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-tile .lbl { font-size: 12px; color: var(--text-gray); margin-top: 5px; }
.stat-tile.accent { background: var(--navy); border-color: var(--navy); }
.stat-tile.accent .val { color: var(--teal); }
.stat-tile.accent .lbl { color: rgba(255,255,255,.55); }
.stat-tagline { margin-top: 18px; padding: 16px 20px; background: var(--navy); border-radius: 12px; text-align: center; }
.stat-tagline p { font-size: 14px; font-style: italic; color: rgba(255,255,255,.75); line-height: 1.55; }
.stat-tagline strong { color: var(--teal); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 26px;
  position: relative; transition: all .25s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.hot {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,182,168,.15);
  transform: scale(1.03);
}
.hot-label {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap; letter-spacing: .4px;
}
.plan-eyebrow { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; }
.plan-name { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.plan-tagline { font-size: 13.5px; color: var(--text-gray); margin-bottom: 22px; line-height: 1.5; }
.plan-price { margin-bottom: 24px; }
.plan-from { font-size: 12px; color: var(--text-gray); }
.plan-amount { display: flex; align-items: flex-end; gap: 3px; }
.plan-amount .curr { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.plan-amount .num { font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; }
.plan-amount .period { font-size: 13px; color: var(--text-gray); margin-bottom: 6px; }
.plan-feats { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.pf { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-gray); line-height: 1.4; }
.pf .ck { color: var(--teal); flex-shrink: 0; font-size: 14px; margin-top: 1px; }
.plan-btn { display: block; width: 100%; padding: 13px; text-align: center; border-radius: 10px; font-weight: 700; font-size: 15px; font-family: var(--font); transition: all .2s; cursor: pointer; border: none; }
.plan-btn-primary { background: var(--teal); color: #fff; }
.plan-btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.plan-btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.plan-btn-outline:hover { background: var(--teal); color: #fff; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-band { background: var(--teal); padding: 80px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -.5px; }
.contact-info .lead { font-size: 16.5px; color: var(--text-gray); line-height: 1.72; margin-bottom: 32px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; transition: all .2s; text-decoration: none; color: inherit;
}
.channel:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); color: inherit; }
.channel-icon {
  width: 42px; height: 42px; background: var(--teal-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.channel strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.channel span { font-size: 12.5px; color: var(--text-gray); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 38px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 11px 15px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: var(--font);
  color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s; outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,182,168,.12);
}
.fg textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 700;
  background: var(--teal); color: #fff; border: none; border-radius: 10px;
  cursor: pointer; transition: all .2s; font-family: var(--font);
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.72; margin: 14px 0 22px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,.55); transition: all .2s;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,.52); transition: color .2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.38); }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--teal); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 760px; height: 360px;
  background: radial-gradient(ellipse, rgba(15,182,168,.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(15,182,168,.15); border: 1px solid rgba(15,182,168,.25);
  color: var(--teal); padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; color: #fff;
  line-height: 1.13; letter-spacing: -.75px; margin-bottom: 18px;
}
.page-hero h1 em { color: var(--teal); font-style: normal; }
.page-hero .lead {
  font-size: 17px; color: rgba(255,255,255,.68); max-width: 560px;
  margin: 0 auto 32px; line-height: 1.72;
}

/* ============================================================
   CONTA CON AI
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  padding: 26px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border); transition: all .2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.benefit-icon { font-size: 28px; margin-bottom: 12px; }
.benefit-card h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.benefit-card p { font-size: 13.5px; color: var(--text-gray); line-height: 1.6; }

/* ============================================================
   AGENTIC FORMULA
   ============================================================ */
.formula-list { display: flex; flex-direction: column; gap: 0; }
.formula-agent {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  padding: 44px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.formula-agent:last-child { border-bottom: none; }
.fa-icon {
  width: 68px; height: 68px; background: var(--teal-light);
  border: 1px solid rgba(15,182,168,.22); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.fa-body .sub { font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.fa-body h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.fa-body p { font-size: 15px; color: var(--text-gray); line-height: 1.72; margin-bottom: 14px; }
.task-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.task-tag { background: var(--bg-light); border: 1px solid var(--border); color: var(--navy); font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 100px; }

/* ============================================================
   PARA OTROS DESPACHOS
   ============================================================ */
.despacho-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.df {
  display: flex; gap: 14px; padding: 22px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); align-items: flex-start; transition: all .2s;
}
.df:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.df-icon { font-size: 26px; flex-shrink: 0; }
.df h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.df p { font-size: 13.5px; color: var(--text-gray); line-height: 1.58; }

/* ============================================================
   RECURSOS
   ============================================================ */
.recursos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.recurso-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: all .25s;
}
.recurso-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.recurso-thumb {
  height: 170px; display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.thumb-navy { background: linear-gradient(135deg, var(--navy), #1a3a6b); }
.thumb-teal { background: linear-gradient(135deg, #0a7a70, var(--teal)); }
.recurso-body { padding: 22px; }
.recurso-cat { font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.recurso-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.recurso-card p { font-size: 13.5px; color: var(--text-gray); line-height: 1.58; margin-bottom: 14px; }
.recurso-link { font-size: 13.5px; font-weight: 600; color: var(--teal); }
.recurso-link:hover { color: var(--teal-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-5 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.hot { transform: none; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .recursos-grid { grid-template-columns: repeat(2, 1fr); }
  .despacho-grid { grid-template-columns: 1fr; }
  .formula-agent { grid-template-columns: 1fr; gap: 16px; }
  .fa-icon { width: 52px; height: 52px; font-size: 22px; }
}
@media (max-width: 768px) {
  .site-nav, .btn-demo { display: none; }
  .nav-toggle { display: block; }
  .pain-grid { grid-template-columns: 1fr; }
  .agents-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .recursos-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .human-bar { flex-direction: column; text-align: center; }
  .human-motto { margin-left: 0; }
}

/* Mobile nav open */
.mnav-open .site-nav {
  display: flex; flex-direction: column; position: absolute;
  top: 72px; left: 0; right: 0;
  background: rgba(11,31,58,.99);
  padding: 12px 20px 20px;
  border-bottom: 1px solid rgba(15,182,168,.15);
}
.mnav-open .site-nav a { padding: 11px 14px; }
.mnav-open .btn-demo { display: block; margin: 10px 14px 0; text-align: center; padding: 12px 20px !important; }
