@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3_400Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3_600SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/SourceSans3_700Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --forest: #2F5D50;
  --sage: #8FA99B;
  --sage-soft: #E7EEE9;
  --cream: #FAF8F4;
  --sand: #EDE6DA;
  --clay: #9B5831;
  --ink: #24312C;
  --ink-soft: #5C6B65;
  --line: #DDD5C8;
  --white: #FFFFFF;
  --shadow: 0 4px 16px rgba(36, 49, 44, .07);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 'Source Sans 3', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: var(--forest); }
h1, h2, h3 { color: var(--forest); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 7vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 4.5vw, 34px); }
h3 { font-size: 20px; color: var(--ink); }
p { margin: 0 0 1em; }
.small { font-size: 15px; color: var(--ink-soft); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 16px; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap:not(.section) { padding-top: 48px; padding-bottom: 40px; }
.band-sage { background: var(--sage-soft); border-color: transparent; }

.btn { transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: var(--forest); color: var(--white); font: 600 18px 'Source Sans 3', sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #264d42; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn-secondary { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn-secondary:hover { background: var(--sage-soft); }
.btn[disabled] { opacity: .5; cursor: default; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 244, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.top-nav { display: flex; align-items: center; gap: 18px; }
.top-link { color: var(--forest); font-weight: 600; text-decoration: none; font-size: 16px; }
.top-link:hover { text-decoration: underline; }
.brand img { display: block; height: 32px; width: auto; }

.hero { padding: 48px 0 56px; background: radial-gradient(circle at 85% 20%, #DCE8E1 0, rgba(220,232,225,0) 45%), linear-gradient(180deg, var(--sage-soft), var(--cream)); overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-text { max-width: 640px; }
.hero-phone { display: flex; justify-content: center; }
.phone { width: 260px; border-radius: 40px; padding: 10px; background: var(--ink); box-shadow: 0 24px 60px rgba(36, 49, 44, .22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.hero-phone .phone { transform: rotate(3deg); }
.eyebrow { font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.lead { font-size: 21px; color: var(--ink); max-width: 640px; }
.hero-cta { margin-top: 28px; }
.hero-cta .small { margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--ink-soft); }
.num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; }
.ico { width: 24px; height: 24px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pillars { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: 1fr 1fr; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pillar svg { width: 32px; height: 32px; fill: var(--forest); margin-bottom: 8px; }
.pillar:nth-child(2) svg { fill: var(--sage); }
.pillar:nth-child(3) svg { fill: var(--clay); }
.pillar:nth-child(4) svg { fill: #6E8B7E; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.plans { display: grid; gap: 20px; margin-top: 24px; }
.plan { border-radius: var(--radius); padding: 28px; background: var(--cream); }
.plan-premium { background: var(--forest); color: var(--white); box-shadow: 0 16px 40px rgba(47, 93, 80, .25); }
.plan-premium h3, .plan-premium .price { color: var(--white); }
.plan-premium .per, .plan-premium .small { color: #D5E0DA; }
.plan-premium .btn-secondary { background: var(--white); border-color: var(--white); color: var(--forest); }
.plan-premium .btn-secondary:hover { background: var(--sage-soft); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan-premium li::before { background-color: rgba(255, 255, 255, .9); }
.price { font-size: 30px; font-weight: 700; color: var(--forest); margin-bottom: 12px; }
.per { font-size: 17px; font-weight: 400; color: var(--ink-soft); }
.tag { display: inline-block; background: var(--clay); color: var(--white); border-radius: 999px; padding: 2px 12px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.plan .btn { width: 100%; }
.plan .small { margin: 10px 0 0; text-align: center; }

.signup { max-width: 640px; scroll-margin-top: 72px; }
form { display: grid; gap: 14px; margin-top: 20px; }
label { font-weight: 600; font-size: 16px; }
input[type=email] { min-height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font: 400 18px 'Source Sans 3', sans-serif; background: var(--white); color: var(--ink); }
input[type=email][aria-invalid=true] { border: 2px solid var(--clay); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--forest); }
.msg { min-height: 1.5em; margin: 0; font-weight: 600; }
.msg.ok { color: var(--forest); }
.msg.err { color: var(--clay); }
.done { background: var(--sage-soft); border-radius: var(--radius); padding: 24px; }
.signup form { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.showcase .phones { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.showcase figure { margin: 0; text-align: center; }
.showcase .phone { width: 230px; }
.showcase figcaption { margin-top: 14px; font-weight: 600; color: var(--forest); }

.faq details { background: var(--white); box-shadow: var(--shadow); border-radius: 16px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 56px; display: flex; align-items: center; list-style-position: inside; }
.faq details p { color: var(--ink-soft); }

.foot { background: var(--forest); color: var(--white); padding: 40px 0; }
.foot a { color: var(--white); }
.foot .small { color: #D5E0DA; }
.foot-in { display: grid; gap: 4px; }
.foot img { margin-bottom: 8px; }

.legal { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h2 { font-size: 22px; margin-top: 1.6em; }

/* Blog */
.blog { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.blog h1 { margin-bottom: 12px; }
.blog .eyebrow a { color: inherit; text-decoration: none; }
.blog .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }
.blog .lead { font-size: 20px; }
.blog article h2 { font-size: 24px; margin-top: 1.6em; }
.blog article li { margin-bottom: 8px; }
.blog .fuentes { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.blog .fuentes h2 { font-size: 18px; margin-top: 0; }
.blog .fuentes a { word-break: break-word; }
.blog-cta { margin-top: 40px; padding: 28px 24px; border-radius: var(--radius); background: var(--sage-soft); }
.blog-cta h2 { font-size: 22px; margin-top: 0; }
.posts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.posts a { display: block; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.posts a:hover h2 { text-decoration: underline; }
.posts .eyebrow { margin-bottom: 8px; font-size: 13px; }
.posts h2 { font-size: 22px; margin: 0 0 8px; color: var(--forest); }
.posts p:last-child { margin: 0; color: var(--ink-soft); }

.blog .portada { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 0 0 28px; }
.blog article p, .blog article li { font-size: 18px; line-height: 1.65; }
.resumen, .accion { border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.resumen { background: var(--white); box-shadow: var(--shadow); border-left: 5px solid var(--sage); }
.resumen-t, .accion-t, .comparativa-t { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 8px; }
.resumen-t { color: var(--forest); }
.resumen ul, .accion ul, .comparativa ul { margin: 0; padding-left: 20px; }
.resumen li, .accion li { margin-bottom: 6px; }
.accion { background: var(--forest); color: var(--white); }
.accion-t { color: #D5E0DA; }
.accion ul { list-style: none; padding: 0; }
.accion li { position: relative; padding-left: 32px; }
.accion li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #D5E0DA; }
.dato { display: flex; flex-direction: column; gap: 4px; margin: 24px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--sand); }
.dato b { font-size: 34px; line-height: 1.1; color: var(--clay); }
.dato span { font-size: 18px; }
.cita { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--clay); font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--forest); }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.tarjetas > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.tarjetas .ico { width: 36px; height: 36px; padding: 7px; margin-bottom: 6px; border-radius: 50%; background: var(--sage-soft); fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tarjetas b { color: var(--forest); font-size: 17px; }
.tarjetas span { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.etapas { list-style: none; counter-reset: e; padding: 0; margin: 24px 0; display: grid; gap: 0; }
.etapas li { position: relative; padding: 0 0 20px 44px; display: flex; flex-direction: column; }
.etapas li::before { counter-increment: e; content: counter(e); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: var(--white); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.etapas li:nth-child(2)::before { background: var(--clay); }
.etapas li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.etapas b { color: var(--forest); font-size: 18px; }
.etapas span { color: var(--ink-soft); font-size: 16px !important; }
.comparativa { display: grid; gap: 12px; margin: 20px 0; }
.comparativa > div { padding: 18px 20px; border-radius: var(--radius); }
.comparativa .si { background: var(--sage-soft); }
.comparativa .no { background: #F6EDE4; }
.comparativa .si .comparativa-t { color: var(--forest); }
.comparativa .no .comparativa-t { color: var(--clay); }
.comparativa ul { list-style: none; padding: 0; }
.comparativa li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 17px !important; }
.comparativa li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.comparativa .si li::before { content: "✓"; color: var(--forest); }
.comparativa .no li::before { content: "✕"; color: var(--clay); }
.posts img { display: block; max-width: none; width: calc(100% + 48px); height: auto; margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; }
.posts a { overflow: hidden; }
.posts-home { margin: 24px 0; }
.posts-home h3 { font-size: 20px; margin: 0; color: var(--forest); }

@media (min-width: 760px) {
  .posts-home { grid-template-columns: repeat(3, 1fr); }
  .comparativa { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; align-items: start; }
  .hero { padding: 72px 0 72px; }
}

@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.3fr 1fr; }
  .phone { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.sigue { margin-top: 40px; }
.sigue h2 { font-size: 22px; margin-bottom: 0; }
