/* ============================================================
   SURE — Página Declaración de renta (frames
   "03 — Declaración de renta v3 (Fondos alternos)" 1440 y "(Mobile 390)")
   Requiere sure.css y home.css (header, footer, menú móvil, CTA flotante).
   ============================================================ */

/* ---------- Hero ---------- */
.r-hero { display: flex; flex-direction: column; gap: 56px; padding: 96px 80px; background: linear-gradient(143deg, #0B1118 27.9%, #00D4FF 86.1%); color: var(--white); }
.r-hero .top { display: flex; align-items: center; gap: 56px; }
.r-hero .text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; width: 620px; flex: none; }
.r-hero h1 { margin: 0; font-size: 62px; font-weight: 700; line-height: 1.08; color: var(--white); }
.r-hero h1 .accent { color: var(--cyan); }
.r-hero .lead { font-size: 16px; line-height: 1.68; color: var(--muted-dark); }
.r-hero .ctas { display: flex; align-items: center; gap: 24px; }
.link-circle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--white); }
.link-circle span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 40px; background: var(--panel-dark); }
.link-circle img { width: 16px; height: 16px; }
.r-hero .proof { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.r-hero .proof > img { width: 106px; height: 34px; }
.steps-mini { display: flex; align-items: center; flex: none; }
.r-hero .proof .steps-mini span { display: inline-flex; margin-top: 0; }
.steps-mini span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -10px; border-radius: 40px; background: var(--navy); border: 2px solid #1F5C66; box-sizing: content-box; }
.steps-mini span img { width: 18px; height: 18px; display: block; }
.steps-mini span:last-child { margin-right: 0; }
.r-hero .proof b { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.r-hero .proof span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted-dark); }
.r-hero .visual { position: relative; flex: 1 1 0; min-width: 0; }
.r-hero .visual .img { height: 420px; border-radius: 20px; background: url('../assets/renta/hero_foto.jpg') center / cover no-repeat; }
.card-today { position: absolute; left: 24px; top: 290px; display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-radius: 16px; background: var(--white); box-shadow: 0 10px 28px rgba(10,18,23,.16); color: var(--navy); }
.card-today .row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--cyan-deep); }
.card-today .row img { width: 8px; height: 8px; }
.card-today b { font-size: 22px; font-weight: 700; line-height: 1.2; }
.card-today span { font-size: 12px; color: var(--muted); }

.r-hero .cards { display: flex; gap: 16px; }
.r-hero .cards > * { flex: 1 1 0; min-width: 0; border-radius: 18px; }
.hcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--panel-dark); overflow: hidden; }
.hcard .head { display: flex; align-items: center; justify-content: space-between; }
.hcard .head b { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.hcard .head span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted-dark); }
.hcard .head .ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 40px; background: var(--navy); flex: none; }
.hcard .head .ico img { width: 16px; height: 16px; }
.hcard .img { flex: 1; min-height: 120px; border-radius: 12px; background-size: cover; background-position: center; }
.hcard.is-accent { justify-content: space-between; padding: 24px; background: var(--cyan); }
.hcard.is-accent .tile { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); }
.hcard.is-accent .tile img { width: 20px; height: 20px; }
.hcard.is-accent p { font-size: 18px; font-weight: 700; line-height: 1.28; color: var(--navy); }
.hcard.is-topes { gap: 10px; padding: 20px; }
.hcard.is-topes .lbl { font-size: 12px; color: var(--muted-dark); }
.hcard.is-topes .val { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--white); }
.hcard.is-topes .sub { font-size: 12px; font-weight: 600; color: var(--muted-dark); }
.hcard.is-topes .rule { height: 1px; background: var(--line-dark); }
.hcard.is-topes .row { display: flex; justify-content: space-between; font-size: 12px; }
.hcard.is-topes .row span { color: var(--muted-dark); }
.hcard.is-topes .row b { font-weight: 600; color: var(--white); }

/* ---------- Vencimientos ---------- */
.deadlines { display: flex; flex-direction: column; gap: 40px; padding: 96px 80px; background: var(--white); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sec-head h2 { margin: 0; font-size: 44px; font-weight: 700; line-height: 1.16; color: var(--navy); }
.sec-head p { max-width: 760px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.deadlines .content { display: flex; gap: 20px; }
.deadlines .left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; min-height: 452px; }
.finder { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 36px 40px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.finder h3 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.22; color: var(--navy); }
.finder p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.finder .field-row { display: flex; align-items: center; gap: 12px; }
.finder .input { flex: 1; display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); }
.finder .input img { width: 16px; height: 16px; }
.finder .input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--navy); }
.finder .input input::placeholder { color: var(--muted); }
.finder .input:focus-within { border-color: var(--cyan); }
.finder .result { display: none; padding: 14px 18px; border-radius: 14px; background: var(--panel-soft); font-size: 14px; line-height: 1.5; color: var(--navy); }
.finder .result.is-on { display: block; }
.finder .result.is-urgent { background: var(--red-bg); color: var(--red); }
.finder .result.is-late { background: var(--red-bg); color: var(--red); }
.finder .result.is-ok { background: #E6F9FF; }
.upcoming { display: flex; gap: 16px; }
.upcoming .card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--panel); }
.upcoming .card .ib { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--white); }
.upcoming .card .ib img { width: 16px; height: 16px; }
.upcoming .card b { display: block; font-size: 16px; font-weight: 700; line-height: 1.24; color: var(--navy); }
.upcoming .card span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.upcoming .card .tag { display: inline-flex; padding: 4px 10px; border-radius: 20px; background: var(--panel-soft); font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.today-panel { display: flex; flex-direction: column; justify-content: space-between; width: 460px; flex: none; min-height: 452px; padding: 32px; border-radius: 18px; background: var(--navy); color: var(--white); }
.today-panel .head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.today-panel .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 20px; background: var(--panel-dark); font-size: 12px; font-weight: 600; color: var(--cyan); }
.today-panel .pill img { width: 8px; height: 8px; }
.today-panel h3 { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.16; }
.today-panel .head p { font-size: 15px; line-height: 1.55; color: var(--muted-dark); }
.today-panel .cta { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: 14px; background: var(--white); color: var(--navy); }
.today-panel .cta b { font-size: 20px; font-weight: 700; line-height: 1.24; }
.today-panel .cta p { font-size: 13px; line-height: 1.58; color: var(--ink-soft); }
.today-panel .cta .btn { width: 100%; }

/* ---------- Registro (contacto oscuro) ---------- */
.register { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 96px 80px; background: var(--navy); color: var(--white); }
.register .left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 660px; }
.register .kicker { font-size: 13px; font-weight: 600; color: var(--cyan); }
.register h2 { margin: 0; max-width: 620px; font-size: 44px; font-weight: 700; line-height: 1.16; color: var(--white); }
.register .left > p { max-width: 560px; font-size: 15px; line-height: 1.68; color: var(--muted-dark); }
.register .quick a { background: var(--panel-dark); }
.register .quick a.is-accent { background: var(--cyan); }
.register .quick a.is-accent b { color: var(--navy); }
.register .quick a.is-accent span { color: var(--panel-dark); }
.register .map { width: 100%; height: 220px; border-radius: 14px; background: url('../assets/renta/contacto_mapa.jpg') center / cover no-repeat; }
.form-dark { display: flex; flex-direction: column; gap: 14px; width: 560px; flex: none; padding: 34px 32px; border-radius: 18px; background: var(--panel-dark); border: 1px solid var(--line-dark); }
.form-dark .row2 { display: flex; gap: 12px; }
.form-dark .row2 > * { flex: 1 1 0; min-width: 0; }
.form-dark .campo { display: flex; flex-direction: column; gap: 6px; }
.form-dark label { font-size: 13px; font-weight: 600; color: var(--white); }
.form-dark input, .form-dark select { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-dark); background: var(--navy); font: inherit; font-size: 13px; color: var(--white); outline: none; }
.form-dark input::placeholder { color: var(--muted-dark); }
.form-dark select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA6B0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-dark select:invalid { color: var(--muted-dark); }
.form-dark input:focus, .form-dark select:focus { border-color: var(--cyan); }
.form-dark .preview { display: none; padding: 10px 14px; border-radius: 8px; background: var(--navy); font-size: 12px; color: var(--muted-dark); }
.form-dark .preview.is-on { display: block; }
.form-dark .preview b { color: var(--cyan); }
.form-dark .btn-enviar { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 99px; background: var(--cyan); color: var(--navy); font-size: 14px; font-weight: 600; margin-top: 4px; }
.form-dark .btn-enviar:hover { background: var(--white); }
.form-dark .btn-enviar[disabled] { opacity: .6; cursor: default; }
.form-dark .nota { font-size: 11px; line-height: 1.5; color: var(--muted-dark); }
.form-dark .exito { display: none; flex-direction: column; gap: 10px; padding: 8px 0; }
.form-dark .exito b { font-size: 20px; font-weight: 700; color: var(--white); }
.form-dark .exito p { font-size: 14px; line-height: 1.6; color: var(--muted-dark); }
.form-dark .exito .fecha { font-size: 18px; font-weight: 700; color: var(--cyan); }
.form-dark.is-done .contenido { display: none; }
.form-dark.is-done .exito { display: flex; }

/* Modal de registro (?registro=true) */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11,17,24,.72); overflow-y: auto; }
.modal.is-open { display: flex; }
.modal .form-dark { width: 560px; max-width: 100%; margin: auto; box-shadow: 0 18px 40px rgba(11,17,24,.28); }
.modal .form-dark .titulo { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.2; }
.modal .form-dark .titulo + p { font-size: 13px; line-height: 1.55; color: var(--muted-dark); }

/* ---------- Topes — Dashboard ---------- */
.limits { display: flex; flex-direction: column; gap: 32px; padding: 96px 80px; background: var(--panel); }
.limits .row-top { display: flex; gap: 20px; }
.panel-dark { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 32px; border-radius: 20px; background: var(--navy); color: var(--white); }
.panel-kpis { flex: 1 1 0; min-width: 0; min-height: 250px; }
.kpis { display: flex; gap: 32px; }
.kpis .kpi { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.kpis .kpi span { font-size: 12px; line-height: 1.4; color: var(--muted-dark); }
.kpis .kpi b { font-size: 28px; font-weight: 700; line-height: 1.12; color: var(--white); }
.kpis .kpi i { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--cyan); }
.season { display: flex; gap: 20px; }
.season .month { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.season .month span { font-size: 12px; color: var(--muted-dark); }
.season .track { position: relative; height: 6px; border-radius: 20px; background: var(--panel-dark); overflow: hidden; }
.season .fill { position: absolute; left: 0; top: 0; height: 6px; border-radius: 20px; background: var(--cyan); }
.panel-due { width: 420px; flex: none; min-height: 250px; padding: 28px; }
.panel-due.due-wide { flex-direction: row; justify-content: flex-start; gap: 40px; width: 100%; min-height: 0; padding: 28px 32px; }
.due-wide .due-left { display: flex; flex-direction: column; gap: 18px; width: 460px; flex: none; }
.due-wide .due-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.due-wide .due-right .lbl { font-size: 13px; font-weight: 600; color: var(--white); }
.due-wide .nota { font-size: 12px; line-height: 1.5; color: var(--muted-dark); }
.panel-due .head { display: flex; align-items: center; justify-content: space-between; }
.panel-due .head span { display: block; font-size: 12px; color: var(--muted-dark); }
.panel-due .head b { display: block; margin-top: 6px; font-size: 26px; font-weight: 700; line-height: 1.1; }
.panel-due .head .tag { display: inline-flex; padding: 6px 12px; border-radius: 20px; background: var(--cyan); color: var(--navy); font-size: 11px; font-weight: 600; }
.panel-due .detail { display: flex; gap: 10px; }
.panel-due .detail div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--panel-dark); }
.panel-due .detail div:first-child { background: var(--cyan); }
.panel-due .detail span { font-size: 11px; line-height: 1.4; color: var(--muted-dark); }
.panel-due .detail b { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--white); }
.panel-due .detail div:first-child span { color: var(--panel-dark); }
.panel-due .detail div:first-child b { color: var(--navy); }
.panel-due .btn-white { width: 100%; }
.filters { display: flex; align-items: center; gap: 12px; }
.filters > span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.filters .f { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-radius: 30px; background: var(--white); border: 1px solid var(--line); font-size: 13px; color: var(--navy); }
.filters .f img { width: 15px; height: 15px; }
.filters .f.is-search { flex: 1; color: var(--muted); }
.tabs { display: flex; justify-content: center; gap: 10px; }
.limits .row-detail { display: flex; gap: 20px; }
.criteria { display: flex; flex-direction: column; gap: 10px; width: 470px; flex: none; padding: 28px 24px; border-radius: 20px; background: var(--white); }
.criteria h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
.criteria .c { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 30px; cursor: pointer; }
.criteria .c .mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 40px; background: var(--panel); flex: none; }
.criteria .c .mark img { width: 14px; height: 14px; }
.criteria .c .txt { flex: 1; min-width: 0; line-height: 1.35; }
.criteria .c .txt b { display: block; font-size: 13px; font-weight: 600; color: var(--navy); }
.criteria .c .txt span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.criteria .c .val { font-size: 13px; font-weight: 600; color: var(--navy); }
.criteria .c:hover { background: var(--panel); }
.criteria .c.is-active { background: var(--navy); }
.criteria .c.is-active .mark { background: var(--cyan); }
.criteria .c.is-active .txt b { color: var(--white); }
.criteria .c.is-active .txt span { color: var(--muted-dark); }
.criteria .c.is-active .val { color: var(--cyan); }
.detail-panel { flex: 1 1 0; min-width: 0; min-height: 412px; }
.detail-panel .head { display: flex; gap: 16px; }
.detail-panel .head div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.detail-panel .head span { font-size: 12px; line-height: 1.4; color: var(--muted-dark); }
.detail-panel .head b { font-size: 17px; font-weight: 700; line-height: 1.24; }
.detail-panel .metrics { display: flex; gap: 12px; }
.detail-panel .metrics .metric { flex: 1 1 0; min-width: 0; width: auto; }
.detail-panel .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 24px; border-radius: 16px; background: var(--panel-dark); }
.detail-panel .bar b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.detail-panel .bar span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: var(--muted-dark); }
.others { display: flex; flex-direction: column; gap: 22px; padding: 28px 32px; border-radius: 20px; background: var(--white); }
.others .head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.others .title { display: flex; align-items: center; gap: 16px; flex: 1; }
.others .title .icon-tile { background: var(--navy); flex: none; display: inline-flex; margin-top: 0; }
.others .title b { display: block; font-size: 20px; font-weight: 700; line-height: 1.26; color: var(--navy); }
.others .title span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.others .tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 20px; background: var(--panel-soft); font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.others .tag img { width: 6px; height: 6px; }
.others .cases { display: flex; gap: 16px; }
.others .case { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 14px; background: var(--panel); }
.others .case .row { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.others .case .check { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 40px; background: var(--cyan); }
.others .case .check img { width: 14px; height: 14px; }
.others .case p { font-size: 14px; line-height: 1.58; color: var(--navy); }

/* ---------- Cómo funciona ---------- */
.process { display: flex; flex-direction: column; gap: 56px; padding: 96px 80px; background: var(--navy); color: var(--white); }
.eyebrow-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; color: var(--white); }
.eyebrow-dot img { width: 6px; height: 6px; }
.process .head { display: flex; gap: 64px; }
.process h2 { margin: 0; width: 640px; flex: none; font-size: 44px; font-weight: 700; line-height: 1.16; }
.process h2 .accent { color: var(--cyan); }
.process .support { flex: 1 1 0; display: flex; flex-direction: column; gap: 18px; }
.process .support p { font-size: 15px; line-height: 1.68; color: var(--muted-dark); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--white); }
.link-arrow img { width: 15px; height: 15px; }
.steps4 { display: flex; gap: 20px; }
.steps4 .step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; min-height: 330px; padding: 24px; border-radius: 20px; background: var(--panel-dark); }
.steps4 .step .tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); }
.steps4 .step .tile img { width: 20px; height: 20px; }
.steps4 .step .n { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--muted-dark); }
.steps4 .step h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.22; color: var(--white); }
.steps4 .step p { font-size: 13px; line-height: 1.58; color: var(--muted-dark); }
.steps4 .step.is-accent { background: var(--cyan); }
.steps4 .step.is-accent .n, .steps4 .step.is-accent p { color: var(--panel-dark); }
.steps4 .step.is-accent h3 { color: var(--navy); }
.steps4 .step .img { height: 108px; border-radius: 14px; background: url('../assets/renta/paso3_foto.jpg') center / cover no-repeat; }
.steps4 .step .label { display: inline-flex; flex-direction: column; gap: 2px; align-self: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--cyan); color: var(--navy); }
.steps4 .step .label span { font-size: 11px; font-weight: 600; }
.steps4 .step .label b { font-size: 14px; font-weight: 700; }

/* ---------- Servicios ---------- */
.r-services { display: flex; flex-direction: column; gap: 48px; padding: 96px 80px; background: var(--white); }
.r-services .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.r-services .eyebrow img { width: 22px; height: 14px; }
.r-services .head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.r-services h2 { margin: 0; max-width: 620px; font-size: 44px; font-weight: 700; line-height: 1.16; color: var(--navy); }
.r-services .grid { display: flex; flex-direction: column; gap: 20px; }
.r-services .row { display: flex; gap: 20px; }
.r-services .row .card-service { flex: 1 1 0; min-width: 0; width: auto; }
.r-services .card-service .rule { background: var(--navy); opacity: .28; }
.r-services .card-service .link { padding-top: 2px; }

/* ---------- FAQ ---------- */
.r-faq { padding: 96px 80px; background: var(--navy); }
.r-faq .panel { display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 64px 96px 56px; border-radius: 40px; background: var(--panel); }
.r-faq .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 14px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); font-size: 12px; }
.r-faq .chip span:first-child { color: var(--muted); }
.r-faq .chip img { width: 6px; height: 6px; }
.r-faq .chip b { font-weight: 600; color: var(--navy); }
.r-faq h2 { margin: 0; max-width: 700px; font-size: 44px; font-weight: 700; line-height: 1.14; text-align: center; color: var(--navy); }
.r-faq .list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.r-faq .faq { width: 100%; }
.r-faq .faq .answer p + p { margin-top: 12px; }
.r-faq .close { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.r-faq .close a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; }
.r-faq .close a img { width: 15px; height: 15px; }

/* ---------- CTA final ---------- */
.r-final { padding: 96px 80px; background: var(--panel); }
.r-final .box { display: flex; align-items: center; gap: 48px; padding: 64px; border-radius: 28px; background: var(--navy); color: var(--white); overflow: hidden; }
.r-final .text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.r-final h2 { margin: 0; font-size: 44px; font-weight: 700; line-height: 1.16; }
.r-final .text p { font-size: 15px; line-height: 1.68; color: var(--muted-dark); }
.r-final .btn-white { padding: 15px 26px; font-size: 15px; gap: 10px; }
.r-final .btn-white img { width: 16px; height: 16px; }
.r-final .visual { position: relative; width: 420px; height: 300px; flex: none; }
.r-final .visual .phone { position: absolute; left: 120px; top: -196px; width: 300px; height: 558px; object-fit: contain; }
.r-final .fcard { position: absolute; display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 14px 16px; border-radius: 14px; background: var(--white); color: var(--navy); box-shadow: 0 10px 26px rgba(10,18,23,.22); }
.r-final .fcard .row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.r-final .fcard .row span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 40px; background: var(--panel-soft); }
.r-final .fcard .row img { width: 14px; height: 14px; }
.r-final .fcard b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.r-final .fcard.c1 { left: 0; top: 40px; }
.r-final .fcard.c2 { left: 30px; top: 196px; }

/* ============================================================
   Rango intermedio (tabletas)
   ============================================================ */
@media (max-width: 1100px) {
  .r-hero, .deadlines, .register, .limits, .process, .r-services, .r-faq, .r-final { padding-left: 32px; padding-right: 32px; }
  .r-hero .top, .deadlines .content, .register, .limits .row-top, .limits .row-detail, .process .head, .r-final .box { flex-direction: column; align-items: stretch; }
  .r-hero .text, .today-panel, .register .left, .form-dark, .panel-due, .criteria, .process h2 { width: 100%; }
  .r-hero .cards, .steps4, .r-services .row, .others .cases, .upcoming { flex-wrap: wrap; }
  .r-hero .cards > *, .steps4 .step, .r-services .row .card-service, .others .case, .upcoming .card { flex: 1 1 260px; }
  .r-hero h1 { font-size: 44px; }
  .r-final .visual { display: none; }
  .r-faq .panel { padding: 40px 32px; }
  .filters { flex-wrap: wrap; }
}

/* ============================================================
   MÓVIL (≤ 767px) — frame "03 — Declaración de renta v3 (Mobile 390)"
   ============================================================ */
@media (max-width: 767px) {
  .r-hero .visual, .finder, .upcoming .card, .process .support, .r-services .row .card-service, .others .case, .others .title, .kpis .kpi, .season .month, .panel-due .detail div, .detail-panel .head div, .detail-panel .metrics .metric, .r-final .text, .register .quick a, .detail-panel .bar > div { flex: 0 0 auto; }
  .r-hero { gap: 36px; padding: 56px 20px; background: var(--hero-bg); }
  .r-hero .top { flex-direction: column; gap: 32px; }
  .r-hero .text { width: 100%; }
  .r-hero h1 { font-size: 34px; line-height: 1.15; }
  .r-hero .lead { font-size: 15px; }
  .r-hero .ctas { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
  .r-hero .ctas .btn { padding-top: 14px; padding-bottom: 14px; }
  .r-hero .proof { flex-direction: column; align-items: flex-start; gap: 12px; }
  .r-hero .visual .img { height: 300px; }
  .card-today { left: 16px; top: 184px; }
  .r-hero .cards { flex-direction: column; }
  .r-hero .cards > * { flex: none; }
  .hcard .img { height: 150px; flex: none; }
  .hcard.is-accent { gap: 16px; }

  .deadlines { gap: 28px; padding: 56px 20px; }
  .sec-head h2 { font-size: 28px; line-height: 1.15; }
  .sec-head p { font-size: 14px; }
  .deadlines .content { flex-direction: column; gap: 16px; }
  .deadlines .left { flex: none; min-height: auto; }
  .finder { padding: 28px 24px; }
  .finder h3 { font-size: 24px; }
  .finder p { font-size: 14px; }
  .finder .field-row { flex-direction: column; align-items: stretch; }
  .finder .field-row .btn { width: 100%; padding-top: 14px; padding-bottom: 14px; }
  .upcoming { flex-direction: column; gap: 12px; }
  .today-panel { width: 100%; flex: none; min-height: auto; gap: 16px; padding: 28px 24px; }
  .today-panel h3 { font-size: 28px; }

  .register { flex-direction: column; gap: 32px; padding: 56px 20px; }
  .register .left, .form-dark { width: 100%; }
  .register h2 { max-width: none; font-size: 28px; line-height: 1.15; }
  .register .left > p { max-width: none; font-size: 14px; }
  .register .map { height: 200px; }
  .form-dark { padding: 24px 20px; }
  .form-dark .row2 { flex-direction: column; gap: 14px; }
  .form-dark .btn-enviar { width: 100%; }

  .limits { gap: 24px; padding: 56px 20px; }
  .limits .row-top, .limits .row-detail { flex-direction: column; gap: 16px; }
  .panel-dark { padding: 24px; }
  .panel-kpis { flex: none; min-height: auto; gap: 28px; }
  .kpis { flex-direction: column; gap: 18px; }
  .season { flex-direction: column; gap: 14px; }
  .panel-due { width: 100%; flex: none; min-height: auto; gap: 18px; }
  .panel-due.due-wide { flex-direction: column; gap: 24px; padding: 24px; }
  .due-wide .due-left { width: 100%; }
  .panel-due .detail { flex-direction: column; gap: 8px; }
  .panel-due .detail div { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; }
  .filters { flex-wrap: wrap; gap: 10px; }
  .filters > span { display: none; }
  .filters .f.is-search { flex: none; }
  .tabs { justify-content: flex-start; flex-wrap: wrap; }
  .criteria { width: 100%; padding: 24px 20px; }
  .criteria .c { padding-top: 12px; padding-bottom: 12px; }
  .detail-panel { flex: none; min-height: auto; gap: 20px; }
  .detail-panel .head { flex-direction: column; gap: 16px; }
  .detail-panel .metrics { flex-direction: column; gap: 10px; }
  .detail-panel .bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px; }
  .detail-panel .bar .btn { width: 100%; padding-top: 14px; padding-bottom: 14px; }
  .others { padding: 28px 24px; }
  .others .head { flex-direction: column; align-items: flex-start; }
  .others .cases { flex-direction: column; gap: 12px; }

  .process { gap: 32px; padding: 56px 20px; }
  .process .head { flex-direction: column; gap: 20px; }
  .process h2 { width: 100%; font-size: 28px; line-height: 1.15; }
  .process .support p { font-size: 14px; }
  .steps4 { flex-direction: column; gap: 16px; }
  .steps4 .step { flex: none; min-height: auto; }
  .steps4 .step .img { height: 140px; }

  .r-services { gap: 32px; padding: 56px 20px; }
  .r-services .head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .r-services h2 { font-size: 28px; line-height: 1.15; }
  .r-services .head .btn { padding-top: 14px; padding-bottom: 14px; }
  .r-services .grid, .r-services .row { flex-direction: column; gap: 16px; }

  .r-faq { padding: 56px 20px; }
  .r-faq .panel { gap: 24px; padding: 40px 24px 36px; border-radius: 24px; }
  .r-faq h2 { font-size: 28px; line-height: 1.15; }
  .r-faq .faq { padding-left: 20px; padding-right: 12px; }
  .r-faq .faq .q { gap: 12px; }
  .r-faq .faq .answer { padding: 0 8px 0 0; }

  .r-final { padding: 56px 20px; }
  .r-final .box { flex-direction: column; align-items: stretch; gap: 28px; padding: 36px 24px; }
  .r-final h2 { font-size: 28px; line-height: 1.15; }
  .r-final .text p { font-size: 14px; }
  .r-final .btn-white { width: 100%; }
  .r-final .visual { display: block; width: 100%; height: 300px; }
  .r-final .visual .phone { left: 50%; margin-left: -105px; top: 10px; width: 210px; height: 326px; }
  .r-final .fcard.c1 { left: 0; top: 40px; }
  .r-final .fcard.c2 { left: 10px; top: 180px; }
}
