﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Menú */
.nav-header {
    background-color: #1d2e4c; /* Azul Oxford */
}

.navbar {
    /*padding-top: 20px;
    padding-bottom: 20px;*/
    margin-bottom: -10px;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: #fcfaee; /* Champán */
}

.nav-left .nav-link {
    color: #fcfaee; /* Champán */
    font-weight: 500;
    font-size: 22px;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

    .nav-left .nav-link:hover {
        background-color: #dba958; /* Dorado Real */
        color: #1d2e4c; /* Azul Oxford */
        border-radius: 4px;
    }

.contact-button {
    background-color: #dba958; /* Dorado Real */
    color: #1d2e4c; /* Azul Oxford */
    font-weight: bold;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .contact-button:hover {
        background-color: #b8863b; /* Dorado más oscuro para hover */
        color: #1d2e4c; /* Azul Oxford */
    }

.contact-button-mobile {
    background-color: #dba958; /* Dorado Real */
    color: #1d2e4c; /* Azul Oxford */
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
}

    .contact-button-mobile:hover {
        background-color: #b8863b; /* Dorado más oscuro para hover */
        color: #1d2e4c; /* Azul Oxford */
    }

.nav-logo img {
    height: 32px;
}

.nav-underline {
    height: 4px;
    background-color: #dba958; /* Dorado Real */
    width: 100%;
}

/* Sección principal con división diagonal */

.left-side {
    width: 60%;
    background-color: #fcfaee; /* Champán */
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    z-index: 2;
    position: relative;
}

.right-side-1 {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/img/back-handshake.jpg'); /* ruta ajustada */
    background-size: contain; /* muestra la imagen completa */
    background-repeat: no-repeat;
    background-position: center right; /* ajusta el encuadre hacia la derecha */
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.right-side-2 {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/img/back-construction-day.jpg'); /* ruta ajustada */
    background-size: contain; /* muestra la imagen completa */
    background-repeat: no-repeat;
    background-position: center right; /* ajusta el encuadre hacia la derecha */
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.right-side-3 {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/assets/img/back-construction-partners.jpg'); /* ruta ajustada */
    background-size: contain; /* muestra la imagen completa */
    background-repeat: no-repeat;
    background-position: center right; /* ajusta el encuadre hacia la derecha */
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Textos */
.brand-name {
    font-size: 36px;
    font-weight: bold;
    color: #1d2e4c; /* Azul Oxford */
}

.span-text {
    max-width: 350px;
    font-weight: 500;
}

.slogan {
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.5;
}

.gray-text {
    color: #bdbfba; /* Gris Ceniza */
}

.yellow-text {
    color: #dba958; /* Dorado Real */
}

.oxford-text {
    color: #1d2e4c; /* Azul Oxford */
}

.site-footer {
    margin-top: auto;
}

.footer-top {
    background-color: #212121; /* Medianoche */
    height: 10px;
}

.footer-bottom {
    background-color: #dba958; /* Dorado Real */
    color: #fcfaee; /* Champán */
}

.footer-text {
    font-size: 14px;
    font-weight: 500;
}

.footer-icon {
    color:white;
    font-size:25px;
}

.footer-icon img {
    filter: brightness(0) invert(1); /* convierte el ícono a blanco */
    transition: opacity 0.3s ease;
}

.footer-icon:hover img {
    opacity: 0.7;
}

/* contacto */

.contact-wrapper {
    position: relative;
    height: 40px;
}

.contact-diagonal {
    display: inline-block;
    background-color: #dba958;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 30px;
    font-size: 16px;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    .contact-diagonal:hover {
        background-color: #c28b45;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }


.divider-line {
    width: 120px;
    border: none;
    border-top: 3px solid #002b5c; /* o #FFD700 si querés dorado */
    margin: 16px 0;
}



/* Contenedor principal */
.section-viewport {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 126px);
}

.section-wrapper {
    display: flex;
    flex-direction: column;
    transition: transform 0.8s ease-in-out; /* transición suave */
}

.main-diagonal {
    height: calc(100vh - 126px);
    flex-shrink: 0;
    display: flex;
    position: relative;
}


.nav-arrow {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

    .nav-arrow button {
        background: none;
        border: none;
        font-size: 54px;
        color: #dba958;
        animation: bounce 1.5s infinite;
        cursor: pointer;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.section-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 200;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .dot.active {
        background-color: #dba958; /* dorado institucional */
        transform: scale(1.2);
    }

/*nosotros*/
/* Background of page/section */
.nosotros-rotator {
    background-color: #fcfaee;
    padding: 24px 0;
    height: calc(100vh - 126px);
}

/* Viewport and wrapper */
/*.rotator-viewport {
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 126px);
    padding: 0 10vw;  espacio lateral para centrar el item 
    box-sizing: content-box;
}

.rotator-wrapper {
    display: flex;
    gap: 4vw;*/ /* usa gap en vez de margin */
    /*transition: transform 0.8s ease-in-out;
    will-change: transform;
}*/

.rotator-viewport {
    padding: 0 10vw;
    box-sizing: content-box;
}

.rotator-wrapper {
    display: flex;
    gap: 4vw;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}


.rotator-item {
    flex: 0 0 60vw; /* menor al viewport para “peek” */
    max-width: 60vw;
    margin: 0 10vw; /* espacio para centrar dentro del viewport */
    transition: transform 0.8s ease-in-out;
    height: calc(100vh - 275px);
}

    .rotator-item.active .item-inner {
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

/* Inner white card */
.item-inner {
    background: #ffffff;
    border: 1px solid #e6e2d3;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 240px 1fr; /* left label, right text */
    gap: 5px;
    padding: 32px;
    width: 100%;
    height: 100%;
}

/* Left column */
.item-left {
    border-right: 1px solid #eae6d8;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
}

.item-title {
    font-size: 28px;
    line-height: 1.2;
    color: #002b5c;
    margin: 0;
}

/* Right column */
.item-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .item-right p {
        color: #333;
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }

/* Separators */
.item-separator {
    border: none;
    border-top: 1px solid #eae6d8;
    margin: 10px 0;
}

/* Lists */
.values-list,
.metrics {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .values-list li,
    .metrics li {
        color: #333;
        font-size: 16px;
        line-height: 1.6;
    }

.metric-value {
    color: #dba958;
    font-weight: 700;
    margin-right: 6px;
}

/* Controls */
.rotator-controls {
    position: relative;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.control-btn {
    background-color: #dba958;
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

    .control-btn:hover {
        opacity: 0.9;
    }

/* Dots */
.rotator-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #c9c4b0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

    .dot.active {
        background: #dba958;
        transform: scale(1.2);
    }

/* Breakpoints */
@media (max-width: 1200px) {
    .rotator-item {
        flex: 0 0 840px;
    }

    .item-inner {
        grid-template-columns: 200px 1fr;
    }

    .item-title {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .rotator-item {
        flex: 0 0 720px;
    }

    .item-inner {
        grid-template-columns: 180px 1fr;
        padding: 28px;
    }

    .item-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .rotator-item {
        flex: 0 0 600px;
    }

    .item-inner {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .item-left {
        border-right: none;
        border-bottom: 1px solid #eae6d8;
        padding-right: 0;
        padding-bottom: 16px;
    }

    .item-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .rotator-item {
        flex: 0 0 100%;
    }

    .rotator-viewport {
        height: auto;
    }
    /* si preferís que crezca en móviles */
}


/* ============================================
   MEDIA QUERIES PARA INDEX.HTML
   ============================================ */

@media (max-width: 1024px) {
    /* Desactivar slider vertical en tablets/móviles */
    .section-viewport {
        height: auto !important;
        overflow: visible !important;
    }

    .section-wrapper {
        transform: none !important;
    }

    .main-diagonal {
        height: auto !important;
        min-height: 60vh;
        flex-direction: column !important;
    }

    /* Ajustar layout diagonal */
    .left-side {
        width: 100% !important;
        clip-path: none !important;
        padding: 40px 30px !important;
        min-height: 50vh;
    }

    .right-side-1,
    .right-side-2,
    .right-side-3 {
        display: none !important;
    }

    /* Ocultar controles de navegación */
    .nav-arrow,
    .section-dots {
        display: none !important;
    }

    /* Ajustar contenido */
    .left-side img {
        height: 80px !important;
    }

    .left-side h1 {
        font-size: 32px !important;
    }

    .left-side .slogan {
        font-size: 18px !important;
    }

    .divider-line {
        width: 80px !important;
    }
}

@media (max-width: 768px) {
    .main-diagonal {
        min-height: 50vh;
    }

    .left-side {
        padding: 30px 20px !important;
        min-height: 40vh;
    }

        .left-side img {
            height: 60px !important;
        }

        .left-side h1 {
            font-size: 28px !important;
            line-height: 1.3 !important;
        }

        .left-side .slogan {
            font-size: 16px !important;
            line-height: 1.4 !important;
        }

    .span-text {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .left-side {
        padding: 25px 15px !important;
    }

        .left-side img {
            height: 50px !important;
        }

        .left-side h1 {
            font-size: 24px !important;
        }

        .left-side .slogan {
            font-size: 15px !important;
        }

    .divider-line {
        width: 60px !important;
        margin: 12px 0 !important;
    }
}

/* ============================================
   MEDIA QUERIES PARA NOSOTROS.HTML
   ============================================ */

@media (max-width: 1024px) {
    .nosotros-rotator {
        height: auto !important;
        padding: 30px 0 !important;
    }

    .rotator-viewport {
        padding: 0 5vw !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .rotator-wrapper {
        gap: 3vw !important;
    }

    .rotator-item {
        flex: 0 0 80vw !important;
        max-width: 80vw !important;
        margin: 0 5vw !important;
        height: auto !important;
        min-height: 500px;
    }

    .item-inner {
        padding: 24px !important;
    }

    .item-title {
        font-size: 24px !important;
    }

    .item-right p,
    .item-right li {
        font-size: 14px !important;
    }

    /* Ocultar controles en tablet */
    .rotator-controls {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nosotros-rotator {
        height: auto !important;
        padding: 20px 0 !important;
    }

    .rotator-viewport {
        height: auto !important;
        padding: 0 !important;
    }

    .rotator-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .rotator-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 0 20px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .item-inner {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        gap: 15px !important;
    }

    .item-left {
        border-right: none !important;
        border-bottom: 1px solid #eae6d8 !important;
        padding-right: 0 !important;
        padding-bottom: 15px !important;
    }

    .item-title {
        font-size: 22px !important;
    }

    .item-right p,
    .item-right li {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Slide Quiénes somos con tarjetas */
    .item-inner[style*="display: block"] {
        display: block !important;
        padding: 20px !important;
    }

        .item-inner[style*="display: block"] h3 {
            font-size: 32px !important;
            text-align: center !important;
            margin-bottom: 30px !important;
        }

        .item-inner[style*="display: block"] > div[style*="grid"] {
            display: block !important;
        }

        .item-inner[style*="display: block"] .service-card,
        .item-inner[style*="display: block"] > div > div {
            margin-bottom: 15px !important;
            min-height: auto !important;
        }

    /* Ocultar controles y dots */
    .rotator-controls,
    .rotator-dots {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .rotator-item {
        margin: 0 10px !important;
    }

    .item-inner {
        padding: 15px !important;
    }

    .item-title {
        font-size: 20px !important;
    }

    .item-right p,
    .item-right li {
        font-size: 13px !important;
    }
}

/* ============================================
   MEDIA QUERIES PARA SERVICIOS.HTML
   ============================================ */

@media (max-width: 1024px) {
    .services-viewport {
        height: auto !important;
        overflow: visible !important;
    }

    .services-wrapper {
        flex-direction: column !important;
    }

    .services-section {
        height: auto !important;
        padding: 40px 30px !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .services-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .service-card {
        padding: 20px 16px !important;
    }

    .service-title {
        font-size: 16px !important;
    }

    .service-description {
        font-size: 13px !important;
    }

    /* Ocultar controles */
    .nav-arrow,
    .section-dots {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 30px 20px !important;
    }

    .services-grid,
    .services-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .service-card {
        padding: 18px 15px !important;
    }

    .service-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .service-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 25px 15px !important;
    }

    .service-card {
        padding: 15px 12px !important;
    }

    .service-title {
        font-size: 15px !important;
    }

    .service-description {
        font-size: 13px !important;
    }
}

/* ============================================
   MEDIA QUERIES PARA CONTACTO.HTML
   ============================================ */

@media (max-width: 1024px) {
    .contact-viewport {
        height: auto !important;
        min-height: calc(100vh - 126px);
    }

    .contact-section {
        height: auto !important;
        padding: 40px 20px !important;
    }

    .contact-container {
        max-width: 700px !important;
        padding: 35px 40px !important;
    }

    .contact-title {
        font-size: 32px !important;
        margin-bottom: 25px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .form-group {
        margin-bottom: 15px !important;
    }

    .form-textarea {
        min-height: 120px !important;
    }

    .recaptcha-container {
        transform: scale(0.9) !important;
        transform-origin: center !important;
    }

    .submit-btn {
        width: 100%;
        margin-top: 15px !important;
    }
}

@media (max-width: 768px) {
    .contact-container {
        max-width: 100% !important;
        padding: 30px 25px !important;
        border-radius: 20px !important;
    }

    .contact-title {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    .form-label {
        font-size: 13px !important;
    }

    .form-input,
    .form-textarea {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }

    .form-textarea {
        min-height: 100px !important;
    }

    .recaptcha-container {
        transform: scale(0.85) !important;
        transform-origin: 0 0 !important;
    }

    .submit-btn {
        padding: 12px 30px !important;
        font-size: 14px !important;
    }

    .alert-message {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px !important;
    }

    .contact-container {
        padding: 25px 20px !important;
        border-radius: 15px !important;
    }

    .contact-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .form-input,
    .form-textarea {
        font-size: 13px !important;
        padding: 9px 12px !important;
    }

    .recaptcha-container {
        transform: scale(0.8) !important;
    }

    .submit-btn {
        padding: 10px 25px !important;
        font-size: 13px !important;
    }
}

/* ============================================
   MEDIA QUERIES GLOBALES (Todas las páginas)
   ============================================ */

@media (max-width: 1024px) {
    /* Navegación */
    .navbar {
        padding: 10px 0 !important;
    }

    .nav-left .nav-link {
        font-size: 20px !important;
        padding: 6px 12px !important;
    }

    .nav-logo img {
        height: 28px !important;
    }
}

@media (max-width: 768px) {
    /* Navegación móvil */
    .company-name {
        font-size: 18px !important;
    }

    .navbar-collapse {
        background-color: #1d2e4c;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 16px !important;
    }

    .contact-button-mobile {
        margin-top: 15px !important;
        display: inline-block !important;
        text-align: center !important;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }

    .footer-text {
        font-size: 12px !important;
    }

    .footer-icon {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 0 !important;
    }

    .company-name {
        font-size: 16px !important;
    }

    .navbar-toggler {
        padding: 5px 10px !important;
        font-size: 18px !important;
    }

    .navbar-nav .nav-link {
        font-size: 15px !important;
    }
}

/* Mejoras de touch para móviles */
@media (max-width: 768px) {
    /* Hacer elementos más grandes para touch */
    button,
    a,
    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Mejorar scroll en iOS */
    * {
        -webkit-overflow-scrolling: touch;
    }
}
/* ============================================
   ESTILOS PARA INDEX.HTML
   ============================================ */

/* Logo en secciones desktop */
.section-logo {
    height: 100px;
}

/* Ocultar elementos móviles por defecto (desktop) */
.mobile-hero,
.mobile-cards-container {
    display: none;
}

/* Mobile styles - SOLO aplicar en pantallas pequeñas */
@media (max-width: 1024px) {
    /* Ocultar layout desktop */
    .main-diagonal {
        display: none !important;
    }

    .section-viewport {
        height: auto !important;
        overflow: visible !important;
    }

    /* Ocultar controles desktop */
    .nav-arrow,
    .section-dots {
        display: none !important;
    }

    /* Mostrar elementos móviles */
    .mobile-hero,
    .mobile-cards-container {
        display: block;
    }

    /* Hero móvil */
    .mobile-hero {
        background: linear-gradient(135deg, #1d2e4c 0%, #2a4a6f 100%);
        padding: 50px 20px;
        text-align: center;
        margin-bottom: 10px;
    }

    .mobile-hero-logo {
        width: 100px;
        margin-bottom: 20px;
    }

    .mobile-hero-title {
        font-size: 32px;
        font-weight: 700;
        color: #fcfaee;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .mobile-hero-subtitle {
        font-size: 16px;
        color: #dba958;
        font-weight: 500;
    }

    /* Tarjetas móviles */
    .mobile-card {
        background: #ffffff;
        border: 1px solid #e6e2d3;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        padding: 35px 25px;
        margin: 20px;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .mobile-card-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .mobile-card-logo {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .mobile-card-divider {
        width: 60px;
        border: none;
        border-top: 3px solid #1d2e4c;
        margin: 0;
    }

    .mobile-card-title {
        font-size: 26px;
        font-weight: 700;
        color: #1d2e4c;
        line-height: 1.3;
        margin: 0;
    }

    .mobile-card-content {
        color: #1d2e4c;
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .mobile-card {
        margin: 15px;
        padding: 30px 20px;
        min-height: 220px;
    }

    .mobile-card-logo {
        width: 60px;
        height: 60px;
    }

    .mobile-card-title {
        font-size: 24px;
    }

    .mobile-card-content {
        font-size: 15px;
    }

    .mobile-hero {
        padding: 40px 20px;
    }

    .mobile-hero-logo {
        width: 80px;
    }

    .mobile-hero-title {
        font-size: 28px;
    }

    .mobile-hero-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mobile-card {
        margin: 12px;
        padding: 25px 18px;
        min-height: 200px;
    }

    .mobile-card-logo {
        width: 55px;
        height: 55px;
    }

    .mobile-card-title {
        font-size: 22px;
    }

    .mobile-card-content {
        font-size: 14px;
    }

    .mobile-hero {
        padding: 35px 15px;
    }

    .mobile-hero-logo {
        width: 70px;
    }

    .mobile-hero-title {
        font-size: 26px;
    }

    .mobile-hero-subtitle {
        font-size: 14px;
    }
}

/* ============================================
   ESTILOS INLINE PARA NOSOTROS.HTML
   ============================================ */

/* Slide 1: Nuestro equipo - Layout de 2 columnas */
.team-slide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

.team-slide-image {
    background-size: cover;
    background-position: center;
    border-radius: 10px 0 0 10px;
    filter: grayscale(100%);
}

.team-slide-content {
    padding: 40px;
}

.team-slide-title {
    margin-bottom: 20px;
}

.team-slide-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.team-slide-text:last-child {
    margin-bottom: 0;
}

/* Slide 2: Misión/Visión/Valores - Textos */
.item-right .mission-vision-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.item-right .mission-vision-text.vision {
    margin-bottom: 16px;
}

.item-right .mission-vision-text.values {
    margin-bottom: 0;
}

/* Slide 3: Quiénes somos - Métricas */
.metrics-slide {
    display: block;
    padding: 50px;
}

.metrics-first-row {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.metrics-title {
    font-size: 42px;
    margin: 0;
    line-height: 1.1;
}

.metrics-second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tarjetas de métricas */
.metric-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transform: skewX(-5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-card.card-wide {
    padding: 30px 20px;
}

.metric-card-inner {
    transform: skewX(5deg);
}

.metric-number {
    font-size: 40px;
    font-weight: bold;
    color: #dba958;
    margin-bottom: 10px;
}

.metric-number.number-small {
    font-size: 30px;
}

.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: #1d2e4c;
    line-height: 1.3;
}

/* ============================================
   MEDIA QUERY PARA TABLETS (768px - 1024px)
   Mejoras de visualización en tablets
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    /* Textos de equipo en nosotros.html */
    .team-slide-text {
        font-size: 19px !important;
    }

    /* Textos de Misión/Visión/Valores en nosotros.html */
    .item-right .mission-vision-text {
        font-size: 19px !important;
    }

    /* Números de métricas en nosotros.html */
    .metric-number {
        font-size: 55px !important;
    }

    .metric-number.number-small {
        font-size: 25px !important;
    }

    /* Labels de métricas en nosotros.html */
    .metric-label {
        font-size: 15px !important;
    }

    /* Labels de tarjetas en experiencia.html */
    .card-label {
        font-size: 16px !important;
    }

    /* Títulos de servicios en servicios.html */
    .service-title {
        font-size: 19px !important;
    }

    /* Descripciones de servicios en servicios.html */
    .service-description {
        font-size: 16px !important;
    }

    /* Texto de "servicio único en el mercado" en servicios.html */
    .service-title span {
        font-size: 15px !important;
    }
}

/* ============================================
   MEDIA QUERY PARA TABLETS EN LANDSCAPE
   iPad Air y similares (ej. 1180 x 820)
   ============================================ */

@media (min-width: 1025px) and (max-width: 1280px) and (orientation: landscape) {
    /* Números de tarjetas en experiencia.html */
    .card-number {
        font-size: 28px !important;
    }
}
