
:root{
  /* Ancho del contenido (texto, tarjetas, pilares, Mexico Connectivity) */
  --lp-wide: 1220px;

  /* Espaciado: entre secciones / título→contenido / entre imágenes */
  --lp-sec:  clamp(64px, 7vw, 112px);
  --lp-head: clamp(32px, 3.5vw, 48px);
  --lp-tile: 16px;

  /* Escala tipográfica */
  --lp-statement: clamp(30px, 3.4vw, 54px);  /* Certainty / frases sobre foto */
  --lp-h2:        clamp(28px, 2.6vw, 40px);  /* Títulos de sección */
  --lp-intro:     clamp(19px, 1.5vw, 22px);  /* Párrafo introductorio */
  --lp-lead:      clamp(16px, 1.15vw, 18px); /* Texto junto a títulos */

  --lp-orange: #EE6723;
  --lp-text:   #3a3a3a;
}

@font-face {
    font-family: 'Nord';
    src: url('../vendor/fonts/Nord/Nord-Regular.eot');
    src: url('../vendor/fonts/Nord/Nord-Regular.eot?#iefix') format('embedded-opentype'),
        url('../vendor/fonts/Nord/Nord-Regular.woff2') format('woff2'),
        url('../vendor/fonts/Nord/Nord-Regular.woff') format('woff'),
        url('../vendor/fonts/Nord/Nord-Regular.ttf') format('truetype'),
        url('../vendor/fonts/Nord/Nord-Regular.svg#Nord-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nord';
    src: url('../vendor/fonts/Nord/Nord-Bold.eot');
    src: url('../vendor/fonts/Nord/Nord-Bold.eot?#iefix') format('embedded-opentype'),
        url('../vendor/fonts/Nord/Nord-Bold.woff2') format('woff2'),
        url('../vendor/fonts/Nord/Nord-Bold.woff') format('woff'),
        url('../vendor/fonts/Nord/Nord-Bold.ttf') format('truetype'),
        url('../vendor/fonts/Nord/Nord-Bold.svg#Nord-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Nord';
    src: url('../vendor/fonts/Nord/Nord-Thin.eot');
    src: url('../vendor/fonts/Nord/Nord-Thin.eot?#iefix') format('embedded-opentype'),
        url('../vendor/fonts/Nord/Nord-Thin.woff2') format('woff2'),
        url('../vendor/fonts/Nord/Nord-Thin.woff') format('woff'),
        url('../vendor/fonts/Nord/Nord-Thin.ttf') format('truetype'),
        url('../vendor/fonts/Nord/Nord-Thin.svg#Nord-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Nord';
    src: url('../vendor/fonts/Nord/Nord-Medium.eot');
    src: url('../vendor/fonts/Nord/Nord-Medium.eot?#iefix') format('embedded-opentype'),
        url('../vendor/fonts/Nord/Nord-Medium.woff2') format('woff2'),
        url('../vendor/fonts/Nord/Nord-Medium.woff') format('woff'),
        url('../vendor/fonts/Nord/Nord-Medium.ttf') format('truetype'),
        url('../vendor/fonts/Nord/Nord-Medium.svg#Nord-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Nord';
    src: url('../vendor/fonts/Nord/Nord-Light.eot');
    src: url('../vendor/fonts/Nord/Nord-Light.eot?#iefix') format('embedded-opentype'),
        url('../vendor/fonts/Nord/Nord-Light.woff2') format('woff2'),
        url('../vendor/fonts/Nord/Nord-Light.woff') format('woff'),
        url('../vendor/fonts/Nord/Nord-Light.ttf') format('truetype'),
        url('../vendor/fonts/Nord/Nord-Light.svg#Nord-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

.font-legacy{font-family: 'Nord', sans-serif;}

.h1-legacy{
    font-size: 2.625rem;
    line-height: 100%;
}

.btn-legacy{
    background: #fff;
    color: #000;
}

.btn-legacy img{
    filter: brightness(0);
}

.btn-legacy:hover img{
    filter: brightness(0) invert(1);
}

/* ===================================
    Cover
====================================== */

.cover{
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.cover-certainty{
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 0;
    height: clamp(420px, 48vw, 760px);
}

.cover-cta{
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 0;
    height: clamp(360px, 32vw, 480px);
}

.logo-top{
    width: 140px;
}

/* INMG */
.cover-img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* VIDEO */
.cover-video{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* CONTENIDO */
.cover-content{
  position: absolute;
  z-index: 2;
  color: #fff;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: end;
}

/* ===================================
    Main section
====================================== */

.grid-about{
    display: grid;
    grid-template-columns: 1fr;
    gap:50px;
}

/* ===================================
    One Shot
====================================== */

.grid-3fr{
    display: grid;
    grid-template-columns: 1fr;
    gap:10px;
}

.units .cont-img{
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
}

.units .back{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0);
  transition: all 0.5s ease;
  overflow: hidden;
}

.units .back:hover{
    transition: all 0.5s ease;
    transform: scale(1.05);
    filter: none;
}

.units .icon{
    position: absolute;
    z-index: 2;
    width: 110px;
    right: 20px;
    bottom: 20px;
}

/*Footer Leagcy*/

.content-footer-main{
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding-top: 100px;
  padding-bottom: 0px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  color: #fff;
  text-align: center;
  flex-direction: column;
}

.content-footer-main a{
  color: #fff;
  text-decoration: none;
  transition:all .7s ease;
}

.content-footer-main a:hover{
  color: #EE6723;
  transition:all .7s ease;
}

.content-footer-main .social-media{
  display: flex;
  justify-content: center;
}

.content-footer-main .social-media i{
  font-size: 22px;
}

.content-footer-main .logo-footer-index img{
  width: 120px;
}

.legacy img{
  width: 150px;
}

/* ===================================
    OUR PARKS
====================================== */

.grid-map{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}

.grid-parks{
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--lp-tile);
}

.park .cont-img{
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.park .back{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0);
  transition: all 0.5s ease;
  overflow: hidden;
}

.park .cont-img:hover .back{
    transition: all 0.5s ease;
    transform: scale(1.05);
    filter: none;
}

.park .icon{
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 50%;
    z-index: 2;
}

/* =========================================
   CONNECTIVITY
========================================= */

.mexico-connectivity__content .title-content{
    background: #515759;
    text-align: center;
    padding-top: clamp(24px, 2.6vw, 36px) !important;
    padding-bottom: clamp(24px, 2.6vw, 36px) !important;
}

.mexico-connectivity__map {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Monitores grandes y televisiones */

/* Tablets y móviles */

.connectivity-section {
    width: 100%;
    overflow: hidden;
}

/* Desktop */

.connectivity-background {
    position: relative;
    width: 100%;
    min-height: 650px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image .4s ease;
}

/* panel izquierdo */

.connectivity-panel {
    position: absolute;
    top: 0;
    left: 0;

    width: 450px;
    height: 100%;

    padding: 60px 50px;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* título */

.connectivity-title {
    font-weight: 400;
    color: #000;
    margin-bottom: 45px;
}

/* texto desplegable */

.connectivity-info {
    overflow: hidden;

    max-height: 180px;
    opacity: 1;

    transition:
        max-height .35s ease,
        opacity .25s ease,
        transform .35s ease;

    transform: translateY(0);

    margin-bottom: 25px;
}

.connectivity-info.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.connectivity-info h4 {
    font-weight: 400;
    color: #EE6723;
    margin-bottom: 10px;
    font-family: 'Nord', sans-serif;
}

.connectivity-info p {
    color: #3b3b3b;
    margin: 0;
}

/* botones */

.connectivity-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.connectivity-btn {
    width: 100%;
    border: 0;
    background: #EE6723;
    color: white;
    padding: 9px 16px;
    font-size: 14px;
    text-align: center;
    transition: all .25s ease;
    font-family: 'Nord', sans-serif;
}

.connectivity-btn:hover {
    background: #c74d0f;
}

.connectivity-btn.active {
    background: white;
    color: #EE6723;
    border: 1px solid #EE6723;
}

/* =========================================
   MOBILE
========================================= */

.connectivity-mobile {
    background: white;
}

.connectivity-slide {
    background: white;
}

.connectivity-mobile-content {
    margin-bottom: 20px;
    text-align: center;
}

.connectivity-mobile-content h3 {
    font-weight: 400;
    color: #EE6723;
    margin-bottom: 10px;
}

.connectivity-mobile-content p {
    margin: 0 auto;
    color: #333;
    min-height: 45px;
}

/* mapa */

.connectivity-mobile-image {
    width: 100%;
    height: 400px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* controles */

.connectivity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px 25px;
}

/* quitamos positioning default de swiper */

.connectivity-controls .swiper-pagination {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;

    width: auto;
}

/* dots */

.connectivity-controls .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #EE6723;
    opacity: 1;
}

.connectivity-controls .swiper-pagination-bullet-active {
    background: #EE6723;
}

/* flechas */

.connectivity-arrows {
    display: flex;
    gap: 8px;
}

.connectivity-prev,
.connectivity-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: .2s ease;
    font-size: 16px;
}

.connectivity-prev {
    background: #EE6723;
    color: white;
}

.connectivity-next {
    background: #EE6723;
    color: white;
}

.connectivity-prev:hover,
.connectivity-next:hover {
    transform: scale(1.05);
}

.connectivity-prev.swiper-button-disabled, .connectivity-next.swiper-button-disabled {
   opacity: .35;
   cursor: auto;
   pointer-events: none;
}

/* ==========================================================
   PILLARS - GENERAL
========================================================== */

.pillars-section {
    width: 100%;
    overflow: hidden;
}

.grid-pillars{
    display: grid;
    grid-template-columns: 1fr;
    gap:20px;
}

/* ==========================================================
   DESKTOP
========================================================== */

.pillars-desktop {
    width: 100%;
}

/* Contenedor de todos los pilares */

.pillars-wrapper {
    display: flex;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* ==========================================================
   PILAR GENERAL
========================================================== */

.pillar-item {
    position: relative;

    /*
        Todos empiezan del mismo tamaño
    */
    flex: 1;

    /*
        Esto evita que al abrir uno
        los demás desaparezcan completamente
    */
    
    height: 100%;
    overflow: hidden;

    cursor: pointer;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        flex .7s cubic-bezier(.25, .8, .25, 1),
        filter .4s ease;
}

/*
    PILAR ABIERTO

    Puedes subir 8 a 9 o 10 si quieres
    que ocupe todavía más espacio.
*/

.pillar-item.active {
    flex: 50;
}

/* ==========================================================
   OVERLAY GENERAL
========================================================== */

.pillar-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(3, 40, 63, .30) 0%,
            rgba(3, 39, 61, .40) 45%,
            rgba(0, 19, 31, .80) 100%
        );

    transition:
        background .5s ease,
        opacity .5s ease;
}

/*
    Cuando está abierto dejamos ver
    un poco más la fotografía.
*/

.pillar-item.active .pillar-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(3, 40, 63, .14) 0%,
            rgba(3, 39, 61, .25) 45%,
            rgba(0, 19, 31, .65) 100%
        );
}

/* ==========================================================
   PREVIEW - PILAR CERRADO
========================================================== */

.pillar-preview {
    position: absolute;
    height: 90%;
    left: 0;
    right: 0;
    top: 20px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 10px;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .2s ease, transform .3s ease, visibility .2s ease;
}

/* icono */

.pillar-preview img {
    display: block;
    width: 100px;
    height: auto;
}

/* título */

.pillar-preview h4 {
    margin: 0;
    color: #fff;
    font-weight: 400;
    font-family: 'Nord', sans-serif;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    font-size: 40px;
}
.pillar-item.active > .pillar-preview {
    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    pointer-events: none;

    transition:
        opacity .15s ease,
        transform .25s ease,
        visibility 0s linear .15s;
}
/* ==========================================================
   CONTENIDO COMPLETO
========================================================== */

.pillar-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    color: #fff;
    /*
        Oculto mientras el pilar
        se encuentra cerrado.
    */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity .35s ease,
        transform .5s ease,
        visibility .35s ease;
    padding: 50px 55px 40px;
}

/*
    Esperamos un poquito a que el pilar
    empiece a crecer antes de mostrar texto.
*/

.pillar-item.active .pillar-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: .25s;
}

/* ==========================================================
   TEXTO GENERAL
========================================================== */

.pillar-content h2,
.pillar-content h3,
.pillar-content h4 {
    color: #fff;
    font-family: 'Nord', sans-serif;
}

.pillar-content p {
    margin-bottom: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
}

/* ==========================================================
   FLEXIBILITY
========================================================== */

.pillar-flexibility {
    background-position: center;
}

/*
    Todo el contenido del pilar
*/

.pillar-flexibility .pillar-content {
    padding: 50px 55px 40px;
}

/* Header */

.flexibility-header {
    max-width: 50%
}

.flexibility-header-img{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.flexibility-header-img img{
    width: 80%;
    height: auto;
}

.flexibility-header img {
    display: block;
    width: 100px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.flexibility-header p {
    margin: 0;
}

/* ==========================================================
   FLEXIBILITY - FEATURES
========================================================== */

.flexibility-features {
    position: absolute;
    left: 45px;
    right: 45px;
    bottom: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.flexibility-features > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    padding: 0 25px;
    text-align: center;
}

/* separadores */

.flexibility-features > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, .75);
}

/* ==========================================================
   ENERGY
========================================================== */

/* Header */

.energy-header {
    max-width: 50%
}

.energy-icon{
    position: absolute;
    right: 50px;
    top:60px;
    width: 150px;
}

/* ==========================================================
   ENERGY - FEATURES
========================================================== */

.energy-features {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

.energy-features > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.energy-features > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, .8);
}

/* ==========================================================
   INFRASTRUCTURE
========================================================== */

/* Header */

.infra-header {
    max-width: 50%
}

.icon-infra{
    position:absolute;
    top:30px;
    left: 50px;
    width: 150px;
}

.infra-features {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap:10px;
}

.infra-feature .cover-feature{
    width: 100%;
    height: 150px;
}

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

.infra-feature .text{
    background: #fff;
    padding: 10px;
    border-bottom-right-radius: 25px;
    text-align: center;
    font-size: 12px;
}

/* ==========================================================
   AMENETIES
========================================================== */

.amenities-header {
    max-width: 70%;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.amenities-header img{
    width: 150px;
}

.amenities-features {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.amenities-features > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
    flex-direction: column;
}

.amenities-features > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, .8);
}

/* ==========================================================
   SUSTAINABILITY
========================================================== */

.sustainability-header{
    max-width: 70%;
    display: flex;
    align-items: center;
    gap:15px;
}

.sustainability-features {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap:25px;
}

.sustainability-features > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.sustainability-feature .img-content{
    width: 100%;
    height: 250px;
    border-top-right-radius: 25px;
    overflow: hidden;
}

.sustainability-feature .img-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================
   AJUSTES PARA PANTALLAS DESKTOP MÁS PEQUEÑAS
========================================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {

    .pillars-wrapper {
        height: 520px;
    }

    .pillar-item.active {
        flex: 50;
    }

    .pillar-preview {
        left: 10px;
        right: 10px;
        top:10px;
    }

    .pillar-preview img {
        width: 50px;
        height: 50px;
    }

    .pillar-preview h4 {
        font-size: 16px;
    }

    .infra-feature .cover-feature{
        height: 100px;
    }

    .amenities-features > div {
        font-size: 14px;
    }

}

/* ==========================================================
   MOBILE
========================================================== */

/* Tarjeta */

.pillar-mobile-card {
    position: relative;

    width: 100%;

    min-height: 350px;

    overflow: hidden;

    border-radius: 0 45px 0 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */

.pillar-mobile-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0, 75, 117, .78) 0%,
            rgba(0, 51, 82, .48) 45%,
            rgba(0, 22, 36, .88) 100%
        );
}

/* contenido */

.pillar-mobile-content {
    position: relative;
    z-index: 2;
    min-height: 350px;
    padding: 32px 18px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

/* Icono */

.pillar-mobile-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0px;
}

.pillar-mobile-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* título */

.pillar-mobile-content h3 {
    font-family: 'Nord', sans-serif;
    margin: 0 0 20px;
    color: #fff;
}

/* descripción */
.pillar-mobile-content p {
    margin: 0;
    color: #fff;
}

/* contador */

.pillar-counter {
    margin-top: auto;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

/* ==========================================================
   MOBILE - SWIPER CONTROLS
========================================================== */

.pillars-controls {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 10px;
}

.pillars-controls .swiper-pagination {
    position: static;

    display: flex;

    align-items: center;

    width: auto;
}

/* bullets */

.pillars-controls .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #EE6723;
    opacity: 1;
}

.pillars-controls .swiper-pagination-bullet-active {
    background: #EE6723;
}

/* botones */

.pillars-navigation {
    display: flex;

    gap: 8px;
}

.pillars-prev,
.pillars-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: .2s ease;
    font-size: 16px;
}

.pillars-prev {
    background: #EE6723;
    color: white;
}

.pillars-next {
    background: #EE6723;
    color: white;
}

.pillars-prev:hover,
.pillars-next:hover {
    transform: scale(1.05);
}

.pillars-prev.swiper-button-disabled,
.pillars-next.swiper-button-disabled {
    opacity: .35;
   cursor: auto;
   pointer-events: none;
}

.mapa-content{
    max-height: 750px;
    overflow: hidden;
    position: relative;
}

.text-on{
    position:absolute;
    bottom: 50px;
    left: 50px;
    z-index: 20;
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {

    /*Footer*/
    .content-footer-main{
        padding-left: 50px;
        padding-right: 50px;
    }

} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

    /*One shot*/
    .grid-3fr{grid-template-columns: repeat(3,1fr);}
    .units .cont-img{height: 250px;}
    .park .cont-img{height: 350px;}

    .park .icon{
        width: 50%;
    }

    /*Footer*/
    .content-footer-main .logo-footer-index img{
     width: 135px;
    }
}
/* md  */ @media (min-width: 768px) {

    .grid-about{
        grid-template-columns: 1fr 1fr;
        gap:60px;
        align-items: center;
    }

    .grid-map{
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: end;
    }

    .grid-pillars{
        grid-template-columns: 1fr 1fr;
        gap:60px;
        align-items: end;
    }

    .grid-parks{
        grid-template-columns:  1fr 1fr;
        gap: 20px;
    }

    /*One shot*/
    .units .cont-img{height: 350px;}

} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

    /*One shot*/

.h1-legacy{
    font-size: 3.875rem;
    line-height: 100%;
}

} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {}
/* xxl */ @media (min-width: 1400px) {}


/* ----------------------------------------------------------
   1. ANCHOS: contenido a 1220 px; fotos/mapas clave de orilla a orilla
   ---------------------------------------------------------- */
@media (min-width: 768px){
  .max-width-screen,
  .mexico-connectivity__content{
    max-width: var(--lp-wide) !important;
    width: calc(100% - 30px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.cover-certainty,
.legacy-parks > .max-width-screen,
.cover-cta{
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 768px){
  .legacy-parks > .max-width-screen:not(.margin-20px-top) img{
    display: block;
    width: 100%;
    height: 40vw;                 /* 576 px en 1440 · 768 px en 1920 */
    object-fit: cover;
    object-position: 50% 48%;
  }
  .mexico-connectivity__map{
    width: 100%;
    height: auto !important;
    aspect-ratio: 185 / 100;      /* 1220 × 659 px (antes 1600 × 995) */
    object-fit: cover !important;
    object-position: 50% 55%;
  }
}

/* ----------------------------------------------------------
   2. RITMO VERTICAL: mismo espacio entre todas las secciones
   ---------------------------------------------------------- */
.legacy-about,
.legacy-units,
.legacy-parks,
.legacy-pillars{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.legacy-about,
.legacy-units,
.cover-certainty,
.legacy-parks,
.legacy-pillars,
.mexico-connectivity,
.cover-cta{
  margin-top: var(--lp-sec) !important;
  margin-bottom: 0 !important;
}
.mexico-connectivity{ padding: 0 !important; }

/* ----------------------------------------------------------
   3. TÍTULOS DE SECCIÓN (One Stop Shop, Our Parks, Five Pillars)
   ---------------------------------------------------------- */
h2.font-legacy.h3{
  font-family: 'Nord', sans-serif !important;
  font-weight: 400 !important;
  font-size: var(--lp-h2) !important;
  line-height: 1.1 !important;
  letter-spacing: .02em;
  color: #000;
  margin: 0 !important;
}
/* Acento de marca sobre cada título */
h2.font-legacy.h3::before{
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--lp-orange);
  margin-bottom: 22px;
}

/* ----------------------------------------------------------
   4. ENCABEZADOS DE SECCIÓN: título izquierda / texto derecha,
      igual en las 3 secciones (antes cada una era distinta)
   ---------------------------------------------------------- */
.grid-map,
.grid-pillars,
.legacy-units .container > .d-flex > div{
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100% !important;
}
/* Five Pillars conserva su espacio original entre título y pilares */
.grid-map,
.legacy-units .container > .d-flex > div{
  margin: 0 0 var(--lp-head) 0 !important;
}
@media (min-width: 768px){
  .grid-map,
  .grid-pillars,
  .legacy-units .container > .d-flex > div{
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
  }
}
.grid-map > div,
.grid-pillars > div{ margin: 0 !important; align-items: flex-end !important; }
.grid-map .md-margin-50px-top{ margin-top: 0 !important; }

/* Texto que acompaña a los títulos */
.grid-map h4,
.grid-pillars h4,
.legacy-units .container > .d-flex h4{
  font-size: var(--lp-lead) !important;
  line-height: 1.6 !important;
  color: var(--lp-text) !important;
  max-width: 480px;               /* ≈ 60–70 caracteres por línea */
  margin: 0 !important;
  text-wrap: pretty;              /* evita palabras sueltas al final */
}

/* ----------------------------------------------------------
   5. HERO
   ---------------------------------------------------------- */
.cover::after{                       /* degradado para que el texto se lea */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.cover .cover-content{ padding-bottom: clamp(48px, 7vh, 96px); }
.cover .cover-content img.width-100{ max-width: 440px; }
.cover .cover-content h6{
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: 8px;
}

/* ----------------------------------------------------------
   6. INTRO (boceto + texto)
   ---------------------------------------------------------- */

.grid-about h4{
  font-size: var(--lp-intro) !important;
  line-height: 1.5 !important;
  max-width: 560px;
  color: #111 !important;
}
.grid-about h4 + h4{
  max-width: 480px;
  font-size: var(--lp-lead) !important;
  line-height: 1.6 !important;
  color: var(--lp-text) !important;
}
.grid-about h4.margin-30px-bottom{ margin-bottom: 20px !important; }

/* ----------------------------------------------------------
   7. ONE STOP SHOP (tarjetas)
   ---------------------------------------------------------- */
.grid-3fr.units{ gap: var(--lp-tile); margin-top: 0 !important; }
@media (min-width: 992px){ .units .cont-img{ height: 400px; } }
.units .cont-img::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.5));
  pointer-events: none;
}


/* ----------------------------------------------------------
   8. FRASES SOBRE FOTO (Certainty Made Physical)
   ---------------------------------------------------------- */
   /* 691 px en 1440 */
.cover-certainty .cover-img{ object-position: 50% 0%; }   
.cover-certainty::after{
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.28) 100%);
}
.cover-certainty h3{
  font-family: 'Nord', sans-serif !important;
  font-size: var(--lp-statement) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: .02em;
  text-align: center;
  color: #fff;
  margin: 0;
}

/* ----------------------------------------------------------
   9. OUR PARKS (mapa + tarjetas Norte / Pesquería)
   ---------------------------------------------------------- */
.legacy-parks > .container{ padding-bottom: 0; }
.max-width-screen.margin-20px-top{ margin-top: var(--lp-tile) !important; }

/* Tarjetas horizontales 16:10, de orilla a orilla (712 × 445 px en 1440) */
@media (min-width: 768px){
  .park .cont-img{ height: auto !important; aspect-ratio: 16 / 10; }
  .park .icon{ width: 240px; bottom: 36px; left: 40px; }
}
@media (min-width: 768px) and (max-width: 991.98px){
  .park .icon{ width: 170px; bottom: 22px; left: 22px; }
}

/* OUR PARKS - VIEW MORE */
.park-view-more{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  cursor: pointer;
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.9);
  color: #fff;
  font-family: 'Nord', sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  pointer-events: auto;
}
.park .cont-img:hover .park-view-more,
.park .cont-img:focus-within .park-view-more{
  opacity: 1;
  transform: translateY(0);
}
/* En pantallas táctiles (sin mouse) el botón se ve siempre */
@media (hover: none){
  .park-view-more{ opacity: 1; transform: none; }
}
@media (min-width: 768px) and (max-width: 991.98px){
  .park-view-more{ top: 22px; bottom: auto; right: 22px; font-size: 11px; padding: 8px 14px; }
}
@media (max-width: 767.98px){
  .park-view-more{ right: 20px; top: 20px; bottom: auto; opacity: 1; transform: none; font-size: 11px; padding: 8px 14px; }
}

.park-view-more:hover { background: #fff; color: #000; }
.park-view-more:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.park .cont-img::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
  pointer-events: none;
}

.park .icon h6{ font-size: 16px !important; letter-spacing: .12em; margin: 0; }

/* ----------------------------------------------------------
   10. FIVE PILLARS (espacio título → pilares sin cambios)
   ---------------------------------------------------------- */
.grid-pillars h2.font-legacy{ max-width: 9.8em; }
@media (min-width: 1200px){
  .pillars-wrapper{ height: 580px; }
  .pillar-preview h4{ font-size: 30px; letter-spacing: .06em; }
  .pillar-preview img{ width: 72px; }
}
.pillar-content h3{ font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; }

.infra-feature .text, .infra-feature .text p{ font-size: 15px; line-height: 1.45; }

/* ----------------------------------------------------------
   11. MEXICO CONNECTIVITY
   ---------------------------------------------------------- */

.mexico-connectivity h2{
  font-family: 'Nord', sans-serif !important;
  font-size: var(--lp-h2) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: .04em;
  color: #fff;
}

/* ----------------------------------------------------------
   12. CTA FINAL
   ---------------------------------------------------------- */

.cover-cta::after{
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: rgba(0,0,0,.35);
}
.cover-cta .cover-content{ padding-top: 0 !important; padding-bottom: 0; }
.cover-cta .cover-content img.width-80{ width: 100%; max-width: 380px; }
