/* ==========================================================================
   Modern Lux One - Stylesheet
   Design Language: Premium, Architectural, High-Contrast Loro/Carbon
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --color-bg-dark: #1A1A1A;
    --color-bg-darker: #121212;
    --color-bg-light: #FFFFFF;
    --color-bg-concrete: #F4F4F4;
    --color-gold: #C5A059;
    --color-gold-hover: #DFBC7A;
    --color-grey-dark: #333333;
    --color-grey-text: #8C8C8C;
    --color-grey-light: #E0E0E0;
    
    --color-danger: #D32F2F;
    --color-warning: #EF6C00;
    --color-info: #1976D2;
    --color-success: #2E7D32;

    --font-heading: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', 'Segoe UI', Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-drawer: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-grey-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-bg-dark);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    color: var(--color-gold);
}

.highlight-gold {
    color: var(--color-gold);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-light);
}

.bg-light {
    background-color: var(--color-bg-concrete);
}

.gold {
    color: var(--color-gold) !important;
}

.grey {
    color: var(--color-grey-text) !important;
}

.section-pre-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-title.white {
    color: var(--color-bg-light);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-grey-dark);
    margin-bottom: 40px;
    font-weight: 300;
}

.section-desc.grey {
    color: var(--color-grey-text);
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2-cols {
    grid-template-columns: 1fr 1fr;
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}

.align-center {
    align-items: center;
}

.gap-medium {
    gap: 30px;
}

.gap-large {
    gap: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-bg-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 0.95rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Button Glow Animation */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}


/* ==========================================================================
   2. Header & Top Bar Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 99;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(18, 18, 18, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Sidebar Menu Open Button */
.open-sidebar {
    background: transparent;
    border: none;
    color: var(--color-bg-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.open-sidebar:hover {
    color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.05);
}

.open-sidebar svg {
    width: 28px;
    height: 28px;
}

/* Brand Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 45px;
    height: 36px;
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
    transform: scale(1.05);
}

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

.brand-lux {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    color: var(--color-bg-light);
    line-height: 1;
}

.brand-one {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--color-gold);
    line-height: 1.4;
}

/* Header Actions Area */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-bg-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    color: var(--color-gold);
    animation: phonePulse 2s infinite ease-in-out;
}

.phone-cta:hover {
    color: var(--color-gold);
}

@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.phone-icon svg {
    width: 16px;
    height: 16px;
}

.btn-header-cta {
    padding: 10px 20px;
    font-size: 0.75rem;
}


/* ==========================================================================
   3. Sidebar Navigation Menu Drawer
   ========================================================================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background-color: var(--color-bg-darker);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: var(--transition-drawer);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    display: flex;
    flex-direction: column;
}

.logo-text-lux {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    color: var(--color-bg-light);
}

.logo-text-one {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--color-gold);
}

.close-sidebar {
    background: transparent;
    border: none;
    color: var(--color-grey-text);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-sidebar:hover {
    color: var(--color-bg-light);
    transform: rotate(90deg);
}

.close-sidebar svg {
    width: 24px;
    height: 24px;
}

/* Sidebar Nav List */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 30px 24px;
}

.nav-list > li {
    margin-bottom: 12px;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-grey-text);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-bg-light);
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 70%;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateY(-50%) scaleY(1);
}

/* Dropdown Accordion in Sidebar */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-grey-text);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.dropdown-toggle:hover {
    color: var(--color-bg-light);
    background-color: rgba(255, 255, 255, 0.03);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.has-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.has-dropdown.open .dropdown-toggle {
    color: var(--color-bg-light);
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    border-radius: 4px;
    padding-left: 12px;
}

.has-dropdown.open .dropdown-menu {
    max-height: 250px;
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-grey-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-link:hover {
    color: var(--color-gold);
    padding-left: 20px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.15);
}

.footer-phone-box {
    margin-bottom: 12px;
}

.phone-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-grey-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-phone {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-gold);
}

.footer-phone:hover {
    color: var(--color-gold-hover);
}

.license-info {
    font-size: 0.7rem;
    color: var(--color-grey-text);
    letter-spacing: 0.5px;
}


/* ==========================================================================
   4. Section: Inicio (Hero)
   ========================================================================== */
.section-hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--color-bg-light);
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Slide Placeholders / Fallback gradients */
#hero-slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero_background.jpg');
    background-color: #222;
}

#hero-slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero_remodel.jpg');
    background-color: #333;
}

#hero-slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero_mitigation.jpg');
    background-color: #444;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 18, 18, 0.7) 0%,
        rgba(18, 18, 18, 0.5) 60%,
        rgba(18, 18, 18, 0.95) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: var(--container-width);
    padding-top: 100px;
    padding-bottom: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.badge-line {
    width: 25px;
    height: 2px;
    background-color: var(--color-gold);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-bg-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 650px;
    margin-bottom: 40px;
    color: var(--color-grey-light);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Hero Feature Strip */
.hero-features-strip {
    display: flex;
    justify-content: space-between;
    background-color: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 20px 30px;
    backdrop-filter: blur(5px);
    width: 100%;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.strip-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 20px;
    padding-right: 20px;
}

.strip-icon {
    display: flex;
    align-items: center;
    color: var(--color-gold);
}

.strip-icon svg {
    width: 24px;
    height: 24px;
}

.strip-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-bg-light);
}


/* ==========================================================================
   5. Section: Nosotros (About)
   ========================================================================== */
.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-container::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    border: 3px solid var(--color-gold);
    z-index: 1;
    border-radius: 4px;
}

.about-main-img {
    position: relative;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background-color: #e0e0e0;
    min-height: 380px;
    object-fit: cover;
    width: 100%;
}

.about-badge-lux {
    position: absolute;
    left: -20px;
    bottom: 40px;
    background-color: var(--color-bg-dark);
    border-left: 4px solid var(--color-gold);
    padding: 20px 25px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 4px 4px 0;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--color-gold);
    line-height: 1;
    letter-spacing: 2px;
}

.badge-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-bg-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.concept-one-box {
    background-color: var(--color-bg-concrete);
    border-left: 3px solid var(--color-gold);
    padding: 24px;
    border-radius: 0 4px 4px 0;
    margin-top: 30px;
}

.concept-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.concept-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.concept-list li:last-child {
    margin-bottom: 0;
}

.concept-icon {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3;
}


/* ==========================================================================
   6. Section: Servicios (Services)
   ========================================================================== */
.services-grid {
    margin-top: 50px;
}

.service-card {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: #262626;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-gold);
}

.service-card:hover .service-icon-box svg path {
    stroke: var(--color-bg-dark);
}

.service-icon-box svg {
    width: 32px;
    height: 32px;
}

.service-card-title {
    color: var(--color-bg-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-text {
    color: var(--color-grey-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-sub-list {
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.service-sub-list li {
    font-size: 0.8rem;
    color: var(--color-grey-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.service-sub-list li::before {
    content: '▪';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: -1px;
}

.service-card-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card:hover .service-card-link {
    color: var(--color-bg-light);
}


/* ==========================================================================
   7. Section: Claims (Reclamos de Seguro)
   ========================================================================== */
.section-claims {
    background-color: var(--color-bg-light);
}

.claims-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    color: var(--color-gold);
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.claims-disclaimer-box {
    background-color: var(--color-bg-concrete);
    border: 1px solid var(--color-grey-light);
    border-top: 4px solid var(--color-gold);
    border-radius: 4px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.disclaimer-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.disclaimer-header h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disclaimer-body {
    font-size: 0.9rem;
    color: #444;
}

.disclaimer-body p {
    margin-bottom: 15px;
}

.disclaimer-body p:last-child {
    margin-bottom: 0;
}

.disclaimer-alert-text {
    font-size: 0.8rem;
    border-left: 2px solid var(--color-gold);
    padding-left: 12px;
    color: var(--color-grey-dark);
}


/* ==========================================================================
   8. Section: Recorrido del Cliente (Timeline)
   ========================================================================== */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-grey-light);
    transform: translateX(-50%);
    z-index: 1;
}

.process-timeline {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.timeline-step {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-light);
    border: 3px solid var(--color-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-grey-text);
    z-index: 3;
    transition: var(--transition-smooth);
}

.step-content {
    width: 42%;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-grey-light);
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    position: relative;
}

/* Alternate content alignment */
.timeline-step:nth-child(even) {
    justify-content: flex-start;
}

.timeline-step:nth-child(odd) {
    justify-content: flex-end;
}

.timeline-step:nth-child(even) .step-content {
    margin-left: 8%;
}

.timeline-step:nth-child(odd) .step-content {
    margin-right: 8%;
}

/* Tooltip indicators */
.step-content::before {
    content: '';
    position: absolute;
    top: 12px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-step:nth-child(even) .step-content::before {
    left: -10px;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--color-grey-light) transparent transparent;
}

.timeline-step:nth-child(odd) .step-content::before {
    right: -10px;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--color-grey-light);
}

.step-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.status-danger {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--color-danger);
}

.status-warning {
    background-color: rgba(239, 108, 0, 0.1);
    color: var(--color-warning);
}

.status-info {
    background-color: rgba(25, 118, 172, 0.1);
    color: var(--color-info);
}

.status-success {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--color-success);
}

.status-premium {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-grey-text);
}

/* Timeline color change animations */
.timeline-step.completed .step-marker {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.timeline-step.completed .step-content {
    border-left: 3px solid var(--color-gold);
}


/* ==========================================================================
   9. Section: Proyectos (Antes / Después Slider)
   ========================================================================== */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--color-bg-concrete);
    border: 1px solid var(--color-grey-light);
    color: var(--color-grey-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.tab-btn.active {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-light);
    border-color: var(--color-bg-dark);
}

.comparison-wrapper {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background-color: #222;
}

.comparison-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.comparison-container.active {
    display: block;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.image-before img, .image-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 900px; /* Force width matching parent boundary */
    height: 500px;
    object-fit: cover;
    pointer-events: none;
}

/* Image After is stacked on top and will have its width adjusted dynamically */
.image-after {
    width: 50%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Badges for Before/After */
.label-badge {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.label-before {
    right: 20px;
    background-color: rgba(211, 47, 47, 0.85);
    color: var(--color-bg-light);
}

.label-after {
    left: 20px;
    background-color: rgba(197, 160, 89, 0.9);
    color: var(--color-bg-dark);
}

/* Slider Handle Bar */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--color-gold);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.handle-line {
    flex: 1;
    width: 2px;
    background-color: var(--color-gold);
}

.handle-button {
    width: 44px;
    height: 44px;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-bg-dark);
    transition: transform 0.2s ease;
}

.slider-handle:hover .handle-button {
    transform: scale(1.1);
    background-color: var(--color-gold-hover);
}

.handle-button svg {
    width: 20px;
    height: 20px;
    transform: rotate(90deg); /* Left/Right Arrows indicator */
}

.project-tagline {
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--color-grey-text);
}


/* ==========================================================================
   10. Section: Contacto & Leads Form (Contact & Leads)
   ========================================================================== */
.section-contact {
    position: relative;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 20px 15px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-grey-text);
    line-height: 1.3;
}

.contact-details {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.detail-item h4 {
    color: var(--color-bg-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gold-link {
    color: var(--color-gold);
    font-weight: 600;
}

.gold-link:hover {
    color: var(--color-gold-hover);
    text-decoration: underline;
}

.grey-text {
    color: var(--color-grey-text);
    font-size: 0.85rem;
}

/* Contact Form Card Design */
.contact-form-card {
    background-color: var(--color-bg-light);
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--color-grey-dark);
}

.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
}

.form-success-state.active {
    display: flex;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--color-grey-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-bg-dark);
    margin-bottom: 8px;
}

.required {
    color: var(--color-danger);
}

.form-control {
    width: 100%;
    background-color: var(--color-bg-concrete);
    border: 1px solid var(--color-grey-light);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: var(--color-bg-light);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-row {
    display: flex;
    gap: 15px;
}

.col-6 {
    flex: 0 0 calc(50% - 7.5px);
}

/* Custom Styled Radios */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-grey-light);
    border-radius: 50%;
    outline: none;
    background-color: var(--color-bg-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.radio-label input[type="radio"]:checked {
    border-color: var(--color-gold);
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: block;
}

.radio-label:hover input[type="radio"] {
    border-color: var(--color-gold-hover);
}

/* Textarea specific */
textarea.form-control {
    resize: vertical;
}

/* Error Messages */
.error-msg {
    display: none;
    color: var(--color-danger);
    font-size: 0.75rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-group.has-error .form-control {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group.has-error .error-msg {
    display: block;
}

.btn-submit {
    margin-top: 15px;
    position: relative;
}

.form-privacy-note {
    font-size: 0.7rem;
    color: var(--color-grey-text);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Submit Spinner Loading */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-bg-dark);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-submit.loading .btn-text {
    opacity: 0.7;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

/* Form Success State Card Detail */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(197, 160, 89, 0.08);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.success-icon-wrapper svg {
    width: 44px;
    height: 44px;
}

.success-main-text {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.success-sub-text {
    font-size: 0.95rem;
    color: var(--color-grey-dark);
    margin-bottom: 30px;
    line-height: 1.5;
}

.success-summary {
    background-color: var(--color-bg-concrete);
    border-left: 3px solid var(--color-gold);
    padding: 20px;
    border-radius: 0 4px 4px 0;
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}

.success-summary h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.summary-details {
    font-size: 0.85rem;
}

.summary-details li {
    margin-bottom: 6px;
}

.summary-details li:last-child {
    margin-bottom: 0;
}

.priority-badge {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   11. Footer Styling
   ========================================================================== */
.footer {
    background-color: var(--color-bg-darker);
    color: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-brand-desc {
    color: var(--color-grey-text);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.footer-licenses {
    font-size: 0.8rem;
    color: var(--color-grey-light);
    border-left: 2px solid var(--color-gold);
    padding-left: 12px;
}

.footer-licenses p {
    margin-bottom: 4px;
}

.footer-grid h4 {
    color: var(--color-bg-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-grey-text);
    font-size: 0.85rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.footer-address, .footer-hours {
    color: var(--color-grey-text);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-address strong, .footer-hours strong {
    color: var(--color-bg-light);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-grey-text);
}

.copyright {
    max-width: 60%;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a:hover {
    color: var(--color-gold);
}


/* ==========================================================================
   12. Responsive Design (Media Queries)
   ========================================================================== */

/* Laptop & Large Tablet */
@media (max-width: 1024px) {
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .copyright {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Tablet (Portrait) */
@media (max-width: 768px) {
    .grid-2-cols, .grid-3-cols {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Header layout changes */
    .btn-header-cta {
        display: none; /* Hide on mobile/tablet to save space */
    }
    
    /* Hero changes */
    .section-hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-features-strip {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .strip-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-right: 0;
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    /* About styling */
    .about-image-container {
        padding-right: 0;
        padding-bottom: 20px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .about-image-container::before {
        display: none;
    }
    
    /* Before After Image height */
    .comparison-wrapper {
        height: 380px;
    }
    
    .image-before img, .image-after img {
        height: 380px;
    }
    
    /* Timeline Mobile Vertical layout */
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .step-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-step {
        justify-content: flex-start !important;
        margin-bottom: 35px;
    }
    
    .step-content {
        width: calc(100% - 40px) !important;
        margin-left: 40px !important;
        margin-right: 0 !important;
    }
    
    .timeline-step:nth-child(even) .step-content::before,
    .timeline-step:nth-child(odd) .step-content::before {
        left: -10px;
        right: auto;
        border-width: 8px 10px 8px 0;
        border-color: transparent var(--color-grey-light) transparent transparent;
    }
    
    /* Stats & Form alignment */
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .col-6 {
        flex: 0 0 100%;
    }
}

/* Small Mobile Screen */
@media (max-width: 480px) {
    .brand-lux {
        font-size: 1rem;
    }
    
    .brand-one {
        font-size: 0.75rem;
    }
    
    .logo-svg {
        width: 35px;
        height: 28px;
    }
    
    .phone-number {
        display: none; /* Only show phone icon on extremely small screens */
    }
    
    .sidebar {
        width: 280px;
    }
    
    .comparison-wrapper {
        height: 260px;
    }
    
    .image-before img, .image-after img {
        height: 260px;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
