:root {
    --brand: #E5004B;
    --ink: #111;
    --ink-2: #444;
    --bg: #fff;
    --shadow: 0 8px 20px rgba(0,0,0,.06);
    --maxw: 1100px;
    --gap: 28px;
    --h-desktop: 92px;
    --h-mobile: 74px;
    --title-f: "Montserrat", sans-serif;
    --common-f: "Montserrat", sans-serif;
    --footer-bg: #2e3838;
    --footer-dark: #1f292b;
    --footer-ink: #dfe7e7;
    --footer-ink-2: #b9c2c2;
    --ring: 0 0 0 2px rgba(255,255,255,.5) inset;
    --gap-1:10px;
}


* {
    box-sizing: border-box;
    font-family: var(--common-f)
}

h1, h2, h3, h4, h5, h6, button {
    font-family:var(--title-f);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom:0;
}

p {
    margin-top:0;
}

html, body {
    margin: 0;
    background-color:whitesmoke;
}

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

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none;
    margin: 0;
    padding: 0
}

section {
    padding-top:30px;
    padding-bottom:30px;
}

.inner-section {
    margin: var(--gap-1) auto;
}

/*SISTEMA-GRID*/
.grid-4 {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-columns:min-content;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-columns: min-content;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-auto-columns: min-content;
}

.grid-6-4 {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-auto-columns: min-content;
    align-items: stretch;
}

.grid-4-6 {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-auto-columns: min-content;
    align-items: stretch;
}

.gap-1 {
    gap:10px;
}

.gap-2 {
    gap: 20px;
}

.gap-3 {
    gap: 30px;
}

.full-w {
    padding:15px;
}

.sidebar-a {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-auto-columns: min-content;
    align-items: stretch;
}

.sidebar-b {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-auto-columns: min-content;
    align-items: stretch;
}

.sidebar-c {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-auto-columns: min-content;
    align-items: stretch;
}


/*HEADER*/

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid #dedede;
}


.nav-wrap {
    margin-inline: auto;
    max-width: var(--maxw);
    display: grid;
    align-items: stretch;
    grid-template-columns: 180px 1fr auto;
    gap: var(--gap);
    height: var(--h-desktop);
    transition: all 0.4s ease;
    margin-bottom: 15px;
    margin-top: 15px;
}


.logo {
    width: 86px;
    height: 100%;
    display: grid;
    place-items: center;
    transition: all .4s ease;
    transform-origin: left center;
    position:relative;
    bottom:0;
}

    .logo img {
        width: 86px;
        height: 86px;
        object-fit: cover;
        margin:0;
    }


.main-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: start;
    gap: 36px;
    color: var(--ink);
    font-family: var(--title-f);
    white-space: nowrap;
    margin-bottom: 0px;
    transition: all 0.4s ease;
    bottom: 0;
    position: relative;
}
.scrolled nav.main-nav {
    bottom: 12px;
    position: relative;
    transition: all 0.4s ease;
}

    .main-nav a:hover {
        color:var(--brand);
        transition: all 0.4s ease;
    }

    .main-nav a {
        transition: all 0.4s ease;
    }

.actions {
    display: flex;
    justify-content: flex-end;
    align-items: start;
    gap: 28px;
    max-width: var(--maxw);
    font-family: var(--title-f);
    margin-left: auto;
    transition: all 0.4s ease;
    position: relative;
    top: 0;
    font-size: 0.85rem;
}

.scrolled .actions {
    position: relative;
    top: 0px;
    transition: all 0.4s ease;
}

.actions-n-nav {
    display: grid;
    justify-items: end;
}

    .actions a:first-child {
        justify-self: start;
    }

    .actions a:not(:first-child) {
        justify-self: end;
    }

    .actions a {
        color: var(--ink);

    }


.has-sub {
    position: relative;
}

    .has-sub > a {
        display: grid;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        position: relative;
        top: 13px;
        z-index: 1;
    }

.submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 320px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    padding: 16px 0;
    visibility: hidden;
    box-shadow: rgb(204, 204, 204) 1px 5px 2px 1px;
    border-top: 1px solid rgb(229, 0, 75);
    transition: all 0.4s ease;
    opacity: 0;
}

    .submenu a {
        display: block;
        padding: 12px 18px;
        color: var(--ink-2);
    }

        .submenu a:hover {
            background: #f8f8f8;
            color: var(--brand)
        }


.has-sub::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + -3px);
    width: 13px;
    height: 13px;
    background: linear-gradient(-240deg, transparent 0%, white 0%);
    transition: all .2s ease;
    transform: rotate(136deg);
    border: 1px solid;
    border-color: var(--brand) var(--brand) white white;
    z-index: 0;
    opacity: 0;
}

.has-sub:hover::after {
    opacity: 1
}

.has-sub:hover .submenu {
    visibility: visible;
    transition: all 0.4s ease;
    opacity: 1;
}


.burger {
    display: none; 
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .burger span, .burger::before, .burger::after {
        content: "";
        display: block;
        height: 2px;
        width: 22px;
        background: var(--ink);
        transition: transform .2s ease, opacity .2s ease;
    }

    .burger::before {
        transform: translateY(-6px)
    }

    .burger::after {
        transform: translateY(6px)
    }


#nav-toggle {
    display: none
}

.mobile-panel {
    position: fixed;
    inset: var(--h-mobile) 0 auto 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
    padding: 14px 14px 28px;
    transform: translateX(-120%);
    transition: transform .25s ease;
    top: 90px;
    height: calc(100dvh - 80px);
    align-content: start;
}

section.fcol a:first-of-type h4 {
    margin-top: 15px;
}

#nav-toggle:checked ~ .mobile-panel {
    transform: translateX(0)
}

.m-link {
    padding: 14px 8px;
    font: 600 16px/1.1 system-ui;
    color: var(--ink);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

    .m-link .dot {
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--brand);
        color: #fff;
        font-weight: 700
    }


details {
    border-bottom: 1px solid #f1f1f1
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 8px;
    font: 700 16px/1.1 system-ui
}

    summary::-webkit-details-marker {
        display: none
    }

details .subm a {
    display: block;
    padding: 12px 12px 12px 18px;
    color: var(--ink-2);
    font-weight: 600
}

    details .subm a + a {
        border-top: 1px solid #f6f6f6
    }


.scrolled .nav-wrap {
    height: calc(var(--h-desktop) * .65);
    transition: all .4s ease;
}

.scrolled .logo {
    transform: scale(.8);
    position: relative;
    bottom: 13px;
    transition: all 0.4s ease;
}

#chats {
    position: fixed;
    bottom: 10%;
    right: 0.5rem;
    z-index: 9999;
}
#chats img{ width:4rem !important;}

/*------*/

.mt {
    margin-top: 18px
}

.container {
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;

}

/*FOOTER*/
.site-footer {
    color: var(--footer-ink);
    background: var(--footer-bg);
    margin-top: 48px;
    box-shadow: var(--shadow);
}

/* TOP: grid principal */
.footer-top {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1fr auto; /* cols links | meta derecha */
    gap: 40px;
}

/* Subgrid de columnas de links */
.fcols {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 56px;
}

.fcol h4 {
    margin: 0 0 14px;
    font: 700 20px/1.1 Montserrat, system-ui;
    color: #fff !important;
}

.fcol ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.fcol a {
    color: var(--footer-ink-2);
    font: 600 16px/1.3 Montserrat, system-ui;
}

    .fcol a:hover {
        color: #fff;
        text-decoration: underline
    }

/* Meta derecha: call + social */
.fmeta {
    display: grid;
    gap: 18px;
    align-content: start;
    justify-items: end;
}

.call {
    font: 700 22px/1.1 Montserrat, system-ui;
    color: #fff;
    white-space: nowrap;
}

    .call a {
        color: #fff
    }

        .call a:hover {
            text-decoration: underline
        }


.social {
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    align-items: center;
}

.ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    position: relative;
    box-shadow: 0 1px 0 rgba(0,0,0,.12);
}

    .ico::before {
        content: "";
        width: 18px;
        height: 18px;
        background: #0f1416;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }

.fb::before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M279.14 288l14.22-92.66h-88.91V127.89c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.2V288z"/></svg>');
}

.yt::before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M549.65 124.08a68.85 68.85 0 0 0-48.64-48.82C458.54 64 288 64 288 64s-170.54 0-213 11.26a68.85 68.85 0 0 0-48.64 48.82C16 166.64 16 256 16 256s0 89.36 10.72 131.92a68.85 68.85 0 0 0 48.64 48.82C117.46 448 288 448 288 448s170.54 0 213-11.26a68.85 68.85 0 0 0 48.64-48.82C560 345.36 560 256 560 256s0-89.36-10.35-131.92zM232 334V178l142 78z"/></svg>');
}

.ig::before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M224,202.66A53.34,53.34,0,1,0,277.34,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.35-30.35c-21-8.28-71-6.41-94.36-6.41s-73.29-1.87-94.36,6.41a54,54,0,0,0-30.35,30.35c-8.28,21-6.41,71-6.41,94.36s-1.87,73.29,6.41,94.36a54,54,0,0,0,30.35,30.35c21,8.28,71,6.41,94.36,6.41s73.29,1.87,94.36-6.41a54,54,0,0,0,30.35-30.35c8.28-21,6.41-71,6.41-94.36S357,182.62,348.71,161.66ZM224,338a82,82,0,1,1,82-82A82,82,0,0,1,224,338Zm85.33-148.19a19.2,19.2,0,1,1,19.2-19.2A19.2,19.2,0,0,1,309.33,189.81Z"/></svg>');
    width: 30px;
    height: 33px;
}

.in::before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M100.28 448H7.4V148.9h92.88zm-46.44-340a53.9 53.9 0 1 1 53.9-53.9 53.9 53.9 0 0 1-53.9 53.9zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.25-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.7V148.9h89.1v40.8h1.3c12.4-23.6 42.7-48.5 87.9-48.5 94 0 111.25 61.9 111.25 142.3z"/></svg>');
}

.footer-bottom {
    background: var(--footer-dark);
    color: var(--footer-ink-2);
    padding: 16px 20px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-inline: auto;
}

    .footer-bottom .container {
        max-width: var(--maxw);
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 40% 60%;
    }

.legal-left {
    font: 600 14px/1.4 Montserrat, system-ui
}

.legal-links {
    display: grid;
    grid-auto-flow: column;
    gap: 28px;
}

    .legal-links a {
        color: var(--footer-ink-2)
    }

        .legal-links a:hover {
            color: #fff;
            text-decoration: underline
        }
/*------*/

.text-center {
    text-align:center;
}

.hero-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide picture,
.hero-slide img {
    width: 100%;
    display: block;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 50px;
    border-radius: 50px;
    background: rgba(0, 0, 0, .4);
    display: grid;
    place-items: center;
    cursor: pointer;
    border: none;
    opacity: 0.8;
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

.hero-nav-btn span {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.hero-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,.6);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.4);
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

/* Faja roja CTA */
.red-cta {
    background: #fff;
    color: var(--brand);
    text-align: center;
    padding: 16px 0;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

    .red-cta .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .red-cta .cta-text {
        font-weight: 600;
        font-size: 16px;
    }

    .red-cta .cta-btn a {
        display: inline-block;
        background: black;
        color: white;
        padding: 8px 20px;
        border-radius: 0;
        font-weight: 700;
        text-transform: uppercase;
    }

/* Bloques CTA (blog/chat/revistas) */
.cta-block {
    overflow: hidden;
    text-align: center;
}

    .cta-block img {
        width: 100%;
        display: block;
    }

.borded-section {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.cta-info {
    padding: 10px;
}

    .cta-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 500;
        margin-top: 0;
    }

.cta-dark {
    display: inline-block;
    background: #000;
    color: #fff;
    font-weight: 600;
    padding: 8px 40px
}

/* Sección final */
.final-copy h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

    .final-copy h2 span {
        color: var(--brand);
    }

.final-copy p {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0px;
}

/* breadcrumb-section */

.breadcrumb-section {
    margin: 100px 0 0;
}

    .breadcrumb-section ul li {
        display: inline-block
    }

    .breadcrumb-section .breadcrumb-item {
        position: relative;
        height: 26px;
        padding-left: 20px;
        font-size: 12px;
        font-weight: bold;
        color: #000;
        text-transform: uppercase;
        line-height: 28px;
    }

        .breadcrumb-section .breadcrumb-item:not(.breadcrumb-home):before {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border-style: solid;
            border-color: transparent;
            border-right: 0;
            top: 40%;
            left: 0;
            width: 15px;
            height: 8px;
            margin-top: -4px;
            background: url(/images/bc-arrow.png) no-repeat center center;
        }


.breadcrumb-item.breadcrumb-home a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
}

    .breadcrumb-item.breadcrumb-home a::before {
        content: "";
        display: block;
        width: 16px;
        height: 16px;
        background-color: currentColor;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='black' d='M288 0L0 224h96v288h160V352h64v160h160V224h96L288 0z'/%3E%3C/svg%3E");
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        transition: background-color 0.2s ease;
    }


@media (max-width: 1100px) {
    .nav-wrap {
        grid-template-columns: 120px 1fr auto
    }

    .main-nav {
        gap: 24px
    }
    .fcols {
        gap: 36px
    }
}

@media (max-width: 920px) {

    .red-cta .container {
        flex-direction: column;
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .fmeta {
        justify-items: start
    }

    .fcols {
        grid-template-columns: 1fr 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }

    .nav-wrap {
        height: var(--h-mobile)
    }

    .main-nav, .actions {
        display: none
    }

    .burger {
        display: block;
        position: absolute;
        right: 20px;
        top: 40px;
    }

    .scrolled .logo {
        bottom: 0;
    }

    .logo img {
        width: 64px;
        height: 64px
    }
}

main {
    padding-top: var(--h-desktop);
    max-width: var(--maxw);
    margin: 0 auto;
}

@media (max-width:1050px){
    .footer-bottom .container {
        grid-template-columns: 100%;
    }
    .container {
        width:90%;
    }
}

@media (max-width:920px) {
    main {
        padding-top: var(--h-mobile)
    }
}

@media screen and (max-width:600px){
    .fcols {
        grid-template-columns: 1fr
    }

    .legal-bottom, .legal-links {
        grid-auto-flow: row
    }

    .legal-links {
        gap: 12px;
        justify-self: start
    }
}

/* RESPONSIVE PARA GRIDS */


@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr); 
    }

    .grid-2 {
        grid-template-columns: 1fr; 
    }

    .grid-6-4,
    .grid-4-6 {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr; 
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-6-4,
    .grid-4-6, .sidebar-a, .sidebar-b, .sidebar-c {
        grid-template-columns: 1fr;
    }
    .breadcrumb-section {
        display: none;
    }
}

