/* ============================================================
   Sirvo · sistema de diseño compartido
   Paleta Terracota & Crema · tipografía Manrope
   ============================================================ */
:root {
  --terracotta: #C24A28;
  --terracotta-dark: #A83C1E;
  --ink: #1A1613;
  --ink-soft: #4B443D;
  --text: #3D3733;
  --text2: #7A736C;
  --cream: #FBF8F4;
  --paper: #FFFFFF;
  --sand: #F1EAE0;
  --sand-2: #E9DFD1;
  --divider: #E7DED2;
  --success: #2F7D5B;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --shadow-sm: 0 1px 2px rgba(26,22,19,.04), 0 8px 24px rgba(26,22,19,.05);
  --shadow-md: 0 18px 48px rgba(26,22,19,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- tipografía ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px;
}
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--text2); max-width: 560px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 16px rgba(194,74,40,.28); }
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: 0 10px 22px rgba(194,74,40,.32); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--divider); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16.5px; border-radius: 14px; }

/* ---------- navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,244,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner { display: flex; align-items: center; height: 72px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 10px rgba(194,74,40,.25); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--text2); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--terracotta); border-radius: 2px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { text-decoration: none; color: var(--text2); font-weight: 600; font-size: 15px; }
.nav-login:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- íconos de línea ---------- */
.ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); color: var(--terracotta); flex-shrink: 0;
}
.ico svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 40px; height: 40px; border-radius: 11px; }
.ico-sm svg { width: 21px; height: 21px; }

/* ---------- tarjetas ---------- */
.card { background: var(--paper); border: 1px solid var(--divider); border-radius: var(--radius-lg); padding: 30px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-2); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--text2); font-size: 15px; }
.tag { display: inline-block; background: var(--sand); color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 8px; margin-left: 7px; vertical-align: middle; }

/* ---------- listas con check ---------- */
.checks { display: grid; gap: 12px; }
.checks li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.checks li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke: var(--success); stroke-width: 2.2; fill: none; }

/* ---------- pie ---------- */
.footer { background: var(--ink); color: rgba(251,248,244,.6); margin-top: 40px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 13px; }
.footer-brand .fname { color: #fff; font-size: 21px; font-weight: 800; margin: 12px 0 6px; letter-spacing: -0.02em; }
.footer-brand p { font-size: 13.5px; max-width: 250px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 15px; }
.footer-col a { display: block; color: rgba(251,248,244,.6); text-decoration: none; font-weight: 600; font-size: 14.5px; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(251,248,244,.12); padding: 20px 0 30px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

/* ---------- animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ============================================================
   HERO (inicio)
   ============================================================ */
.hero { padding: 76px 0 84px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .kicker-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pill-soft { display: inline-flex; align-items: center; gap: 7px; background: var(--sand); color: var(--terracotta); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; padding: 7px 14px; border-radius: 30px; }
.hero h1 em { font-style: normal; color: var(--terracotta); }
.hero .lead { margin: 22px 0 30px; }
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 15px; font-size: 13.5px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; stroke: var(--success); stroke-width: 2.2; fill: none; }

/* maqueta de teléfono */
.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-panel { position: absolute; inset: 8% -6% 8% 10%; background: var(--sand); border-radius: 40px; z-index: 0; }
.phone {
  position: relative; z-index: 2; width: 300px; height: 606px; background: #fff;
  border-radius: 46px; border: 9px solid var(--ink); box-shadow: var(--shadow-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-top { background: #fff; padding: 30px 22px 16px; border-bottom: 1px solid var(--divider); text-align: center; }
.phone-top h4 { font-size: 19px; }
.phone-top p { font-size: 12.5px; color: var(--text2); font-weight: 600; margin-top: 2px; }
.phone-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 13px; background: var(--cream); }
.alert { background: #fff; border: 1px solid var(--divider); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow-sm); opacity: 0; animation: pop .5s cubic-bezier(.16,1,.3,1) forwards; }
.alert:nth-child(1) { animation-delay: .3s; } .alert:nth-child(2) { animation-delay: .8s; } .alert:nth-child(3) { animation-delay: 1.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.alert .a-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.alert .a-ico svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.alert.call .a-ico { background: #FDEEE8; color: var(--terracotta); }
.alert.pay .a-ico { background: #E7F3EC; color: var(--success); }
.alert.new .a-ico { background: #E7EEF6; color: #2C69B0; }
.alert strong { font-size: 14.5px; color: var(--ink); display: block; }
.alert span { font-size: 12.5px; color: var(--text2); }
.float-badge { position: absolute; z-index: 3; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--divider); border-radius: 100px; padding: 11px 18px; font-weight: 800; font-size: 13.5px; color: var(--ink); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 9px; white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.float-badge svg { width: 17px; height: 17px; stroke: var(--terracotta); stroke-width: 2; fill: none; }
.float-badge.fb1 { top: 54px; left: -34px; } .float-badge.fb2 { bottom: 120px; right: -30px; animation-delay: 2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- banda de confianza ---------- */
.trust { border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); background: var(--paper); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 26px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--text); }
.trust-item svg { width: 20px; height: 20px; stroke: var(--terracotta); stroke-width: 1.8; fill: none; }

/* ---------- pasos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { position: relative; }
/* Numeral editorial en lugar del recuadro negro: más ligero y menos genérico */
.step .step-n {
  font-size: 34px; font-weight: 800; color: var(--terracotta);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 4px;
}
.step .step-n::after {
  content: ''; display: block; width: 28px; height: 3px;
  background: var(--terracotta); border-radius: 2px; margin-top: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text2); font-size: 15px; }

/* ---------- banda eficiencia / procesos / IA ---------- */
.why-band { background: var(--sand); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.why-grid { margin-top: 48px; }
.why-item { text-align: left; }
.why-item .ico { width: 54px; height: 54px; background: var(--paper); box-shadow: var(--shadow-sm); }
.why-item h3 { margin: 20px 0 10px; }
.why-item p { color: var(--text2); font-size: 15.5px; line-height: 1.6; }

/* ---------- banda sidecar ---------- */
.sidecar { background: var(--ink); border-radius: var(--radius-lg); padding: 54px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.sidecar .eyebrow { color: #E8865F; }
.sidecar h2 { color: #fff; }
.sidecar p { color: rgba(251,248,244,.72); font-size: 16.5px; margin-top: 14px; }
.sidecar .checks li { color: #fff; font-weight: 600; }
.sidecar .checks li svg { stroke: #E8865F; }

/* ---------- CTA franja ---------- */
.cta-band { background: var(--terracotta); border-radius: var(--radius-lg); padding: 62px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; margin: 12px auto 28px; max-width: 520px; }
.cta-band .btn { background: #fff; color: var(--terracotta); }
.cta-band .btn:hover { background: var(--cream); }

/* ============================================================
   PRECIOS
   ============================================================ */
.plans { display: grid; grid-template-columns: 1fr 1.12fr; gap: 24px; max-width: 820px; margin: 0 auto; align-items: stretch; }
/* un solo plan: tarjeta centrada y más contenida */
.plans-single { grid-template-columns: 1fr; max-width: 470px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--terracotta); box-shadow: 0 24px 60px rgba(194,74,40,.16); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--success); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 20px; white-space: nowrap; }
.plan h3 { font-size: 18px; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 2px; color: var(--ink); }
.price .old { text-decoration: line-through; color: #B7ADA1; font-size: 26px; margin-right: 8px; }
.price small { font-size: 15px; font-weight: 600; color: var(--text2); letter-spacing: 0; }
.price-sub { color: var(--text2); font-size: 13.5px; margin-bottom: 20px; }
.plan .checks { margin: 4px 0 26px; }
.plan .checks li { font-size: 14.5px; }
.plan .btn { width: 100%; margin-top: auto; }
.founder-note { margin: 26px auto 0; max-width: 640px; text-align: center; background: var(--sand); border-radius: var(--radius); padding: 16px 22px; font-weight: 600; font-size: 15px; color: var(--text); }
.free-note { margin: 16px auto 0; max-width: 640px; text-align: center; font-size: 15px; color: var(--text2); }
.free-note b { color: var(--ink); }
.free-note a { color: var(--terracotta); font-weight: 800; text-decoration: none; white-space: nowrap; }
.free-note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--divider); }
.qa button { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 4px; font-family: inherit; font-size: 17px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa button svg { width: 22px; height: 22px; stroke: var(--terracotta); stroke-width: 2; fill: none; flex-shrink: 0; transition: transform .25s; }
.qa.open button svg { transform: rotate(45deg); }
.qa .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa.open .a { max-height: 340px; }
.qa .a p { padding: 0 4px 22px; color: var(--text2); font-size: 15.5px; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius-lg); }
.values { display: grid; gap: 16px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value h3 { margin-bottom: 5px; }
.value p { color: var(--text2); font-size: 15px; }
.founder-card { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.founder-card img { width: 300px; height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.founder-card .role { color: var(--terracotta); font-weight: 800; font-size: 16px; margin: 4px 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery img { height: 220px; width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact-info .checks { margin-top: 24px; }
.form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; color: var(--ink); }
.field label small { color: var(--text2); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--divider); border-radius: 12px; padding: 13px 15px; width: 100%; outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { font-size: 15px; font-weight: 700; display: none; border-radius: 12px; padding: 13px 16px; }
.form-status.ok { display: block; background: #E7F3EC; color: var(--success); }
.form-status.err { display: block; background: #FBEAE7; color: #B3261E; }

/* botón flotante */
.chat-float { position: fixed; bottom: 22px; right: 22px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 26px rgba(194,74,40,.42); }
.chat-float svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 1.9; fill: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--cream); border-bottom: 1px solid var(--divider); padding: 8px 24px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--divider); }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-right .nav-login { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .phone-wrap { margin-top: 20px; }
  .grid-3, .grid-2, .steps, .plans, .sidecar, .about-grid, .founder-card, .contact-grid, .gallery { grid-template-columns: 1fr; }
  .founder-card img, .about-grid img { max-width: 340px; }
  .sidecar { padding: 36px 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .footer-main { grid-template-columns: 1fr; }
  .trust-inner { gap: 20px; }
}
