/* DIRECTORIO ENCARNACIÓN — CSS ORDENADO PARA EDICIÓN */
/* Se mantiene el orden original de reglas para evitar cambiar el diseño. */
/* Los bloques históricos se identifican por sus comentarios de versión. */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
    --navy: #172d42;
    --ink: #1b3042;
    --muted: #657584;
    --teal: #00b4a2;
    --light: #f3f7f9;
    --border: #dce5e9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Montserrat,Arial,sans-serif;
    color: var(--ink);
    background: white;
}

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

.container {
    max-width: 1400px;
    margin: auto;
    padding: 0 26px;
}

.top {
    background: #0f2437;
    color: #d7e4eb;
    padding: 10px 0;
    font-size: 12px;
}

.nav {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.brand {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.8px;
}

.brand span {
    color: var(--teal);
}

.navlinks {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 8px;
    padding: 13px 17px;
    background: var(--navy);
    color: white;
    font: 700 12px Montserrat,Arial;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    filter: brightness(1.13);
}

.btn.teal {
    background: var(--teal);
    color: #07323a;
}

.btn.outline {
    background: white;
    color: var(--navy);
    border: 1px solid var(--border);
}

.hero {
    background: linear-gradient(112deg,rgba(12,34,53,.96),rgba(18,55,74,.86)),radial-gradient(circle at 85% 10%,#16b9a6,#132e43 70%);
    color: white;
    padding: 100px 0 95px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 800;
    color: #5fe0d1;
}

.hero h1 {
    font-size: clamp(31px,4.2vw,57px);
    line-height: 1.1;
    max-width: 800px;
    margin: 14px 0 18px;
}

.hero p {
    color: #d5e2e9;
    max-width: 690px;
    line-height: 1.7;
}

.search {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1fr auto;
    gap: 10px;
    background: white;
    padding: 11px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 15px 35px #0002;
}

.search input,.search select,.field input,.field select,.field textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: white;
    color: var(--ink);
    font: 500 13px Montserrat;
}

.search input,.search select {
    background: #f7fafb;
}

section {
    padding: 67px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 29px;
    margin: 0 0 8px;
}

.section-head p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.soft {
    background: var(--light);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 19px;
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 25px #172d420b;
    display: flex;
    flex-direction: column;
}

.photo {
    aspect-ratio: 5/3;
    background: linear-gradient(130deg,#d8e9ed,#edf3f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #708b98;
    font-size: 42px;
    position: relative;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f6ca45;
    color: #382c08;
    font-weight: 800;
    font-size: 10px;
    border-radius: 30px;
    padding: 7px 11px;
}

.tag.assoc {
    background: #d8f7e7;
    color: #12603c;
}

.card-body {
    padding: 19px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.meta {
    color: #607586;
    font-size: 11px;
    line-height: 1.6;
}

.desc {
    font-size: 12px;
    line-height: 1.7;
    color: #4b5b67;
    text-align: justify;
    flex: 1;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.actions .btn {
    padding: 10px;
    font-size: 10px;
}

.rubros {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 13px;
}

.rubro {
    padding: 23px 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
    font-size: 12px;
    font-weight: 700;
    min-height: 83px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rubro:before {
    content: "◈";
    color: var(--teal);
    font-size: 22px;
}

.cta {
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta p {
    color: #c7d9e1;
    font-size: 13px;
    line-height: 1.6;
}

.footer {
    background: #10283b;
    color: #d4e0e6;
    padding: 44px 0;
}

.footer p {
    font-size: 12px;
    line-height: 1.8;
}

.footer a {
    color: #d4e0e6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.field.full {
    grid-column: 1/-1;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 28px;
}

.notice {
    background: #fff9e9;
    border: 1px solid #f0dbab;
    border-radius: 9px;
    padding: 15px;
    font-size: 12px;
    line-height: 1.7;
}

.empty {
    padding: 30px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    grid-column: 1/-1;
}

.breadcrumb {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 25px;
}

.detail {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 35px;
}

.detail .photo {
    aspect-ratio: 1;
}

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

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

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

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

    .navlinks {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

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

@media (max-width:560px) {
    .container {
        padding: 0 14px;
    }

    .nav .container {
        flex-wrap: wrap;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .brand {
        font-size: 19px;
    }

    .navlinks {
        width: 100%;
        justify-content: space-between;
        font-size: 10px;
    }

    .navlinks .btn {
        padding: 9px;
        font-size: 10px;
    }

    .hero {
        padding: 65px 0;
    }

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

    .grid {
        gap: 9px;
    }

    .card-body {
        padding: 12px;
    }

    .card h3 {
        font-size: 13px;
    }

    .photo {
        aspect-ratio: 4/3;
    }

    .desc {
        font-size: 11px;
    }

    .actions .btn {
        font-size: 9px;
    }

    .rubros {
        gap: 9px;
    }

    .rubro {
        padding: 14px 9px;
        font-size: 10px;
    }

    .form-grid,.footer-cols {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head h2 {
        font-size: 24px;
    }

    section {
        padding: 43px 0;
    }
}

/* V2: header comercial, auspiciantes, hero, tabs y destacados */

.sponsor-strip {
    background: #f3f7fa;
    border-bottom: 1px solid #e1e8ef;
    color: #142b41;
}

.sponsor-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.sponsor-inner>strong {
    white-space: nowrap;
    font-size: 14px;
}

.sponsor-window {
    overflow: hidden;
    flex: 1;
}

.sponsor-track {
    display: flex;
    align-items: center;
    gap: 15px;
    width: max-content;
    animation: sponsor-slide 36s linear infinite;
}

.sponsor-track:hover {
    animation-play-state: paused;
}

.sponsor-track>a,.sponsor-no-link {
    width: 190px;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
    background: white;
    border: 1px solid #e4ebf2;
    border-radius: 9px;
    text-decoration: none;
    color: #18354e;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.sponsor-track img {
    max-width: 100%;
    max-height: 49px;
    object-fit: contain;
}

@keyframes sponsor-slide {
    to {
        transform: translateX(-50%);
    }
}

.nav-v2 {
    position: relative;
    z-index: 4;
    background: #112c42;
}

.nav-v2-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
}

.nav-v2 .brand {
    font-size: 18px;
}

.nav-v2 .brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #b9d1df;
}

.nav-v2 .navlinks {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-v2 .navlinks a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .6px;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: #e12b25;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 900;
}

.social-links a[hidden] {
    display: none;
}

.hero-v2 {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    background: #17354b url("../img/hero-encarnacion.webp") center/cover no-repeat;
    color: white;
    overflow: hidden;
}

.hero-v2 .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-v2 .hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg,rgba(11,27,46,.89),rgba(37,40,55,.58));
    z-index: 1;
}

.hero-v2 .hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 110px;
}

.hero-v2 h1 {
    font-size: clamp(36px,5vw,64px);
    line-height: 1.08;
    max-width: 850px;
    margin: 18px 0;
}

.hero-v2 p {
    font-size: 19px;
    max-width: 850px;
    color: #fff;
}

.search-v2 {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr auto;
    align-items: end;
    gap: 12px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-top: 34px;
}

.search-v2 label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.search-v2 input,.search-v2 select {
    height: 49px;
    border: 0;
    border-radius: 5px;
    background: white;
    padding: 0 13px;
    width: 100%;
    color: #273b50;
}

.search-button {
    background: #ed2822 !important;
    color: white !important;
    border: 0 !important;
    min-height: 49px;
    white-space: nowrap;
}

.quick-tabs-wrap {
    background: #fff;
    padding: 0 0 54px;
}

.quick-tabs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    position: relative;
    margin-top: -53px;
    z-index: 3;
}

.quick-tab {
    border: 0;
    background: #df2b27;
    color: white;
    min-height: 190px;
    padding: 24px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 8px 23px #0002;
}

.quick-tab.active,.quick-tab:hover {
    background: #b91e20;
    transform: translateY(-3px);
}

.tab-icon {
    font-size: 39px;
    line-height: 1;
}

.quick-tab strong {
    font-size: 20px;
}

.quick-tab small {
    font-size: 12px;
    color: #fff;
}

.quick-tab-panel {
    text-align: center;
    padding: 36px 15px 0;
}

.quick-tab-panel h2 {
    font-size: 26px;
    margin: 0 0 8px;
}

.quick-tab-panel p {
    margin: 0 0 22px;
    color: #657586;
}

.quick-tab-panel .rubros {
    justify-content: center;
}

.tab-action {
    margin: 20px;
}

.recommend-section {
    background: #fff4f3;
    padding: 75px 0;
}

.centered {
    justify-content: center;
    text-align: center;
}

.red {
    color: #dc2e2b;
}

.brand-hero {
    min-height: 350px;
    background: linear-gradient(115deg,#102c44,#a72a2a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    color: white;
    padding: 45px 7%;
    gap: 20px;
    background-size: cover;
    background-position: center;
}

.brand-hero-text {
    max-width: 590px;
    position: relative;
    z-index: 1;
}

.brand-hero-text>span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
}

.brand-hero h3 {
    font-size: clamp(30px,4vw,51px);
    margin: 15px 0;
}

.brand-hero p {
    color: #e7eef3;
}

.brand-hero-art {
    font-weight: 900;
    letter-spacing: 4px;
    font-size: clamp(22px,3vw,45px);
    opacity: .15;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 22px;
}

.brand-tile {
    height: 170px;
    background: #fff;
    border: 1px solid #e9d7d6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: #243d54;
    font-weight: 800;
    padding: 12px;
}

.brand-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-placeholder {
    font-size: 20px;
}

.brand-tile:hover {
    box-shadow: 0 10px 30px #0002;
}

@media (max-width:1000px) {
    .nav-v2-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-v2 .navlinks {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

@media (max-width:600px) {
    .sponsor-inner {
        gap: 10px;
    }

    .sponsor-inner>strong {
        font-size: 11px;
    }

    .sponsor-track>a,.sponsor-no-link {
        width: 140px;
    }

    .nav-v2 .navlinks {
        gap: 12px;
    }

    .nav-v2 .navlinks a {
        font-size: 10px;
    }

    .hero-v2 {
        min-height: 590px;
    }

    .hero-v2 .hero-content {
        padding: 65px 0 95px;
    }

    .hero-v2 p {
        font-size: 16px;
    }

    .search-v2 {
        grid-template-columns: 1fr;
    }

    .quick-tabs {
        gap: 9px;
        margin-top: -28px;
    }

    .quick-tab {
        min-height: 145px;
        padding: 13px 8px;
    }

    .quick-tab strong {
        font-size: 15px;
    }

    .quick-tab small {
        font-size: 10px;
    }

    .tab-icon {
        font-size: 29px;
    }

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

    .brand-tile {
        height: 130px;
    }

    .brand-hero {
        min-height: 330px;
        padding: 30px;
    }

    .brand-hero-art {
        display: none;
    }
}

@media (prefers-reduced-motion:reduce) {
    .sponsor-track {
        animation: none;
    }
}

/* V3: recursos visuales locales y pulido de portada */

.hero-v2 {
    background: linear-gradient(90deg,rgba(10,25,46,.76),rgba(10,25,46,.45)),url("../img/hero-encarnacion.webp") center/cover no-repeat;
}

.hero-v2 .hero-video {
    display: none;
}

.hero-v2 .hero-shade {
    background: linear-gradient(90deg,rgba(9,26,44,.48),rgba(8,19,33,.2));
}

.brand-hero {
    background-position: center;
    background-size: cover;
}

.brand-hero-art {
    display: none;
}

.brand-tile {
    padding: 0;
}

.brand-tile img {
    object-fit: cover;
}

.sponsor-track img {
    max-height: 66px;
    width: 175px;
    object-fit: contain;
}

.sponsor-window {
    overflow: hidden;
}

.card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-note {
    display: inline-block;
    background: #fff0df;
    color: #965100;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin: 8px 0;
}

@media (min-width:1000px) {
    .hero-v2 {
        min-height: 560px;
    }
}

/* V4: búsqueda única, carrusel, fichas, bloques informativos */

.search-only {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.search-only input {
    flex: 1;
    min-width: 0;
    height: 56px;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 7px;
    border: 1px solid #e0e3e8;
}

.search-only button {
    min-width: 205px;
    font-weight: 800;
    border: 0;
    border-radius: 7px;
}

.quick-tabs-wrap {
    padding-bottom: 28px;
}

.quick-tab-panel {
    margin-top: 24px;
}

.featured-slider {
    position: relative;
    min-height: 390px;
    border-radius: 13px;
    overflow: hidden;
    background: #102a41;
    display: flex;
    align-items: stretch;
    box-shadow: 0 18px 45px #162b4330;
}

.featured-stage {
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 390px;
}

.featured-image {
    min-height: 390px;
    background: #e5eef2;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-copy {
    padding: 65px 52px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.featured-copy span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffc4a9;
}

.featured-copy h3 {
    font-size: clamp(29px,3.6vw,48px);
    line-height: 1.12;
    margin: 16px 0;
}

.featured-copy p {
    color: #d8e6ef;
}

.featured-copy .btn {
    margin-top: 18px;
}

.slide-arrow {
    position: absolute;
    top: 45%;
    width: 42px;
    height: 52px;
    background: #fffdf0e8;
    border: 0;
    border-radius: 5px;
    font-size: 36px;
    cursor: pointer;
    z-index: 2;
}

.slide-arrow.prev {
    left: 12px;
}

.slide-arrow.next {
    right: 12px;
}

.slide-dots {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.slide-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #ffffff7f;
    cursor: pointer;
}

.slide-dots button.active {
    background: #ff392d;
}

.why-section {
    background: #fff;
    padding: 75px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 34px;
}

.why-grid article {
    padding: 27px;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    text-align: center;
    background: #fff;
}

.why-grid article span {
    font-size: 35px;
    color: #ec2d26;
}

.why-grid article h3 {
    color: #122f49;
    margin: 12px 0;
}

.cta-image {
    background: linear-gradient(90deg,#10283fe8,#10283fb3),url("../img/hero-encarnacion.webp") center/cover !important;
    color: #fff !important;
    min-height: 255px;
    padding: 45px !important;
}

.cta-image h2,.cta-image p {
    color: #fff !important;
}

.footer-v4 {
    background: #132b40;
    color: #dbe6ed;
    padding-top: 55px;
}

.footer-v4 a {
    color: #eaf5fb;
}

.footer-v4 .social-links {
    justify-content: flex-start;
    margin-top: 20px;
}

.foot-bottom {
    border-top: 1px solid #ffffff29;
    margin-top: 32px;
    padding: 22px 0;
    font-size: 13px;
}

.sponsor-strip {
    background: #e8eef2;
}

.sponsor-inner>strong {
    white-space: nowrap;
}

.sponsor-track img {
    max-height: 56px;
    object-fit: contain;
}

.sponsor-track a {
    background: transparent;
}

.quick-tab strong {
    font-size: 18px;
}

.quick-tab {
    background: linear-gradient(135deg,#ef332a,#d51e20);
}

@media (max-width:700px) {
    .search-only {
        flex-direction: column;
    }

    .search-only button {
        min-width: 0;
        min-height: 52px;
    }

    .featured-stage {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 210px;
        height: 210px;
    }

    .featured-copy {
        padding: 35px 35px 60px;
    }

    .featured-slider,.featured-stage {
        min-height: 0;
    }

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

    .cta-image {
        padding: 25px !important;
    }

    .quick-tab strong {
        font-size: 14px;
    }

    .quick-tab small {
        font-size: 10px;
    }
}

/* V5 - Diseño basado en referencias de usuario: por qué usar, sumar comercio, footer */

.why-section {
    background: linear-gradient(175deg,#fff3f4 0 13%,#fff 13% 100%);
    padding: 75px 0 95px;
}

.why-heading h2 {
    font-size: clamp(30px,3.4vw,46px);
    color: #090e3a;
    margin-bottom: 8px;
}

.heading-line {
    display: block;
    color: #12121b;
    font-size: 25px;
    letter-spacing: 2px;
    margin: 4px auto 10px;
}

.why-heading p {
    max-width: 650px;
    margin: auto;
    color: #777;
    font-size: 18px;
}

.why-grid-v5 {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 52px 28px;
    margin-top: 66px;
}

.why-grid-v5 article {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: left;
}

.why-grid-v5 .why-icon {
    display: flex;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ff3b36;
    background: #fff;
    margin: 0;
}

.why-grid-v5 h3 {
    font-size: 18px;
    color: #090e3a;
    margin: 8px 0 14px;
}

.why-grid-v5 p {
    color: #676767;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.sumate-section {
    position: relative;
    min-height: 395px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060a19;
    color: #fff;
    text-align: center;
    padding: 65px 15px;
}

.sumate-shade {
    position: absolute;
    inset: 0;
    background: #060a19a8;
}

.sumate-content {
    position: relative;
    z-index: 1;
}

.sumate-content h2 {
    font-size: clamp(25px,3vw,39px);
    color: white;
    margin: 0 auto 36px;
}

.sumate-content p {
    font-size: clamp(16px,1.5vw,21px);
    line-height: 1.4;
    max-width: 1200px;
    margin: 0 auto 35px;
    color: #fff;
}

.sumate-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    display: inline-block;
    padding: 12px 25px;
}

.sumate-link:hover {
    background: #e32125;
    border-radius: 6px;
}

.footer-v5 {
    padding: 0;
    background: #000;
    color: #fff;
}

.footer-scenic {
    padding: 75px 0 60px;
    background: linear-gradient(180deg,#cf272bd9 0%,#e66b6dc9 57%,#f6a4a3bd 100%),url("../img/hero-encarnacion.webp") center/cover;
}

.footer-four {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1.25fr;
    gap: 40px;
}

.footer-four h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 34px;
    font-weight: 800;
}

.footer-four h3:after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin-top: 20px;
}

.footer-four a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 0 0 12px;
    font-size: 15px;
}

.footer-four a:hover {
    text-decoration: underline;
}

.footer-four small {
    display: block;
    margin: 3px 0 12px 26px;
    font-size: 14px;
}

.footer-social {
    display: flex !important;
    gap: 9px;
    margin-top: 18px;
}

.footer-social a {
    display: flex !important;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #b60000;
    color: #fff !important;
    font-weight: 900;
    font-size: 18px;
    margin: 0;
}

.support-row {
    display: flex;
    align-items: center;
    gap: 22px;
    border-top: 1px solid #5f2b2b88;
    margin-top: 62px;
    padding-top: 42px;
}

.support-row>strong {
    white-space: nowrap;
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 1px;
    text-decoration: underline;
}

.support-logos {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.support-logos a {
    flex: 1;
    min-width: 110px;
    text-align: center;
}

.support-logos img {
    max-width: 190px;
    width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.footer-black {
    background: #000;
    text-align: center;
    padding: 43px 0 35px;
}

.footer-black p {
    color: #fff;
    line-height: 1.55;
    font-size: 16px;
    margin: 0 auto 12px;
}

.footer-black img {
    display: inline-block;
    max-height: 54px;
    max-width: 185px;
    object-fit: contain;
    margin: 5px auto;
}

.footer-black p:last-child img {
    max-height: 42px;
    max-width: 130px;
}

@media (max-width:900px) {
    .why-grid-v5 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

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

    .support-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-logos {
        width: 100%;
    }
}

@media (max-width:620px) {
    .why-grid-v5 {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .why-grid-v5 article {
        gap: 15px;
    }

    .footer-four {
        grid-template-columns: 1fr 1fr;
        gap: 26px 14px;
    }

    .footer-four h3 {
        font-size: 15px;
    }

    .footer-four a {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .footer-scenic {
        padding: 48px 0;
    }

    .sumate-section {
        min-height: 350px;
    }

    .support-logos a {
        min-width: 90px;
    }

    .footer-black p {
        font-size: 13px;
    }
}

/* V6: configuración visual por JSON y páginas de texto */

:root {
    --apoyo-fondo: #e8eef2;
    --imagen-cta: url("../img/cta2.webp");
    --imagen-footer: url("../img/imagen-footer.webp");
    --footer-grad-1: rgba(207,39,43,.88);
    --footer-grad-2: rgba(230,107,109,.79);
    --footer-grad-3: rgba(246,164,163,.74);
}

.sponsor-strip {
    background: var(--apoyo-fondo) !important;
}

.nav-v2 .brand {
    display: flex;
    align-items: center;
    max-width: 285px;
    flex: 0 0 auto;
}

.nav-v2 .brand img {
    display: block;
    width: 100%;
    max-width: 265px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.social-links a svg {
    width: 19px;
    height: 19px;
    display: block;
}

.nav-v2 .social-links a {
    color: #d71920;
}

.footer-social a {
    color: white !important;
}

.quick-tabs a.quick-tab {
    text-decoration: none;
}

.quick-tabs a.quick-tab:focus-visible {
    outline: 3px solid #111;
    outline-offset: 4px;
}

.sumate-section {
    background-image: var(--imagen-cta) !important;
    background-position: center !important;
    background-size: cover !important;
}

.footer-scenic {
    background-image: linear-gradient(180deg,var(--footer-grad-1) 0%,var(--footer-grad-2) 57%,var(--footer-grad-3) 100%),var(--imagen-footer) !important;
    background-position: center !important;
    background-size: cover !important;
}

.text-page {
    padding: 66px 0 95px;
    min-height: 55vh;
    background: #f6f8fa;
}

.text-sheet {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px clamp(20px,5vw,68px);
    background: #fff;
    border: 1px solid #e2e8ec;
    border-radius: 13px;
    box-shadow: 0 10px 28px #122a400d;
}

.text-sheet h1 {
    font-size: clamp(29px,4vw,45px);
    color: #152b40;
    margin: 14px 0 27px;
}

.text-sheet .breadcrumb {
    margin-bottom: 20px;
}

.text-content {
    font-size: 16px;
    line-height: 1.85;
    color: #394b59;
}

.text-content p {
    text-align: left;
    margin: 0 0 22px;
}

.text-content h2 {
    font-size: 24px;
    margin: 32px 0 14px;
    color: #152b40;
}

@media (max-width:700px) {
    .nav-v2 .brand {
        max-width: 210px;
    }

    .nav-v2 .brand img {
        max-width: 200px;
    }

    .text-page {
        padding: 35px 0 60px;
    }

    .text-sheet {
        padding: 28px 22px;
    }
}

/* ==========================================================
   V7 - PREGUNTAS FRECUENTES Y PLANES (edición sencilla)
   ========================================================== */

.faq-list {
    max-width: 940px;
    margin: 32px auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    padding: 19px 22px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    font-size: 26px;
    color: #db282b;
}

.faq-item[open] summary:after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 18px;
    color: #4b5563;
}

.faq-editor-note {
    font-size: 12px;
    color: #667085;
}

.plan-editable {
    padding: 22px;
    margin: 18px 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

/* V8: antispam y mensajes del formulario */

.sr-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#form-status {
    margin-top: 12px;
    font-weight: 600;
}

#form-status[data-error="true"] {
    color: #a52323;
}

/* LOGOTIPOS - CON EL APOYO DE (FOOTER) */

footer .apoyo-footer a {
    text-transform: none !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 400;
}

footer .apoyo-footer a:hover {
    text-decoration: none !important;
}

/* CTA - IMAGEN Y COLOR DE FONDO */

.cta-banner {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("../img/imagen-cta.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ============================================================
   V10 - CUATRO TARJETAS DE INFORMACIÓN. SOLO ESTA SECCIÓN.
   Reemplazar imágenes en assets/img/info-*.jpg.
   ============================================================ */

.info-tiles-section {
    padding: 0 0 14px;
    background: #fff;
}

.info-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 26px;
    position: relative;
    z-index: 3;
    margin-top: -78px;
}

.info-tile {
    min-height: 365px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    color: #fff;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    box-shadow: 0 8px 24px #00000016;
    transition: transform .32s cubic-bezier(.2,1.5,.45,1),box-shadow .25s ease;
}

.info-tile:hover,.info-tile:focus-within {
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 18px 35px #0000002b;
}

.info-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-position: center;
    background-size: cover;
    transition: transform .5s ease;
}

.info-tile:hover::before {
    transform: scale(1.07);
}

.info-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg,rgba(240,39,32,.93),rgba(214,25,25,.91));
}

.info-tile--emergencias::before {
    background-image: url("../img/info-emergencias.webp");
}

.info-tile--gastronomia::before {
    background-image: url("../img/info-gastronomia.webp");
}

.info-tile--hoteles::before {
    background-image: url("../img/info-hoteles.webp");
}

.info-tile--entretenimiento::before {
    background-image: url("../img/info-entretenimiento.webp");
}

.info-tile-content {
    width: 100%;
    padding: 34px 23px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.info-tile-icon {
    font-size: 45px;
    line-height: 1;
    margin-bottom: 17px;
    font-weight: 800;
}

.info-tile h2 {
    font-size: clamp(18px,1.7vw,23px);
    line-height: 1.25;
    color: #fff;
    margin: 0 0 17px;
    font-weight: 800;
}

.info-tile p {
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
    margin: 0 0 24px;
}

.info-tile-btn {
    margin-top: auto;
    background: #fff;
    color: #bc1d1c;
    border: 0;
    border-radius: 4px;
    padding: 11px 21px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s,transform .2s;
}

.info-tile-btn:hover {
    background: #ffe5df;
    transform: translateY(-2px);
}

.emergency-dialog {
    width: min(650px,calc(100% - 30px));
    max-height: 85vh;
    overflow: auto;
    border: 0;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 30px 90px #0006;
    color: #1b3044;
}

.emergency-dialog::backdrop {
    background: rgba(6,16,28,.73);
}

.emergency-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.emergency-dialog-head h2 {
    margin: 8px 0 10px;
    color: #122e45;
    font-size: 27px;
}

.emergency-close {
    border: 0;
    background: #f4e9e9;
    color: #8f2020;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.emergency-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.emergency-list>div {
    border: 1px solid #e5e8eb;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.emergency-list strong {
    flex: 1;
    min-width: 145px;
}

.emergency-list span {
    font-weight: 700;
}

.emergency-list a {
    background: #d52c26;
    color: white;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 5px;
}

.emergency-note {
    font-size: 12px;
    color: #687581;
}

/* Páginas independientes con fichas alimentadas por JSON */

.info-directory-intro {
    max-width: 800px;
    color: #5c6b77;
    line-height: 1.7;
}

.info-directory-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    margin: 30px 0 10px;
}

.info-directory-card {
    border: 1px solid #e6eaee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 22px #102a4110;
}

.info-directory-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    background: #edf0f3;
}

.info-directory-card-body {
    padding: 21px;
}

.info-directory-card h2 {
    font-size: 21px;
    color: #112f47;
    margin: 0 0 9px;
}

.info-directory-card p {
    font-size: 14px;
    color: #5d6c77;
    line-height: 1.6;
}

.info-directory-card a {
    display: inline-block;
    margin-top: 8px;
    color: #c72520;
    font-weight: 700;
}

.info-directory-note {
    font-size: 13px;
    color: #667;
    margin-top: 18px;
}

@media (max-width:1000px) {
    .info-tiles-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px;
    }

    .info-directory-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:580px) {
    .info-tiles-grid {
        gap: 10px;
        margin-top: -34px;
    }

    .info-tile {
        min-height: 310px;
    }

    .info-tile-content {
        padding: 22px 12px;
    }

    .info-tile-icon {
        font-size: 31px;
    }

    .info-tile h2 {
        font-size: 17px;
    }

    .info-tile p {
        font-size: 12px;
    }

    .info-tile-btn {
        font-size: 12px;
        padding: 10px 12px;
    }

    .info-directory-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion:reduce) {
    .info-tile,.info-tile::before,.info-tile-btn {
        transition: none;
    }

    .info-tile:hover {
        transform: none;
    }
}


/* =====================================================================
   12. CTA "¿TENÉS UN NEGOCIO O BRINDÁS SERVICIOS?"
   EDITAR AQUÍ: imagen, transparencia, degradado, hover y texto.
   Imagen esperada: assets/img/cta2.webp (subirla por FileZilla).
   La ruta ../img/ es relativa a assets/css/style.css.
   ===================================================================== */
:root {
    --cta-imagen: url("../img/cta2.webp");
    --cta-altura: 395px;
    --cta-posicion: center 45%;
    --cta-opacidad-inicio: 0.75;
    --cta-opacidad-final: 0.45;
    --cta-color-inicio: 6, 10, 25;
    --cta-color-final: 6, 10, 25;
    --cta-hover-inicio: 0.55;
    --cta-hover-final: 0.25;
    --cta-velocidad: 0.35s;
}

/* Fondo principal del CTA: controla imagen y degradado sin depender del JSON */
.sumate-section {
    position: relative;
    isolation: isolate;
    min-height: var(--cta-altura);
    background-image: var(--cta-imagen) !important;
    background-position: var(--cta-posicion) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* Capa de transparencia y degradado por encima de la imagen */
.sumate-section .sumate-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        100deg,
        rgba(var(--cta-color-inicio), var(--cta-opacidad-inicio)) 0%,
        rgba(var(--cta-color-final), var(--cta-opacidad-final)) 100%
    ) !important;
    transition: background var(--cta-velocidad) ease, opacity var(--cta-velocidad) ease;
}

/* Hover: degradado alternativo al pasar el cursor */
.sumate-section:hover .sumate-shade,
.sumate-section:focus-within .sumate-shade {
    background: linear-gradient(
        100deg,
        rgba(var(--cta-color-inicio), var(--cta-hover-inicio)) 0%,
        rgba(var(--cta-color-final), var(--cta-hover-final)) 100%
    ) !important;
}

/* Mantener títulos y botones por encima del degradado */
.sumate-section .sumate-content {
    position: relative;
    z-index: 1;
}

/* Botón del CTA */
.sumate-section .sumate-link {
    transition: background-color var(--cta-velocidad) ease,
                transform var(--cta-velocidad) ease;
}
.sumate-section .sumate-link:hover,
.sumate-section .sumate-link:focus-visible {
    background-color: #e32125;
    transform: translateY(-2px);
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .sumate-section .sumate-shade,
    .sumate-section .sumate-link {
        transition: none;
    }
}

/* CTA: se aplica al fondo real aunque JS modifique --imagen-cta.
   La capa .sumate-shade permite transparencia y degradado.
   El hover cambia suavemente la opacidad de la capa. */
.sumate-section {background-image: url('../img/cta2.webp') !important;}
.sumate-section .sumate-shade {
  background: linear-gradient(100deg, rgba(6,10,25,.75), rgba(6,10,25,.45)) !important;
  opacity: 1;
  transition: opacity .35s ease !important;
}
.sumate-section:hover .sumate-shade,
.sumate-section:focus-within .sumate-shade {opacity:.65;}

/* V13.6.2: imagen CTA definitiva. Ruta relativa a assets/css/ */
.sumate-section {
  background: #060a19 url("../img/cta2.webp") center 45% / cover no-repeat !important;
}
