/* =========================================================
   Cálculo & Trámite — sistema visual
   ========================================================= */
:root {
  --bg: #F7F8F5;
  --card: #FFFFFF;
  --soft: #EEF2EE;
  --soft-2: #DDE9DE;
  --forest: #123D49;
  --forest-2: #1B5262;
  --forest-3: #0B2C35;
  --terra: #9C6514;
  --terra-dark: #7E5110;
  --gold: #D4952F;
  --gold-soft: #EDC27A;
  --ink: #16262B;
  --muted: #55666B;
  --border: #E1E6E0;
  --border-2: #CFD8D2;
  --ok: #2A6F4E;
  --amber: #D4952F;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(18, 61, 73, .06), 0 2px 8px rgba(18, 61, 73, .04);
  --shadow: 0 2px 4px rgba(18, 61, 73, .04), 0 12px 32px rgba(18, 61, 73, .08);
  --shadow-lg: 0 30px 60px -20px rgba(9, 38, 46, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { color: var(--forest); line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
h1, .display { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.025em; }
h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--forest-3); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

.ico { width: 20px; height: 20px; flex-shrink: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- LOGO ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.logo-mark { width: 58px; height: 50px; flex-shrink: 0; display: block; color: var(--forest); overflow: visible; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--forest); }
.logo-amp { margin: 0 .2em; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--amber); }
.logo-tag { font-size: .66rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { font-size: .93rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 10px; transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--soft); color: var(--forest); }
.main-nav a.active { color: var(--forest); background: var(--soft-2); }
.main-nav .nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--forest); color: #fff; margin-left: 10px; padding: 10px 16px; box-shadow: var(--shadow-sm); }
.main-nav .nav-cta:hover { background: var(--forest-2); color: #fff; }
.main-nav .nav-cta .ico { width: 18px; height: 18px; color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 11px; border-radius: 10px; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; height: 2px; background: var(--forest); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; border-bottom: 1px solid var(--border); padding: 10px 16px 18px; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .main-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 400px) { .logo-name { font-size: 1.25rem; } .logo-mark { width: 48px; height: 42px; } }

/* ---------- COMMON ---------- */
main { padding: 0 0 56px; min-height: 60vh; }
.breadcrumbs { font-size: .82rem; color: var(--muted); padding: 22px 0 16px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terra); }
.breadcrumbs .sep { margin: 0 6px; opacity: .5; }
.updated { font-size: .82rem; color: var(--muted); margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); }

.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--soft-2); color: var(--forest); font-weight: 700; font-size: .76rem; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; border: 1px solid #C9DCCB; margin-bottom: 16px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(42,111,78,.18); }

.page-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 28px; max-width: 900px; }
.page-head > :not(.head-ico) { grid-column: 2; }
.page-head:not(:has(.head-ico)) { grid-template-columns: 1fr; }
.page-head:not(:has(.head-ico)) > * { grid-column: 1; }
.head-ico { grid-column: 1; grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(145deg, var(--forest-2), var(--forest-3)); color: var(--gold-soft); display: grid; place-items: center; box-shadow: var(--shadow); }
.head-ico .ico { width: 32px; height: 32px; }
@media (max-width: 560px) {
  .page-head { grid-template-columns: 1fr; }
  .page-head > * { grid-column: 1 !important; }
  .head-ico { grid-row: auto; width: 52px; height: 52px; border-radius: 14px; }
  .head-ico .ico { width: 26px; height: 26px; }
}
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-bottom: 12px; }
.page-head .badge { justify-self: start; margin-bottom: 12px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--terra); color: #fff; border: 0; padding: 13px 20px; border-radius: 12px; font-weight: 700; font-size: .93rem; cursor: pointer; text-decoration: none; font-family: inherit; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 6px 16px -6px rgba(156, 101, 20, .6); }
.btn:hover { background: var(--terra-dark); color: #fff; transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--forest); border: 1.5px solid var(--border-2); box-shadow: none; }
.btn-outline:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- HOME HERO (propuesta de marca: claro, ilustración 3D) ---------- */
.hero-band {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(700px 420px at 82% 55%, #EADBCB 0%, transparent 70%),
    linear-gradient(100deg, #FBF7F2 0%, #F6EEE5 55%, #EFE3D6 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: center; padding-top: 56px; padding-bottom: 92px; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 12px; padding-top: 36px; padding-bottom: 80px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); background: rgba(255,255,255,.7); border: 1px solid #E3D3BE; padding: 7px 13px; border-radius: 999px; margin-bottom: 20px; }
.hero-kicker .ico { width: 16px; height: 16px; color: #A8884A; }
.hero-band h1 { color: var(--forest); font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.08; margin-bottom: 18px; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.search-box { position: relative; max-width: 540px; }
.search-box .ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #A8884A; width: 22px; height: 22px; pointer-events: none; }
.search-box input { width: 100%; padding: 18px 22px 18px 54px; border-radius: 999px; border: 1px solid #E6DACB; background: #fff; font-size: 1.02rem; font-family: inherit; color: var(--ink); box-shadow: 0 12px 30px -14px rgba(90, 60, 30, .35); }
.search-box input::placeholder { color: #7A817D; }
.search-box input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,97,.25), 0 12px 30px -14px rgba(90,60,30,.35); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.14); z-index: 50; text-align: left; overflow: hidden; }
.search-results a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a:focus { background: var(--soft); }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .84rem; }
.hero-chips span { color: var(--muted); margin-right: 2px; }
.hero-chips a { color: var(--forest); font-weight: 600; text-decoration: none; padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid #E3D3BE; transition: background .15s; }
.hero-chips a:hover { background: #fff; color: var(--terra); }
.hero-art { position: relative; }
.hero-art img {
  display: block; width: 100%; height: auto; max-width: 640px; margin-left: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 70%, transparent 100%);
}
@media (max-width: 940px) { .hero-art img { margin: 0 auto; max-width: 520px; } }

/* iconos 3D de la propuesta de marca */
.tile-3d { background: #F8F0E7; width: 64px; height: 56px; border-radius: 16px; overflow: hidden; border: 1px solid #EFE4D6; }
.tile-3d img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.05); }
.card-row .tile-3d { width: 72px; height: 64px; }

/* franja de confianza */
.trust-bar { position: relative; z-index: 5; margin-top: -44px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 13px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: 0; }
.trust-item .tile { width: 42px; height: 42px; border-radius: 12px; }
.trust-item strong { display: block; font-size: .95rem; color: var(--forest); line-height: 1.25; }
.trust-item span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 900px) { .trust-bar { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 480px) { .trust-item { padding: 14px; gap: 10px; } .trust-item .tile { width: 36px; height: 36px; } }

/* ---------- SECCIONES ---------- */
.section { margin-top: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.eyebrow-sm { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; display: block; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; }
.section-link { font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.section-link .ico { width: 18px; height: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* icon tile */
.tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft-2); color: var(--forest); flex-shrink: 0; }
.tile .ico { width: 55%; height: 55%; }
.tile.t-terra { background: #FBF1E0; color: var(--terra-dark); }
.tile.t-gold { background: #F7EFD9; color: #8A5A12; }
.tile.t-blue { background: #E7EEF6; color: #2F4F73; }
.tile.t-dark { background: var(--forest); color: var(--gold-soft); }

.card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); color: var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--terra); }
.card h3 { font-size: 1.17rem; letter-spacing: -0.015em; }
.card p { font-size: .93rem; color: var(--muted); flex: 1; }
.card .go { font-weight: 700; color: var(--forest); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .go .ico { width: 17px; height: 17px; transition: transform .18s; }
a.card:hover .go { color: var(--terra); }
a.card:hover .go .ico { transform: translateX(3px); }
.card.card-row { flex-direction: row; align-items: flex-start; gap: 16px; }
.card.card-row > div { display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 6px; line-height: 1; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--muted); }

/* fuentes */
.sources { display: flex; flex-wrap: wrap; gap: 10px; }
.sources span { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: .86rem; color: var(--forest); letter-spacing: .02em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }
.split h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 12px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.check-list .ico { color: var(--ok); width: 22px; height: 22px; margin-top: 1px; }

/* ---------- CALCULATOR ---------- */
.studio { background: var(--card); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 36px; }
@media (min-width: 640px) { .studio { padding: 30px; } }
.studio-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.studio-top h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.case-btn { display: inline-flex; align-items: center; gap: 6px; background: #FBF3E4; border: 1px solid #EBD6AE; color: var(--terra-dark); padding: 8px 13px; border-radius: 10px; font-size: .83rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.case-btn::before { content: "▸"; font-size: .7rem; }
.case-btn:hover { background: #F5E6C8; }
.calc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.field > label, .field > .label { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field .hint, .hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.field input[type="number"], .field input[type="date"], .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #FCFBF9; color: var(--ink); min-height: 48px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356625C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover { border-color: var(--border-2); }
.field input:focus, .field select:focus { border-color: var(--forest); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(18,61,73,.08); }
.field input[type="range"] { width: 100%; accent-color: var(--forest); margin-top: 10px; height: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #FCFBF9; transition: border-color .15s; }
.check:hover { border-color: var(--border-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--forest); flex-shrink: 0; }
.check.accent { background: #FBF3E4; border-color: #EBD6AE; }

.result {
  background: radial-gradient(500px 240px at 100% 0%, rgba(201,169,97,.18), transparent 60%), linear-gradient(160deg, var(--forest-2), var(--forest-3));
  color: #F1F6F2; border-radius: 20px; padding: 26px; position: sticky; top: 92px; box-shadow: var(--shadow-lg);
}
@media (max-width: 880px) { .result { position: static; } }
.result .eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; color: #B7CDD2; font-weight: 700; }
.result .big { font-family: 'Fraunces', serif; font-size: clamp(2.3rem, 6vw, 3.1rem); font-weight: 700; color: #fff; margin: 4px 0 2px; line-height: 1.08; letter-spacing: -0.02em; }
.result .sub { font-size: .9rem; color: #CADAD3; margin-bottom: 18px; }
.stacked { height: 12px; border-radius: 999px; overflow: hidden; display: flex; background: rgba(255,255,255,.14); margin-bottom: 10px; }
.stacked div { transition: width .3s; }
.seg-a { background: #74B49B; } .seg-b { background: #E07A5F; } .seg-c { background: #E6C988; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: #DDE8EA; margin-bottom: 18px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.insight { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--gold); padding: 12px 14px; border-radius: 10px; font-size: .89rem; margin-bottom: 18px; line-height: 1.55; }
.insight.warn { border-left-color: #F2A97F; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
@media (max-width: 420px) { .pills { grid-template-columns: 1fr 1fr; } }
.pill { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.06); padding: 10px 11px; border-radius: 12px; }
.pill span { display: block; font-size: .69rem; color: #B3CACF; line-height: 1.3; margin-bottom: 2px; }
.pill strong { font-size: .98rem; color: #fff; font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions .btn { flex: 1; min-width: 140px; }
.studio-top .actions .case-btn { flex: none; }

.disclaimer { display: flex; gap: 10px; font-size: .83rem; color: var(--muted); background: var(--soft); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; margin-top: 20px; }
.disclaimer::before { content: "i"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; font-size: .75rem; display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; }

/* ---------- ARTICLE / PROSE ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); margin: 40px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 1.02rem; margin-bottom: 12px; color: #1E2E33; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--terra); font-weight: 700; }
.prose .note { background: #FFF8EA; border: 1px solid #F0DDB5; border-radius: 12px; padding: 14px 18px; font-size: .97rem; }
.prose .example { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--terra); border-radius: 12px; padding: 16px 20px; margin: 18px 0; box-shadow: var(--shadow-sm); }
.table-wrap { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 420px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--soft); color: var(--forest); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:nth-child(even) td { background: #FCFBF8; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.toc { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin: 10px 0 26px; max-width: 780px; box-shadow: var(--shadow-sm); }
.toc strong { display: block; margin-bottom: 8px; color: var(--forest); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.toc ol { padding-left: 20px; font-size: .95rem; columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 4px; }

details.faq { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; transition: box-shadow .15s; }
details.faq[open] { box-shadow: var(--shadow-sm); }
details.faq summary { font-weight: 700; color: var(--forest); cursor: pointer; padding: 16px 28px 16px 0; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--terra); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 12px; }
details.faq > div { padding-bottom: 14px; }
details.faq p { font-size: .98rem; }

.quick-sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border-radius: 16px; margin: 4px 0 30px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.quick-sheet > div { padding: 16px 18px; border-right: 1px solid var(--border); }
.quick-sheet > div:last-child { border-right: 0; }
@media (max-width: 760px) { .quick-sheet { grid-template-columns: 1fr 1fr; } .quick-sheet > div:nth-child(2) { border-right: 0; } .quick-sheet > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.quick-sheet span { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.quick-sheet strong { font-size: .97rem; color: var(--forest); }

/* checklist */
.checklist { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; margin: 24px 0; box-shadow: var(--shadow); max-width: 780px; }
.progress-head { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.progress { height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, #3E8C67, var(--ok)); transition: width .3s; border-radius: 999px; }
.check-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; background: #FCFBF9; flex-wrap: wrap; transition: background .15s, border-color .15s; }
.check-item:has(input:checked) { background: #EEF6F1; border-color: #BFDCCB; }
.check-item:has(input:checked) label { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.check-item label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .93rem; cursor: pointer; flex: 1; min-width: 220px; }
.check-item input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ok); flex-shrink: 0; }
.mini { font-size: .76rem; font-weight: 700; background: var(--soft-2); color: var(--forest); padding: 5px 10px; border-radius: 8px; text-decoration: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; }
a.mini:hover { background: var(--forest); color: #fff; }
.done-msg { display: none; background: #E6F4EC; border: 1px solid #A7D7BC; color: #164E33; padding: 14px 16px; border-radius: 12px; font-weight: 700; margin-top: 10px; }
.done-msg.show { display: block; }

.related { margin-top: 48px; }
.byline { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }

/* legal */
.legal { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; max-width: 860px; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .legal { padding: 44px; } }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }

/* autor */
.author-card { display: flex; gap: 18px; align-items: flex-start; background: var(--soft); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 14px 0 22px; }
.author-mono { width: 64px; height: 64px; border-radius: 18px; flex-shrink: 0; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: var(--gold-soft); background: linear-gradient(145deg, var(--forest-2), var(--forest-3)); }
.author-card strong { display: block; color: var(--forest); font-size: 1.08rem; }
.author-role { display: block; font-size: .84rem; color: var(--terra); font-weight: 700; margin-bottom: 6px; }
.author-card p { margin-bottom: 6px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--forest-3); color: #C5D6D9; padding: 56px 0 28px; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-footer { margin-bottom: 18px; } .brand-footer .logo-mark, .brand-footer .logo-name { color: #F3EDE3; }
.brand-footer .logo-tag { color: #97B0B6; }
.footer-trust { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.site-footer .footer-trust li { display: flex; align-items: center; gap: 10px; font-size: .87rem; margin: 0; color: #DDE8EA; }
.footer-trust .ico { width: 18px; height: 18px; color: var(--gold-soft); }
.footer-disclaimer { font-size: .78rem; color: #97B0B6; max-width: 340px; }
.footer-h { color: #fff; font-size: .8rem; margin-bottom: 14px; letter-spacing: .09em; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: .9rem; }
.site-footer a, .site-footer .link-btn { color: #C5D6D9; text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--gold-soft); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: #97B0B6; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--forest-3); color: #fff; padding: 13px 18px; border-radius: 12px; font-size: .9rem; z-index: 999; max-width: calc(100% - 32px); box-shadow: 0 14px 34px rgba(0,0,0,.3); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .actions, .case-btn, .breadcrumbs { display: none !important; }
  .result { color: #000; background: #fff; border: 1px solid #000; box-shadow: none; }
}
main > .section-title, .related > .section-title { margin: 40px 0 18px; }
.nowrap { white-space: nowrap; }

/* =========================================================
   Maqueta "números claros": iconos 3D y secciones de portada
   ========================================================= */
.i3d { display: grid; place-items: center; width: 76px; height: 72px; flex-shrink: 0; }
.i3d img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 72%, transparent 100%);
}
.card.card-row { flex-direction: row; align-items: center; gap: 18px; padding: 20px 22px; }
.card.card-row > div { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.card.card-row h3 { font-size: 1.08rem; }
.card.card-row p { font-size: .9rem; margin-bottom: 4px; }
.card .card-tag { font-size: .68rem; }
@media (max-width: 400px) { .i3d { width: 62px; height: 58px; } .card.card-row { gap: 12px; padding: 16px; } }

.head-ico.head-3d { background: transparent; box-shadow: none; width: 92px; height: 86px; border-radius: 0; }
.head-ico.head-3d img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 72%, transparent 100%); }
@media (max-width: 560px) { .head-ico.head-3d { width: 72px; height: 68px; } }

.hero-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.hero-cats > span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-right: 4px; }
.hero-cats a { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--forest); text-decoration: none; background: #fff; border: 1px solid #E6DACB; padding: 8px 15px; border-radius: 999px; box-shadow: 0 4px 12px -8px rgba(90,60,30,.35); transition: border-color .15s, color .15s; }
.hero-cats a .ico { width: 17px; height: 17px; }
.hero-cats a:hover { border-color: var(--gold); color: var(--terra); }
.hero-band { padding-bottom: 0; }
.hero-grid { padding-bottom: 56px !important; }

.btn-dark { background: var(--forest); box-shadow: 0 8px 18px -10px rgba(18,61,73,.7); border-radius: 999px; }
.btn-dark:hover { background: var(--forest-2); }

.steps-line { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.steps-line li { display: flex; align-items: center; gap: 14px; position: relative; }
.steps-line li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 36px; height: 1px; background: var(--gold); opacity: .7; }
.steps-line .num { width: 52px; height: 52px; border-radius: 50%; background: #F6ECDD; color: #A8884A; font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; flex-shrink: 0; }
.steps-line strong { display: block; color: var(--forest); font-size: 1.02rem; }
.steps-line li span:not(.num) { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .steps-line { grid-template-columns: 1fr; } .steps-line li::after { display: none; } }

.method-band { display: grid; grid-template-columns: 1.15fr auto 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px 32px; box-shadow: var(--shadow-sm); }
.method-band h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.method-band p { color: var(--muted); }
.method-art .i3d { width: 200px; height: 126px; }
.method-art .i3d img { -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 75%, transparent 100%); mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 75%, transparent 100%); }
.method-list { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 1px solid var(--border); padding-left: 28px; flex-wrap: wrap; }
.method-list ul { list-style: none; display: grid; gap: 12px; }
.method-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .93rem; }
.method-list .mi { width: 32px; height: 32px; border-radius: 9px; background: #F6ECDD; color: #A8884A; display: grid; place-items: center; font-weight: 700; }
.method-list .mi .ico { width: 17px; height: 17px; }
@media (max-width: 960px) { .method-band { grid-template-columns: 1fr; text-align: left; padding: 24px; } .method-art { justify-self: center; } .method-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; } }

.faq-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.faq-wrap .section-title { margin-bottom: 16px; }
.help-box { background: #F6EEE3; border: 1px solid #EADDCB; border-radius: 20px; padding: 26px; display: flex; gap: 16px; align-items: flex-start; margin-top: 54px; }
.help-box h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; margin-bottom: 6px; }
.help-box p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.help-box .i3d { width: 64px; height: 62px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .help-box { margin-top: 0; } }

/* pie compacto */
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-nav { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); flex: 1; justify-content: center; }
.footer-nav a { color: #EAF1ED; font-weight: 600; font-size: .9rem; text-decoration: none; }
.footer-legal a, .footer-legal .link-btn { font-size: .84rem; }
.site-footer { padding: 30px 0 22px; }
@media (max-width: 860px) { .footer-nav { border: 0; padding: 0; justify-content: flex-start; flex: none; width: 100%; } }
.section-title, .prose h2, .split h2 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.02em; }
.i3d { width: 84px; height: 78px; }

/* bloque «Siguiente paso» (afiliación declarada) */
.next-step { margin-top: 18px; background: #FBF6EF; border: 1px solid #EADDCB; border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; }
.next-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A8884A; }
.next-step p { font-weight: 600; color: var(--forest); }
.next-step .btn { justify-self: start; }
.next-step small { font-size: .78rem; color: var(--muted); }
.result-note { font-size: .78rem; color: #B3CACF; margin-top: 10px; }
@media (max-width: 480px) {
  .i3d { width: 58px; height: 54px; }
  .card.card-row { gap: 12px; padding: 16px; align-items: flex-start; }
  .card.card-row h3 { font-size: 1rem; }
  .method-art .i3d { width: 180px; height: 114px; }
}

/* fuentes oficiales y trámite siguiente */
.oficial { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
@media (max-width: 720px) { .oficial { grid-template-columns: 1fr; } }
.of-label { display: flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A5A12; margin-bottom: 8px; }
.of-label .ico { width: 16px; height: 16px; }
.of-links { display: flex; flex-wrap: wrap; gap: 8px; }
.of-link { font-size: .88rem; font-weight: 600; color: var(--forest); }
.of-btn { font-size: .86rem; font-weight: 700; color: var(--forest); text-decoration: none; background: var(--soft-2); border: 1px solid #C9DCCB; padding: 7px 12px; border-radius: 999px; }
.of-btn:hover { background: var(--forest); color: #fff; }

/* barra fija de resultado (móvil) */
.result-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--forest); color: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 30px rgba(0,0,0,.28); border: 0; font: inherit; text-align: left; cursor: pointer; }
.result-dock.show { display: flex; }
.result-dock small { display: block; font-size: .68rem; color: #B7CDD2; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.result-dock strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; }
.result-dock span.go { font-size: .82rem; font-weight: 700; color: var(--gold-soft); white-space: nowrap; }
@media (min-width: 881px) { .result-dock, .result-dock.show { display: none; } }

/* glosario */
.glossary dt { font-weight: 700; color: var(--forest); font-size: 1.05rem; margin-top: 18px; scroll-margin-top: 90px; }
.glossary dd { margin: 4px 0 0; color: #1E2E33; }
.glossary-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 20px; }
.glossary-index a { font-size: .84rem; font-weight: 600; text-decoration: none; background: #fff; border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; }
/* aviso: el texto y sus enlaces fluyen juntos (antes el flex separaba los enlaces en columnas) */
.disclaimer { display: block; position: relative; padding-left: 44px; }
.disclaimer::before { position: absolute; left: 14px; top: 14px; }

/* aviso de dato desactualizado dentro del bloque oficial */
.of-report { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; margin: 0; }
.of-report a { font-weight: 700; color: var(--forest); }

/* modelo de escrito generado en el navegador */
.letter-box { margin-top: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 16px 18px; }
.letter-box h3 { font-size: 1.02rem; color: var(--forest); margin-bottom: 4px; }
.letter-box > p { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.letter-box textarea { width: 100%; min-height: 260px; font: .88rem/1.55 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px; resize: vertical; }
.letter-actions { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 12px; }
.letter-actions button { font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; border-radius: 999px; padding: 9px 16px; border: 1px solid var(--forest); background: var(--forest); color: #fff; }
.letter-actions button.alt { background: #fff; color: var(--forest); }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: .92rem; margin: 4px 0 14px; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--forest); }
/* espacio de seguridad para anuncios automáticos junto a controles */
.studio, .letter-box { margin-bottom: 30px; }

/* sello de privacidad en cada calculadora */
.privacy-strip { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #1E3E47; background: var(--soft-2); border: 1px solid #C9DCCB; border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; line-height: 1.5; }
.privacy-strip .ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--forest); margin-top: 2px; }
.privacy-strip a { font-weight: 700; color: var(--forest); }
/* barra de confianza de la portada (dentro del contenedor, sin solaparse con el hero) */
.trust-bar { margin-top: 28px; }
.trust-item .tile .ico { width: 22px; height: 22px; }
.trust-item { min-width: 0; }
@media (max-width: 560px) {
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
}

/* calendario de plazos */
.plazos { list-style: none; counter-reset: pz; display: grid; gap: 10px; margin: 6px 0 4px; }
.plazos li { counter-increment: pz; position: relative; padding: 10px 12px 10px 46px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: grid; gap: 2px; }
.plazos li::before { content: counter(pz); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.plazos strong { color: var(--forest); font-size: .95rem; }
.plazos strong::first-letter { text-transform: uppercase; }
.plazos span { font-weight: 600; font-size: .92rem; }
.plazos small { color: var(--muted); font-size: .82rem; }
.letter-actions .btn { text-decoration: none; }

/* situaciones de vida */
.situ-banner { display: grid; gap: 6px; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); border-radius: 20px; padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 24px; }
.situ-banner .eyebrow-sm { color: var(--gold-soft); }
.situ-banner strong { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.15; }
.situ-banner > span:not(.eyebrow-sm):not(.go) { color: #D5E3DC; max-width: 640px; }
.situ-banner .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-soft); margin-top: 4px; }
.situ-banner .go .ico { width: 18px; height: 18px; }
.situ-banner:hover { box-shadow: var(--shadow-lg); }
.situ-link { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #FBF3E4; border: 1px solid #EBD6AE; color: var(--terra-dark); text-decoration: none; font-size: .9rem; }
.situ-link .ico { width: 20px; height: 20px; flex-shrink: 0; }
.situ-link span { flex: 1; color: var(--ink); }
.situ-link strong { color: var(--terra-dark); }

/* ===== Propuesta visual «Tus trámites, claros» (petróleo · salvia · ámbar) ===== */
.hero-band {
  background:
    radial-gradient(620px 380px at 80% 60%, #EDE5D8 0%, transparent 70%),
    linear-gradient(100deg, #F8F7F3 0%, #F3EFE8 55%, #ECE5DA 100%);
}
.hero-band h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.02; margin-bottom: 14px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #2E4248; margin-bottom: 24px; }
.hero-grid { grid-template-columns: 1.2fr .8fr; padding-top: 52px; }
.hero-art img { max-width: 380px; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 55% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 55% 50%, #000 62%, transparent 100%); }
@media (max-width: 940px) { .hero-art { display: none; } .hero-grid { grid-template-columns: 1fr; padding-top: 34px; } }
.hero-sub { max-width: 600px; }
.search-box .ico { color: var(--forest); }
.search-box input { padding-right: 70px; border-color: #E2DCD2; box-shadow: 0 14px 34px -18px rgba(18, 61, 73, .45); }
.search-box input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(212, 149, 47, .22), 0 14px 34px -18px rgba(18, 61, 73, .45); }
.search-go { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 48px; height: 44px; border: 0; border-radius: 14px; background: var(--amber); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(156, 101, 20, .7); }
.search-go .ico { position: static; transform: none; color: #fff; width: 22px; height: 22px; }
.search-go:hover { background: #C3841F; }
.hero-note { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.hero-note .ico { width: 17px; height: 17px; color: var(--forest); }

.sit-title { margin-bottom: 20px; }
.sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .sit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sit-grid { grid-template-columns: 1fr; gap: 12px; } }
.sit-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 150px; padding: 12px 16px 12px 10px; background: #E7EFE7; border: 1px solid #D6E3D7; border-radius: 18px; text-decoration: none; color: var(--forest); transition: transform .15s, box-shadow .2s, background .2s; overflow: hidden; }
a.sit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #E1EBE2; }
.sit-img { flex: 0 0 46%; max-width: 170px; }
.sit-img img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.sit-txt { display: grid; gap: 4px; flex: 1; }
.sit-txt strong { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.12; letter-spacing: -0.015em; }
.sit-txt small { font-size: .84rem; color: #3E5A60; }
.sit-go { justify-self: end; color: var(--amber); }
.sit-go .ico { width: 26px; height: 26px; }
.sit-card.soon { opacity: .62; filter: saturate(.75); }
.sit-soon { justify-self: start; margin-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--terra-dark); background: #FFF6E6; border: 1px solid #EBD6AE; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 560px) { .sit-card { min-height: 118px; } .sit-img { flex-basis: 38%; } }

.quick-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; background: #fff; border: 1.5px solid #C9D6CF; border-radius: 16px; }
.quick-strip a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.1rem; color: var(--forest); text-decoration: none; border-right: 1px solid #DDE5DF; }
.quick-strip a:last-child { border-right: 0; }
.quick-strip a:hover { background: var(--soft); }
.quick-strip .ico { width: 24px; height: 24px; }
@media (max-width: 560px) { .quick-strip a { flex-direction: column; gap: 4px; font-size: .92rem; padding: 12px 6px; } }

.btn { background: var(--forest); box-shadow: 0 8px 18px -10px rgba(18, 61, 73, .7); }
.btn:hover { background: var(--forest-2); }

/* «Ver más situaciones» y banner de la brújula */
.sit-more { margin-top: 14px; text-align: right; }
.sit-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); text-decoration: none; }
.sit-more .ico { width: 18px; height: 18px; color: var(--amber); }
.lost-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 24px; margin-top: 22px; padding: 14px 26px 14px 14px; background: #E7EFE7; border: 1px solid #D6E3D7; border-radius: 20px; }
.lost-banner img { width: 120px; height: auto; mix-blend-mode: multiply; }
.lost-banner strong { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--forest); line-height: 1.15; }
.lost-actions { display: grid; gap: 6px; justify-items: center; }
.lost-link { font-size: .86rem; color: var(--muted); }
.btn-amber { background: #A86B14; border-radius: 14px; box-shadow: 0 8px 18px -10px rgba(156, 101, 20, .8); }
.btn-amber:hover { background: #8E5A10; }
.btn-amber .ico { width: 18px; height: 18px; }
@media (max-width: 720px) { .lost-banner { grid-template-columns: auto 1fr; padding: 14px; } .lost-banner img { width: 84px; } .lost-actions { grid-column: 1 / -1; justify-items: stretch; text-align: center; } }
