/* =========================================================
   POLICÍAS UNIDOS — Institutional website
   Stylesheet organized by component for WordPress portability.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    --navy: #1A2744;
    --navy-dark: #243363;
    --navy-deep: #131C32;
    --red: #B8272C;
    --red-hover: #D93C41;
    --bg: #F4F5F7;
    --gold: #C8AC6A;
    --gold-soft: #E4D2A4;
    --white: #FFFFFF;
    --gray-100: #EEF0F4;
    --gray-200: #DCE0E7;
    --gray-400: #8A93A6;
    --gray-600: #555E73;
    --gray-800: #2A3245;

    --radius-input: 4px;
    --radius-btn: 8px;
    --radius-card: 12px;
    --radius-section: 20px;

    --shadow-sm: 0 2px 8px rgba(20, 30, 60, 0.06);
    --shadow-md: 0 8px 24px rgba(20, 30, 60, 0.10);
    --shadow-lg: 0 18px 48px rgba(20, 30, 60, 0.14);

    --transition: 0.2s ease;

    --container: 1200px;
    --container-narrow: 960px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gray-800);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

input,
textarea,
select {
    font-family: inherit;
}

/* ---------- 3. Typography ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1em;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    color: var(--red);
    margin-bottom: 18px;
}

.eyebrow--gold {
    color: var(--gold);
}

.eyebrow--white {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 14px;
}

.section-lead {
    text-align: center;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

/* ---------- 4. Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: 88px 0;
}

@media (max-width: 720px) {
    section {
        padding: 64px 0;
    }
}

.grid {
    display: grid;
    gap: 24px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Features Grid Centered 3-2 Layout */
.features__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.features__grid > article {
    width: 100%;
}

@media (min-width: 769px) {
    .features__grid > article {
        width: calc(33.333% - 16px);
    }
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1;
    min-height: 44px; /* Touch targets */
}

.btn--red {
    background: var(--red);
    color: var(--white);
}

.btn--red:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(184, 39, 44, 0.35);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
}

.btn--navy:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn--gold:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(200, 172, 106, 0.35);
}

.btn--outline-white {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn--outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--outline-navy {
    border-color: var(--navy);
    color: var(--navy);
}

.btn--outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--lg {
    padding: 16px 34px;
    font-size: 1rem;
}

/* ---------- 6. Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    z-index: 100;
}

.navbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 90px;
    gap: 20px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    justify-self: start;
}

.navbar__shield {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), #B89651);
    color: var(--navy);
    font-weight: 700;
    border-radius: 6px;
    font-family: var(--font-display);
}

.navbar__brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.navbar__brand small {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-top: 2px;
}

.navbar__links {
    display: flex;
    gap: 36px;
    align-items: center;
    justify-self: center;
    margin: 0;
}

.navbar__links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.02em;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.navbar__links a:hover {
    color: var(--white);
}

.navbar__links a:hover::after,
.navbar__links a.active::after,
.nav-dropdown-toggle.active::after {
    transform: scaleX(1);
}

.navbar__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.navbar__links-mobile {
    display: none;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: default;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-dropdown-toggle:hover {
    color: var(--white);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: scaleX(1);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: -16px;
    background: var(--navy);
    min-width: 180px;
    padding: 8px 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.85);
}

.nav-dropdown-menu a::after {
    left: 24px;
    right: 24px;
    bottom: 8px;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.navbar__socials {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-right: 8px;
}

.navbar__socials a {
    color: rgba(255, 255, 255, 0.75);
    transition: all var(--transition);
    display: flex;
}

.navbar__socials a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .navbar__socials {
        display: none;
    }
}

.navbar__toggle {
    display: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 5px auto;
    transition: all var(--transition);
}

@media (max-width: 768px) {
    .navbar__socials,
    .navbar__cta .btn {
        display: none;
    }

    .navbar__inner {
        display: flex;
        justify-content: space-between;
        height: 72px;
    }

    .navbar__links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: #1A2744;
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px 0;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        margin: 0;
    }

    .navbar__links.is-open {
        transform: translateX(0);
    }

    .navbar__links a,
    .nav-dropdown-toggle {
        width: 100%;
        padding: 16px 24px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        border: none;
    }

    .nav-dropdown-menu a {
        padding: 12px 40px;
        font-size: 16px;
    }

    .navbar__links-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 24px;
        width: 100%;
    }

    .navbar__links-mobile .btn {
        width: 100%;
        min-height: 48px;
    }

    .navbar__toggle {
        display: block;
    }
}

main {
    padding-top: 90px;
}

@media (max-width: 768px) {
    main {
        padding-top: 72px;
    }
}

/* ---------- 7. Hero (home) ---------- */
.hero {
    background-color: var(--navy);
    background-image: url('hero-bg-v3.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 200px 0 160px;
    margin-top: -20px;
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 39, 68, 0.95) 0%, rgba(26, 39, 68, 0.7) 50%, rgba(26, 39, 68, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 760px;
}

.hero__title {
    color: var(--white);
    font-size: clamp(2.6rem, 5.4vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero__title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
    display: inline-block;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 36px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-section);
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
    border: 1px solid rgba(200, 172, 106, 0.25);
    box-shadow: var(--shadow-lg);
}

.hero__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(200, 172, 106, 0.25), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(184, 39, 44, 0.18), transparent 55%);
}

.hero__visual-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    color: rgba(200, 172, 106, 0.5);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

.hero__visual-quote {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.4;
    border-left: 3px solid var(--gold);
    padding-left: 16px;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .hero__title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero__title em {
        display: inline-block;
        white-space: nowrap;
        font-style: italic;
    }

    .hero__subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin: 0 auto 32px;
    }

    .hero__cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .hero__visual {
        display: none;
    }
}

/* ---------- 8. Page hero (interior) ---------- */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    max-width: 820px;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    max-width: 620px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--gold);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- 9. Stats / impact ---------- */
.stats {
    background: var(--bg);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats__grid > div {
        padding: 40px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .stats__grid > div:last-child {
        border-bottom: none;
    }

    .stat__num {
        font-size: 2.5rem;
    }
}

.stat__num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat__num::after {
    content: '+';
    color: var(--gold);
    margin-left: 4px;
}

.stat__label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gray-600);
    font-weight: 500;
    margin-top: 12px;
}

/* ---------- 10. Two-column blocks ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .split__media {
        display: none;
    }

    .split__content .btn {
        width: 100%;
    }

    .gold-rule--left {
        margin: 0 auto 24px;
    }
}

.split__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-section);
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(200, 172, 106, 0.2);
}

.split__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(200, 172, 106, 0.2), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(36, 51, 99, 0.4), transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.split__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.split__media-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 3;
    background: rgba(26, 39, 68, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 22px;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.split__media-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.split__media-badge span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ---------- 11. Feature cards (Qué Hacemos) ---------- */
.features {
    background: var(--bg);
}

.feature-card {
    background-color: transparent;
    perspective: 1000px;
    height: 380px;
}

.feature-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--radius-card);
}

.feature-card:hover .feature-card__inner {
    transform: rotateY(180deg);
}

.feature-card__front, .feature-card__back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.feature-card__front {
    position: absolute;
    inset: 0;
    background-color: var(--white);
    z-index: 2;
}

.feature-card__front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__back {
    position: relative;
    background: var(--white);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition);
}

.feature-card:hover .feature-card__back {
    box-shadow: 0 16px 32px rgba(26, 39, 68, 0.08);
    border-color: var(--gold);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(26, 39, 68, 0.06);
    color: var(--navy);
    border-radius: 10px;
    margin-bottom: 22px;
}

.feature-card__icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Feature detail (Qué hacemos page) */
.feature-detail {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: start;
}

.feature-detail:last-child {
    border-bottom: none;
}

.feature-detail__icon {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
}

.feature-detail__icon svg {
    width: 56px;
    height: 56px;
}

.feature-detail h3 {
    margin-bottom: 16px;
}

.feature-detail__target {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 14px;
    background: rgba(200, 172, 106, 0.15);
    color: var(--navy);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .grid--3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        height: 380px; /* Todas con el mismo tamaño */
    }

    .feature-card__front, 
    .feature-card__back {
        height: 100%;
    }

    .feature-card__front img {
        height: 100%;
        object-fit: cover;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .feature-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-detail__icon {
        width: 80px;
        height: 80px;
    }
}

/* ---------- 12. Testimonials ---------- */
.testimonials {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(200, 172, 106, 0.08), transparent 50%);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-lead {
    color: rgba(255, 255, 255, 0.7);
}

/* ============ NEW SIDE-BY-SIDE TESTIMONIAL LAYOUT ============ */
.testimonials-swiper {
    position: relative;
    padding: 0 54px 40px !important;
}

.testimonial-row {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 8px;
}

.testimonial-row__image {
    flex: 0 0 320px;
    width: 320px;
    height: 400px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.testimonial-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-row__bubble {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    padding: 48px 40px 40px;
    position: relative;
    backdrop-filter: blur(8px);
}

.testimonial-row__quote-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    opacity: 0.12;
    position: absolute;
    top: 24px;
    left: 24px;
}

.testimonial-row__quote-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.testimonial-row__text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-row__author strong {
    display: block;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.testimonial-row__author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 4px;
    display: block;
}

/* Custom Swiper Buttons for Testimonials */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: var(--gold) !important;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: var(--gold);
    color: var(--navy) !important;
    border-color: var(--gold);
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.testimonials-swiper .swiper-button-prev {
    left: 0 !important;
}

.testimonials-swiper .swiper-button-next {
    right: 0 !important;
}

/* Responsive side-by-side testimonials */
@media (max-width: 900px) {
    .testimonial-row {
        gap: 32px;
    }
    .testimonial-row__image {
        flex: 0 0 260px;
        width: 260px;
        height: 330px;
    }
}

@media (max-width: 768px) {
    .testimonials-swiper {
        padding: 0 0 40px !important;
    }
    .testimonial-row {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .testimonial-row__image {
        flex: 0 0 240px;
        width: 240px;
        height: 280px;
        margin: 0 auto;
    }
    .testimonial-row__bubble {
        padding: 32px 24px;
        text-align: left;
    }
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none !important;
    }
}

.swiper {
    padding-bottom: 40px !important;
}

.swiper-slide {
    height: auto !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

/* ---------- 13. Companies teaser ---------- */
.companies-teaser {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.companies-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.companies-teaser__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 880px) {
    .companies-teaser__inner {
        grid-template-columns: 1fr;
    }
}

.benefits-list {
    display: grid;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--gray-800);
}

.benefits-list li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    background: var(--gold);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2744' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ---------- 14. News cards ---------- */
.news {
    background: var(--bg);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card__media {
    aspect-ratio: unset !important;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    position: relative;
    overflow: hidden;
    height: 220px !important;
    background-position: center center !important;
}

.news-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(200, 172, 106, 0.3), transparent 60%);
}

.news-card__media--evento {
    background: linear-gradient(135deg, #5C2A2C, var(--navy));
}

.news-card__media--institucional {
    background: linear-gradient(135deg, var(--navy-dark), #2E4180);
}

@media (max-width: 768px) {
    .news-card__media {
        height: 200px;
        aspect-ratio: auto;
    }
}
.news-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
}

.news-card__body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__date {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 18px;
}

.news-card__link {
    color: var(--red);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.news-card__link:hover {
    gap: 10px;
    color: var(--red-hover);
}

/* News filters */
.news-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.news-filters button {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.news-filters button:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.news-filters button.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-weight: 500;
    transition: all var(--transition);
}

.pagination button:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.pagination button.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ---------- 15. CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-section);
    padding: 80px 32px;
    margin: 0 24px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(200, 172, 106, 0.15), transparent 60%);
}

.cta-banner__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .cta-banner .btn {
        width: 100%;
    }
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-banner__small {
    margin-top: 18px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* ---------- 16. Forms ---------- */
.form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .form__row {
        grid-template-columns: 1fr;
    }
}

.form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form__field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form__field input,
.form__field select,
.form__field textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-input);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

.form__field textarea {
    resize: vertical;
    min-height: 130px;
}

.form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.form__check input {
    margin-top: 4px;
}

/* ---------- 17. Mission/Vision/Values ---------- */
.mvv-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-card);
    text-align: center;
    border-top: 3px solid var(--gold);
    height: 100%;
}

.mvv-card__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    background: var(--bg);
    color: var(--navy);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.mvv-card__icon svg {
    width: 28px;
    height: 28px;
}

.mvv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.mvv-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ---------- 18. Team ---------- */
.team-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.team-card__photo {
    aspect-ratio: 1;
    background: linear-gradient(160deg, var(--navy-dark), var(--navy));
    position: relative;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__body {
    padding: 22px;
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-card__role {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.3;
}

.team-card__role--main {
    color: var(--navy);
    font-weight: 600;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}

/* ---------- 19. Steps (Cómo funciona) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

@media (max-width: 720px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-card);
    border: 1px solid var(--gray-100);
    position: relative;
}

.step__num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--gray-600);
    margin: 0;
}

/* ---------- 20. Sponsorship tiers (Empresas) ---------- */
.tier {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tier:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tier--featured {
    border: 2px solid var(--gold);
    transform: scale(1.02);
}

.tier--featured:hover {
    transform: scale(1.02) translateY(-3px);
}

.tier__label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 8px;
}

.tier__name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.tier__price {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.tier ul {
    display: grid;
    gap: 12px;
    flex: 1;
    margin-bottom: 28px;
}

.tier ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--gray-800);
    font-size: 0.92rem;
}

.tier ul li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* Sponsor logos */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: center;
}

@media (max-width: 880px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sponsor {
    aspect-ratio: 16 / 9;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--gray-400);
    font-family: var(--font-display);
    font-style: italic;
    transition: all var(--transition);
}

.sponsor:hover {
    border-color: var(--gold);
    color: var(--navy);
}

/* ---------- 21. Membership benefits ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 720px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border-radius: var(--radius-card);
    border: 1px solid var(--gray-100);
}

.benefit-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(200, 172, 106, 0.15);
    color: var(--navy);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.benefit-item__icon svg {
    width: 22px;
    height: 22px;
}

.benefit-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- 22. Contact info / map ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
}

@media (max-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-card);
}

.contact-info__icon {
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 20px !important;
    height: 20px !important;
}

.contact-info__item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-info__item span {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.map-placeholder {
    margin-top: 32px;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-card);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 172, 106, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 172, 106, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-placeholder span {
    position: relative;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: grid;
    place-items: center;
    color: var(--navy);
    transition: all var(--transition);
}

.socials a:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.socials a svg {
    width: 18px;
    height: 18px;
}

/* ---------- 23. Footer ---------- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 28px;
    margin-top: 80px;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 56px;
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer__brand, .footer__col, .footer__socials {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__copyright {
        font-size: 0.8rem;
    }
}

.footer__brand .navbar__brand {
    color: var(--white);
}




.footer__col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col a {
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--gold);
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    transition: all var(--transition);
    color: var(--white);
}

.footer__socials a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer__socials svg {
    width: 16px !important;
    height: 16px !important;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- 24. Institutional data block ---------- */
.inst-data {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-section);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

@media (max-width: 720px) {
    .inst-data {
        grid-template-columns: 1fr;
        padding: 36px 24px;
    }
}

.inst-data__item strong {
    display: block;
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.inst-data__item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- 25. Decorative gold rule ---------- */
.gold-rule {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.gold-rule--left {
    margin-left: 0;
}

/* ---------- 26. AOS adjustments ---------- */
[data-aos] {
    pointer-events: auto;
}


/* --- NAVBAR SOCIALS FIX --- */
.navbar__socials {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-right: 12px;
}

.navbar__socials a {
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    opacity: 0.8;
}

.navbar__socials a:hover {
    opacity: 1;
}

/* Facebook Hover */
.navbar__socials a.fb-link:hover {
    color: #1877F2;
}

/* Instagram Hover */
.navbar__socials a.ig-link:hover .svg-ig * {
    stroke: url(#ig-grad);
}

@media (max-width: 960px) {
    .navbar__socials {
        display: none;
    }
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-float__label {
    position: absolute;
    right: 100%;
    margin-right: 16px;
    background: #25D366;
    color: #FFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float__label {
    opacity: 1;
    transform: translateX(0);
    background-color: #20BA56; /* Match button hover color */
}

/* Indicador de que el cartel existe (opcional, para que no sea solo hover) */
@media (min-width: 1024px) {
    .whatsapp-float__label {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-float svg {
    width: 34px !important;
    height: 34px !important;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
    background-color: #20BA56;
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

.navbar__logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transform: scale(1.45);
    transform-origin: left center;
    display: block;
}

@media (max-width: 768px) {
    .navbar__logo-img {
        height: 48px;
        transform: scale(1.2);
    }
}

.footer__logo-link {
    display: inline-block;
    margin-bottom: 24px;
    margin-top: 8px;
}

/* ---------- Legal Pages ---------- */
.legal-content {
    background: var(--white);
    padding: 80px 0 120px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin: 48px 0 24px;
}

.legal-content p,
.legal-content ul,
.legal-content li {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 32px;
}

.legal-content a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 500;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__legal-links {
    display: flex;
    gap: 24px;
}

.footer__legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer__legal-links a:hover {
    color: var(--gold) !important;
}

@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .footer__copyright {
        align-items: center;
    }

    .footer__legal-links {
        justify-content: center;
        margin-top: 12px;
        flex-direction: column;
        gap: 12px;
    }

    .footer__legal-links a {
        padding: 10px; /* Better touch target */
    }
}

/* ---------- 25. Asociarse Razones ---------- */
.asociarse-razones__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.asociarse-razon__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    height: 100%;
    min-height: 180px;
}

.asociarse-razon__icon {
    width: 40px;
    height: 40px;
    background: #F4F5F7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.asociarse-razon__icon svg {
    width: 20px;
    height: 20px;
    color: #1A2744;
}

.asociarse-razon__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A2744;
    line-height: 1.3;
    margin: 0;
}

.asociarse-razon__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .asociarse-razones__grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .asociarse-razones__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}