/* ================================================================
   GESTIÓN INMOBILIARIA — Hoja de estilos principal
   Los valores de :root son sobrescritos dinámicamente desde el
   Personalizador de WordPress (inc/dynamic-styles.php)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
    --color1:        #333333;
    --color2:        #fab90b;
    --color3:        #ffffff;
    --color4:        #dca50b;
    --color5:        #f8f9fa;
    --color6:        #444444;
    --color-bg:      #f5f5f5;
    --color-whatsapp:#4daf51;
    --font-main:     'Barlow', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

a, a:hover{text-decoration: none !important;}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family:      var(--font-main);
    background-color: var(--color-bg);
    color:            var(--color1);
    line-height:      1.6;
    min-height:       100vh;
    display:          flex;
    flex-direction:   column;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit;text-decoration:none; }

/* ---- Utilidades ---- */
.gi-container {
    max-width: 1200px;
    margin:    0 auto;
    padding:   0 20px;
    width:     100%;
}

/* ================================================================
   HEADER
   ================================================================ */
.main-header {
    background-color: var(--color1);
    width:    100%;
    position: sticky;
    top:      0;
    z-index:  1000;
}
/* Ajuste cuando la barra de admin de WP está visible */
.admin-bar .main-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .main-header { top: 46px; }
}

.header-inner {
    max-width:       1200px;
    margin:          0 auto;
    padding:         0 24px;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    min-height:      80px;
}

/* Logo */
.site-logo a          { display: block; line-height: 0; }
.site-logo img        { height: 60px; width: auto; }
.site-logo .logo-text {
    color:       var(--color4);
    font-weight: 800;
    font-size:   1.4rem;
    line-height: 1.2;
    text-decoration: none;
}

/* ---- Navegación desktop ---- */
.main-nav { display: flex; align-items: center; }

.main-nav ul {
    display:     flex;
    list-style:  none;
    align-items: center;
}

.main-nav > ul > li {
    position:    relative;
    display:     flex;
    align-items: center;
}
.main-nav > ul > li:not(:last-child) {
    border-right:  2px solid var(--color4);
    padding-right: 15px;
    margin-right:  15px;
}

.current_page_item a, .current-menu-ancestor>a{
    color: var(--color4) !important;
}

.main-nav > ul > li > a {
    color:           var(--color3);
    text-decoration: none;
    font-weight:     700;
    font-size:       0.9rem;
    display:         flex;
    align-items:     center;
    gap:             6px;
    padding:         10px 0;
    transition:      color 0.2s;
    white-space:     nowrap;
}
.main-nav > ul > li > a:hover { color: var(--color2); }

/* Flecha para ítems con submenú */
.main-nav > ul > li.menu-item-has-children > a::after {
    content:     '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size:   0.65em;
    margin-left: 4px;
    transition:  transform 0.2s;
}
.main-nav > ul > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Submenú desktop */
.main-nav ul ul {
    display:    none;
    position:   absolute;
    top:        100%;
    left:       0;
    background: var(--color3);
    min-width:  230px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    list-style: none;
    z-index:    1100;
    border-top: 3px solid var(--color2);
}
.main-nav ul li:hover > ul { display: block; }
.main-nav ul ul li a {
    display:         block;
    padding:         10px 18px;
    color:           var(--color1);
    text-decoration: none;
    font-size:       0.875rem;
    font-weight:     600;
    border-bottom:   1px solid var(--color5);
    transition:      background 0.2s, color 0.2s;
    white-space:     nowrap;
}
.main-nav ul ul li a:hover {
    background: var(--color2);
    color:      var(--color1);
}
/* Sub-submenú */
.main-nav ul ul ul {
    left:   100%;
    top:    0;
    border-top: none;
    border-left: 3px solid var(--color2);
}

/* ---- Hamburguesa ---- */
.hamburger {
    display:         none;
    flex-direction:  column;
    justify-content: center;
    gap:             5px;
    background:      none;
    border:          none;
    cursor:          pointer;
    padding:         8px;
    border-radius:   4px;
    transition:      background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
    display:       block;
    width:         26px;
    height:        3px;
    background:    var(--color4);
    border-radius: 2px;
    transition:    all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Menú móvil (se despliega hacia abajo) ---- */
.mobile-nav {
    display:      none;
    background:   var(--color1);
    border-top:   1px solid var(--color6);
    width:        100%;
    max-height:   0;
    overflow:     hidden;
    transition:   max-height 0.35s ease;
}
.mobile-nav.open {
    display:    block;
    max-height: 600px;
}
.mobile-nav ul                { list-style: none; }
.mobile-nav > ul > li > a {
    display:         block;
    padding:         14px 24px;
    color:           var(--color4);
    text-decoration: none;
    font-weight:     700;
    font-size:       0.95rem;
    border-bottom:   1px solid var(--color6);
    transition:      background 0.2s;
}
.mobile-nav > ul > li > a:hover { background: rgba(255,255,255,0.06); }

/* Submenú móvil */
.mobile-nav .sub-menu {
    display:    none;
    background: #2a2a2a;
}
.mobile-nav .sub-menu.open { display: block; }
.mobile-nav .sub-menu li a {
    display:         block;
    padding:         11px 40px;
    color:           var(--color5);
    text-decoration: none;
    font-size:       0.875rem;
    font-weight:     500;
    border-bottom:   1px solid rgba(255,255,255,0.05);
    transition:      background 0.2s;
}
.mobile-nav .sub-menu li a:hover { background: rgba(255,255,255,0.05); }

/* Toggle flecha en móvil */
.mobile-nav .menu-item-has-children > a {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
}
.mobile-nav .menu-item-has-children > a::after {
    content:     '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size:   0.7em;
    transition:  transform 0.3s;
}
.mobile-nav .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* ================================================================
   TÍTULO DE SECCIÓN — shortcode [titulo]...[/titulo]
   Técnica: margin-left negativo rompe el contenedor y llega al
   borde izquierdo del viewport. padding-left reposiciona el texto.
   ================================================================ */

.gi-titulo-seccion {
    /* Colores y tipografía */
    background-color: var(--color1);
    color:            var(--color3);
    font-family:      var(--font-main);
    font-weight:      800;
    font-size:        clamp(1.1rem, 2vw, 1.4rem);
    line-height:      1.3;

    /* Espaciado interno base */
    padding-top:    12px;
    padding-bottom: 12px;
    padding-right:  60px;

    /*
     * ── La magia del borde izquierdo ──────────────────────────────
     * margin-left: calc(-50vw + 50%)
     *   → Empuja el elemento hasta el borde izquierdo del viewport.
     *   → 50vw = mitad de la pantalla | 50% = mitad del contenedor.
     *
     * padding-left: calc(50vw - 50% + 24px)
     *   → Compensa el margin negativo para que el TEXTO empiece
     *     alineado con el resto del contenido (24px = padding del
     *     .content-inner).
     * ─────────────────────────────────────────────────────────────
     */
    margin-left:  calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 24px);

    /* Borde redondeado solo en esquina superior derecha */
    border-radius: 0 15px 0 0;

    /* Display inline-block para que el fondo solo cubra el ancho del texto */
    display: inline-block;

    /* Separación con el contenido que le sigue */
    margin-bottom: 28px;

    /* Evita que multilinea rompa el borde */
    -webkit-box-decoration-break: clone;
    box-decoration-break:         clone;
}

/* ================================================================
   ÁREA DE CONTENIDO
   ================================================================ */
.site-content {
    flex:             1;
    width:            100%;
    background-color: var(--color-bg);
}

.content-inner {
    max-width: 1200px;
    margin:    0 auto;
    padding:   40px 24px;
}

/* Estilos tipográficos base para el contenido generado por WP */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-bottom: .6em;
    line-height:   1.3;
    font-weight:   700;
}
.entry-content p       { margin-bottom: 1em; }
.entry-content ul,
.entry-content ol      { margin: 0 0 1em 1.5em; }
.entry-content a:hover { text-decoration: underline; }
.entry-content img     { border-radius: 6px; }

.entry-title {
    font-size:     1.8rem;
    font-weight:   800;
    margin-bottom: 1.5rem;
    color:         var(--color1);
}

/* ================================================================
   FOOTER
   ================================================================ */
.main-footer {
    background-color: var(--color1);
    width:            100%;
    padding:          48px 0 36px;
}

.footer-inner {
    max-width:   1200px;
    margin:      0 auto;
    padding:     0 24px;
    display:     grid;
    grid-template-columns: 1fr auto;
    gap:         40px;
    align-items: center;
}

/* -- Oficinas -- */
.footer-offices-title {
    color:         var(--color3);
    font-weight:   800;
    font-size:     1.4rem;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

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

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

.office-name {
    display:         block;
    color:           var(--color4);
    font-weight:     700;
    font-size:       1.3rem;
    margin-bottom:   6px;
    text-decoration: none;
    transition:      color 0.2s;
}
a.office-name:hover { color: var(--color2); text-decoration: underline; }

.office-address {
    color:       var(--color5);
    font-size:   1.1rem;
    line-height: 1.55;
}

/* -- Columna derecha: redes + teléfono -- */
.footer-contact {
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    gap:             22px;
}

.social-icons {
    display:         flex;
    flex-wrap:       nowrap;   /* todos en una sola línea */
    gap:             8px;
    justify-content: center;
}

.social-icon {
    width:           40px;
    height:          40px;
    border:          2px solid var(--color3);
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           var(--color3);
    text-decoration: none;
    font-size:       0.9rem;
    transition:      border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink:     0;
}
.social-icon:hover {
    border-color: var(--color2);
    color:        var(--color2);
    background:   rgba(250,185,11,0.08);
}

.footer-phone {
    display:     flex;
    align-items: center;
    gap:         12px;
    color:       var(--color3);
    font-weight: 700;
    font-size:   1rem;
    white-space: nowrap;
}
.footer-phone .phone-icon {
    background:      var(--color3);
    color:           var(--color1);
    width:           38px;
    height:          38px;
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       0.95rem;
    flex-shrink:     0;
}

/* -- Sub-footer (fondo blanco + logo) -- */
.sub-footer {
    background-color: var(--color3);
    width:            100%;
    padding:          22px 24px;
    text-align:       center;
}
.sub-footer img {
    max-height: 80px;
    width:      auto;
    margin:     0 auto;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet: ≤ 991px */
@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-contact {
        flex-direction:  row;
        flex-wrap:       wrap;
        justify-content: flex-start;
        align-items:     center;
    }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
    .main-nav  { display: none; }
    .hamburger { display: flex; }

    .offices-grid {
        grid-template-columns: 1fr 1fr;
        gap:                   16px 28px;
    }
    .content-inner { padding: 28px 16px; }
}

/* Mobile pequeño: ≤ 480px */
@media (max-width: 480px) {
    .offices-grid          { grid-template-columns: 1fr; }
    .footer-contact        { flex-direction: column; align-items: flex-start; }
    .footer-phone          { white-space: normal; }
    .header-inner          { padding: 0 16px; }
    .main-header .site-logo img { height: 48px; }
}

/* ================================================================
   PÁGINAS — 404
   ================================================================ */
.gi-404 {
    text-align: center;
    padding:    80px 20px;
}
.gi-404 h1 {
    font-size:   6rem;
    font-weight: 800;
    color:       var(--color2);
    line-height: 1;
}
.gi-404 h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.gi-404 p  { color: var(--color6); margin-bottom: 1.5rem; }
.gi-btn {
    display:         inline-block;
    padding:         .7rem 2rem;
    background:      var(--color2);
    color:           var(--color1);
    font-weight:     700;
    border-radius:   2rem;
    text-decoration: none;
    transition:      background 0.2s, transform 0.2s;
}
.gi-btn:hover { background: var(--color4); transform: translateY(-2px); }

/* --- 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;
    }

    .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: 600px; /* 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: 100%;
    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;
}

.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(--color3);
    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;
}

.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%;
    }

    .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 thead tr th{
    font-weight: bold !important;
}

.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 a{
    background: var(--color2);
	color:var(--color1)
    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);
}
.btn-participa-main {
	color:var(--color1)
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 45px;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 800;
}
.btn-participa-main a:hover, .botonesInicio: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;
    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: 1.1rem;
}

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

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


/* 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;
}

.botonesInicio{
    background: var(--color1);
    width: 100%;
    padding: 0;
    border-radius: 0.5rem;
}
.botonesInicio a{
	background: transparent !important;
    color: var(--color2);
    font-weight: bold;
    font-size: 1.2rem;
}
.botonesInicio a:hover{
	text-decoration:none;
}
.botonesInicio:hover{
	background:var(--color2);
}
.botonesInicio a:hover{
	color:var(--color1);
}
.tamanioVideoHome{
	width: 80%;
  margin: 0 auto;
}
@media (max-width: 768px) {
	.tamanioVideoHome{
	width: 100%;
}
}
.countdown-content .apply-text{
	text-align:left !important;
	padding-top: 1rem;
}
.subasta-id{
	text-align:left !important;
}