/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B6F47;
    --secondary-color: #A0826D;
    --dark-bg: rgba(0, 0, 0, 0.6);
    --light-bg: #F5F5F5;
    --text-dark: #333;
    --text-light: #fff;
    --accent-gold: #D4AF37;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.4s ease;
}

.header.scrolled .nav-wrapper {
    padding: 15px 0;
}

.logo {
    position: relative;
    height: 60px;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-white {
    opacity: 1;
}

.logo-color {
    opacity: 0;
}

.header.scrolled .logo-white {
    opacity: 0;
}

.header.scrolled .logo-color {
    opacity: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.4s ease;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease, background 0.4s ease;
}

.header.scrolled .nav-link::after {
    background: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    transition: color 0.4s ease;
}

.header.scrolled .lang-selector {
    color: var(--text-dark);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('https://res.cloudinary.com/devjalyzo/image/upload/v1770986459/R22_eujme8.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 120px 0 80px;
    overflow: hidden;
    --hero-scale: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('https://res.cloudinary.com/devjalyzo/image/upload/v1770986459/R22_eujme8.png') center/cover no-repeat;
    z-index: 0;
    transform: scale(var(--hero-scale));
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease;
}

.hero-text {
    max-width: 600px;
    margin-bottom: 60px;
}

.hero-location {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: var(--primary-color);
    padding: 8px 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 72px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 15px 40px;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 45px;
    height: 45px;
    color: white;
    stroke-width: 1.5;
}

.feature-text h3 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 12px;
    opacity: 0.95;
    line-height: 1.4;
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 20;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(-45deg);
}

/* SOCIAL SIDEBAR */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    transition: right 0.4s ease;
}

.social-sidebar.hidden {
    right: -240px;
}

.sidebar-toggle {
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 60px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
}

.sidebar-toggle svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.social-sidebar.hidden .sidebar-toggle svg {
    transform: rotate(180deg);
}

.sidebar-content {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    width: 240px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tour-virtual-section {
    text-align: center;
    color: white;
}

.tour-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.tour-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 1.5;
}

.tour-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: white;
}

.tour-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon.tiktok {
    background: #000;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* HOUSES SECTION */
.houses-section {
    position: relative;
    background: #F8F6F3;
    padding-top: 100px;
    padding-bottom: 0;
}

.houses-background {
    position: sticky;
    top: 100px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.section-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
}

.houses-images-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.house-image-container {
    flex: 1;
    max-width: 350px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.house-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.house-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.houses-content {
    position: relative;
    z-index: 10;
    padding: 0;
}

.houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

.house-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
}

.house-card-thumbnail {
    display: none;
}

.house-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.house-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.house-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    stroke-width: 1.5;
}

.house-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.house-features {
    list-style: none;
    margin-bottom: 30px;
}

.house-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.house-features li:before {
    content: '• ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 35px;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.security-badge {
    text-align: center;
    margin: 50px 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.badge-icon {
    font-size: 24px;
}

.badge-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    stroke-width: 1.5;
}

.badge-text {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-dark);
    font-weight: 600;
    background: #E8DCC4;
    padding: 10px 25px;
    border-radius: 25px;
}

.priority-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.priority-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.priority-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-security {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-security svg {
    width: 20px;
    height: 20px;
}

.btn-security:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

.modal-close:hover svg {
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-prev svg,
.carousel-next svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.modal-info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-features-list {
    list-style: none;
    padding: 0;
}

.modal-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #555;
}

.modal-features-list li:before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* SECURITY MODAL */
.security-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 30px 20px;
}

.security-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.security-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 0;
    margin: auto;
    /* El modal content es el scroll container */
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90vh;
}

.security-modal-overlay.active .security-modal-content {
    transform: scale(1);
}

/* Hero-banner de imagen STICKY: se queda fija mientras las tarjetas suben */
.security-image {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.security-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay degradado oscuro sobre la imagen */
.security-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.55) 60%,
            rgba(0, 0, 0, 0.80) 100%);
}

/* Header (título + texto) flotando sobre la imagen */
.security-modal-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 30px 50px 35px;
    z-index: 10;
}

.security-icon-large {
    display: none;
}

.security-modal-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.security-modal-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Contenedor del header + imagen como bloque posicionado */
.security-modal-banner {
    position: relative;
}

/* Envuelve tarjetas + footer: sube por encima de la imagen sticky */
.security-body {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 0 0 20px 20px;
    /* Sombra sutil para efecto de solapamiento sobre la imagen */
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}

.security-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 0;
    position: relative;
    padding: 40px 50px 30px;
}

.security-feature-card {
    background: #F8F6F3;
    padding: 30px 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    will-change: transform;
    z-index: 2;
}

.security-feature-card:hover {
    background: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 111, 71, 0.3);
}

.security-feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.security-feature-card:hover .security-feature-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

.security-feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    transition: color 0.4s ease;
}

.security-feature-card:hover .security-feature-icon svg {
    color: white;
}

.security-feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.4s ease;
}

.security-feature-card:hover h3 {
    color: white;
}

.security-feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.security-feature-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.security-modal-footer {
    text-align: center;
    padding: 30px 50px 40px;
    border-top: 1px solid #eee;
}

.security-modal-footer p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.security-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.security-social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.security-social-icon.tiktok {
    background: #000;
}

.security-social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.security-social-icon.facebook {
    background: #1877f2;
}

.security-social-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* NUMBERS SECTION */
.numbers-section {
    background: #2C2C2C;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 20;
    margin-top: -310px;
}

.numbers-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
}

.highlight-gold {
    color: var(--accent-gold);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.number-card {
    padding: 30px 20px;
}

.number-value {
    font-size: 72px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.number-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-calculator {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 15px;
}

.btn-calculator svg {
    width: 22px;
    height: 22px;
}

.btn-calculator:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.calculator-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* CALCULATOR MODAL */
.calculator-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.calculator-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.calculator-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.calculator-modal-overlay.active .calculator-modal-content {
    transform: scale(1);
}

.calculator-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 35px 40px 30px;
    text-align: center;
}

.calculator-header h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
}

.calculator-header p {
    font-size: 15px;
    opacity: 0.85;
}

.calculator-body {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    display: block;
    max-height: 280px;
    object-fit: cover;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculator-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calculator-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #E0D5C8;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.input-prefix,
.input-suffix {
    background: #F5F0EA;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
    flex-shrink: 0;
}

.input-wrapper input,
.input-wrapper select {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
}

.calculator-form select {
    width: 100%;
    border: 2px solid #E0D5C8;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.calculator-form select:focus {
    border-color: var(--primary-color);
}

.calculator-form small {
    font-size: 12px;
    color: #999;
}

.btn-calculate {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-calculate:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 111, 71, 0.35);
}

.calculator-results {
    background: #F8F6F3;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.result-label {
    font-size: 13px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.result-value {
    font-size: 42px;
    font-weight: 300;
    color: var(--primary-color);
}

.result-percentage {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.percentage-label,
.percentage-sublabel {
    font-size: 13px;
    color: #888;
}

.percentage-value {
    font-size: 32px;
    font-weight: 400;
    color: var(--text-dark);
    margin: 5px 0;
}

.result-warnings {
    font-size: 13px;
    color: #c0392b;
    background: #fdecea;
    border-radius: 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-warnings.show {
    padding: 15px;
    max-height: 200px;
}

.capacity-indicator.good {
    color: #27ae60;
}

.capacity-indicator.warning {
    color: #e67e22;
}

.capacity-indicator.danger {
    color: #c0392b;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Deshabilitar parallax en móvil — evita flickering/parpadeo */
@media (max-width: 768px),
(hover: none) {
    .hero::before {
        transform: none !important;
        transition: none !important;
        will-change: auto;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero {
        --hero-scale: 1 !important;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-8px);
    }

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-card {
        max-width: 100%;
        width: 100%;
    }

    .social-sidebar {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .section-title {
        font-size: 32px;
    }

    .houses-grid {
        grid-template-columns: 1fr;
    }

    .house-card {
        padding: 30px 20px;
    }

    .house-card-thumbnail {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 80px;
        height: 80px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 5;
    }

    .house-card-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .house-icon {
        margin-right: 90px;
    }

    .house-title {
        margin-right: 90px;
    }

    .houses-images-row {
        flex-direction: column;
        gap: 15px;
        display: none;
    }

    .house-image-container {
        max-width: 100%;
        height: 300px;
    }

    /* MODAL RESPONSIVE */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }

    .modal-image {
        min-height: 250px;
        max-height: 300px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-prev svg,
    .carousel-next svg {
        width: 20px;
        height: 20px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    .modal-info {
        padding: 30px 20px;
    }

    .modal-info h2 {
        font-size: 28px;
    }

    .modal-info p {
        font-size: 14px;
    }

    .modal-features-list li {
        font-size: 14px;
        padding: 10px 0;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    /* SECURITY MODAL RESPONSIVE */
    .security-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }

    .security-modal-content {
        padding: 30px 15px;
        border-radius: 0;
        min-height: 100vh;
    }

    .security-modal-header {
        margin-bottom: 30px;
    }

    .security-icon-large {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .security-icon-large svg {
        width: 35px;
        height: 35px;
    }

    .security-modal-header h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .security-modal-header p {
        font-size: 14px;
    }

    .security-image {
        width: calc(100% + 30px);
        margin: -400px -15px 20px -15px;
        border-radius: 0;
    }

    .security-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .security-feature-card {
        padding: 25px 20px;
    }

    .security-feature-icon {
        width: 50px;
        height: 50px;
    }

    .security-feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .security-feature-card h3 {
        font-size: 18px;
    }

    .security-feature-card p {
        font-size: 13px;
    }

    .security-social-icons {
        gap: 15px;
    }

    .security-social-icon {
        width: 50px;
        height: 50px;
    }

    /* CALCULATOR MODAL RESPONSIVE */
    .calculator-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }

    .calculator-modal-content {
        padding: 25px 15px 30px;
        border-radius: 15px;
        margin: 0;
        max-height: 100vh;
        overflow-y: auto;
        width: 100%;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
    }

    .calculator-header {
        margin-bottom: 25px;
        position: sticky;
        top: 0;
        background: white;
        padding: 15px 0 10px;
        z-index: 10;
    }

    .calculator-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .calculator-header p {
        font-size: 13px;
        line-height: 1.4;
    }

    .calculator-body {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px;
        grid-template-columns: unset !important;
    }

    .video-container {
        order: 1;
        border-radius: 10px;
        margin-bottom: 5px;
        grid-column: unset !important;
        grid-row: unset !important;
        width: 100%;
    }

    .calculator-form {
        order: 2;
        gap: 18px;
        grid-column: unset !important;
        grid-row: unset !important;
    }

    .calculator-results {
        order: 3;
        gap: 20px;
        grid-column: unset !important;
        grid-row: unset !important;
    }

    .form-group {
        margin-bottom: 0;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 10px;
    }

    .form-group input[type="number"] {
        padding-left: 35px;
    }

    .form-group small {
        font-size: 11px;
        margin-top: 4px;
    }

    .input-prefix {
        left: 12px;
        font-size: 15px;
    }

    .input-suffix {
        right: 12px;
        font-size: 15px;
    }

    .btn-calculate {
        padding: 14px;
        font-size: 15px;
        margin-top: 5px;
    }

    .calculator-results {
        gap: 20px;
    }

    .result-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .result-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .result-value {
        font-size: 32px;
    }

    .result-percentage {
        padding: 20px 15px;
    }

    .percentage-label {
        font-size: 13px;
    }

    .percentage-value {
        font-size: 36px;
    }

    .percentage-sublabel {
        font-size: 12px;
    }

    .video-cta {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .video-cta-text {
        font-size: 14px;
    }

    .btn-video {
        padding: 12px 25px;
        font-size: 14px;
    }

    .result-details {
        padding: 18px 15px;
        border-radius: 10px;
    }

    .result-item {
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 5px;
    }

    .result-item span {
        font-size: 12px;
    }

    .result-item strong {
        font-size: 14px;
    }

    .capacity-indicator {
        padding: 4px 10px;
        font-size: 13px !important;
    }

    .result-warnings {
        padding: 12px;
        font-size: 12px;
    }

    .result-info {
        padding: 15px;
        border-radius: 10px;
    }

    .result-info h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .result-info li {
        font-size: 12px;
        padding: 5px 0;
    }

    .modal-close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 2001;
    }

    .numbers-title {
        font-size: 32px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .number-value {
        font-size: 48px;
    }

    .number-label {
        font-size: 12px;
    }

    .btn-calculator {
        padding: 15px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .house-card-thumbnail {
        width: 70px;
        height: 70px;
        top: 12px;
        right: 12px;
        border-radius: 8px;
    }

    .house-icon {
        margin-right: 80px;
    }

    .house-title {
        margin-right: 80px;
        font-size: 20px;
    }

    .modal-info h2 {
        font-size: 24px;
    }

    .security-modal-header h2 {
        font-size: 24px;
    }

    .calculator-modal-content {
        padding: 20px 12px;
    }

    .calculator-header h2 {
        font-size: 20px;
    }

    .calculator-header p {
        font-size: 12px;
    }

    .calculator-form {
        gap: 15px;
    }

    .video-container {
        border-radius: 8px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 15px;
    }

    .form-group input[type="number"] {
        padding-left: 32px;
    }

    .result-value {
        font-size: 28px;
    }

    .percentage-value {
        font-size: 32px;
    }

    .video-cta {
        padding: 18px 12px;
    }

    .video-cta-text {
        font-size: 13px;
    }

    .btn-video {
        padding: 11px 20px;
        font-size: 13px;
    }

    .result-details {
        padding: 15px 12px;
    }

    .result-item span {
        font-size: 11px;
    }

    .result-item strong {
        font-size: 13px;
    }

    .result-info {
        padding: 12px;
    }

    .result-info h4 {
        font-size: 13px;
    }

    .result-info li {
        font-size: 11px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .number-value {
        font-size: 42px;
    }

    .amenities-column-title {
        font-size: 26px;
    }

    .amenity-name {
        font-size: 16px;
    }

    .amenity-content p {
        font-size: 14px;
    }
}

/* CALCULATOR MODAL */
.calculator-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.calculator-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.calculator-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 50px 40px;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.calculator-modal-overlay.active .calculator-modal-content {
    transform: scale(1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.calculator-header p {
    font-size: 16px;
    color: #666;
}

.calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.video-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: #000;
    grid-column: 1;
    grid-row: 1;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    grid-column: 1;
    grid-row: 2;
}

.calculator-results {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix,
.input-suffix {
    position: absolute;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.input-prefix {
    left: 15px;
}

.input-suffix {
    right: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input[type="number"] {
    padding-left: 35px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.btn-calculate {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-calculate:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 111, 71, 0.3);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.result-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.result-value {
    font-size: 48px;
    font-weight: 600;
}

.result-note {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 10px;
    font-weight: 400;
}

.result-percentage {
    background: #F8F6F3;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.percentage-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.percentage-value {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}

.percentage-sublabel {
    font-size: 13px;
    color: #999;
}

.video-cta {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
}

.video-cta-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-video {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-video:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 111, 71, 0.3);
}

.btn-video svg {
    width: 20px;
    height: 20px;
}

.result-details {
    background: #F8F6F3;
    padding: 25px;
    border-radius: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span {
    color: #666;
    font-size: 14px;
}

.result-item strong {
    color: var(--text-dark);
    font-size: 16px;
}

.capacity-indicator {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px !important;
}

.capacity-indicator.good {
    background: #4CAF50;
    color: white;
}

.capacity-indicator.warning {
    background: #FF9800;
    color: white;
}

.capacity-indicator.danger {
    background: #F44336;
    color: white;
}

.result-warnings {
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #856404;
    display: none;
}

.result-warnings.show {
    display: block;
}

.result-info {
    background: #E3F2FD;
    padding: 20px;
    border-radius: 12px;
}

.result-info h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.result-info ul {
    list-style: none;
    padding: 0;
}

.result-info li {
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}

.result-info li:before {
    content: '✓ ';
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

.info-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #999;
    font-style: italic;
    line-height: 1.5;
}

/* AMENITIES SECTION */
.amenities-section {
    background: #F8F6F3;
    padding: 100px 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.amenities-column-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.amenities-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.amenity-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.amenity-header {
    display: flex;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amenity-header:hover {
    padding-left: 10px;
}

.amenity-number {
    font-size: 14px;
    color: #999;
    margin-right: 20px;
    min-width: 30px;
}

.amenity-name {
    flex: 1;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 400;
}

.amenity-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.amenity-arrow svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.amenity-item.active .amenity-arrow {
    transform: rotate(90deg);
}

.amenity-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 50px;
}

.amenity-item.active .amenity-content {
    max-height: 200px;
    padding: 0 0 25px 50px;
}

.amenity-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* VIDEO MODAL */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* LOCATION SECTION - TODO A 5 MINUTOS */
.location-section {
    background: white;
    padding: 100px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.location-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
    align-self: start;
}

.location-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.location-map iframe {
    display: block;
    width: 100%;
}

.location-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-badge svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.location-badge span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.location-categories {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category-card {
    background: #F8F6F3;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.category-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-card:hover .category-icon svg {
    color: white;
}

.category-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.category-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .video-modal-content video {
        border-radius: 10px;
    }

    .location-section {
        padding: 60px 0;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-left {
        gap: 20px;
    }

    .location-image {
        position: relative;
        top: 0;
        border-radius: 15px;
    }

    .location-map {
        border-radius: 15px;
    }

    .location-map iframe {
        height: 300px;
    }

    .location-badge {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
    }

    .location-badge svg {
        width: 20px;
        height: 20px;
    }

    .location-badge span {
        font-size: 13px;
    }

    .category-card {
        padding: 25px 20px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-icon svg {
        width: 25px;
        height: 25px;
    }

    .category-title {
        font-size: 20px;
    }

    .category-list li {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* CONTACT SECTION */
.contact-section {
    background: #F8F6F3;
    padding: 100px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: 3px;
}

.contact-subtitle {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 25px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-bottom: 2px solid #D4C4A8;
    background: transparent;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    letter-spacing: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-contact {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 13px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
    font-weight: 500;
}

.btn-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
.footer {
    background: #1A1A1A;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-info {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info strong {
    color: white;
    font-weight: 600;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-form-group {
    position: relative;
}

.footer-form input {
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 13px;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    transition: border-color 0.3s ease;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.footer-form input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.btn-footer {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-footer:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.btn-footer svg {
    width: 20px;
    height: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    transform: scale(1.1);
}

/* RESPONSIVE - CONTACT & FOOTER */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 12px;
    }

    .form-row-split {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-text,
    .footer-info {
        font-size: 13px;
    }
}


/* ENHANCED ANIMATIONS */

/* Stagger animation for cards */
.house-card:nth-child(1) {
    animation-delay: 0.1s;
}

.house-card:nth-child(2) {
    animation-delay: 0.2s;
}

.house-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover effects for house cards */
.house-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-card:hover .house-icon svg {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Feature cards entrance animation */
.feature-card {
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.8s;
}

.feature-card:nth-child(2) {
    animation-delay: 1s;
}

.feature-card:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scale animation for images */
.house-image-container img,
.location-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-image-container:hover img,
.location-image:hover img {
    transform: scale(1.08);
}

/* Category cards animation */
.category-card {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.category-card:nth-child(1) {
    transition-delay: 0.1s;
}

.category-card:nth-child(2) {
    transition-delay: 0.2s;
}

.category-card:nth-child(3) {
    transition-delay: 0.3s;
}

.category-card:nth-child(4) {
    transition-delay: 0.4s;
}

.category-card:nth-child(5) {
    transition-delay: 0.5s;
}

/* Amenity items hover effect */
.amenity-header {
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-header {
    transform: translateX(10px);
}

.amenity-arrow {
    transition: transform 0.3s ease;
}

.amenity-item:hover .amenity-arrow {
    transform: rotate(45deg);
}

/* Number cards count-up animation */
.number-card {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.number-card.visible {
    opacity: 1;
    transform: scale(1);
}

.number-card:nth-child(1) {
    transition-delay: 0.1s;
}

.number-card:nth-child(2) {
    transition-delay: 0.2s;
}

.number-card:nth-child(3) {
    transition-delay: 0.3s;
}

.number-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Floating animation for WhatsApp button */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

/* Section headers fade in */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact form inputs animation */
.contact-form .form-group {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .form-group.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form .form-group:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-form .form-group:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-form .form-group:nth-child(3) {
    transition-delay: 0.3s;
}

/* Button ripple effect */
.btn-primary,
.btn-secondary,
.btn-contact,
.btn-calculator {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-contact::after,
.btn-calculator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after,
.btn-secondary:active::after,
.btn-contact:active::after,
.btn-calculator:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth reveal for location badge */
.location-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Security badge pulse */
.security-badge {
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}


/* INFINITE GALLERY */
.infinite-gallery {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 30px 0;
}

.infinite-gallery::before,
.infinite-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.infinite-gallery::before {
    left: 0;
    background: linear-gradient(to right, #F8F6F3 0%, rgba(248, 246, 243, 0.5) 70%, transparent 100%);
}

.infinite-gallery::after {
    right: 0;
    background: linear-gradient(to left, #F8F6F3 0%, rgba(248, 246, 243, 0.5) 70%, transparent 100%);
}

.gallery-track {
    display: flex;
    gap: 25px;
    animation: scrollGallery 35s linear infinite;
    width: fit-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Real Photos Button */
.btn-real-photos {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 14px 35px;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border-radius: 50px;
    margin-top: 0;
    margin-bottom: 0;
}

.btn-real-photos svg {
    width: 20px;
    height: 20px;
}

.btn-real-photos:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 111, 71, 0.3);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .infinite-gallery {
        margin-top: 30px;
        margin-bottom: 20px;
        padding: 20px 0;
    }

    .gallery-item {
        width: 260px;
        height: 180px;
        border-radius: 15px;
    }

    .gallery-track {
        gap: 15px;
        animation-duration: 25s;
    }

    .infinite-gallery::before,
    .infinite-gallery::after {
        width: 60px;
    }

    .btn-real-photos {
        padding: 12px 28px;
        font-size: 12px;
    }
}