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

:root {
    --primary-blue: #00d2ff;
    --primary-blue-glow: rgba(0, 210, 255, 0.6);
    --bg-glow-color: rgba(0, 210, 255, 0.15);
    --primary-gray: #7a7a7a;
}

[data-theme="green"] {
    --primary-blue: #98fb98;
    --primary-blue-glow: rgba(152, 251, 152, 0.6);
    --bg-glow-color: rgba(152, 251, 152, 0.15);
    --dark-gray: #1a1a1a;
    --darker-gray: #121212;
    --white: #ffffff;
    --black: #050505;
    --gray: #a3a3a3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    font-size: 17px;
    line-height: 1.7;
    /* más espacio entre secciones por defecto */
    --section-gap: 60px;
}

/* Aplicar separación consistente entre secciones para evitar que todo quede pegado */
section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    background: var(--black);
    padding: 100px 20px 60px;
    overflow: hidden;
    animation: heroEntrance 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, var(--bg-glow-color) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, var(--bg-glow-color) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    animation: heroGlowAnim 15s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes heroEntrance {
    0% { opacity: 0; filter: brightness(0); transform: scale(1.05); }
    100% { opacity: 1; filter: brightness(1); transform: scale(1); }
}

@keyframes heroGlowAnim {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Header & Navigation Styles */
.floating-header {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.hamburger {
    background: rgba(5, 5, 5, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1501;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 10px var(--primary-blue-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 15px var(--primary-blue-glow);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 14px var(--primary-blue-glow);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    box-shadow: 0 0 12px var(--primary-blue-glow);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-close svg {
    width: 20px;
    height: 20px;
}

.nav-close:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
    box-shadow: 0 0 18px var(--primary-blue-glow);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.fullscreen-nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.nav-overlay.active .fullscreen-nav {
    transform: translateY(0);
}

.fullscreen-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fullscreen-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-shadow: 0 0 10px var(--bg-glow-color);
}

.fullscreen-nav a:hover {
    color: var(--white);
    text-shadow: 0 0 15px var(--primary-blue-glow);
    transform: scale(1.05);
}

.theme-switcher h3 {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.theme-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.theme-btn {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    border-radius: 50%;
}

.theme-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--white);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.15) translateY(-2px);
}

.theme-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.theme-blue { background: #00d2ff; box-shadow: 0 0 15px rgba(0, 210, 255, 0.5); }
.theme-green { background: #98fb98; box-shadow: 0 0 15px rgba(152, 251, 152, 0.5); }

/* Theme Transition Splash Effect */
.theme-splash {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.64, 0, 0.78, 0);
}
.theme-splash.expand {
    transform: translate(-50%, -50%) scale(400);
}
.theme-splash.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Floating theme switcher in top corner */
.floating-theme-switcher {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1100;
    display: flex;
    gap: 6px;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    perspective: 1200px;
    margin-bottom: 24px;
}

.logo-3d-showcase {
    position: relative;
    width: 240px;
    height: 240px;
    transform-style: preserve-3d;
    animation: float3D 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
}

.logo-ring.ring-1 {
    inset: 0;
    border-top: 3px solid var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    animation: spinRing 10s linear infinite;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2) inset;
}

.logo-ring.ring-2 {
    inset: -15px;
    border-left: 2px solid #ff8c00;
    border-right: 2px solid #ff8c00;
    animation: spinRing reverse 15s linear infinite;
    opacity: 0.7;
}

.logo-ring.ring-3 {
    inset: -30px;
    border-top: 1px dashed rgba(255,255,255,0.3);
    border-bottom: 1px dashed rgba(255,255,255,0.3);
    animation: spinRing 20s linear infinite;
}

.logo-inner-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(255,255,255,0.15);
    z-index: 10;
    transform: translateZ(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid rgba(0, 210, 255, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease, box-shadow 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05) translateZ(10px);
    border-color: var(--primary-blue);
    box-shadow: 0 0 25px var(--primary-blue-glow);
}

.logo-img:active {
    transform: scale(0.95);
    filter: brightness(1.5);
}

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

@keyframes float3D {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-10deg); }
    50% { transform: translateY(-15px) rotateX(-5deg) rotateY(10deg); }
}

.profile-info {
    text-align: center;
    padding: 24px 0;
}

.company-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 10px var(--primary-blue-glow);
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pro-slogan {
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px var(--primary-blue-glow);
}

/* Paint Roller Animation */
.hero-roller-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 48px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
}

.painted-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px var(--bg-glow-color);
    animation: wipeTrack 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.announcement-text {
    color: var(--black);
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    padding: 0 20px;
    opacity: 0;
    animation: fadeText 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.paint-roller {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    margin-left: -18px;
    transform: rotate(90deg);
    color: var(--white);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    animation: moveRoller 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
}

@keyframes wipeTrack {
    0% { width: 0%; opacity: 1; }
    25% { width: 100%; opacity: 1; }
    85% { width: 100%; opacity: 1; }
    95% { width: 100%; opacity: 0; }
    100% { width: 0%; opacity: 0; }
}

@keyframes moveRoller {
    0% { left: 0%; opacity: 1; }
    25% { left: 100%; opacity: 1; }
    85% { left: 100%; opacity: 1; }
    95% { left: 100%; opacity: 0; }
    100% { left: 0%; opacity: 0; }
}

@keyframes fadeText {
    0%, 20% { opacity: 0; }
    30%, 80% { opacity: 1; }
    90%, 100% { opacity: 0; }
}

.business-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 16px;
}

.detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue-glow) inset, 0 0 10px var(--primary-blue-glow);
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-blue-glow) inset, 0 0 20px var(--primary-blue-glow);
}

.btn-secondary {
    background: var(--dark-gray);
    color: var(--white);
    border: 2px solid #ff8c00;
}

.btn-secondary:hover {
    background: var(--primary-gray);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-large svg {
    width: 24px;
    height: 24px;
}

/* Projects Section */
.projects-section {
    background: var(--darker-gray);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid var(--dark-gray);
    border-bottom: 1px solid var(--dark-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 15px var(--primary-blue-glow);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

/* Nueva sección de secuencias antes / después */
.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.project-sequence {
    background: var(--dark-gray);
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.project-sequence h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.sequence-text {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
}

.sequence-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sequence-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.sequence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reutilizamos estilos de etiquetas Antes/Después ya existentes */

/* Desktop layout */
@media (min-width: 768px) {
    .projects-grid {
        gap: 40px;
    }

    .project-sequence {
        padding: 28px 24px;
    }

    .sequence-images {
        gap: 16px;
    }
}

/* Premium Referral Section */
.premium-referral-section {
    position: relative;
    padding: 100px 20px;
    background: #030712; /* Deep midnight blue/black for high contrast */
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.referral-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.orb-1 {
    top: -20%; 
    left: -10%;
    width: 600px; 
    height: 600px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.18), transparent 70%);
}

.orb-2 {
    bottom: -20%; 
    right: -10%;
    width: 700px; 
    height: 700px;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.12), transparent 70%);
}

.referral-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
}

.referral-header {
    text-align: center;
    margin-bottom: 50px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.3);
    color: #ffb347;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.referral-header h2 {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-gold {
    background: linear-gradient(135deg, #ffb347 0%, #ff9742 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0px 4px 25px rgba(255, 215, 0, 0.2);
}

.referral-header p {
    font-size: 18px;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.referral-card-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .referral-card-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
}

.referral-reward-box {
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .referral-reward-box {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }
}

.referral-reward-box h3 {
    font-size: 20px;
    color: #e4e4e7;
    margin-bottom: 16px;
    font-weight: 600;
}

.reward-amount {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 24px;
    font-weight: 800;
    color: #00E676; /* Vibrant Emerald */
    text-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
}

.reward-amount .currency { 
    font-size: 32px; 
    margin-top: 8px; 
}
.reward-amount .amount { 
    font-size: 64px; 
    line-height: 1; 
}
.reward-amount .to { 
    font-size: 32px; 
    margin: 0 8px; 
    margin-top: 16px; 
    color: #71717a; 
}

.referral-reward-box p {
    color: #a1a1aa;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.reward-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reward-features span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f4f4f5;
    font-size: 15px;
    font-weight: 500;
}

.reward-features svg {
    width: 20px; 
    height: 20px; 
    color: #00E676;
    flex-shrink: 0;
}

.referral-steps-path {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
}

.referral-steps-path::before {
    content: '';
    position: absolute;
    top: 70px;
    bottom: 70px;
    left: 63px; /* 40px padding + 24px half icon radius - 1px line half */
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,215,0,0.6), rgba(0,230,118,0.2));
    z-index: 0;
}

.path-step {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #09090b;
    border: 2px solid #ffb347;
    color: #ffb347;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.2);
}

.step-content h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-content p {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.6;
}

.referral-action {
    text-align: center;
    margin-top: 20px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    color: #ffffff;
    padding: 18px 48px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 200, 83, 0.6);
    background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
    color: white;
}

.premium-btn svg {
    width: 24px; 
    height: 24px;
}

.referral-action .disclaimer {
    margin-top: 20px;
    font-size: 14px;
    color: #71717a;
}

/* Trust Section */
.trust-section {
    padding: 80px 20px;
    background: var(--darker-gray);
    border-top: 1px solid var(--dark-gray);
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue-glow) inset, 0 0 15px var(--primary-blue-glow);
}

.trust-icon svg {
    width: 40px;
    height: 40px;
}

.trust-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.4;
}

.trust-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
}

/* Results Section */
.results-section {
    padding: 80px 20px;
    background: var(--black);
    text-align: center;
}

.results-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.results-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

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

.result-card-quad {
    padding: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

#resultsSlider {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.result-slide {
    min-width: 100%;
    scroll-snap-align: start;
}

.result-slide {
    min-width: 100%;
}

.results-quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; /* separación entre cuadros antes/después */
    align-items: stretch;
    width: 100%;
}

.results-quad-grid .ba-image {
    height: 180px;
}

@media (min-width: 768px) {
    .results-quad-grid .ba-image {
        height: 220px;
    }
}

.result-card {
    border-radius: 16px;
    background: var(--dark-gray);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--primary-blue-glow);
    border-color: var(--primary-blue);
}

.ba-image {
    position: relative;
    width: 100%;
    height: 250px;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.before-label {
    /* visible warm accent so "Antes" stands out but doesn't clash with Después */
    background: linear-gradient(135deg, rgba(255,120,0,0.95) 0%, rgba(255,160,64,0.9) 100%);
    color: #111;
    border-color: rgba(255,160,64,0.9);
    box-shadow: 0 6px 18px rgba(255,140,0,0.14);
}

.after-label {
    /* stronger solid accent so text reads clearly */
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(0,0,0,0.08) 100%);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.18);
}

.results-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    padding: 80px 20px 40px;
    background: var(--darker-gray);
    text-align: center;
}

.about-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.about-banner img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 30px var(--primary-blue-glow);
    border: 2px solid rgba(255,255,255,0.04);
    object-fit: cover;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-gray);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.about-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

.about-content strong {
    color: var(--primary-blue);
}

/* Big Projects Cinematic Section */
.big-projects-section {
    padding: 20px 0 10px;
    background: var(--darker-gray);
    overflow: hidden;
}

.big-projects-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    margin-bottom: 8px;
}

.projects-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 12px;
}

.cinematic-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.cinematic-container::before,
.cinematic-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cinematic-container::before {
    left: 0;
    background: linear-gradient(to right, var(--darker-gray), transparent);
}

.cinematic-container::after {
    right: 0;
    background: linear-gradient(to left, var(--darker-gray), transparent);
}

.slider-track {
    display: flex;
    gap: 4px;
    width: max-content;
}

.slider-item {
    width: 300px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.slider-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--primary-blue-glow);
    z-index: 10;
    border-color: var(--primary-blue);
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-to-right {
    animation: scrollLR 60s linear infinite;
}

.right-to-left {
    animation: scrollRL 60s linear infinite;
    align-self: flex-end;
}

@keyframes scrollLR {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

@keyframes scrollRL {
    0% { transform: translateX(calc(-50% - 12px)); }
    100% { transform: translateX(0); }
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: var(--darker-gray);
}

.faq-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 10px var(--primary-blue-glow);
    text-align: center;
    margin-bottom: 48px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-gray);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 18px;
}

/* Modern Contact Area */
.modern-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #e5f3ff 40%, #ffe9d6 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.modern-contact::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
}

.contact-header h2 span {
    color: var(--primary-blue);
    text-shadow: 0 0 10px var(--primary-blue-glow);
}

.contact-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: var(--dark-gray);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0,0,0,0.65);
    border: 2px solid rgba(255,255,255,0.08);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .contact-card {
        flex-direction: row;
    }
}

.contact-info-panel {
    position: relative;
    flex: 1;
    padding: 40px 32px;
    background: linear-gradient(135deg, #001a33 0%, #003d66 100%);
    color: white;
    overflow: hidden;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff8c00;
}

@media (min-width: 900px) {
    .contact-info-panel::after {
        top: 0;
        bottom: 0;
        left: auto;
        right: 0;
        width: 4px;
        height: 100%;
    }
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(circle at 100% 100%, #ffffff 10%, transparent 60%);
    pointer-events: none;
}

.contact-info-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

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

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: #ff8c00;
}

.info-text h4 {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text p {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.contact-action-panel {
    flex: 1.2;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-action-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ff8c00;
}

.contact-highlight-word {
    color: #ff8c00;
}

.contact-action-panel p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-contact {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

.btn-call {
    background: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.btn-call:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.15);
}

.btn-wa {
    background: var(--primary-blue);
    color: var(--black);
    border: 2px solid var(--primary-blue);
}

.btn-wa:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

[data-theme="green"] .btn-wa:hover { color: #98fb98; border-color: #98fb98; }

/* Footer */
.footer {
    background: var(--black);
    color: var(--gray);
    text-align: center;
    padding: 32px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    font-size: 16px;
}

/* Main Lightbox for Index */
.main-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-lightbox.active {
    display: flex;
}

.main-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.main-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-lightbox .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.main-lightbox .lightbox-prev {
    left: 20px;
}

.main-lightbox .lightbox-next {
    right: 20px;
}

.main-lightbox .lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-lightbox #mainLightboxImage {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-lightbox .lightbox-counter {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

.slider-item {
    cursor: pointer;
}

/* Responsive */
@media (min-width: 768px) {
    .logo-3d-showcase {
        width: 300px;
        height: 300px;
    }
    .logo-inner-circle {
        width: 240px;
        height: 240px;
    }
    
    .company-name {
        font-size: 42px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .business-details {
        flex-direction: row;
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .gallery-slide {
        width: 400px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- Nuevos estilos: Flotante y Formulario --- */
.floating-cinematic .slider-item {
    animation: floatItem 6s ease-in-out infinite;
}
.floating-cinematic .slider-item:nth-child(odd) { animation-delay: 1s; }
.floating-cinematic .slider-item:nth-child(even) { animation-delay: 2s; }
.floating-cinematic .slider-item:nth-child(3n) { animation-delay: 3s; }

@keyframes floatItem {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseInstruction {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); transform: scale(1); }
    50% { opacity: 0.8; text-shadow: 0 0 25px rgba(255, 215, 0, 0.9); transform: scale(1.02); }
}

.pro-whatsapp-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.pro-whatsapp-form input, 
.pro-whatsapp-form select {
    width: 100%;
    padding: 16px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.pro-whatsapp-form input:focus, 
.pro-whatsapp-form select:focus {
    border-color: #00E676;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}
.pro-whatsapp-form select option {
    background: var(--dark-gray);
    color: white;
}
.photo-upload-wrapper {
    position: relative;
}
.photo-upload-wrapper input[type="file"] {
    display: none;
}
.photo-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px dashed #ff8c00;
    border-radius: 12px;
    color: #ff8c00;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.photo-label:hover {
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}
.btn-whatsapp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
}
.btn-whatsapp-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.6);
    background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
}

/* Tombstone: core stylesheet moved to style.base.css for manageability
   removed CSS block from style.css -> see style.base.css
*/
@import url('style.base.css');