* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Bai Jamjuree", sans-serif;
    color: #333;
    line-height: 1.6;
}

/* =========================================================
   HERO / PARALLAX (contenedor centrado)
   ========================================================= */
.parallax-section {
    position: relative;
    display: flex;
    justify-content: center;
}

.container-center-parallax {
    position: relative;
    margin-top: var(--header-height);
    width: 1280px;
    max-width: 100%;
    height: 30vh;
    min-height: 400px;
    background-image: url('../img/Facility.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.parallax-content {
    position: relative;
    z-index: 2;
    padding: 28px 45px;
    width: auto;
    max-width: 900px;
    background: rgba(24, 50, 84, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    animation: heroFadeIn 0.8s ease-out;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.parallax-content h1 {
    margin: 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.07em;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.parallax-content p {
    margin: 12px 0 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #ffffff;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BREADCRUMB ===== */
.learn-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.4;
}
.learn-breadcrumb .breadcrumb-parent {
    color: #1f62af;
}
.learn-breadcrumb .breadcrumb-separator {
    color: #1f62af;
    opacity: 0.6;
    font-weight: 400;
}
.learn-breadcrumb .breadcrumb-current {
    color: #1f62af;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}
.learn-breadcrumb .breadcrumb-current:hover {
    color: #173060;
    border-bottom-color: #173060;
}

/* =========================================================
   SECTION 1: FACILITY STORY
   ========================================================= */
.facility-story {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.center-container {
    width: 1280px;
    max-width: 100%;
    background: #ffffff;
    padding: 50px 0;
}

.facility-story::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(0, 93, 164, 0.045);
    border-radius: 50%;
    left: -220px;
    top: 50%;
    transform: translateY(-50%);
}

.facility-story-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 90px;
    position: relative;
    z-index: 2;
}

.facility-image-wrapper {
    position: relative;
    padding: 0 0 35px 25px;
}

.facility-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(23, 48, 96, 0.16);
}

.facility-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 48, 96, 0.15), transparent 60%);
    pointer-events: none;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.facility-image:hover img {
    transform: scale(1.04);
}

.facility-image-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
    height: 100%;
    border: 2px solid #005da4;
    z-index: -1;
}

.facility-badge {
    position: absolute;
    right: -25px;
    bottom: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #183254, #005da4);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(23, 48, 96, 0.25);
    border: 6px solid #ffffff;
    text-align: center;
}

.facility-badge span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    color: #ffffff;
}

.facility-badge strong {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #ffffff;
}

.facility-content {
    max-width: 570px;
}

.facility-label {
    display: block;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #005da4;
    margin-bottom: 12px;
}

.facility-content h2 {
    margin: 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    font-weight: 600;
    color: #183254;
    letter-spacing: 0.03em;
}

.facility-content h2 span {
    display: block;
    color: #005da4;
    font-weight: 300;
}

.facility-intro {
    margin: 0 0 15px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #374151;
    font-weight: 500;
}

.facility-description {
    margin: 0 0 30px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
}

.facility-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 32px;
}

.facility-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 14px;
    background: #f8f9fb;
    border: 1px solid rgba(23, 48, 96, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(23, 48, 96, 0.08);
}

.facility-highlight .highlight-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #183254, #005da4);
    color: #ffffff;
}

.facility-highlight .highlight-icon i {
    font-size: 0.9rem;
    color: #ffffff;
}

.facility-highlight strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #183254;
}

.facility-highlight span {
    display: block;
    margin-top: 3px;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #6b7280;
}

.facility-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #005da4;
    color: #005da4;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-button i {
    color: #005da4;
    transition: transform 0.3s ease, color 0.3s ease;
}

.facility-button:hover {
    background: #005da4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 93, 164, 0.22);
}

.facility-button:hover i {
    color: #ffffff;
    transform: translateX(4px);
}

/* =========================================================
   SECTION 2: FACILITY TOUR (flex centrado)
   ========================================================= */
.facility-tour-section {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.facility-tour-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.facility-tour-header {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.facility-tour-title-wrapper {
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0;
    margin-bottom: 40px;
    gap: 20px;
}

.facility-tour-title-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.facility-tour-subtitle {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #005da4;
    opacity: 0.7;
}

.facility-tour-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #183254;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
    position: relative;
}

.facility-tour-title-text {
    position: relative;
    z-index: 1;
    color: #183254;
}

.facility-tour-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #005da4;
    text-decoration: none;
    padding: 10px 24px;
    border: 2px solid #005da4;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.facility-tour-view-more i {
    color: #005da4;
    transition: color 0.3s ease, transform 0.3s ease;
}

.facility-tour-view-more:hover {
    background: #005da4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 93, 164, 0.25);
}

.facility-tour-view-more:hover i {
    color: #ffffff;
    transform: translateX(4px);
}

.facility-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 10px;
}

.facility-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(23, 48, 96, 0.05);
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(23, 48, 96, 0.15);
    border-color: rgba(0, 93, 164, 0.15);
}

.facility-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf5, #d5dde8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facility-card-image .facility-icon-bg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(23, 48, 96, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, background 0.5s ease;
}

.facility-card-image .facility-icon-bg i {
    font-size: 3rem;
    color: #005da4;
    transition: transform 0.5s ease, color 0.5s ease;
}

.facility-card:hover .facility-icon-bg {
    transform: scale(1.15);
    background: rgba(0, 93, 164, 0.12);
}

.facility-card:hover .facility-icon-bg i {
    transform: scale(1.1) rotate(-5deg);
    color: #183254;
}

.facility-card-number {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: "Graduate", serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    background: rgba(23, 48, 96, 0.5);
    backdrop-filter: blur(4px);
    padding: 4px 14px;
    border-radius: 30px;
    line-height: 1.4;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    font-size: 1.2rem;
}

.facility-card-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0, 93, 164, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

/* Variantes de color del badge */
.facility-card-badge.ice {
    background: rgba(0, 93, 164, 0.85);
}

.facility-card-badge.food {
    background: rgba(231, 76, 60, 0.85);
}

.facility-card-badge.shop {
    background: rgba(243, 156, 18, 0.85);
}

.facility-card-badge.training {
    background: rgba(39, 174, 96, 0.85);
}

.facility-card-badge.hockey {
    background: rgba(23, 48, 96, 0.85);
}

.facility-card-badge.skate {
    background: rgba(155, 89, 182, 0.85);
}

.facility-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-card-body .facility-card-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #183254;
    margin: 0 0 4px 0;
}

.facility-card-body .facility-card-subtitle {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #005da4;
    font-weight: 600;
    margin-bottom: 8px;
}

.facility-card-body .facility-card-description {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 12px 0;
    flex: 1;
}

.facility-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.facility-card-features span {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 30px;
    background: rgba(0, 93, 164, 0.06);
    color: #005da4;
    border: 1px solid rgba(0, 93, 164, 0.08);
}

.facility-card:hover .facility-card-features span {
    background: rgba(0, 93, 164, 0.12);
    border-color: rgba(0, 93, 164, 0.15);
}

.facility-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #005da4;
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 30px;
    border: 2px solid #005da4;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 2px;
}

.facility-card-link i {
    font-size: 0.55rem;
    transition: transform 0.3s ease;
}

.facility-card-link:hover {
    background: #005da4;
    color: #ffffff;
}

.facility-card-link:hover i {
    transform: translateX(4px);
    color: #ffffff;
}

.facility-highlight .highlight-icon .highlight-icon-img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);   
    transition: transform 0.3s ease;
}

.facility-highlight:hover .highlight-icon .highlight-icon-img {
    transform: scale(1.1);
}

/* =========================================================
   FACILITY CARD IMAGE — Fondo con imagen en todas las cards
   ========================================================= */

.facility-card-image.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #173060;   /* fallback si la imagen no carga */
}

/* Capa oscura para legibilidad del número y badge */
.facility-card-image.has-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 48, 96, 0.40) 0%,
        rgba(23, 48, 96, 0.10) 55%,
        rgba(23, 48, 96, 0.50) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s ease;
}

.facility-card:hover .facility-card-image.has-bg::after {
    background: linear-gradient(
        135deg,
        rgba(23, 48, 96, 0.28) 0%,
        rgba(23, 48, 96, 0.05) 55%,
        rgba(23, 48, 96, 0.40) 100%
    );
}

/* Número y badge por encima de la capa oscura */
.facility-card-image.has-bg .facility-card-number,
.facility-card-image.has-bg .facility-card-badge {
    z-index: 3;
}

/* Zoom suave al hover usando ::before con la imagen */
.facility-card-image.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.6s ease;
    background-image: inherit;   /* hereda la imagen del .bg-* */
}

.facility-card:hover .facility-card-image.has-bg::before {
    transform: scale(1.06);
}

/* =========================================================
   IMÁGENES POR CARD
   Ajusta los nombres/rutas a tus archivos reales
   ========================================================= */
.facility-card-image.bg-public-skating {
    background-image: url('../img/Arena1.jpg');
}
.facility-card-image.bg-learn-skate {
    background-image: url('../img/Arena2.jpg');
}
.facility-card-image.bg-learn-hockey {
    background-image: url('../img/LearnToPlay.jpg');
}
.facility-card-image.bg-hockey {
    background-image: url('../img/Hockey.jpg');
}
.facility-card-image.bg-figure-skating {
    background-image: url('../img/FigureSkating.jpg');
}
.facility-card-image.bg-adult {
    background-image: url('../img/card_proshop.jpg');
}
.facility-card-image.bg-academy {
    background-image: url('../img/card_proshop.jpg');
}
.facility-card-image.bg-birthdays {
    background-image: url('../img/card_proshop.jpg');
}
.facility-card-image.bg-performance {
    background-image: url('../img/card_performance.jpg');
}
.facility-card-image.bg-restaurant {
    background-image: url('../img/card_restaurant.jpg');
}
.facility-card-image.bg-proshop {
    background-image: url('../img/card_proshop.jpg');
}

/* =========================================================
   SECTION 3: STAY IN THE LOOP (CTA)
   ========================================================= */
.stay-loop-section {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 3;
    padding: 80px 0;
    background: linear-gradient(135deg, #173060 0%, #005da4 100%);
    overflow: hidden;
}

.stay-loop-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -260px;
    right: -160px;
    pointer-events: none;
}

.stay-loop-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -190px;
    left: -120px;
    pointer-events: none;
}

.stay-loop-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: #ffffff;
}

.stay-loop-subtitle {
    display: inline-block;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.stay-loop-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0 0 18px;
}

.stay-loop-text {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 32px;
    max-width: 620px;
}

.stay-loop-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stay-loop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.stay-loop-btn i {
    transition: transform 0.3s ease;
}

.stay-loop-btn-primary {
    background: #ffffff;
    color: #173060;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.stay-loop-btn-primary:hover {
    background: #f1f5ff;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.stay-loop-btn-primary:hover i {
    transform: translateX(4px);
}

.stay-loop-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.stay-loop-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.stay-loop-btn-secondary:hover i {
    transform: scale(1.15);
}

/* =========================================================
   SECTION 4: NEWS
   ========================================================= */
.news-section {
    position: relative;
    margin-top: var(--header-height);
    display: flex;
    justify-content: center;
    z-index: 3;
}

.container-news {
    width: 1280px;
    max-width: 100%;
    padding: 80px 24px;
    background-color: #ffffff;
}

.news-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-title-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.news-subtitle {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #005da4;
    opacity: 0.7;
}

.news-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #183254;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #005da4;
    text-decoration: none;
    padding: 10px 22px;
    border: 2px solid #005da4;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.news-view-all i {
    color: #005da4;
    transition: transform 0.3s ease, color 0.3s ease;
}

.news-view-all:hover {
    background: #005da4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 93, 164, 0.25);
}

.news-view-all:hover i {
    color: #ffffff;
    transform: translateX(4px);
}

/* =========================================================
   NEWS ARTICLE (layout horizontal: TEXTO IZQUIERDA / IMAGEN DERECHA)
   ========================================================= */
.news-article {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
    gap: 50px;
}

.news-article-image {
    position: relative;
    width: 50%;
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
    order: 2;                     /* imagen a la DERECHA */
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-article-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 48, 96, 0.10) 0%,
        rgba(23, 48, 96, 0.00) 55%,
        rgba(23, 48, 96, 0.25) 100%
    );
    pointer-events: none;
}

.news-article-body {
    order: 1;                     /* texto a la IZQUIERDA */
    padding: 40px 50px 40px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 600px;
}

.news-article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #005da4;
    margin-bottom: 14px;
}

.news-article-date i {
    font-size: 0.75rem;
    color: #005da4;
}

.news-article-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #183254;
    line-height: 1.25;
    margin: 0 0 20px 0;
    transition: color 0.3s ease;
}

.news-article:hover .news-article-title {
    color: #005da4;
}

.news-article-text {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.75;
    margin: 0 0 16px 0;
}

.news-article-text:last-child {
    margin-bottom: 0;
}

/* =========================================================
   NEWS ARTICLE — Botón "Back to News"  ← NUEVO
   ========================================================= */
.news-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 28px;
    padding: 6px 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #005da4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-back-btn i {
    font-size: 0.75rem;
    color: #005da4;
    transition: transform 0.3s ease, color 0.3s ease;
}

.news-back-btn:hover {
    color: #173060;
    text-decoration: underline;          /* ← línea de text-decoration */
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.news-back-btn:hover i {
    color: #173060;
    transform: translateX(-4px);
}

/* =========================================================
   RESPONSIVE — TABLET (max-width: 992px)
   ========================================================= */
@media (max-width: 992px) {
    .container-center-parallax {
        height: 60vh;
        min-height: 420px;
    }

    .center-container {
        padding: 0 16px 40px;
    }

    .facility-story-container {
        grid-template-columns: 1fr;
        gap: 55px;
        max-width: 720px;
        padding-top: 40px;
    }

    .facility-image-wrapper {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .facility-image {
        height: 430px;
    }

    .facility-content {
        max-width: 100%;
    }

    .facility-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .facility-tour-section {
        padding: 60px 0;
    }

    .facility-tour-wrapper {
        padding: 0 20px;
    }

    .facility-tour-title-wrapper {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 30px;
    }

    .facility-tour-title {
        font-size: 1.9rem;
    }

    .facility-tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .facility-card-image {
        height: 170px;
    }

    .facility-card-image .facility-icon-bg {
        width: 70px;
        height: 70px;
    }

    .facility-card-image .facility-icon-bg i {
        font-size: 2.4rem;
    }

    .facility-card-body {
        padding: 16px 18px 18px;
    }

    .facility-card-body .facility-card-title {
        font-size: 1rem;
    }

    .facility-card-body .facility-card-description {
        font-size: 0.85rem;
    }

    .facility-card-number {
        font-size: 1rem;
        padding: 3px 10px;
    }

    /* CTA Tablet */
    .stay-loop-section {
        padding: 70px 0;
    }

    .news-title {
        font-size: 1.9rem;
    }

    /* NEWS ARTICLE Tablet */
    .news-article {
        gap: 30px;
    }

    .news-article-image {
        width: 45%;
        height: 400px;
    }

    .news-article-body {
        padding: 30px 30px 30px 0;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {
    .container-center-parallax {
        height: 65vh;
        min-height: 450px;
        background-attachment: scroll;
    }

    .parallax-content {
        width: calc(100% - 40px);
        padding: 30px 20px;
    }

    .parallax-content h1 {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .parallax-content p {
        margin-top: 12px;
        font-size: 1rem;
    }

    .center-container {
        padding: 0 12px 40px;
    }

    .facility-story-container {
        width: calc(100% - 32px);
        gap: 45px;
        padding-top: 30px;
    }

    .facility-image-wrapper {
        padding: 0 0 25px 12px;
    }

    .facility-image {
        height: 330px;
        border-radius: 14px;
    }

    .facility-image-wrapper::before {
        top: 15px;
        border-radius: 14px;
    }

    .facility-badge {
        width: 95px;
        height: 95px;
        right: -5px;
        bottom: 0;
        border-width: 4px;
    }

    .facility-badge strong {
        font-size: 0.95rem;
        color: #ffffff;
    }

    .facility-badge span {
        font-size: 0.5rem;
        color: #ffffff;
    }

    .facility-content h2 {
        font-size: 2rem;
    }

    .facility-intro {
        font-size: 0.98rem;
    }

    .facility-description {
        font-size: 0.88rem;
    }

    .facility-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .facility-highlight {
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }

    .facility-highlight .highlight-icon {
        flex-shrink: 0;
    }

    .facility-button {
        width: 100%;
        justify-content: center;
    }

    .facility-tour-section {
        padding: 50px 0;
    }

    .facility-tour-wrapper {
        padding: 0 16px;
    }

    .facility-tour-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }

    .facility-tour-title {
        font-size: 1.4rem;
    }

    .facility-tour-subtitle {
        font-size: 0.7rem;
    }

    .facility-tour-view-more {
        font-size: 0.8rem;
        padding: 8px 18px;
        align-self: flex-start;
    }

    .facility-tour-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .facility-card {
        border-radius: 14px;
    }

    .facility-card-image {
        height: 150px;
    }

    .facility-card-image .facility-icon-bg {
        width: 58px;
        height: 58px;
    }

    .facility-card-image .facility-icon-bg i {
        font-size: 1.9rem;
    }

    .facility-card-body {
        padding: 12px 14px 14px;
    }

    .facility-card-body .facility-card-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .facility-card-body .facility-card-subtitle {
        font-size: 0.55rem;
    }

    .facility-card-body .facility-card-description {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    .facility-card-features span {
        font-size: 0.48rem;
        padding: 2px 8px;
    }

    .facility-card-link {
        font-size: 0.62rem;
        padding: 4px 12px;
    }

    .facility-card-link i {
        font-size: 0.5rem;
    }

    .facility-card-number {
        font-size: 0.85rem;
        padding: 2px 8px;
        top: 10px;
        right: 10px;
    }

    .facility-card-badge {
        font-size: 0.45rem;
        padding: 3px 8px;
        bottom: 10px;
        left: 10px;
    }

    /* CTA Mobile */
    .stay-loop-section {
        padding: 60px 0;
    }

    .stay-loop-title {
        font-size: 1.9rem;
    }

    .stay-loop-text {
        font-size: 0.95rem;
    }

    .stay-loop-actions {
        flex-direction: column;
        width: 100%;
    }

    .stay-loop-btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }

    .container-news {
        padding: 0 16px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 30px;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .news-subtitle {
        font-size: 0.7rem;
    }

    .news-view-all {
        font-size: 0.78rem;
        padding: 9px 18px;
        align-self: flex-start;
    }

    /* NEWS ARTICLE Mobile — vertical */
    .news-article {
        flex-direction: column;
        gap: 0;
    }

    .news-article-image {
        width: 100%;
        height: 240px;
        order: 1;
    }

    .news-article-body {
        order: 2;
        padding: 24px 24px 28px;
        max-width: 100%;
    }

    .news-article-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .news-article-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    /* Botón Back to News — Mobile  ← NUEVO */
    .news-back-btn {
        align-self: stretch;
        justify-content: center;
        margin-top: 22px;
        font-size: 0.8rem;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .container-center-parallax {
        height: 60vh;
        min-height: 400px;
    }

    .parallax-content {
        padding: 24px 18px;
    }

    .parallax-content h1 {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
    }

    .parallax-content p {
        font-size: 0.9rem;
    }

    .facility-story-container {
        padding-top: 20px;
        gap: 35px;
    }

    .facility-image {
        height: 260px;
    }

    .facility-badge {
        width: 78px;
        height: 78px;
    }

    .facility-badge strong {
        font-size: 0.78rem;
    }

    .facility-badge span {
        font-size: 0.42rem;
    }

    .facility-content h2 {
        font-size: 1.7rem;
    }

    .facility-tour-title {
        font-size: 1.2rem;
    }

    .facility-tour-view-more {
        font-size: 0.72rem;
        padding: 7px 14px;
    }

    /* Una sola columna: mejor legibilidad */
    .facility-tour-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .facility-card-image {
        height: 170px;
    }

    .facility-card-image .facility-icon-bg {
        width: 70px;
        height: 70px;
    }

    .facility-card-image .facility-icon-bg i {
        font-size: 2.2rem;
    }

    .facility-card-body {
        padding: 14px 16px 16px;
    }

    .facility-card-body .facility-card-title {
        font-size: 1rem;
    }

    .facility-card-body .facility-card-description {
        font-size: 0.82rem;
    }

    .facility-card-number {
        font-size: 1rem;
        padding: 3px 10px;
        top: 12px;
        right: 12px;
    }

    .facility-card-badge {
        font-size: 0.55rem;
        padding: 4px 10px;
        bottom: 12px;
        left: 12px;
    }

    .facility-card-link {
        font-size: 0.72rem;
        padding: 6px 16px;
    }

    .facility-card-link i {
        font-size: 0.55rem;
    }

    /* CTA Small Mobile */
    .stay-loop-section {
        padding: 50px 0;
    }

    .stay-loop-title {
        font-size: 1.6rem;
    }

    .stay-loop-text {
        font-size: 0.88rem;
        margin-bottom: 26px;
    }

    .stay-loop-subtitle {
        font-size: 0.7rem;
    }

    .stay-loop-btn {
        font-size: 0.82rem;
        padding: 12px 22px;
    }
    .news-title {
        font-size: 1.3rem;
    }

    /* NEWS ARTICLE Small Mobile */
    .news-article-image {
        height: 200px;
    }

    .news-article-body {
        padding: 20px 18px 24px;
    }

    .news-article-title {
        font-size: 1.25rem;
    }

    .news-article-text {
        font-size: 0.84rem;
    }

    .news-article-date {
        font-size: 0.65rem;
    }

    /* Botón Back to News — Small Mobile  ← NUEVO */
    .news-back-btn {
        font-size: 0.75rem;
        margin-top: 18px;
    }
}

/* =========================================================
   RESPONSIVE — EXTRA SMALL (max-width: 360px)
   ========================================================= */
@media (max-width: 360px) {
    .parallax-content {
        padding: 22px 16px;
    }

    .facility-content h2 {
        font-size: 1.45rem;
    }

    .facility-intro {
        font-size: 0.9rem;
    }

    .facility-highlight strong {
        font-size: 0.78rem;
    }

    .facility-highlight span {
        font-size: 0.65rem;
    }

    .facility-card-body .facility-card-title {
        font-size: 0.92rem;
    }

    .facility-card-body .facility-card-description {
        font-size: 0.75rem;
    }

    /* CTA Extra Small */
    .stay-loop-section {
        padding: 42px 0;
    }

    .stay-loop-title {
        font-size: 1.4rem;
    }

    .stay-loop-text {
        font-size: 0.82rem;
    }

    .stay-loop-btn {
        font-size: 0.78rem;
        padding: 11px 18px;
    }
}

/* =========================================================
   FIX RESPONSIVE — LEARN BREADCRUMB (página News)
   Adapta el breadcrumb a tablet y mobile sin tocar el resto
   ========================================================= */

/* ---------- TABLET (≤ 992px) ---------- */
@media (max-width: 992px) {
    .learn-breadcrumb {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        gap: 6px;
        margin-bottom: 14px;
        margin-top: 8px;
        line-height: 1.5;
    }
}

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {
    .learn-breadcrumb {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        gap: 5px;
        margin-bottom: 16px;
        margin-top: 10px;
        line-height: 1.55;
        /* Evita que el último item se desborde */
        word-break: break-word;
    }

    .learn-breadcrumb .breadcrumb-current,
    .learn-breadcrumb .breadcrumb-parent,
    .learn-breadcrumb .breadcrumb-separator {
        /* Permite que cada ítem se ajuste si es muy largo */
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* ---------- MOBILE PEQUEÑO (≤ 480px) ---------- */
@media (max-width: 480px) {
    .learn-breadcrumb {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        gap: 4px;
        margin-bottom: 14px;
        margin-top: 8px;
    }
}

/* ---------- EXTRA SMALL (≤ 360px) ---------- */
@media (max-width: 360px) {
    .learn-breadcrumb {
        font-size: 0.58rem;
        letter-spacing: 0.06em;
        gap: 3px;
        line-height: 1.6;
    }
}