/* ============================================
   AMB CASAS PREFABRICADAS - ESTILOS PREMIUM
   Diseño de lujo para público de alto poder adquisitivo
   ============================================ */

/* ============================================
   VARIABLES PREMIUM
   ============================================ */
:root {
    /* Colores Premium */
    --premium-black: #0a0a0a;
    --premium-dark: #1a1a1a;
    --premium-gray-dark: #2d2d2d;
    --premium-gray: #4a4a4a;
    --premium-gray-light: #8a8a8a;
    --premium-beige: #F5F5DC;
    --premium-gold: #c9a962;
    --premium-gold-light: #dbc07f;
    --premium-white: #ffffff;
    --premium-off-white: #fafafa;
    
    /* Tipografía Premium */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Sombras Premium */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(201, 169, 98, 0.3);
}

/* ============================================
   HERO PREMIUM
   ============================================ */
.premium-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .premium-hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 80px;
    }
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(10, 10, 10, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
}

.hero-content-inner {
    max-width: 800px;
}

.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.4);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    color: var(--premium-gold);
    font-size: 0.9rem;
}

.badge-text {
    color: var(--premium-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title-premium {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--premium-white);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle-premium {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary-premium {
    background: var(--premium-gold);
    color: var(--premium-black);
}

.btn-primary-premium:hover {
    background: var(--premium-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-premium {
    background: transparent;
    color: var(--premium-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-premium:hover {
    background: var(--premium-white);
    color: var(--premium-black);
    border-color: var(--premium-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item-premium {
    display: flex;
    flex-direction: column;
}

.stat-item-premium .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--premium-gold);
    font-weight: 400;
}

.stat-item-premium .stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--premium-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    padding: 120px 20px;
    background: var(--premium-white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--premium-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.section-label.light {
    color: var(--premium-gold-light);
}

.intro-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--premium-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.text-highlight {
    color: var(--premium-gold);
    font-style: italic;
}

.intro-lead {
    font-size: 1.15rem;
    color: var(--premium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-text p {
    color: var(--premium-gray-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--premium-off-white);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.intro-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
}

.feature-icon-premium {
    width: 50px;
    height: 50px;
    background: var(--premium-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-premium svg {
    stroke: var(--premium-gold);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--premium-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--premium-gray-light);
    margin: 0;
}

.intro-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--premium-gold);
    border-radius: 12px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--premium-dark);
    color: var(--premium-white);
    padding: 25px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-heavy);
}

.exp-icon {
    font-size: 2rem;
    color: var(--premium-gold);
}

.exp-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.exp-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--premium-gold);
}

/* ============================================
   PROJECTS PREMIUM SECTION
   ============================================ */
.projects-premium-section {
    position: relative;
    padding: 120px 20px;
    background: var(--premium-off-white);
    overflow: hidden;
}

.projects-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 169, 98, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-premium.centered {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-premium h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--premium-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--premium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    border: 2px solid var(--premium-gray-light);
    color: var(--premium-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--premium-dark);
    border-color: var(--premium-dark);
    color: var(--premium-white);
}

/* Projects Grid Premium */
.projects-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card-premium {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--premium-white);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.project-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image-premium {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-premium:hover .project-image-premium img {
    transform: scale(1.1);
}

.project-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card-premium:hover .project-overlay-premium {
    opacity: 1;
}

.overlay-content {
    width: 100%;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-card-premium:hover .overlay-content {
    transform: translateY(0);
}

.project-specs-badge {
    display: inline-block;
    background: var(--premium-gold);
    color: var(--premium-black);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.overlay-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--premium-white);
    margin-bottom: 10px;
}

.project-features {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.btn-view-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--premium-white);
    color: var(--premium-dark);
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-view-project:hover {
    background: var(--premium-gold);
}

.btn-contact-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #25D366;
    color: var(--premium-white);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-contact-project:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.project-info-premium {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info-premium h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--premium-dark);
    margin: 0;
}

.project-area {
    font-size: 0.85rem;
    color: var(--premium-gold);
    font-weight: 600;
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.projects-cta p {
    font-size: 1.1rem;
    color: var(--premium-gray);
    margin-bottom: 25px;
}

/* ============================================
   PROJECT MODAL
   ============================================ */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--premium-white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-modal.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--premium-dark);
    color: var(--premium-white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--premium-gold);
    color: var(--premium-dark);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    height: 100%;
    max-height: 90vh;
    overflow: hidden;
}

.modal-image-container {
    display: flex;
    flex-direction: column;
    background: var(--premium-dark);
    max-height: 90vh;
    overflow: hidden;
}

.modal-image {
    position: relative;
    background: var(--premium-dark);
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.modal-zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.zoom-btn:hover {
    background: var(--premium-gold);
}

.modal-gallery-prev,
.modal-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-dark);
}

.modal-gallery-prev {
    left: 20px;
}

.modal-gallery-next {
    right: 20px;
}

.modal-gallery-prev:hover,
.modal-gallery-next:hover {
    background: var(--premium-gold);
    transform: translateY(-50%) scale(1.1);
}

.modal-gallery-thumbs {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 8px;
    border-radius: 8px;
    z-index: 4;
    max-width: 250px;
    flex-wrap: wrap;
    scrollbar-width: none;
}

.modal-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex: 0 0 70px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--premium-gold);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--premium-dark);
    margin-bottom: 20px;
}

.modal-specs {
    display: inline-block;
    background: var(--premium-gold);
    color: var(--premium-black);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 25px;
    align-self: flex-start;
}

.modal-features {
    color: var(--premium-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-actions {
    margin-top: auto;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 120px 0 80px;
    background: var(--premium-white);
}

.gallery-fullwidth {
    margin-top: 50px;
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    padding: 0 20px 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.gallery-scroll:active {
    cursor: grabbing;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item-premium {
    flex: 0 0 auto;
    width: 400px;
    height: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
}

.gallery-item-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item-premium:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item-premium:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: var(--premium-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item-premium:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-zoom svg {
    stroke: var(--premium-dark);
}

.gallery-item-title {
    color: var(--premium-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   GALLERY LIGHTBOX
   ============================================ */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--premium-white);
    border: 2px solid var(--premium-white);
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--premium-gold);
    border-color: var(--premium-gold);
    color: var(--premium-dark);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--premium-white);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--premium-gold);
    color: var(--premium-dark);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: transform 0.3s ease;
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--premium-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us-section {
    padding: 120px 20px;
    background: var(--premium-dark);
}

.why-us-section .section-header-premium h2 {
    color: var(--premium-white);
}

.why-us-section .section-label {
    color: var(--premium-gold);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--premium-gold);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-us-icon svg {
    stroke: var(--premium-gold);
}

.why-us-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--premium-white);
    margin-bottom: 15px;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 120px 20px;
    background: var(--premium-off-white);
}

.process-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--premium-gold), transparent);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--premium-gold);
    color: var(--premium-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 60px);
    background: var(--premium-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--premium-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--premium-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION PREMIUM
   ============================================ */
.contact-section-premium {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;
}

.contact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Resources/piso_madera.jpeg') center/cover no-repeat;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.contact-wrapper-premium {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--premium-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--premium-gold);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method.whatsapp .method-icon {
    background: rgba(37, 211, 102, 0.2);
}

.contact-method.whatsapp .method-icon svg {
    fill: #25D366;
}

.contact-method.instagram .method-icon svg {
    stroke: #E1306C;
}

.method-text {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.method-value {
    font-size: 1.1rem;
    color: var(--premium-white);
    font-weight: 600;
}

.contact-form-premium {
    background: var(--premium-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.contact-form-premium h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--premium-dark);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-premium {
    margin-bottom: 20px;
}

.form-group-premium input,
.form-group-premium select,
.form-group-premium textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--premium-off-white);
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--premium-dark);
    transition: var(--transition-smooth);
}

.form-group-premium input:focus,
.form-group-premium select:focus,
.form-group-premium textarea:focus {
    outline: none;
    border-color: var(--premium-gold);
    background: var(--premium-white);
}

.form-group-premium textarea {
    resize: vertical;
    min-height: 120px;
}

#form-response {
    margin-top: 20px;
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .intro-content,
    .contact-wrapper-premium {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 50vh;
    }
    
    .modal-info {
        padding: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .projects-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-premium {
        width: 300px;
        height: 225px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 100vh;
    }
    
    .modal-image-container {
        max-height: 60vh;
    }
    
    .modal-gallery-thumbs {
        top: 10px;
        right: 10px;
        max-width: 150px;
        padding: 8px;
    }
    
    .gallery-thumb {
        flex: 0 0 50px;
        height: 35px;
    }
    
    .modal-info {
        padding: 30px;
        max-height: none;
    }
    
    .modal-gallery-prev,
    .modal-gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .modal-gallery-prev {
        left: 10px;
    }
    
    .modal-gallery-next {
        right: 10px;
    }
    
    .modal-gallery-thumbs {
        max-width: 180px;
    }
    
    .gallery-thumb {
        flex: 0 0 50px;
        height: 35px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-premium {
        padding: 30px;
    }
    
    .experience-badge {
        display: none;
    }
    
    .image-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .premium-hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content-inner {
        display: flex;
        flex-direction: column;
    }
    
    .hero-badge-premium {
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    .badge-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero-title-premium {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-subtitle-premium {
        font-size: clamp(0.875rem, 4vw, 1rem);
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-cta-group {
        margin-bottom: 30px;
        gap: 15px;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        gap: 20px;
        padding-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item-premium {
        flex: 0 1 auto;
        min-width: 80px;
    }
    
    .stat-item-premium .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-item-premium .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-divider {
        display: none; /* Ocultar divisores en móviles pequeños */
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
        display: none; /* Ocultar en pantallas muy pequeñas para ahorrar espacio */
    }
    
    .scroll-text {
        font-size: 0.65rem;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .gallery-item-premium {
        width: 280px;
        height: 210px;
    }
    
    .gallery-scroll {
        gap: 15px;
        padding: 0 15px 30px;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (< 375px)
   ============================================ */
@media (max-width: 374px) {
    .premium-hero {
        padding: 70px 0 50px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-badge-premium {
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .badge-text {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }
    
    .hero-title-premium {
        font-size: clamp(1.5rem, 10vw, 2rem);
        margin-bottom: 12px;
    }
    
    .hero-subtitle-premium {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-group {
        margin-bottom: 25px;
        gap: 12px;
    }
    
    .btn-premium {
        padding: 12px 20px;
        font-size: 0.75rem;
    }
    
    .hero-stats {
        gap: 15px;
        padding-top: 15px;
    }
    
    .stat-item-premium {
        min-width: 70px;
    }
    
    .stat-item-premium .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-item-premium .stat-label {
        font-size: 0.65rem;
    }
}

/* ============================================
   AOS CUSTOM ANIMATIONS
   ============================================ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}
