/* =========================================
   VARIABLES GLOBALES Y PALETA DE COLORES
   ========================================= */
:root {
    /* Paleta Dorada (basada en el logo y flyers) */
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    
    /* Fondos Oscuros */
    --bg-main: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1e1e1e;
    
    /* Textos */
    --text-light: #f4f4f4;
    --text-muted: #cccccc;
    
    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Espaciado */
    --transition: all 0.3s ease-in-out;
}

/* =========================================
   RESETEO Y ESTILOS BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
.w-100 { width: 100%; }

/* Fondos utilitarios */
.bg-dark { background-color: var(--bg-secondary); }
.bg-light { background-color: var(--bg-card); } /* Sigue siendo oscuro para mantener el tema */

/* =========================================
   COMPONENTES Y BOTONES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background: var(--gold-primary);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--gold-dark);
}

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

/* =========================================
   NAVEGACIÓN (HEADER)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--gold-primary);
}

.btn-nav {
    border: 1px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 4px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&q=80') center/cover;
    padding-top: 80px; /* Offset for navbar */
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 4px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* =========================================
   SISTEMA DE GRID (DISEÑO RESPONSIVO)
   ========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =========================================
   SECCIONES Y TARJETAS
   ========================================= */
.section-title {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    position: relative;
}

.highlight-text {
    color: var(--gold-light);
    font-size: 1.2rem;
}

.warning-text {
    color: #e8d08b;
    font-style: italic;
    border-left: 3px solid var(--gold-primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* Tarjetas de servicios destacados */
.card-destacado, .service-category, .feature-item {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.card-destacado:hover, .service-category:hover, .feature-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-destacado h3, .service-category h3, .feature-item h4 {
    color: var(--gold-primary);
}

/* Listas con check dorado */
.check-list li, .service-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.check-list li::before, .service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

/* Cajas de Misión/Visión */
.mission-box, .vision-box {
    background: var(--bg-card);
    padding: 2rem;
    border-left: 4px solid var(--gold-primary);
}

/* =========================================
   PROCESO DE TRABAJO
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* =========================================
   PREGUNTAS FRECUENTES (ACCORDION)
   ========================================= */
.accordion-item {
    background-color: var(--bg-main);
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: bold;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* =========================================
   FORMULARIO DE CONTACTO
   ========================================= */
.contact-form {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border-top: 5px solid var(--gold-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    background-color: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: var(--font-body);
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #000;
    padding: 2rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 4px 0;
    transition: 0.4s;
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none; /* Se mostrará con JavaScript */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid var(--gold-primary);
    }
    
    .nav-links.active { display: flex; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .contact-form { padding: 1.5rem; }
}