/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Color Classes */
.xxx_color {
    color: #2c5aa0;
}

.azul_color {
    color: #2c5aa0;
}

.title-white {
    color: #fff;
}

.text-white {
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn, .btn-booking, .btn-blue, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #2c5aa0;
    background-color: #2c5aa0;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border-radius: 0;
}

.btn:hover, .btn-booking:hover, .btn-blue:hover {
    background-color: transparent;
    color: #2c5aa0;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: #fff;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-blue {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Background manejado por custom.css para comportamiento dinámico */
}

.header__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header__logo svg {
    width: 120px;
    height: 48px;
}

.header__logo svg .color-logo {
    fill: #fff;
}

.header__logo svg .rectangle {
    stroke: #fff;
}

.header__menu--right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Navigation */
.privary-navigation__list {
    display: flex;
    gap: 30px;
}

.privary-navigation__item a {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.privary-navigation__item.active a,
.privary-navigation__item a:hover {
    color: white !important;
}

/*
.privary-navigation__item a:hover,
.privary-navigation__item.active a {
    color: #2c5aa0;
}
*/

/* ===== MAIN CONTENT ===== */
#content {
    margin-top: 80px;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-title span {
    color: #2c5aa0;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.top-content {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.header-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.uvp {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.uvp .container {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.uvp span {
    color: #2c5aa0;
}

/* ===== INTRO SECTION ===== */
.intro-content {
    padding: 100px 0;
}

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

.intro-content__container--image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.intro-content__titles {
    margin-bottom: 30px;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
}

/* ===== TWO IMAGES SECTIONS ===== */
.two-images {
    padding: 100px 0;
}

.two-images__container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-images.option2 .two-images__container {
    grid-template-columns: 1fr 1fr 2fr;
}

.two-images__image--small img,
.two-images__image--bigger img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.two-images__image--bigger img {
    height: 500px;
}

.two-images__text {
    padding: 40px;
}

/* ===== SLIDER SECTION ===== */
.slider {
    padding: 100px 0;
    background-color: #1a1a1a;
    color: #fff;
}

.sym-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
}

.slider__item {
    position: relative;
    min-width: 350px;
    height: 600px;
    background: #000;
    overflow: hidden;
}

.slider__item figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slider__text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 10;
}

.slider__text--number {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.slider__text--title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.slider__text--title span {
    color: #2c5aa0;
}

.slider__text--copy {
    margin-bottom: 20px;
}

/* Rectangle SVG Animation */
.rectangle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.rectangle-form-svg line {
    stroke: #2c5aa0;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-in-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* ===== SERVICES SECTIONS ===== */
.services-overview,
.service-details {
    padding: 80px 0;
}

.service-item {
    margin-bottom: 80px;
    border-bottom: 1px solid #eee;
    padding-bottom: 80px;
}

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

.service-item.reverse .service-content {
    direction: rtl;
}

.service-item.reverse .service-text {
    direction: ltr;
}

.service-number {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.service-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-title span {
    color: #2c5aa0;
}

.service-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-features {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
}

.service-features li:before {
    content: "•";
    color: #2c5aa0;
    position: absolute;
    left: -15px;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== PORTFOLIO SECTIONS ===== */
.portfolio-grid,
.current-openings {
    padding: 80px 0;
}

.filter-nav,
.job-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.portfolio-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__content {
    text-align: center;
    color: #fff;
}

.portfolio-item__info {
    padding: 30px;
}

/* ===== FORM STYLES ===== */
.form-module-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-module__field {
    margin-bottom: 20px;
}

.form-module__field label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.form-module__field input,
.form-module__field textarea,
.form-module__field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-module__field input:focus,
.form-module__field textarea:focus,
.form-module__field select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.form-module__field--unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-module__field--unit input[type="checkbox"] {
    width: auto;
}

/* Contact Form Specific */
.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 50px;
}

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

.col-6 {
    width: 100%;
}

.col-12 {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__container--left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__container__logo {
    width: 120px;
    height: 48px;
    background-color: #2c5aa0;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    transition: background-color 0.3s ease;
}

.social-media a:hover {
    background: #2c5aa0;
}

.social-media svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.secondary-navigation__list {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.secondary-navigation__item a {
    color: #ccc;
    font-size: 14px;
}

.secondary-navigation__item a:hover {
    color: #2c5aa0;
}

/* Newsletter Form */
.email-signup {
    background: #333;
    padding: 30px;
    border-radius: 8px;
}

.fields-wrap {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.signup-btn {
    width: 100%;
    padding: 12px;
    background: #2c5aa0;
    color: #fff;
    border: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-btn:hover {
    background: #1e3d6f;
}

/* Footer Bottom */
.footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.tertiary-navigation__list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tertiary-navigation__item a {
    color: #999;
    font-size: 12px;
}

.tertiary-navigation__item a:hover {
    color: #2c5aa0;
}

/* ===== MODAL STYLES ===== */
.fancy-contactUs-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fancy-contactUs-form .form-module-wrapper {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* ===== ANIMATIONS ===== */
.animate-fade {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.animate-clip {
    clip-path: inset(100% 0 0 0);
    animation: clipUp 1s ease-in-out forwards;
}

.animate-clip-text {
    clip-path: inset(0 100% 0 0);
    animation: clipRight 1s ease-in-out forwards;
}

.animate-bottom {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-in-out forwards;
}

.animate-top {
    transform: translateY(-50px);
    opacity: 0;
    animation: slideDown 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes clipUp {
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes clipRight {
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .intro-content__container,
    .service-content,
    .two-images__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header__menu {
        flex-direction: column;
        gap: 20px;
    }
    
    .privary-navigation__list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .uvp .container {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tertiary-navigation__list {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .uvp .container {
        font-size: 2rem;
    }
    
    .btn, .btn-booking {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .portfolio-items {
        grid-template-columns: 1fr;
    }
}
.hero-stats {
    position: relative;
    padding: 0;
    margin: 80px 0 0 0;
    background-color: #e8eff5;
}

.stats-container-top {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #4a4a4a;
    padding: 50px 0;
    gap: 0;
    max-width: 1050px;
    width: 90%;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stat-box-dark {
    flex: 1;
    text-align: center;
    padding: 30px 50px;
    border-right: 2px solid #5a5a5a;
}

.stat-box-dark:last-child {
    border-right: none;
}

.stat-box-dark h3 {
    font-size: 4rem;
    color: #5b9bd5;
    margin-bottom: 15px;
    font-weight: bold;
}

.stat-box-dark p {
    font-size: 0.75rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.stats-map-container {
    position: relative;
    width: 100%;
    padding-top: 60px;
}

.stats-map {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- RESTAURACIÓN: Hero Stats original + fondo blanco ---------- */

/* Forzar que la sección del mapa sea blanca */
.hero-stats {
    position: relative;
    padding: 0;
    margin: 80px 0 0 0;
    background-color: #ffffff !important; /* fondo blanco forzado */
}

/* Contenedor superior con las cajas (restaurado) */
.stats-container-top {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #4a4a4a;   /* caja gris oscuro original */
    padding: 50px 0;
    gap: 0;
    max-width: 1050px;
    width: 90%;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Caja individual original (restaurado) */
.stat-box-dark {
    flex: 1;
    text-align: center;
    padding: 30px 50px;
    border-right: 2px solid #5a5a5a;
    background: transparent; /* asegurar transparencia interna */
}

/* Quitar border-right en la última caja */
.stat-box-dark:last-child {
    border-right: none;
}

/* Tipografía de los números (restaurado) */
.stat-box-dark h3 {
    font-size: 4rem;
    color: #5b9bd5;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Tipografía del texto de abajo (restaurado) */
.stat-box-dark p {
    font-size: 0.75rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

/* Si hay contenedor de imagen antiguo: mantener pero no usado ahora */
.stats-map-container {
    position: relative;
    width: 100%;
    padding-top: 60px;
}

/* Si usas <img class="stats-map"> (no necesario si usas background) */
.stats-map {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- Estilos del background del mapa (asegurar ruta correcta) ---------- */
/* Ajusta la ruta si tu CSS está en assets/css/ y la imagen en assets/images/ */
.stats-map-bg {
    width: 100%;
    min-height: 80vh; /* puedes ajustar (60vh, 70vh) según quieras tamaño) */
    background-image: url("../images/Map3.png"); /* ruta relativa correcta */
    background-size: contain;      /* mantiene la imagen completa centrada */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* evita problemas en móviles */
    background-color: #ffffff;     /* blanco de respaldo */
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* Responsive: cajas apiladas en móvil (restaurado comportamiento original) */
@media (max-width: 768px) {
    .hero-stats {
        margin-top: 100px;
    }

    .stats-container-top {
        flex-direction: column;
        padding: 30px 0;
        width: 85%;
        top: -100px;
    }

    .stat-box-dark {
        border-right: none;
        border-bottom: 2px solid #5a5a5a;
        padding: 25px 20px;
    }

    .stat-box-dark:last-child {
        border-bottom: none;
    }

    .stat-box-dark h3 {
        font-size: 3rem;
    }

    .stats-map-bg {
        min-height: 70vh;
    }

    .stats-map-container {
        padding-top: 40px;
    }
}


    .stats-map-container {
        padding-top: 40px;
    }
}
