        .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            z-index: 1060;
            display: none;
            max-width: 78%;       /* evita que se desborde en pantallas pequeñas */
            height: auto;         /* altura automática según contenido */
            max-height: 90%;      /* evita que se desborde en vertical */
            border-radius: 8px;   /* bordes redondeados */
            transform: translate(-50%, -50%); /* centra horizontal y verticalmente */
            overflow-y: auto;
            padding: 20px;        /* espacio interno */
            scrollbar-width: none;        /* Firefox */
            -ms-overflow-style: none;     /* Internet Explorer 10+ */
        }
        .modal::-webkit-scrollbar {
            display: none;
        }

        /* ===== ¿Quiénes somos? - layout más ancho, menos alto ===== */
        .quienes-body {
            column-count: 1;
            text-align: left;
            line-height: 1.55 !important;
        }

        /* ===== Las 7 Esferas de Influencia - estilo editorial sobrio ===== */
        .esferas-row {
            row-gap: 0;
        }
        .esfera-card {
            text-align: left;
            opacity: 0;
            transform: translateY(16px);
            transition: opacity .6s ease, transform .6s ease, border-color .3s ease;
            border-top: 1px solid rgba(0,0,0,0.14);
            padding: 1.9rem 1.5rem 1.9rem 0;
            height: 100%;
        }
        .esfera-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .esfera-card:hover {
            border-top-color: #7a2436;
        }
        .esferas-row .article:nth-child(1) { transition-delay: .05s; }
        .esferas-row .article:nth-child(2) { transition-delay: .12s; }
        .esferas-row .article:nth-child(3) { transition-delay: .19s; }
        .esferas-row .article:nth-child(4) { transition-delay: .26s; }
        .esferas-row .article:nth-child(5) { transition-delay: .33s; }
        .esferas-row .article:nth-child(6) { transition-delay: .40s; }
        .esferas-row .article:nth-child(7) { transition-delay: .47s; }

        .esfera-number {
            display: block;
            font-family: 'Afacad', sans-serif;
            font-size: .8rem;
            letter-spacing: .16em;
            font-weight: 600;
            color: #7a2436;
            margin-bottom: 1rem;
        }
        .esfera-card .article-title-left {
            color: #1a1a1a;
            margin-bottom: .6rem;
        }
        .esfera-card .mbr-text-left {
            color: rgba(0,0,0,0.6);
            margin-bottom: 0;
        }
        @media (max-width: 767px) {
            .esfera-card { padding: 1.6rem 1.25rem 1.6rem 0; }
        }

        /* ===== Nuestro Código Genético - grid responsive ===== */
        @media (max-width: 1199px) {
            .adn-grid { grid-template-columns: repeat(3, 1fr) !important; }
        }
        @media (max-width: 861px) {
            .adn-grid { grid-template-columns: repeat(2, 1fr) !important; }
        }
        @media (max-width: 575px) {
            .adn-grid { grid-template-columns: 1fr !important; }
        }

        /* ===== Fondo oscuro detrás de los modales ===== */
        #modalOverlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(10, 8, 12, 0.6);
            z-index: 1055;
        }

        /* ===== Botón "Peticiones de Oración" en el menú ===== */
        .btn-peticion {
            background: #7a2436 !important;
            color: #fff !important;
            border: 1px solid #7a2436 !important;
            margin-right: .7rem;
            transition: background .25s ease, border-color .25s ease;
        }
        .btn-peticion:hover, .btn-peticion:focus {
            background: #5e1c2a !important;
            border-color: #5e1c2a !important;
            color: #fff !important;
        }
        @media (max-width: 991px) {
            .btn-peticion { margin-right: 0; margin-bottom: .6rem; display: inline-block; }
        }

        /* ===== Modal: Selección de país / Petición de oración ===== */
        .modal-close-btn {
            position: absolute;
            top: 12px;
            right: 16px;
            font-size: 1.9rem;
            line-height: 1;
            cursor: pointer;
            color: rgba(0,0,0,0.4);
            transition: color .2s ease;
            z-index: 2;
        }
        .modal-close-btn:hover { color: #7a2436; }

        .modal-sobrio {
            background: #fff;
            border-radius: 8px;
            padding: 2.6rem 2.2rem 2.2rem;
            position: relative;
            text-align: left;
            box-shadow: 0 24px 60px rgba(0,0,0,0.25);
        }
        .modal-sobrio h3 {
            font-family: 'Afacad', sans-serif;
            color: #1a1a1a;
            margin-bottom: .5rem;
        }
        .modal-sobrio p.modal-sub {
            color: rgba(0,0,0,.6);
            margin-bottom: 1.8rem;
            font-size: .95rem;
            line-height: 1.5;
        }
        .modal-sobrio label {
            font-size: .85rem;
            letter-spacing: .02em;
            color: rgba(0,0,0,.7);
            margin-bottom: .3rem;
            display: block;
        }
        .modal-sobrio .form-control {
            border: 1px solid rgba(0,0,0,.18);
            border-radius: 3px;
        }
        .modal-sobrio .form-group {
            margin-bottom: 1.1rem;
        }

        #modalpais .modal-content,
        #modalpeticion .modal-content {
            max-width: 480px;
            margin: 0 auto;
        }

        .pais-options {
            display: flex;
            gap: 1rem;
            margin-top: .5rem;
        }
        .pais-btn {
            flex: 1;
            border: 1px solid rgba(0,0,0,.14);
            border-radius: 8px;
            padding: 1.6rem 1rem 1.4rem;
            text-align: center;
            background: #fff;
            cursor: pointer;
            transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
        }
        .pais-btn:hover, .pais-btn:focus {
            border-color: #7a2436;
            box-shadow: 0 10px 24px rgba(122,36,54,.16);
            transform: translateY(-3px);
            outline: none;
        }
        .flag-swatch {
            width: 44px;
            height: 30px;
            border-radius: 4px;
            overflow: hidden;
            margin: 0 auto .8rem;
            box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
            position: relative;
        }
        .flag-mx {
            background: linear-gradient(to right, #006341 0 33.34%, #ffffff 33.34% 66.66%, #ce1126 66.66% 100%);
        }
        .flag-us {
            background: repeating-linear-gradient(to bottom, #b22234 0 4.3px, #ffffff 4.3px 8.6px);
        }
        .flag-us::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 46%;
            height: 55%;
            background: #3c3b6e;
        }
        .pais-btn .pais-nombre {
            font-family: 'Afacad', sans-serif;
            font-weight: 600;
            color: #1a1a1a;
            display: block;
            font-size: 1.05rem;
        }
        .pais-btn .pais-moneda {
            font-size: .78rem;
            letter-spacing: .08em;
            color: rgba(0,0,0,.5);
            display: block;
            margin-top: .3rem;
        }

        #peticion-exito {
            display: none;
            text-align: center;
            padding: 1rem 0 .5rem;
        }
        #peticion-exito .icono-check {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            background: #7a2436;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.1rem;
            font-size: 1.7rem;
        }
        #peticion-exito p {
            color: rgba(0,0,0,.65);
            font-size: .95rem;
            line-height: 1.5;
        }

        /* ===== Presencia global - sedes junto al mapa ===== */
        .sedes-row {
            row-gap: 0;
        }
        .sede-card {
            text-align: left;
            border-top: 1px solid rgba(0,0,0,0.14);
            padding: 1.8rem 1.75rem 1.8rem 0;
            height: 100%;
        }
        .sede-card .sede-label {
            display: block;
            font-family: 'Afacad', sans-serif;
            font-size: .8rem;
            letter-spacing: .16em;
            font-weight: 600;
            color: #7a2436;
            margin-bottom: .9rem;
        }
        .sede-card h3 {
            color: #1a1a1a;
            margin-bottom: .6rem;
        }
        .sede-card p {
            color: rgba(0,0,0,0.62);
            line-height: 1.55;
            margin-bottom: .5rem;
        }
        .sedes-map-row {
            align-items: stretch;
        }
        #map01-1j .mbr-section-title {
            font-size: 1.6rem !important;
            font-weight: 600 !important;
            color: #1a1a1a !important;
            background: none !important;
            padding: 0 !important;
            display: block !important;
            letter-spacing: normal !important;
            text-transform: none !important;
            margin-bottom: .4rem !important;
        }
        #map01-1j .mbr-section-subtitle {
            font-size: 1.85rem !important;
            line-height: 1.35 !important;
            margin-top: .5rem !important;
        }
        @media (max-width: 767px) {
            .sede-card { padding: 1.6rem 1.25rem 1.6rem 0; }
            #map01-1j .mbr-section-title { font-size: 1.35rem !important; }
            #map01-1j .mbr-section-subtitle { font-size: 1.5rem !important; }
        }

/* ===== Selector de idioma ES/EN ===== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 20px;
    overflow: hidden;
    margin-right: .8rem;
    font-family: 'Afacad', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .03em;
    vertical-align: middle;
}
.lang-toggle span, .lang-toggle a {
    padding: .35rem .65rem;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}
.lang-toggle .lang-current {
    background: rgba(255,255,255,0.2);
}
.lang-toggle a {
    opacity: .75;
    transition: opacity .2s ease, background .2s ease;
}
.lang-toggle a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.12);
}
@media (max-width: 991px) {
    .lang-toggle { border-color: rgba(0,0,0,.25); margin: .5rem 0 .8rem; }
    .lang-toggle span, .lang-toggle a { color: #1a1a1a; }
}

/* ===== Dropdown "Más" del menú (para no saturar el nav) ===== */
.nav-dropdown .dropdown-menu {
    background-color: #ffffff !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    padding: .5rem 0;
    margin-top: .4rem;
    min-width: 200px;
}
.nav-dropdown .dropdown-item {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    font-family: 'Afacad', sans-serif;
    font-size: .95rem;
    padding: .6rem 1.2rem;
}
.nav-dropdown .dropdown-item:hover, .nav-dropdown .dropdown-item:focus {
    background-color: rgba(122,36,54,0.08) !important;
    color: #7a2436 !important;
}

/* Enlaces "Descarga nuestra app" del footer en blanco (antes se veían en vino sobre fondo oscuro) */
.cid-uSS7s8gbb3 .desc-wrapper .mbr-desc a,
.cid-uSS7s8gbb3 .desc-wrapper .mbr-desc a:link,
.cid-uSS7s8gbb3 .desc-wrapper .mbr-desc a:visited {
    color: #ffffff !important;
    text-decoration: underline;
}
.cid-uSS7s8gbb3 .desc-wrapper .mbr-desc a:hover,
.cid-uSS7s8gbb3 .desc-wrapper .mbr-desc a:focus {
    color: #f3f6f9 !important;
}

/* ===== Encabezado de la sección de sedes (estilo "Te invitamos...") ===== */
.kp-sede-head {
    text-align: center;
    max-width: 940px;
    margin: 0 auto 2.8rem;
    padding: 0 1rem;
}
.kp-sede-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: 'Afacad', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #9c2f4e;
    margin-bottom: .9rem;
}
.kp-sede-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #c65b3c, #7c2340);
    border-radius: 2px;
}
.kp-sede-title {
    color: #111111 !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .8rem !important;
}
.kp-sede-title strong {
    background: linear-gradient(90deg, #c65b3c, #9c2f4e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.kp-sede-sub {
    color: #5a5a5a !important;
    margin: 0 !important;
}

/* ===== Homologación de tamaños de títulos y textos en todo el sitio ===== */
/* Títulos de sección uniformes (se conserva el hero principal display-1) */
.mbr-section-title:not(.display-1) {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
    line-height: 1.25;
}
/* Subtítulos / textos de sección uniformes */
.mbr-section-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important;
    line-height: 1.7;
}

/* ===== Nav: mostrar todo (sin botón "Más") sin que se vea amontonado ===== */
.navbar-nav .nav-item .nav-link {
    padding: 8px 13px !important;
    margin: 0 3px !important;
    font-size: 1.02rem !important;
}
/* Botones del menú más compactos (antes eran display-7 = 1.5rem, muy grandes) */
.navbar-buttons .btn {
    padding: .52rem 1rem !important;
    font-size: .85rem !important;
    letter-spacing: .02em;
}
/* En pantallas medianas, apretar un poco más para que no se amontone */
@media (min-width: 992px) and (max-width: 1300px) {
    .navbar-nav .nav-item .nav-link { padding: 7px 9px !important; margin: 0 1px !important; font-size: .92rem !important; }
    .navbar-buttons .btn { padding: .45rem .72rem !important; font-size: .76rem !important; }
}

/* ===== Cierre de la Declaración de Fe (sección aparte, formato del encabezado de sedes) ===== */
.kp-cierre-section {
    background-color: #ffffff;
    padding: 1rem 0 5rem;
}
.kp-cierre-body {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.kp-cierre-text {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem) !important;
    line-height: 1.9;
    color: #3a3a3a;
    margin-bottom: 1.6rem;
}
.kp-cierre-firma {
    margin: 2.4rem auto 0;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(122, 36, 54, 0.18);
    max-width: 620px;
    font-style: italic;
    color: #7a2436;
    font-size: 1.08rem;
}

/* ===== Tarjetas de sede: evitar que el correo largo se corte/desborde ===== */
.sede-card p,
.sede-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
}
.sede-card {
    min-width: 0;
    overflow-wrap: anywhere;
}
/* El correo del footer tampoco debe desbordarse */
.cid-uSS7s8gbb3 .mbr-contact {
    overflow-wrap: anywhere;
    word-break: break-word;
}
