:root {
    --f-b: 'davcondensedCnBold', sans-serif;
    --f-r: 'davcondensedRegular', sans-serif;
    --f-l: 'davcondensedLight', sans-serif;
    --red: #e8202d;
    --red-d: #c4121f;
    --ink: #1d1d1f;
    --mut: #5a5a60;
    --bg: #f7f7f9;
    --line: #e6e6ea
}

* {
    box-sizing: border-box
}

body {
    font-family: var(--f-r);
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5
}

h1,
h2,
h3,
h4 {
    font-family: var(--f-b);
    font-weight: 400;
    line-height: 1.1;
    margin: 0
}

strong,
b {
    font-family: var(--f-b);
    font-weight: 400
}

.sec-lead,
.hero p,
.sit p,
.fcard p,
.sm-t {
    font-family: var(--f-l)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}


.sec {
    padding: 56px 0
}

.red {
    color: var(--red)
}

.eyebrow {
    display: block;
    text-align: center;
    color: var(--mut);
    font-size: .8rem;
    margin-bottom: 8px;
    font-family: 'davcondensedCnBold', sans-serif;
}

.sec-title {
    text-align: center;
    color: var(--red);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem)
}

.sec-lead {
    text-align: center;
    max-width: 560px;
    margin: 18px auto 32px;
    color: #333;
    font-size: 1rem;
}

/* Botones */
.btn-dv {
    display: inline-block;
    background: linear-gradient(180deg,rgba(248, 174, 178, 1) 0%, rgba(237, 28, 39, 1) 63%);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 26px;
    font-family: var(--f-b);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s
}

.btn-dv2 {
    display: inline-block;
    background: linear-gradient(180deg,rgba(248, 174, 178, 1) 0%, rgba(237, 28, 39, 1) 63%);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 5px 26px;
    font-family: var(--f-b);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s
}

.btn-dv:hover {
    background: var(--red-d);
    color: #fff
}

.btn-dv.sm {
    padding: 6px 18px;
    font-size: .85rem;
    border-radius: 20px
}

.btn-dv.lg {
    padding: 14px 40px;
    font-size: 1.3rem;
    border-radius: 12px
}

.btn-dv2:hover {
    background: var(--red-d);
    color: #fff
}

.btn-dv2.sm {
    padding: 6px 25px;
    font-size: .85rem;
    border-radius: 10px
}

.btn-dv2.lg {
    padding: 14px 40px;
    font-size: 1.5rem;
    border-radius: 12px
}

.btn-soft {
    display: inline-block;
    background: #f0f0f3;
    color: #9a9aa2;
    border: 0;
    border-radius: 10px;
    padding: 12px 26px;
    font-family: var(--f-b);
    font-weight: 400;
    text-decoration: none
}

.btn-soft:hover {
    color: var(--red)
}

:focus-visible {
    outline: 3px solid #222;
    outline-offset: 2px
}

/* Header */
.top {
    position: relative;
    min-height: 84px
}

.logo-tab {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none
}

.logo-tab img {
    pointer-events: auto
}

.logo-tab img {
    width: 150px;
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding-top: 26px;
    position: relative;
    z-index: 3
}

.pill-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .85rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05)
}

.pill-phone img {
    width: 18px;
    height: 18px
}

/* Hero */
.hero {
    padding-top: 24px
}

.hero h1 {
    color: var(--red);
    font-size: 4rem;
    margin-bottom: 28px;
}

.hero p {
    max-width: 650px;
    color: #333;
    font-size: 1.2rem;
}

.hero .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px
}

.hero-fig {
    position: relative;
    max-width: 550px;
    margin-left: auto;
    padding-top: 20px
}



.hero-fig>img {
    position: relative;
    width: 78%;
    aspect-ratio: 3/4;
    margin: 0 auto -60px
}

.safe-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    padding: 16px 20px;
    text-align: center
}

.safe-card h3 {
    color: var(--red);
    font-size: 1.5rem
}

.safe-card p {
    font-size: 1rem;
    color: var(--mut);
    margin: 6px 0 10px
}

.safe-card .dom {
    background: #f5f5f7;
    font-size: .75rem;
    padding: 4px;
    margin-bottom: 10px
}

/* Emergencia */
.alert-box {
    background: linear-gradient(120deg, #e8202d, #f4434f);
    color: #fff;
    border-radius: 26px;
    padding: 42px 48px
}

.tag {
    display: inline-block;
    background: rgba(255, 255, 255, .25);
    border-radius: 6px;
    padding: 2px 12px;
    font-size: .8rem;
    margin-bottom: 10px
}

.alert-box h2 {
    font-size: 2rem;
    margin-bottom: 10px
}

.alert-box p {
    max-width: 520px;
    margin: 0;
    font-size: 1rem
}

/* Tabs situacion */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.tab-b {
    border: 0;
    background: #f0f0f3;
    color: #9a9aa2;
    border-radius: 10px;
    padding: 9px 20px;
    font-family: var(--f-b);
    font-weight: 400;
    cursor: pointer
}

.tab-b.on {
    background: linear-gradient(180deg,rgba(248, 174, 178, 1) 0%, rgba(237, 28, 39, 1) 63%);
    color: #fff
}

.sit h3 {
    font-size: 1.9rem;
    margin: 6px 0 14px
}

.sit-lbl {
    color: var(--red);
    font-weight: 400;
    font-family: var(--f-b);
    font-size: 1.1rem
}

.sit p {
    color: var(--mut);
    font-size: .9rem
}

.sit img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 14px;
    margin-top: 18px
}

.route-t {
    color: var(--red);
    font-family: var(--f-b);
    font-weight: 400;
    font-size: 1.4rem
}

.steps {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    position: relative
}

.steps::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 0;
    width: 3px;
    background: var(--red)
}

.steps li {
    position: relative;
    padding: 0 0 48px 100px;
    min-height: 56px
}

.steps .n {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 56px;
    height: 56px;
    border: 3px solid var(--red);
    background: #fff;
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-b);
    font-size: 2.2rem;
    line-height: 1;
    padding-top: 3px;
    font-weight: 400
}

.steps h4 {
    font-size: 1.4rem;
    margin: 2px 0 8px
}

.steps p {
    font-size: 1.05rem;
    margin: 0 0 16px;
    color: #444
}

/* Slider */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px
}

.slider {
    position: relative
}

.track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 18px
}

.track::-webkit-scrollbar {
    display: none
}

.fcard {
    flex: 0 0 calc((100% - 40px)/3);
    scroll-snap-align: start;
    background: #f4f4f6;
    border-radius: 20px;
    padding: 22px 20px
}

.fcard.hide {
    display: none
}

.cat-comuni {
    font-family: var(--f-b);
    display: inline-block;
    font-size: .7rem;
    font-weight: 400;
    color: #1a62b5;
    background: #e3eefa;
    border-radius: 4px;
    padding: 1px 10px
}

.cat-social {
    font-family: var(--f-b);
    display: inline-block;
    font-size: .7rem;
    font-weight: 400;
    color: #059669;
    background: #e3faeb;
    border-radius: 4px;
    padding: 1px 10px
}

.cat-digital {
    font-family: var(--f-b);
    display: inline-block;
    font-size: .7rem;
    font-weight: 400;
    color: #ed1c27;
    background: #fae3e3;
    border-radius: 4px;
    padding: 1px 10px
}

.fcard h3 {
    font-size: 1.1rem;
    margin: 12px 0 8px
}

.fcard p {
    font-size: .75rem;
    color: var(--mut);
    margin: 0 0 12px
}

.fcard .shot {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px 0px;
}

.fcard .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.fcard h4 {
    font-size: .8rem;
    color: var(--red);
    margin-bottom: 4px
}

.fcard .two p {
    font-size: .7rem;
    margin: 0
}

.arr {
    position: absolute;
    top: 45%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--red);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2)
}

.arr.prev {
    left: -17px
}

.arr.next {
    right: -17px
}

.bar {
    height: 5px;
    background: #ececf0;
    border-radius: 5px;
    width: min(400px, 60%);
    margin: 0 auto;
    overflow: hidden
}

.bar i {
    display: block;
    height: 100%;
    width: 25%;
    background: #cfcfd6;
    border-radius: 5px;
    transition: margin .2s
}

/* Seguro */
.seg {
    background: #f4f4f6;
    border-radius: 30px;
    position: relative;
    padding: 25px 40px 25px 30px;
    margin-top: 20px;
}

.seg-img {
    width: 100%;
}

.seg h2 {
    color: var(--red);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 14px
}

.seg p {
    font-size: 1rem
}

.seg small {
    display: block;
    margin-top: 10px;
    font-size: .75rem
}

/* Verificador */
.ver-wrap {
    background: var(--bg);
    padding: 56px 0
}

.ver {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    padding: 48px 56px;
    max-width: 820px;
    margin: 0 auto
}

.ver h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem)
}

.ver .sm-t {
    text-align: center;
    font-size: .85rem;
    color: var(--mut);
    margin: 14px 0 24px
}

.ver label {
    font-family: var(--f-b);
    font-weight: 400;
    font-size: .8rem;
    display: block;
    margin-bottom: 6px
}

.ver-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.ver-row input {
    flex: 1 1 220px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 12px
}

.res {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .85rem;
    display: none
}

.res.ok {
    display: block;
    background: #e7f6ec;
    color: #17692f
}

.res.no {
    display: block;
    background: #fdeaec;
    color: var(--red-d)
}

.res strong {
    display: block;
    font-size: 1rem
}

.res-c + .res-c {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, .08)
}

.res-area {
    display: block;
    font-family: var(--f-b);
    margin-bottom: 6px
}

.res p,
.res ul {
    margin: 0 0 8px
}

.res p:last-child {
    margin-bottom: 0
}

.res ul {
    padding-left: 18px
}

.inv {
    font-family: var(--f-b);
    font-weight: 400;
    font-size: .85rem;
    margin: 30px 0 12px
}

.inv-i {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .75rem;
    height: 100%
}

.inv-i img {
    width: 26px;
    height: 26px;
    flex: none
}

.inv-i b {
    display: block
}

.inv-i span {
    overflow-wrap: anywhere
}

/* Quiz */
.quiz {
    background: linear-gradient(120deg, #e8202d, #f4434f);
    color: #fff;
    border-radius: 28px;
    padding: 44px 40px
}

.quiz h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 14px
}

.quiz .lead {
    font-size: .9rem;
    max-width: 380px;
    margin: 0 auto 22px;
    text-align: center
}

.quiz-in {
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    padding: 18px 22px
}

.quiz-in .q {
    font-family: var(--f-b);
    font-weight: 400;
    font-size: .9rem;
    margin-bottom: 14px
}

.q-n {
    color: var(--red);
    margin-right: 6px
}

.opt {
    display: block;
    width: 100%;
    text-align: left;
    background: #f5f5f7;
    color: var(--red);
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: .8rem;
    margin-bottom: 10px;
    cursor: pointer
}

.opt.good {
    background: #e7f6ec;
    color: #17692f
}

.opt.bad {
    background: #fdeaec;
    color: var(--red-d);
    text-decoration: line-through
}

.q-fb {
    font-size: .8rem;
    margin: 4px 0 10px
}

.q-next {
    display: none
}

.quiz-fig {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    margin: 0 auto
}

/* Reclamos y footer */
.recl h2 {
    text-align: center;
    color: var(--red);
    font-size: 2.2rem
}

.recl p {
    text-align: center;
    max-width: 380px;
    margin: 18px auto 0
}

.foot {
    border-top: 1px solid var(--line);
    margin-top: 56px;
    padding: 32px 0;
    text-align: center;
    font-size: .85rem
}

.foot p {
    max-width: 880px;
    margin: 0 auto 22px
}

.foot img {
    width: 150px;
    margin: 0 auto
}

/* Anclas */
html {
    scroll-behavior: smooth
}

section[id] {
    scroll-margin-top: 20px
}

/* Modales */
body:has(dialog[open]) {
    overflow: hidden
}

.dmodal {
    border: 0;
    border-radius: 40px;
    padding: 36px 56px 40px;
    width: calc(100% - 32px);
    max-width: 820px;
    max-height: calc(100vh - 32px);
    color: var(--ink)
}

.dmodal::backdrop {
    background: rgba(0, 0, 0, .55)
}

.dm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line)
}

.dm-head img {
    width: 200px
}

.dm-x {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    padding: 0 0 4px;
    cursor: pointer
}

.dm-title {
    color: var(--red);
    text-align: center;
    font-size: 2rem;
    margin: 36px 0 32px
}

.dm-body h4 {
    font-size: 1.1rem;
    color: #000;
    margin: 0 0 2px
}

.dm-body p {
    font-family: var(--f-l);
    font-size: 1.05rem;
    margin: 0 0 24px
}

.dm-foot {
    text-align: center;
    margin-top: 32px
}

.dm-ok {
    border-radius: 20px;
    padding: 12px 70px;
    font-size: 1.3rem
}

/* Responsive */
@media(max-width:991px) {
    .fcard {
        flex-basis: calc((100% - 20px)/2)
    }

    .hero-fig {
        margin: 36px auto 0
    }

    .seg {
        padding: 0 24px 30px
    }

    .seg-img {
        max-width: 320px;
        margin: -30px auto 20px
    }

    .quiz-fig {
        margin-top: 28px
    }

    .arr.prev {
        left: -8px
    }

    .arr.next {
        right: -8px
    }
}

@media(max-width:575px) {
    .logo-tab {
        width: 96px;
        height: 68px
    }

    .hero h1{
        font-size: 2.5rem;
    }

    .logo-tab img {
        display: none;
    }

    .top-actions {
        padding-top: 16px;
        gap: 8px
    }

    .pill-phone {
        font-size: .7rem;
        padding: 6px 10px
    }

    .hero {
        padding-top: 40px
    }

    .alert-box {
        padding: 28px 22px;
        border-radius: 20px
    }

    .fcard {
        flex-basis: 88%
    }

    .ver {
        padding: 30px 20px
    }

    .quiz {
        padding: 30px 18px
    }

    .steps li {
        padding: 0 0 36px 68px;
        min-height: 46px
    }

    .steps::before {
        left: 21px;
        top: 23px
    }

    .steps .n {
        width: 46px;
        height: 46px;
        font-size: 1.8rem
    }

    .steps h4 {
        font-size: 1.2rem
    }

    .dmodal {
        padding: 22px 20px 28px !important;
        border-radius: 28px !important
    }

    .dm-head img {
        width: 150px !important
    }

    .dm-title {
        font-size: 1.5rem !important;
        margin: 26px 0 22px !important
    }

    .arr {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* ===== Imágenes grandes en cards: recorte + enlace "Ver imagen completa" ===== */
.shot-crop {
    max-height: 220px;
    overflow: hidden;
    border-radius: 8px;
}

.shot-crop .shot {
    margin-bottom: 0;
    object-fit: cover;
    object-position: top center;
}

.shot-more {
    display: block;
    margin: 4px 0 12px;
    font-family: var(--f-r);
    font-size: .75rem;
    color: var(--red);
    text-decoration: underline;
}

.shot-more:hover {
    color: var(--red-d);
}

/* Modal de imagen completa */
.zoom-modal {
    border: 0;
    border-radius: 20px;
    padding: 0;
    width: calc(100% - 32px);
    max-width: 960px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    background: #fff;
}

.zoom-modal::backdrop {
    background: rgba(0, 0, 0, .65);
}

.zoom-body {
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 16px;
}

.zoom-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.zoom-x {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0 0 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

@media (max-width: 575px) {
    .shot-crop { max-height: 180px; }
    .zoom-body { padding: 10px; }
}