/* --- Variables Globales (Basado en Figma) --- */

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.woff2') format('woff2'),
        url('../fonts/Gotham-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Gotham';
    src: url('../fonts/GothamBold.woff2') format('woff2'),
        url('../fonts/GothamBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.woff2') format('woff2'),
        url('../fonts/Gotham-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colores Principales */
    --primary-color: #0d6efd; /* Cambiar por el color primario de Figma */
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    
    /* Tipografía */
    --font-main: 'Gotham', sans-serif; /* Cambiar según Figma */
    --font-weight-bold: 700;
    --font-weight-medium: 500;
    --font-weight-light: 300;
    /* Espaciados */
    --section-padding: 80px 0;
}

/***** GENERALES ****/
html {
    /* Ajusta este valor a la altura de tu navbar (aprox 80px-100px) */
    scroll-padding-top: 100px; 
    scroll-behavior: smooth;
    font-family: var(--font-main);
    font-weight: var(--font-weight-medium);
}

/* --- Estilos Generales --- */
body {
    font-family: var(--font-main);
    overflow-x: hidden; /* Previene scroll horizontal indeseado */
}

section {
    padding: var(--section-padding);
}

/* --- Sobreescribir Bootstrap (Opcional) --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-title{font-family: Gotham;
font-weight: 300;
font-style: Book;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
}

.section-subtitle , .department-title{font-family: Gotham;
font-weight: 400;
font-style: Regular;
font-size: 25px;
line-height: 100%;
letter-spacing: 0%;
color:#4D4D34;
}



/****** HEADER ****/
/* Ajustes para Vegas Hero */
#inicio {
    /* Asegura que el contenido quede encima del slider */
    position: relative;
    overflow: hidden; 
    min-height: 75vh;
}
/* Estilo para el item activo del menú */

.btn-agendar{background-color: #4D4D34;color: white; border-color:#4D4D34;padding-left: 20px;padding-right: 20px;}
.btn-agendar:hover{background-color: #4D4D34;color: white; border-color:#4D4D34;}

.content-content-slide{min-height:100vh;}

.content-slide{
    position: absolute;
    right: 50px;
    bottom: 50px;
    width: 405px;
border-radius: 21px;
    padding: 16px;
    background: rgba(77, 77, 52, 0.6);
    backdrop-filter: blur(3.200000047683716px);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.content-slide h1{
    font-family: Gotham;
    font-weight: 325;
    font-style: Book;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
}

.content-slide p{
    font-family: Gotham;
    font-weight: bold;
    font-style: Book;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
}

.btn-agendar-slide{
    font-family: Gotham;
    font-weight: normal;
    font-style: Book;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #4D4D34;
    background-color: #E1DED1;
    border-color: #E1DED1;
}

.divider, #sustentabilidad{padding: 90px 0px; background-image: url('../images/textura.jpg'); background-repeat: no-repeat; 
    background-size: cover;}
.divider h2{font-family: Gotham;
font-weight: normal;
font-style: Book;
font-size: 22px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
}

/****** DEPARTAMENTOS ***/
.department-description{font-family: Gotham;
font-weight: 300;
font-style: Book;
font-size: 14px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
}

/* --- AMENIDADES SLIDER --- */

/* Ajuste para que el swiper se salga un poco del container si es necesario visualmente */
#amenidades .swiper, 
#sustentabilidad .swiper {
    padding: 20px 0 60px 0;
    overflow: visible; 
}

/* Estilos de la tarjeta de imagen */
.amenity-card {
    position: relative;
    border-radius: 20px; /* Bordes redondeados como en la imagen */
    overflow: hidden;
    height: 500px; /* Altura fija para uniformidad */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.amenity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto sobre la imagen (Pet park, Gym, etc) */
.amenity-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); /* Gradiente para lectura */
}

.amenity-info h3 {
    font-family: 'Gotham', sans-serif;
    color: #fff;
    font-size: 25px;
    text-align: left;
    font-weight: bold;
    margin: 0;
}

/* Botones de Navegación Personalizados (Cuadrados oscuros) */
.amenities-nav-btn {
    width: 45px;
    height: 45px;
    background-color: #4D4D34; /* Tu color corporativo */
    color: white;
    border: none;
    border-radius: 4px; /* Un poco redondeados */
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amenities-nav-btn:hover {
    background-color: #3a3a26; /* Un poco más oscuro al hover */
}

/* Deshabilitar botón si no hay más slides */
.amenities-nav-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

/* Iconos dentro de los botones */
.amenities-nav-btn i {
    font-size: 1.2rem;
}

.ubicacion-container{background-color: #4D4D34;}

.text-sustentabilidad{font-family: Gotham;
font-weight: 325;
font-style: Book;
font-size: 22px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
}

/* --- SECCIÓN ASESORES --- */

/* Imágenes de perfil */
.advisor-img {
    border-radius: 20px; /* Bordes redondeados según el diseño */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 350px; /* Evita que se hagan gigantes en pantallas muy anchas */
    height: auto;
}

/* Nombre del asesor */
.advisor-name {
    font-family: 'Gotham', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 20px;
    color: #4D4D34;
    margin-bottom: 5px;
}

/* Rol del asesor */
.advisor-role {
    font-family: 'Gotham', sans-serif;
    font-weight: 300; /* Light */
    font-size: 14px;
    color: #666;
}

/* Título de Asesoría Financiera */
.finance-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #4D4D34;
}

/* Texto descriptivo financiero */
.finance-text {
    font-family: Gotham;
font-weight: 300;
font-style: Book;
font-size: 22px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;

}

/* Ajuste para los logos de bancos en móvil */
.bank-logos img {
    opacity: 0.8;
    transition: opacity 0.3s;
    max-width: 120px; /* Control de tamaño */
    height: auto;
}

.bank-logos img:hover {
    opacity: 1;
}

/* --- Swiper Custom Styles --- */
.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 50px; /* Espacio para paginación */
}

.swiper-slide {
    text-align: center;
    /* Flexbox para centrar contenido si es necesario */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Personalización de controles Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}


/* --- SECCIÓN CONTACTO --- */
.contact-section {
    background-color: #4B4C36; /* Verde oliva oscuro del diseño */
    padding: 80px 0;
}

/* Estilos de los inputs */
.contact-form .form-control {
    background-color: #CDC8B9; /* Beige grisáceo de la imagen */
    border: none;
    border-radius: 4px; /* Un poco cuadrado */
    padding: 15px 20px;
    font-family: 'Gotham', sans-serif;
    color: #4D4D34; /* Texto oscuro */
    font-weight: 300;
}

/* Color del placeholder (el texto de ayuda dentro del input) */
.contact-form .form-control::placeholder {
    color: #6c757d; /* Gris para contraste legible */
    opacity: 0.8;
}

/* Focus: quitamos el borde azul por defecto de Bootstrap */
.contact-form .form-control:focus {
    background-color: #e2decf;
    box-shadow: none;
    outline: 2px solid #fff;
}

/* Botón de Enviar */
.btn-submit {
    background-color: #E1DED1; /* Beige claro */
    color: #4D4D34; /* Texto oscuro */
    font-family: 'Gotham', sans-serif;
    font-weight: 700; /* Bold */
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #fff;
    transform: translateY(-2px);
}


/* --- FOOTER --- */
.site-footer {
    background-color: #fff; /* Fondo blanco según imagen */
    color: #4D4D34;
    font-family: 'Gotham', sans-serif;
}

.footer-logo {
    max-width: 200px; /* Ajusta según el tamaño real de tu logo */
    height: auto;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4D4D34;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400; /* Regular */
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright-text {
    font-size: 14px;
    color: #666;
}

/* --- BOTÓN WHATSAPP FLOTANTE --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* Asegura que esté siempre encima de todo (incluso del slider) */
    
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: white;
    border-radius: 50%;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px; /* Tamaño del icono */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #20ba5a; /* Un poco más oscuro al pasar el mouse */
    color: white;
    transform: scale(1.1); /* Crece un poquito al pasar el mouse */
}

/* Animación de "Zumbido" (Tada effect) */
@keyframes buzz-animation {
    0% { transform: scale(1) rotate(0deg); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Clase que JS agregará para activar la animación */
.buzz-active {
    animation: buzz-animation 1s ease-in-out;
}

.page-header{padding-bottom: 80px; padding-top: 150px; background-image: url('../images/textura.jpg'); background-size: cover; text-align: center;}
.page-header h1{font-weight: 400; font-size:64px; color: #4D4D34; font-family: 'Gotham', sans-serif;}
.page-header p{color: #4D4D34; font-weight: 300; font-size: 48px; font-family: 'Gotham', sans-serif;}

.content-departamento h2{font-weight: 400; font-size: 25px;}
.content-departamento ul li{font-size: 22px; font-weight: 300;}

@media screen and (max-width: 728px) {

    :root {
    --section-padding: 30px 0;
}
    #inicio{height: 50vh;}
    .content-slide{right: 0; left: 0;}
    .content-slide h1{font-size: 16px;}
    .content-slide p{font-size: 14px;}
    
    .content-content-slide{min-height:50vh;}


    .amenity-card {height: 250px;}
    .amenity-info {
    background: none;}
    .amenity-info h3 {font-size: 16px; color: #3a3a26;}


}