/* Íbero Asesores — landing etapa sombra */
:root {
  --red: #AD2026;
  --red-dark: #8E1A1F;
  --ink: #141414;
  --text: #2B2B2B;
  --muted: #5E5A55;
  --bg: #FFFFFF;
  --soft: #F6F3EE;
  --cream: #FAF4EA;
  --line: #E7E1D8;
  --radius: 18px;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
.split img[loading] { background: #2a2420; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: #EDEAE5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.small { font-size: .85rem; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; transition: background .2s, color .2s, transform .1s; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 38px; width: auto; }
.brand b { font-family: var(--head); font-weight: 600; letter-spacing: .14em; font-size: .92rem; display: block; line-height: 1.1; }
.brand small { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--red); font-weight: 600; }
.top .btn { padding: 10px 18px; font-size: .92rem; }

/* Hero */
.hero { position: relative; color: #fff; background: #1b1512 center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,10,8,.88) 0%, rgba(14,10,8,.72) 45%, rgba(14,10,8,.35) 100%); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .tag { display: inline-block; background: var(--red); color: #fff; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: rgba(255,255,255,.9); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(173,32,38,.35); }
.hero .fine { margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.6); }

/* Banner campaña */
.promo { display: grid; gap: 22px; align-items: center; background: var(--red); color: #fff; border-radius: var(--radius); padding: 30px 26px; text-decoration: none; transition: transform .15s; }
.promo:hover { transform: translateY(-2px); }
.promo h2 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: .3em; }
.promo p { margin: 0; color: rgba(255,255,255,.9); }
.promo .arrow { font-family: var(--head); font-weight: 600; white-space: nowrap; }

/* Tarjetas */
.grid { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card a.more { font-family: var(--head); font-weight: 600; font-size: .92rem; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.note { margin-top: 26px; padding: 18px 22px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 12px 12px 0; color: var(--muted); }

/* Pasos */
.steps { counter-reset: s; display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px 22px 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 14px; }
.steps li:last-child::before { background: var(--red); }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Dos columnas con imagen */
.split { display: grid; gap: 36px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: auto; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { color: var(--ink); }
.section.dark .checks b { color: #fff; }

/* Cronología (humanitaria) */
.timeline { display: grid; gap: 14px; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.tl b { font-family: var(--head); color: var(--red); font-size: .95rem; }
.tl p { margin: 0; color: var(--text); }

/* Caso (humanitaria) */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.case .num { font-family: var(--head); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--red); }
.case .num small { font-size: 1rem; color: var(--ink); font-weight: 600; margin-left: 6px; }
.case dl { margin: 18px 0 0; display: grid; gap: 12px; }
.case dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 2px 0 0; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 1.08rem; }

/* Precio */
.price { margin-top: 26px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 14px; }
.price .amount { font-family: var(--head); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.price .amount small { display: block; margin-top: 10px; font-size: .85rem; font-weight: 600; color: #f0c9cb; letter-spacing: .04em; text-transform: uppercase; }
.price p { margin: 0; color: rgba(255,255,255,.82); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 600; color: var(--ink); padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA final */
.cta { text-align: center; }
.cta h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta .lead { margin: 0 auto 28px; color: rgba(255,255,255,.8); }
.cta .btn-row { justify-content: center; }

/* Pie */
.foot { background: #0E0E0E; color: #BDB7AF; padding: 48px 0 110px; font-size: .92rem; }
.foot .wrap { display: grid; gap: 28px; }
.foot img { width: 170px; height: auto; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .legal { border-top: 1px solid #2A2A2A; padding-top: 20px; font-size: .8rem; color: #8C867E; }

/* Barra fija móvil */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
.mbar .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Páginas legales */
.doc { max-width: 780px; padding: 56px 20px 90px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc table { border-collapse: collapse; width: 100%; font-size: .95rem; margin-bottom: 1em; }
.doc td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.doc td:first-child { width: 34%; font-weight: 600; color: var(--ink); background: var(--soft); }
.pending { background: #FFF1B8; padding: 0 4px; border-radius: 4px; }

@media (min-width: 720px) {
  .section { padding: 96px 0; }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .grid.c2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 1fr auto; padding: 36px 40px; }
  .price { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
  .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot .legal { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .split.rev > :first-child { order: 2; }
  .hero .wrap { padding-top: 130px; padding-bottom: 130px; }
  .mbar { display: none; }
  .foot { padding-bottom: 48px; }
}
@media (max-width: 420px) {
  .top .btn span { display: none; }
  .tl { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
