:root {
    --primary: #FF8C00; 
    --primary-hover: #e67e00;
    --dark: #0a0a0a;
    --dark-accent: #151515;
    --light: #ffffff;
    --gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: var(--font-main);
    line-height: 1.5;
    font-size: 0.95rem;
    overflow-x: hidden;
}

/* --- FONDO DECORATIVO CON PINTURAS Y RAYAS --- */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 85% 15%, rgba(255, 140, 0, 0.15), transparent 50%),
        radial-gradient(circle at 10% 85%, rgba(255, 140, 0, 0.12), transparent 45%),
        repeating-linear-gradient(45deg, rgba(255,140,0,0.02) 0, rgba(255,140,0,0.02) 2px, transparent 2px, transparent 15px),
        var(--dark);
    z-index: -2;
}

/* --- LOGO DIFUMINADO DE FONDO (MARCA DE AGUA) --- */
.logo-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado absoluto */
    width: 60vw;
    max-width: 600px;
    opacity: 0.03; /* Muy tenue para no molestar la lectura */
    z-index: -1;
    pointer-events: none;
    filter: blur(4px) grayscale(100%) contrast(200%); /* Efecto sello difuminado */
}

/* --- HERRAMIENTAS GIGANTES DE FONDO --- */
.tool-bg {
    position: fixed;
    color: var(--primary);
    opacity: 0.03; 
    font-size: 20rem;
    z-index: -1;
    filter: blur(5px);
    pointer-events: none; 
}

.tool-1 { top: 5%; right: -5%; transform: rotate(15deg); }
.tool-2 { bottom: 10%; left: -5%; transform: rotate(-20deg); font-size: 25rem;}
.tool-3 { top: 40%; left: 10%; transform: rotate(45deg); font-size: 15rem;}
.tool-4 { bottom: 30%; right: 15%; transform: rotate(-30deg); font-size: 12rem;}

/* --- BARRA SUPERIOR CONTACTO --- */
.top-contact-bar {
    background-color: var(--primary);
    color: var(--dark);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1001;
    position: relative;
    box-shadow: 0 4px 15px rgba(255,140,0,0.2);
}

.contact-info, .social-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info a, .social-info a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.contact-info a:hover, .social-info a:hover {
    color: white;
    transform: translateY(-2px);
}

/* --- HEADER PRINCIPAL --- */
header {
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav a {
    color: var(--gray);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav a:hover { color: var(--primary); }

/* --- SECCIONES PRINCIPALES --- */
.hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 800px;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero .highlight { color: var(--primary); }

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 550px;
    margin-bottom: 25px;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-primary:hover, .btn-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.benefits-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 5%;
    background: rgba(21, 21, 21, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

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

.benefit-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
}

.services { padding: 50px 5%; position: relative; z-index: 10; }

.section-title { text-align: center; margin-bottom: 40px; }

.section-title h2 { font-size: 2rem; margin-bottom: 10px; }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    width: calc(33% - 20px);
    min-width: 300px;
    flex-grow: 1;
    max-width: 380px;
    backdrop-filter: blur(8px);
}

.service-card:hover {
    background: rgba(255, 140, 0, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

.service-card p { font-size: 0.85rem; color: var(--gray); margin-bottom: 15px;}

.fake-link {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card.featured {
    border: 1px solid var(--primary);
    background: rgba(255, 140, 0, 0.05);
    position: relative;
}

.badge {
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--primary);
    color: var(--dark);
    padding: 2px 30px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 0.6rem;
}

/* --- FAQ: CAPSULITAS INTERACTIVAS --- */
.faq {
    padding: 50px 5%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 40px; 
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(255,140,0, 0.5); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--light);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 140, 0, 0.06);
}

.faq-question i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
    color: var(--gray);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary);
    border-radius: 20px; 
}

.faq-item.active .faq-answer {
    max-height: 250px; 
    opacity: 1;
    padding: 10px 30px 20px;
}

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

/* --- MODAL FORMULARIO --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--dark-accent);
    padding: 30px;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(255,140,0,0.1);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s;
}

.close-modal:hover { color: var(--primary); }

form { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }

.form-group label {
    font-size: 0.85rem;
    color: var(--gray);
}

input, textarea {
    width: 100%; padding: 10px;
    background: #000; border: 1px solid var(--glass-border);
    border-radius: 6px; color: white;
}

input:focus, textarea:focus { border-color: var(--primary); outline: none; }

.upload-area {
    border: 1px dashed var(--glass-border);
    padding: 15px; text-align: center; border-radius: 8px;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
}

.upload-area:hover { border-color: var(--primary); }

/* --- BOTÓN FLOTANTE --- */
.floating-wa {
    position: fixed; bottom: 20px; right: 20px;
    width: 55px; height: 55px;
    background: #25D366; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    z-index: 1500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
}

.floating-wa svg { width: 32px; height: 32px; fill: white; }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    background: var(--dark-accent);
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

/* --- GALERÍA DE TRABAJOS --- */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    width: calc(33% - 20px);
    min-width: 280px;
    max-width: 380px;
    flex-grow: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255,140,0,0.15);
}

/* Placeholder mientras no hay fotos reales */
.gallery-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,140,0,0.04);
    color: var(--gray);
    gap: 10px;
    font-size: 0.85rem;
}

.gallery-placeholder i {
    font-size: 3rem;
    color: rgba(255,140,0,0.3);
}

/* Cuando se añada una foto real: <img src="foto.jpg" class="gallery-img"> */
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    border-top: 1px solid var(--glass-border);
}

/* Lightbox para ver foto grande al pulsar */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    border: 2px solid var(--primary);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--primary); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .service-card { width: calc(50% - 20px); }
}

@media (max-width: 768px) {
    .top-contact-bar { flex-direction: column; text-align: center; }
    .contact-info { justify-content: center; }
    .service-card { width: 100%; }
    .hero h1 { font-size: 2rem; }
    nav { display: none; }
    .tool-bg { font-size: 10rem; }
    .logo-bg { width: 90vw; opacity: 0.02; }
}
