/* URSA Landing Page Stylesheet - RUUF Clean Light Theme Style */

/* Design Tokens & Theme Variables */
:root {
    --bg-light: #ffffff;
    --bg-slate: #f8fafc;
    --bg-light-gray: #f8fafc;
    
    --color-primary: #003b73;
    --color-primary-light: #004d96;
    --color-accent: #f2a900;
    --color-accent-light: #ffbe25;
    --color-accent-blue: #3b82f6; /* Beautiful soft blue for high-contrast highlights */
    
    --text-dark: #000000;
    --text-slate: #0f172a;
    --text-muted: #4a5568;
    --text-light-muted: #718096;
    
    --border-color: #e2e8f0;
    --border-color-light: #e8edf5;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px -5px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.08);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-slate);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section-light-gray {
    background-color: var(--bg-light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-badge {
    display: inline-block;
    background-color: rgba(0, 59, 115, 0.08);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

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

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

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

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-title { font-size: 1.9rem; }
    .section { padding: 70px 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 59, 115, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 59, 115, 0.05);
    transform: translateY(-2px);
}

.btn-pill {
    border-radius: var(--radius-full);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

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

.text-white {
    color: #ffffff !important;
}

/* Cards (Estilo RUUF: blanco, bordes delgados, redondeado de 24px) */
.card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

/* Header & Navbar Styles (Estilo RUUF: Cápsula Flotante) */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 960px;
    height: 70px;
    z-index: 100;
    background-color: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 44px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-navbar {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.nav-btn-mobile {
    display: none;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Navbar Responsive Mobile State */
@media (max-width: 900px) {
    .navbar {
        top: 10px;
        width: 95%;
        border-radius: var(--radius-md);
        height: 60px;
    }

    .brand-logo {
        max-height: 38px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px 40px;
        gap: 25px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.08);
        z-index: 105;
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .btn-navbar {
        display: none;
    }
    
    .nav-btn-mobile {
        display: inline-flex !important;
        margin-top: 15px;
        width: 100%;
        background-color: var(--color-primary);
        color: white;
        padding: 12px;
        border-radius: var(--radius-md);
        text-align: center;
        justify-content: center;
        font-weight: 600;
    }
}

/* Hero Section Styles (Full image banner slide with centered content overlay) */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0f19;
}

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

/* Puntos de navegación del slider (Circulitos) */
.hero-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-dot.active {
    background-color: var(--color-accent);
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 9s ease;
    transform: scale(1.04);
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 25px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 620px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero-cta-btn {
    padding: 16px 44px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 59, 115, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 65vh;
        min-height: 480px;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-text {
        font-size: 1.1rem;
    }
}

/* Franja de Métricas / Stats Strip (Estilo RUUF Flotante) */
.stats-strip {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding: 0;
    background-color: transparent;
    border-bottom: none;
}

.stats-container {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 30px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: var(--transition);
}

.stats-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 59, 115, 0.15);
    border-color: rgba(0, 59, 115, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(0, 59, 115, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 59, 115, 0.05);
}

.stat-item:hover .stat-icon-wrapper {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: -0.2px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .stats-strip {
        margin-top: -30px;
        padding: 0 10px;
    }
    .stats-container {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        padding: 30px;
        border-radius: var(--radius-md);
    }
    .stat-item {
        justify-content: flex-start;
    }
    .stat-divider {
        display: none;
    }
}

/* "Así de fácil es cotizar" Section */
.easy-quote-content {
    padding-right: 30px;
}

.easy-quote-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.easy-quote-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Interactive Wizard Card (Estilo RUUF Rediseñado) */
.wizard-card {
    background-color: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px -10px rgba(0, 59, 115, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 45px;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.wizard-step {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wizard-step.active {
    opacity: 1;
    transform: translateY(0);
}

.wizard-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wizard-option-btn {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-left: 4px solid transparent;
    border-radius: var(--radius-md);
    background-color: white;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-slate);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.wizard-option-btn i {
    font-size: 1.2rem;
    color: var(--color-primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 59, 115, 0.04);
    border-radius: 8px;
    transition: var(--transition);
}

.wizard-option-btn:hover {
    border-color: var(--border-color);
    border-left-color: var(--color-primary);
    background-color: rgba(0, 59, 115, 0.02);
    transform: translateX(4px);
}

.wizard-option-btn:hover i {
    background-color: var(--color-primary);
    color: white;
}

.wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 15px;
    transition: var(--transition);
}

.wizard-back:hover {
    color: var(--color-primary);
}

/* Wizard step 3 sliders & inputs */
.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.value-highlight {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    background-color: rgba(0, 59, 115, 0.05);
    padding: 4px 14px;
    border-radius: var(--radius-sm);
}

.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: #e2e8f0;
    outline: none;
    margin: 15px 0 5px 0;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 2px 6px rgba(0, 59, 115, 0.3);
    transition: var(--transition);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--color-accent-light);
    box-shadow: 0 4px 10px rgba(0, 59, 115, 0.4);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light-muted);
    font-weight: 500;
}

.custom-select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background-color: white;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.custom-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.08);
}

/* Wizard Step 4 results grid */
.wizard-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.result-icon {
    font-size: 0.95rem;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.savings-color { background-color: rgba(59, 130, 246, 0.08); color: var(--color-accent-blue); }
.panels-color { background-color: rgba(242, 169, 0, 0.08); color: var(--color-accent); }
.investment-color { background-color: rgba(0, 59, 115, 0.06); color: var(--color-primary); }
.payback-color { background-color: rgba(16, 185, 129, 0.08); color: #10b981; }

.wizard-result-box {
    background-color: var(--bg-slate);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: var(--transition);
}

.wizard-result-box:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 59, 115, 0.1);
    box-shadow: var(--shadow-sm);
}

.wizard-result-lbl {
    font-size: 0.72rem;
    color: var(--text-light-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-result-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.wizard-eco-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.eco-icon {
    color: #10b981;
    font-size: 1.15rem;
}

.info-icon {
    color: var(--color-accent);
}

.info-note {
    display: flex;
    gap: 10px;
    background-color: var(--bg-slate);
    border-left: 4px solid var(--color-accent);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Installations Collage Section (Estilo RUUF Polaroid Heap) */
.collage-section {
    background-color: var(--bg-light);
    padding: 100px 0 140px 0;
    text-align: center;
    border-top: 1px solid var(--border-color-light);
    overflow: hidden;
}

.collage-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 70px;
}

.collage-title strong {
    font-weight: 850;
    color: var(--color-primary);
}

.collage-wrapper {
    position: relative;
    max-width: 1200px;
    height: 550px;
    margin: 0 auto;
}

.collage-card {
    position: absolute;
    background: white;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.collage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.collage-card:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 50 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Polaroid-like rotations and overlaps - Spaced out horizontally */
.card-1 { width: 280px; height: 200px; left: 1%; top: 6%; transform: rotate(-6deg); z-index: 10; }
.card-2 { width: 290px; height: 210px; left: 26%; top: -4%; transform: rotate(3deg); z-index: 12; }
.card-3 { width: 280px; height: 200px; left: 51%; top: -3%; transform: rotate(-4deg); z-index: 11; }
.card-4 { width: 280px; height: 200px; left: 75%; top: 8%; transform: rotate(5deg); z-index: 13; }
.card-5 { width: 270px; height: 190px; left: 0%; bottom: 6%; transform: rotate(4deg); z-index: 14; }
.card-6 { width: 290px; height: 210px; left: 24%; bottom: -4%; transform: rotate(-5deg); z-index: 15; }
.card-7 { width: 270px; height: 190px; left: 49%; bottom: 8%; transform: rotate(6deg); z-index: 16; }
.card-8 { width: 280px; height: 200px; left: 74%; bottom: -3%; transform: rotate(-3deg); z-index: 17; }

@media (max-width: 900px) {
    .collage-wrapper {
        height: 380px;
        max-width: 100%;
    }
    .card-1 { width: 190px; height: 135px; }
    .card-2 { width: 200px; height: 145px; }
    .card-3 { width: 190px; height: 135px; }
    .card-4 { width: 190px; height: 135px; }
    .card-5 { width: 180px; height: 125px; }
    .card-6 { width: 200px; height: 145px; }
    .card-7 { width: 180px; height: 125px; }
    .card-8 { width: 190px; height: 135px; }
}

@media (max-width: 600px) {
    .collage-section { display: none; } /* Hide collage on mobile to avoid overlap mess */
}

/* Benefits Section (Estilo RUUF Rediseñado) */
.benefit-card {
    text-align: left;
    border: 1px solid var(--border-color-light);
    border-left: 4px solid transparent;
    padding: 35px 30px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 59, 115, 0.12);
    border-color: var(--border-color-light);
    border-left-color: var(--color-primary);
}

.benefit-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(0, 59, 115, 0.05);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon-wrapper {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 750;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Grid (Cómo Funciona - Estilo Premium Conectado) */
.process-grid {
    margin-top: 50px;
    position: relative;
}

@media (min-width: 993px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 10%;
        right: 10%;
        height: 2px;
        background-image: linear-gradient(to right, var(--border-color) 60%, rgba(255,255,255,0) 0%);
        background-position: bottom;
        background-size: 12px 2px;
        background-repeat: repeat-x;
        z-index: 1;
        transform: translateY(-50px);
        pointer-events: none;
    }
}

.process-card {
    border: 1px solid var(--border-color-light);
    position: relative;
    padding: 35px 30px;
    background-color: white;
    z-index: 2;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 59, 115, 0.1);
    box-shadow: 0 20px 40px -15px rgba(0, 59, 115, 0.12);
}

.process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 59, 115, 0.05);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 59, 115, 0.05);
    transition: var(--transition);
}

.process-card:hover .process-step-num {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.1);
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Accordion FAQs (Estilo Premium RUUF) */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border-color-light);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 59, 115, 0.12);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: transparent;
}

.faq-answer p {
    padding: 0 28px 24px 28px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    border-top: none;
}

.faq-item.active {
    border-color: var(--border-color-light);
    border-left-color: var(--color-primary);
    background-color: rgba(0, 59, 115, 0.02);
    box-shadow: 0 10px 25px -10px rgba(0, 59, 115, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
    padding-bottom: 12px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* Contact Section & Form */
.contact-info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 59, 115, 0.05);
    color: var(--color-primary);
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.contact-card {
    padding: 40px;
    border: 1px solid var(--border-color-light);
}

.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.contact-card input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.08);
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--bg-slate);
}

.file-upload-label:hover {
    border-color: var(--color-primary);
    background-color: rgba(0, 59, 115, 0.02);
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.file-upload-label span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.file-upload-info {
    font-size: 0.75rem;
    color: var(--text-light-muted);
    margin-top: 5px;
}

.success-message {
    text-align: center;
    padding: 40px 10px;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.success-message h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.success-message p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Whatsapp Floating button (Estilo RUUF) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Lightbox Modal para Galería de Proyectos (Estilo RUUF Glassmorphic) */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid white;
    object-fit: contain;
}

/* Navigation buttons */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2100;
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: scale(1.15);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 18px 24px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    z-index: 2050;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Caption and location descriptive text */
.lightbox-caption {
    margin-top: 20px;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    padding: 0 15px;
}

/* Responsive adjustment for Mobile view */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        padding: 12px 18px;
        font-size: 1.1rem;
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-close { right: 20px; top: 20px; }
    .lightbox-content { max-width: 95%; }
}

/* Footer Section */
.app-footer {
    background-color: var(--bg-slate);
    color: var(--text-muted);
    border-top: 1px solid var(--border-color-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding: 80px 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.footer-socials a:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

.footer-links a {
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color-light);
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 600;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.client-portal-link:hover {
    border-color: var(--color-primary);
    color: white;
    background-color: var(--color-primary);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
