:root {
    /* Mapeo de colores según tu solicitud */
    --color1: #333333; /* Dark / Negro */
    --color2: #fab90b; /* Yellow / Amarillo Principal */
    --color3: #ffffff; /* White / Blanco */
    --color4: #dca50b; /* Dorado / Títulos Oficinas */
    --color5: #f8f9fa; /* Text Gray / Gris claro */
    --color6: #444444; /* Gris oscuro para bordes */
    --color-bg: #f5f5f5; /* Fondo de la página */
    --color-whatsapp: #4daf51;
    --font-main: 'Barlow', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color1);
    line-height: 1.6;
}

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

/* header*/
/* --- HEADER GENERAL --- */
.main-header {
    background-color: var(--color1);
    padding: 10px 0;
    position: relative;
    min-height: 80px;
    z-index: 1000; /* Para que el menú pase por encima del slider */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    display: block;
}

/* --- MENÚ DESKTOP --- */
.menu-level-1 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Fix: Posición relativa para que el submenú se alinee con este item */
.menu-level-1 > li {
    position: relative;
    display: flex;
    align-items: center;
}

/* Líneas doradas separadoras en PC */
.menu-level-1 > li:not(:last-child) {
    border-right: 2px solid var(--color4);
    padding-right: 15px;
    margin-right: 15px;
}

.menu-level-1 > li > a {
    color: var(--color4);
    text-decoration: none;
    font-weight: 700;
    /*text-transform: uppercase;*/
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

/* Submenú Nivel 2 */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* Ahora se alinea perfecto */
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 0;
    z-index: 1100;
}

.has-submenu:hover .submenu {
    display: block;
}

/* Líneas negras separadoras en el submenú */
.submenu li:not(:last-child) {
    border-bottom: 1px solid var(--color1);
}

.submenu li a {
    padding: 12px 20px;
    display: block;
    color: var(--color1);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.submenu li a:hover {
    background-color: var(--color2);
    color: var(--color1);
}

/* --- MÓVIL --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color4);
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        color: var(--color4) !important;
        font-size: 2rem;
        padding: 10px;
        z-index: 1100;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color1) !important;
        z-index: 1000;
        border-top: 1px solid var(--color4);
        /* Quitamos restricciones de altura para que se vean todos los items */
        height: auto !important;
        max-height: none !important;
    }

    .main-nav.active {
        display: block !important;
    }

    .menu-level-1 {
        flex-direction: column;
        display: flex !important;
        padding: 0;
        margin: 0;
    }

    .menu-level-1 > li {
        width: 100%;
        border-bottom: 1px solid var(--color4);
        display: block !important; /* Evita que desaparezcan los demás */
    }

    .menu-level-1 > li > a {
        display: block;
        padding: 20px;
        color: var(--color4) !important;
        text-align: center;
        font-weight: 700;
    }

    /* --- NIVEL 2: ACORDEÓN --- */
    .submenu {
        /* IMPORTANTE: Por defecto oculto siempre en móvil */
        display: none !important;
        background-color: #fff !important;
        width: 100%;
        position: static !important; /* Empuja a los de abajo */
    }

    /* SOLO se muestra si el script le pone la clase .open */
    .submenu.open {
        display: block !important;
    }

    .submenu li {
        border-bottom: 1px solid var(--color1);
    }

    .submenu li a {
        display: block;
        padding: 15px;
        color: var(--color1) !important;
        text-align: center;
        font-weight: 600;
    }
}



/* slider*/
/* --- BANNER SLIDER --- */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px; /* Altura ajustable */
    overflow: hidden;

}

/* Ocultar los inputs de radio */
input[name="slider"] {
    display: none;
}

.slides-container {
    display: flex;
    width: 300%; /* 100% por cada banner */
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; /* Centrado vertical del contenido */
}

/* Capa oscura opcional para legibilidad */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px; /* Límite de contenido solicitado */
    margin: 0 auto;
    padding: 0 20px;
}

.text-box h1 {
    color: var(--color3);
    font-size: 4rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Grupo de Botones */
.cta-group {
    display: flex;
    align-items: stretch;
    height: 60px;
}

.btn-outline {
    border: 2px solid var(--color3);
    color: var(--color3);
    background: rgba(0,0,0,0.4);
    padding: 0 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
    /*border-radius: 5px 0 0 5px; /* Redondeado solo izquierda */
    border-left: none;
}
/*.btn-outline:hover{
    color: var(--color2);
    border-color: var(--color2);
}*/

.btn-filled {
    background-color: var(--color2);
    color: var(--color1);
    padding: 0 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 0 5px 5px 0; /* Redondeado solo derecha */
}
.btn-filled:hover{
    color:var(--color3)
}

/*banner2*/
/* Contenedor del segundo slide */
.slide-oportunidad {
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Capa naranja con el corte diagonal */
.orange-overlay {
    width: 100%;
    height: 100%;
    /* Crea el efecto de fondo naranja cortado diagonalmente */
    background: linear-gradient(105deg, rgba(242, 191, 38, 0.7) 55%, rgba(242, 191, 38, 0.6) 50%, transparent 55%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Límite de contenido a 1200px */
.content-limit {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.text-box-special {
    max-width: 600px; /* Para que el texto no choque con la diagonal */
    color: var(--color1);
}

.text-box-special h2 {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 20px;
}

.precio-label {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* El cuadro blanco del precio */
.price-tag {
    background: #FFFFFF !important;
    padding: 15px 30px;
    font-size: 2.5rem;
    font-weight: 900;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    color: var(--color1);
    z-index: 10;
}

/* Sección de áreas */
.info-tecnica {
    display: flex;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.info-item strong {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .orange-overlay {
        background: rgba(242, 191, 38, 0.95); /* En móvil cubrimos todo el fondo */
    }
    .price-tag {
        font-size: 1.8rem;
    }
}

/* LÓGICA DE MOVIMIENTO */
#slide1:checked ~ .slides-container { transform: translateX(0%); }
#slide2:checked ~ .slides-container { transform: translateX(-33.333%); }
#slide3:checked ~ .slides-container { transform: translateX(-66.666%); }

/* NAVEGACIÓN POR PUNTOS */
.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: var(--color3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

/* Cambio de color del punto activo */
#slide1:checked ~ .slider-dots #dot1,
#slide2:checked ~ .slider-dots #dot2,
#slide3:checked ~ .slider-dots #dot3 {
    background-color: var(--color2);
    transform: scale(1.2);
}

/* Responsividad */
@media (max-width: 768px) {
    .text-box h1 {
        font-size: 2.5rem;
    }
    .cta-group {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    .btn-outline, .btn-filled {
        border-radius: 5px;
        padding: 15px;
        justify-content: center;
    }
}

/*Cambio nuevo banner*/
.slide-nb {
    background-size: cover;
    background-position: center;
}

.slide-nb::before {
    display: none;
}

/* Contenedor de texto dentro de cada slide */
.nb-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nb-content--left  { align-items: flex-start; }
.nb-content--right { align-items: flex-end;   text-align: right; }
.nb-content--center{ align-items: center;      text-align: center; }

/* Slide 1 */
.nb-pretitle {
    color: var(--color3);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.nb-highlight {
    color: var(--color2);
    font-weight: 800;
}

.nb-title {
    color: var(--color1);
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Slide 2: texto normal + negrita combinados */
.nb-title strong {
    font-weight: 900;
}

/* Slide 3 */
.nb-overtitle {
    color: var(--color3);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.nb-title--big {
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.nb-subtitle {
    color: var(--color3);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* Botones */
.nb-btn {
    display: inline-block;
    background-color: var(--color2);
    color: var(--color1);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.nb-btn:hover {
    background-color: var(--color4);
    color: var(--color3);
}

.nb-btn--dark {
    background-color: var(--color1);
    color: var(--color3);
}

.nb-btn--dark:hover {
    background-color: var(--color2);
    color: var(--color1);
}

/* Slide 1: texto oscuro sobre fondo claro */
.nb-pretitle--dark {
    color: var(--color1);
    text-shadow: none;
}

.nb-highlight--box {
    background-color: var(--color2);
    color: var(--color1);
    padding: 2px 8px;
    font-weight: 800;
}

.nb-title--dark {
    color: var(--color1);
    font-style: normal;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0    2px 6px rgba(255,255,255,0.8);
}

.nb-title--large {
    font-size: 3.8rem;
    line-height: 1.05;
}

.nb-title--normal {
    font-size: 2.6rem;
    font-weight: 700;
    font-style: normal;
}

@media (max-width: 768px) {
    .nb-title--large  { font-size: 2.2rem; }
    .nb-title--normal { font-size: 1.8rem; }
}

/* Responsivo */
@media (max-width: 768px) {
    .nb-title      { font-size: 1.8rem; }
    .nb-title--big { font-size: 2.5rem; }
    .nb-pretitle   { font-size: 1.2rem; }
    .nb-content    { padding: 0 20px; }
    .nb-content--right { align-items: flex-start; text-align: left; }
}

/* Títulos */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
}

.section-title span {
    font-style: italic;
}

/* Grid de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card.full-width {
    grid-column: span 2;
}

/* Imagen del servicio */
.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.card-image h3 {
    color: var(--color3);
    z-index: 1;
    font-size: 2rem;
    text-align: center;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 900;
    padding: 0 10rem;
}

/* Contenido amarillo */
.card-content {
    background-color: var(--color2);
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.card-content p {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Sección Video */
.video-section {
    margin: 50px 0;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder i {
    color: var(--color3);
    font-size: 5rem;
    cursor: pointer;
}

/* FOOTER REESTRUCTURADO */
.footer {
    background-color: var(--color1);
    color: var(--color3);
    padding: 60px 0 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

/* Columna Izquierda (75%) */
.offices-section {
    flex: 0 0 75%;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
}

.office-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color6);
    padding-bottom: 15px;
}

.office-item h4 {
    color: var(--color4);
    font-size: 18px;
    margin-bottom: 5px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.office-item p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--color5);
}
.office-item {
    border-bottom: 1px solid var(--color6);
    padding-bottom: 10px;
}

.office-item h4 {
    color: var(--color4); /* Color dorado/amarillo */
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-transform: none;
}

.office-item p {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--color3);
}
.social-phone-column {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado para móvil, lo ajustaremos en desktop */
    gap: 25px;
}

/* El círculo del teléfono específico para el footer */
.footer-phone-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon-circle {
    background-color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-icon-circle i {
    color: var(--color1);
    font-size: 20px;
    transform: rotate(10deg);
}

.phone-text {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
}
/* --- AJUSTES RESPONSIVOS --- */
@media (min-width: 993px) {
    .social-phone-column {
        align-items: flex-end; /* Alinea todo a la derecha en PC */
        width: 100%;
    }
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-phone-column {
        margin-top: 40px;
        align-items: center;
    }

    .phone-text {
        font-size: 20px;
    }
}

/* Columna Derecha (25%) */
.social-section {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--color3);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color3);
    color: var(--color1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: var(--color-whatsapp);
    color: var(--color3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
}
.whatsapp-float:hover{
    color: var(--color1);
}

/* Responsividad General */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }

    .offices-section, .social-section {
        flex: 0 0 100%;
    }

    .offices-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        row-gap: 20px;
    }

    .social-section {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.full-width {
        grid-column: span 1;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.phone-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Espacio entre el círculo y el texto */
}

/* El círculo blanco */
.icon-circle {
    background-color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* El icono del teléfono (negro dentro del círculo) */
.icon-circle i {
    color: var(--color1);
    font-size: 28px;
    transform: rotate(10deg); /* Ligera inclinación como en la imagen */
}

/* Estilo del número */
.phone-number {
    color: #fff;
    font-size: 42px;
    font-weight: 700; /* Negrita */
    text-decoration: none; /* Quita el subrayado del link */
    letter-spacing: 1px;
}

/* Efecto visual al pasar el mouse (opcional) */
.phone-number:hover {
    opacity: 0.8;
}

.cierreLogo{
    text-align: center;
    padding: 4rem;
    background: var(--color3);
}
.cierreLogo img{
    max-width: 600px;
}

/*estilos para el video*/
/* Contenedor que limita el ancho máximo */
.video-container-responsive {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Tu límite de 1200px */
    margin: 40px auto; /* Centrado horizontal */

    /* Truco para mantener proporción 16:9 */
    padding-bottom: 56.25%; /* (9 / 16) * 100 */
    height: 0;
    overflow: hidden;
    background-color: var(--color1); /* Negro mientras carga */
    border-radius: 8px;
}

/* Estilo para que el iframe llene el contenedor */
.video-container-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste opcional para pantallas muy pequeñas */
@media (max-width: 768px) {
    .video-container-responsive {
        margin: 20px auto;
        border-radius: 0; /* Opcional: quita bordes redondeados en móvil */
    }
}

/*estilos home varias opciones*/
/* --- SECCIÓN INVERSIÓN --- */
.inversion-section {
    padding: 60px 0;
    background-color: var(--color-bg);
}

.inversion-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* Columna de botones */
.inversion-buttons {
    flex: 0 0 30%; /* Toma el 30% del ancho en desktop */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-inversion {
    background-color: var(--color2);
    color: var(--color1);
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.3s;
}

.btn-inversion:hover {
    background-color: var(--color1);
    transform: translateY(-3px);
}

/* Columna de video */
.inversion-video {
    flex: 0 0 70%; /* Toma el 70% del ancho */
}

/* --- RESPONSIVE --- */

/* Tablet: Botones abajo del video, uno al lado del otro */
@media (max-width: 992px) {
    .inversion-content {
        flex-direction: column; /* Video arriba, botones abajo */
    }

    .inversion-video {
        flex: 0 0 100%;
        width: 100%;
    }

    .inversion-buttons {
        flex: 0 0 100%;
        width: 100%;
        flex-direction: row; /* Botones en fila */
        justify-content: space-between;
    }

    .btn-inversion {
        flex: 1; /* Todos los botones miden lo mismo */
        font-size: 0.9rem;
        padding: 15px 10px;
    }
}

/* Celular: Botones uno debajo del otro */
@media (max-width: 600px) {
    .inversion-buttons {
        flex-direction: column; /* Volver a columna */
    }

    .btn-inversion {
        width: 100%;
    }
}

/* --- SECCIÓN CÓMO PARTICIPAR --- */
/* --- SECCIÓN CÓMO PARTICIPAR --- */
.como-participar {
    /*margin-top: 50px;*/
    margin-bottom: 80px;
}

/* Pestaña del título */
.title-tab {
    background-color: var(--color1); /* Negro */
    color: var(--color3); /* Blanco */
    display: inline-block;
    font-weight: 800;

    /* 1. CRECIMIENTO SEGÚN EL TAMAÑO DE PÁGINA */
    /* Usamos clamp para que el texto escale entre un mínimo y un máximo */
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    padding: 12px 60px 12px 40px;

    /* 2. EXTENSIÓN AL FILO IZQUIERDO */
    /* Esta fórmula empuja el fondo hacia la izquierda infinitamente */
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 40px); /* El 40px mantiene el margen interno visual */

    border-radius: 0 15px 0 0;
    margin-bottom: 20px;
    /*text-transform: uppercase;*/
    position: relative;

    /* Asegura que no se cree scroll horizontal por el margen negativo */
    box-decoration-break: clone;
}

/* Modifica esta parte en tu archivo style.css */
.participar-main-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* CAMBIO: De center a flex-start para alinear a la izquierda */
    gap: 30px;
    margin-bottom: 60px;
    width: 80%;
    margin: 0 auto;
}

/* Mantenemos el estilo unificado para que el hover funcione en ambos */
.download-link-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--color1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    margin-left: 0; /* Asegura que no tenga márgenes externos */
}

.download-link-item:hover {
    transform: scale(1.1);
    color: var(--color4) !important;
}

/* Estilo Enlace Descarga Grande */
.download-link-large {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--color1);
    transition: transform 0.3s ease;
}

.download-link-large i {
    font-size: 3.5rem;
    color: var(--color1);
}

.download-link-large .text {
    display: flex;
    flex-direction: column;
}

.download-link-large strong {
    font-size: 1.8rem;
    text-transform: uppercase;
    line-height: 1;
}

.download-link-large span {
    font-size: 1.5rem;
}

/* Bloque Resolución Inferior */
.resolucion-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.resolucion-card {
    flex: 0 0 40%;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    height: 220px;
}

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

.resolucion-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.resolucion-overlay h3 {
    color: var(--color3);
    font-size: 1.8rem;
    font-weight: 800;
}

.resolucion-info {
    flex: 1;
}

.resolucion-info p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Enlace Descarga Pequeño */
.download-link-small {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color1);
    font-size: 1.5rem;
}

.download-link-small i {
    font-size: 2.2rem;
}

.download-link-small:hover, .download-link-small:hover i, .download-link-large:hover, .download-link-large:hover i, .download-link-item:hover i {
    color: var(--color4) !important;
}

/* Responsividad */
@media (max-width: 768px) {
    .resolucion-container {
        flex-direction: column;
    }
    .resolucion-card {
        width: 100%;
    }
    .title-tab {
        width: 100%;
        text-align: center;
    }
}


/* --- NUEVOS ESTILOS: PÁGINA DE RESULTADOS --- */

/* Tarjeta de resultados (Auction Card) */
.auction-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auction-header {
    margin-bottom: 25px;
}

.auction-id {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color1);
    margin-bottom: 5px;
}

.auction-id span {
    font-style: italic;
    font-weight: 600;
}

.auction-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
}

.auction-subtitle strong {
    color: var(--color1);
}

/* Estilos de Tabla de Resultados */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.results-table th {
    background-color: var(--color2); /* Por defecto amarillo (Mayo) */
    color: var(--color1);
    padding: 15px;
    text-align: center;
    font-weight: 800;
    border: 1px solid #ddd;
}

/* Variante: Cabecera negra para Abril */
.card-april .results-table th {
    background-color: var(--color1);
    color: var(--color3);
}

.results-table td {
    padding: 15px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.results-table .col-asset {
    width: 50%;
    text-align: left;
    font-weight: 500;
    line-height: 1.2;
}

.results-table .col-price {
    width: 25%;
    text-align: center;
}

.results-table .col-awarded {
    width: 25%;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.results-table tr:nth-child(even) td {
    background-color: #f2f2f2; /* Sombreado zebra */
}

/* Contenedor de Totales */
.total-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.total-text {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: none;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color1);
}

.total-amount sup {
    font-size: 1.2rem;
    top: -0.6em;
}

/* Ajustes responsivos para tablas */
@media (max-width: 768px) {
    .auction-card {
        padding: 20px;
    }
    .results-table {
        font-size: 0.8rem;
    }
    .total-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .total-amount {
        font-size: 1.8rem;
    }
}


/* --- SECCIÓN CONTACTO --- */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Formulario más ancho que la info */
    gap: 50px;
    align-items: start;
}

/* Encabezado estilo pestaña (similar a tu .title-tab) */
.contact-header-tab {
    background-color: var(--color1);
    color: var(--color3);
    display: inline-block;
    font-weight: 800;
    font-size: 1.8rem;
    padding: 10px 60px 10px 30px;
    border-radius: 0 15px 0 0;
    margin-bottom: 40px;
    text-transform: none;
}

.form-intro h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.form-intro p {
    margin-bottom: 30px;
    color: #555;
}

/* Estilos de los inputs */
.main-form .form-group {
    margin-bottom: 20px;
}

.main-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.main-form input,
.main-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-family: var(--font-main);
    font-size: 1rem;
}

.main-form input:focus,
.main-form textarea:focus {
    outline: none;
    border-color: var(--color2);
    box-shadow: 0 0 5px rgba(250, 185, 11, 0.3);
}

/* Botón Enviar */
.btn-submit {
    width: 100%;
    background-color: var(--color2);
    color: var(--color1);
    border: none;
    padding: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--color4);
}

/* Tarjetas de Información (Derecha) */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 80px; /* Alineado visualmente con el formulario */
}

.info-card {
    background-color: #c4c4c4; /* Gris de la imagen */
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--color1);
}

.info-text {
    font-weight: 700;
    font-size: 1.1rem;
    /*max-width: 90%;*/
    line-height: 1.3;
    text-align: center;
}

.info-text.highlight {
    font-size: 1.5rem;
    font-weight: 800;
}

.info-text.small {
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        margin-top: 20px;
    }

    .contact-header-tab {
        width: 100%;
        border-radius: 0;
    }
}

/* --- CABECERA CRONOGRAMA --- */
.cronograma-header {
    margin-bottom: 20px;
}
.black-tab {
    background: var(--color1);
    color: #fff;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 0 15px 0 0;
    font-weight: 800;
    font-size: 1.2rem;
}
.subasta-id {
    text-align: center;
    font-weight: 900;
    font-style: italic;
    margin-top: 10px;
}

/* --- BANNER CONTADOR --- */
.countdown-banner {
    background-color: var(--color1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 50px;
    border-radius: 4px;
}
.calendar-icon-box {
    text-align: center;
}
.calendar-icon {
    position: relative;
    font-size: 4rem;
}
.calendar-icon span {
    position: absolute;
    top: 55%; left: 50%;
    transform: translate(-50%, -40%);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color1);
}
.month-label { font-weight: 800; display: block; font-size: 1.2rem; }

.countdown-content .apply-text {
    color: var(--color2);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: center;
}
.timer-display {
    display: flex;
    align-items: baseline; /* Alinea los números y textos por la base */
    gap: 15px;
    color: #fff;
}

.time-unit {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.time-unit strong {
    font-size: 2.2rem; /* Tamaño del número */
    font-weight: 800;
}

.unit-label {
    font-size: 0.7rem; /* Tamaño pequeño para "DÍAS", "HRS" */
    font-weight: 700;
    text-transform: uppercase;
}

.countdown-banner .separator {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    align-self: center;
}

/* --- TIMELINE (PARTICIPA) --- */
.timeline-section { position: relative; padding: 40px 0; }
.watermark-text {
    position: absolute;
    top: 15rem;
    /*right: -37rem; top: 0;*/
    /*transform: rotate(-90deg) translateY(-50%);*/
    font-size: 18rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    z-index: -1;
}

.participa-btn-container { text-align: center; margin: 30px 0; }
.btn-participa-main {
    background: var(--color2);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 45px;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	color: var(--color1);
    text-decoration: none;
}
.btn-participa-main:hover{
    background: var(--color1);
    color: var(--color2);
}

.timeline-row {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    align-items: flex-start;
}
.date-side { flex: 0 0 150px; text-align: center; }
.day-txt { display: block; font-weight: 800; font-size: 1.2rem; }
.num-txt { display: block; font-weight: 900; font-size: 5rem; line-height: 0.8; }

.date-side.range { flex: 0 0 280px; display: flex; align-items: center; gap: 10px; }
.date-unit strong { font-size: 5rem; display: block; line-height: 0.8; }
.al { font-weight: 900; font-size: 1.5rem; margin-top: 15px; }

.content-side h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.content-side a {font-size: 1.5rem;}
.downloads { display: flex; gap: 20px; margin-top: 15px; }
.downloads a { text-decoration: none; color: var(--color1); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 5px; }

.wa-link { color: var(--color); text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.wa-link:hover{
    color: var(--color2);
}

.locations { display: flex; gap: 20px; margin-top: 15px; font-weight: 700; font-size: 1.5rem; }
.locations i.yellow { color: var(--color2); }

.content-side.split { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.live-box {
    background: var(--color2);
    padding: 2rem 3rem;
    border-radius: 0 0 0 15px;
    text-align: center;
    font-weight: bold;
}
.live-box a:hover{
    color: var(--color3);
}

.fb-circle {
    background: var(--color1); color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
}
.live-tag {
    background: #ff0000;
    color: #fff;
    padding: 0.7rem 1.2rem;
    font-weight: 800;
    border-radius: 4px;
    font-size: 1.2rem;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .countdown-banner { flex-direction: column; gap: 20px; }
    .timeline-row { flex-direction: column; text-align: center; align-items: center; }
    .content-side.split { flex-direction: column; gap: 20px; }
    .date-side.range { flex: none; }
}

/* --- ESTILOS CONVOCATORIAS --- */

.main-content-wrapper {
    padding: 40px 0;
    max-width: 900px; /* Ajustado para que no se vea demasiado ancho */
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.convocatoria-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.convocatoria-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 10px;
}

.convocatoria-info .details p {
    margin: 2px 0;
    font-size: 1.1rem;
    color: var(--color1);
}

.convocatoria-info .details strong {
    font-weight: 900;
}

/* Bloque de Descarga */
.download-block {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--color1);
    transition: transform 0.2s ease;
}

.download-block:hover {
    transform: scale(1.05);
}

.download-block i {
    font-size: 3rem; /* Tamaño del icono de archivo */
}

.download-block span {
    font-weight: 800;
    font-size: 1.1rem;
}
.btnTxtGenerico{
    color: var(--color1);
    text-decoration: none;
    font-size: 1.5rem !important;
}
.btnTxtGenerico:hover{
    color: var(--color2);
}


/* Divisor */
.convocatoria-divider {
    border: 0;
    border-top: 2px solid var(--color1);
    margin: 20px 0;
}

/* Responsivo */
@media (max-width: 600px) {
    .convocatoria-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .convocatoria-download {
        align-self: flex-end;
    }
}


.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.infotext.correo{
    font-size: 1rem;
}


/*reemplazo*/
.btn-outline-primary {
    background: var(--color2) !important;
    color: var(--color1) !important;
    font-weight: bold;
    border: none !important;
    padding: 0.7rem 0;
}
.btn-outline-primary:hover {
            border-color: var(--color2) !important;
            background-color: var(--color3) !important;
            color: var(--color2) !important;
        }
.property-price{
    color: var(--color2) !important;
}
.carousel-control-next, .carousel-control-prev{
    display: none;
}
.property-card{
    padding: 2rem 1rem 3rem !important;
}

/* --- SECCIÓN ACORDEÓN (FAQ) --- */
.faq-container {
    margin-top: 20px;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--color6); /* Línea divisoria gris oscuro */
}

/* Ocultar la flecha nativa del navegador en Chrome/Safari y Firefox */
.faq-trigger::-webkit-details-marker {
    display: none;
}
.faq-trigger {
    list-style: none; /* Remueve flecha en Firefox estándar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color1);
    cursor: pointer;
    user-select: none;
    padding: 1rem;
    /*background: rgba(0,0,0,0.03);*/
}

/* El ícono de FontAwesome */
.faq-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--color1);
}

/* --- ANIMACIONES Y ESTADOS ABIERTOS --- */

/* Rotación del ícono cuando el contenedor está abierto */
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

/* Caja de la respuesta */
.faq-content {
    padding: 1rem 2rem;
    /*background: var(--color3);*/
    margin-bottom: 0.5rem;
}

.faq-content p {
    font-size: 1.05rem;
    color: var(--color1);
    line-height: 1.5;
    text-align: justify;
}
.faq-content ol{
    padding-left: 2rem;
    list-style-type: decimal;
}
.faq-content ul{
    padding-left: 2rem;
}
.faq-content ol li{
    padding-left: 0.5rem;
}
.faq-content ul li{
    list-style: disc;
    padding-left: 2rem;
}

/* Ajustes de espaciado adaptativo para móviles */
@media (max-width: 768px) {
    .faq-trigger {
        font-size: 1.1rem;
    }
    .faq-content p {
        font-size: 0.95rem;
    }
}

.schedule-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0 20px 0;
}

.schedule-box i {
    font-size: 2rem; /* Tamaño del icono de reloj */
    color: var(--color1);
}

.schedule-text {
    display: flex;
    flex-direction: column;
    line-height: 0.6rem;
}

.schedule-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color1);
}

.schedule-time {
    font-size: 1.05rem;
    color: var(--color1);
}


/* Esto hace que todos los saltos de línea internos sean fluidos */
html {
    scroll-behavior: smooth;
}

/* Estilo opcional para que tu botón se vea genial */
.btn-bajar {
    transition: background 0.9s ease;
}
.property-title, .property-detail{
    font-weight:bold;
}
.property-info .mt-auto a:hover{
    background-color: var(--color2) !important;
    color: var(--color3) !important;
}
.property-info .mt-auto{
    padding-top:1rem;
    background:var(--color3) !important;
}
.property-detail i{
    margin-right:0.6rem
}
.property-detail strong{
    font-size: 1.3rem;
}
.datoscontacto div div div p, .borderred p{
    font-weight: 600;
}
.btnInternoPropiedad a:hover{
    background: var(--color2) !important;
    color: var(--color3) !important
}
.btnInternoPropiedad{
    margin-top: 3rem;
    text-align: center;
    letter-spacing: 0.03rem;
}
.btnInternoPropiedad .btn-outline-primary{
    display: inline;
    padding: 1rem 3rem;
    border-radius: 1rem;
    margin-top: 1rem;
}
.alertaFirefox{
    font-size: 1.1rem;
    text-align:center;
   margin: 3rem;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.05);
    border-radius: 1rem;
    border: solid 2px var(--color1);
    letter-spacing: 0.03rem;
}
.alertaFirefox div i{
    border: solid 2px var(--color1);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    margin-right: 0.5rem;
}
.property-detail span{
    font-weight: normal;
}
.a, .btn-bajar{
    color:var(--color1) !important;
    text-decoration:none;
} 