:root {
    --gold: #C5A059;
    --dark: #000000;
    --accent: #E63946;
    --light: #f9f9f9;
    --transition: all 0.3s ease;
}

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--dark); 
    overflow-x: hidden; 
    width: 100%; 
}

/* HEADER & NAVIGATION */
header {
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.logo { 
    font-weight: 900; 
    font-size: 1.8rem; 
    letter-spacing: 2px; 
}

.logo span { 
    color: var(--gold); 
}

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
}

nav a { 
    color: white; 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: var(--transition); 
}

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

.burger { 
    display: none; 
    cursor: pointer; 
    flex-direction: column; 
    gap: 5px; 
    z-index: 1001; 
}

.burger div { 
    width: 25px; 
    height: 3px; 
    background: white; 
    transition: var(--transition); 
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 10%;
}

.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2.5rem, 7vw, 5rem); 
    margin-bottom: 1.5rem; 
    line-height: 1.1; 
}

.hero p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin-bottom: 2.5rem; 
    color: #ccc; 
}

.btn { 
    background: var(--gold); 
    color: var(--dark); 
    padding: 1rem 2.5rem; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 2px; 
    transition: var(--transition); 
    border: 2px solid var(--gold); 
}

.btn:hover { 
    background: transparent; 
    color: var(--gold); 
}

/* PROYECTOS (NETFLIX STYLE) */
.projects-section { 
    padding: 80px 0; 
    background: var(--dark); 
    color: white; 
}

.carousel-wrapper { 
    position: relative; 
    padding: 0 5%; 
}

.carousel-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar { 
    display: none; 
}

.project-card { 
    flex: 0 0 160px; 
    scroll-snap-align: start; 
    transition: transform 0.3s ease; 
}

@media (min-width: 768px) {
    .project-card { 
        flex: 0 0 220px; 
    }
    .project-card:hover { 
        transform: scale(1.05); 
        z-index: 10; 
    }
}

.poster-wrapper {
    aspect-ratio: 2/3;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #333;
    margin-bottom: 10px;
}

.poster-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.project-info h5 { 
    font-size: 0.85rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.project-info span { 
    font-size: 0.7rem; 
    color: var(--gold); 
    text-transform: uppercase; 
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.7);
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-arrow:hover { 
    background: var(--gold); 
}

.nav-arrow.left { 
    left: 10px; 
}

.nav-arrow.right { 
    right: 10px; 
}

@media (min-width: 900px) { 
    .nav-arrow { 
        display: block; 
    } 
}

/* SERVICIOS CORE */
.section-padding { 
    padding: 100px 10%; 
}

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

.section-title { 
    font-size: 2.5rem; 
    text-transform: uppercase; 
    font-weight: 900; 
}

.section-subtitle { 
    color: var(--gold); 
    font-weight: 600; 
    letter-spacing: 3px; 
    display: block; 
    margin-bottom: 10px; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.s-card { 
    background: var(--light); 
    padding: 40px; 
    transition: var(--transition); 
    border: 1px solid #eee; 
}

.s-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    border-color: var(--gold); 
}

.s-card h3 { 
    margin-bottom: 15px; 
    font-size: 1.3rem; 
    border-left: 4px solid var(--gold); 
    padding-left: 15px; 
}

.s-card p { 
    font-size: 0.9rem; 
    color: #555; 
}

/* SERVICIOS ESPECIALES */
.special-services { 
    background: var(--dark); 
    color: white; 
    overflow: hidden; 
}

.special-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
}

.special-item { 
    border-left: 1px solid #333; 
    padding-left: 25px; 
    margin-bottom: 20px; 
}

.special-item h4 { 
    color: var(--gold); 
    margin-bottom: 10px; 
    font-size: 1.1rem; 
}

.special-item p { 
    font-size: 0.85rem; 
    color: #888; 
}

/* STATS */
.stats { 
    background: var(--gold); 
    padding: 40px 10%; 
    display: flex; 
    justify-content: space-around; 
    text-align: center; 
    font-weight: 900; 
    color: var(--dark); 
    flex-wrap: wrap; 
    gap: 20px; 
}

.stat-item span { 
    display: block; 
    font-size: 2.5rem; 
}

/* CONTACTO */
.contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
}

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

input, textarea, select { 
    padding: 15px; 
    border: 1px solid #ddd; 
    font-family: inherit; 
    width: 100%; 
}

button { 
    background: var(--dark); 
    color: white; 
    padding: 15px; 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    transition: var(--transition); 
}

button:hover { 
    background: var(--accent); 
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container { 
        grid-template-columns: 1fr; 
    }
    
    .hero h1 { 
        font-size: 3rem; 
    }
    
    .burger { 
        display: flex; 
    }
    
    nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        padding: 100px 40px;
        z-index: 1000;
        border-left: 1px solid var(--gold);
    }
    
    nav.active { 
        display: flex; 
    }
    
    nav ul { 
        flex-direction: column; 
        gap: 30px; 
    }
    
    header { 
        padding: 1rem 5%; 
    }
    
    .section-padding { 
        padding: 60px 5%; 
    }
}

/* MENSAJES DEL FORMULARIO */
.form-message {
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin: 10px 0;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* reCAPTCHA Badge - Asegurar visibilidad */
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

/* Indicador de seguridad en el formulario */
.security-notice {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.security-notice svg {
    width: 14px;
    height: 14px;
    fill: #4CAF50;
}

.recaptcha-info {
    font-size: 0.7rem;
    color: #999;
    text-align: center;
    margin-top: 5px;
}

.recaptcha-info a {
    color: var(--gold);
    text-decoration: none;
}

.recaptcha-info a:hover {
    text-decoration: underline;
}


/* reCAPTCHA v2 styling */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}
