/* ==========================================================================
   Variables Estilo Apple Futurista & Dark Glassmorphism
   ========================================================================== */
:root {
    --bg-black: #030305;
    --bg-dark-card: rgba(20, 20, 28, 0.55);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --gold-light: #F3E5AB;
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(212, 175, 55, 0.3);
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-black);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Canvas Partículas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.text-center { text-align: center; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px var(--gold-glow);
}

/* Tipografía */
.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold) 60%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    z-index: 1000;
    padding: 12px 28px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-main);
}

/* Botones Estilo Apple */
.btn-apple, .btn-apple-glow, .btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-apple {
    background: #FFFFFF;
    color: #000000;
}

.btn-apple:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.25);
}

.btn-apple-glow {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: #000000;
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-apple-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block { width: 100%; justify-content: center; }

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 220px 0 100px 0;
    text-align: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
    font-size: 0.8rem;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Metricas / Stats */
.stats-section { padding: 40px 0 80px 0; }

.grid-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bento-card {
    padding: 40px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Grid */
.service-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.card-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Formulario */
.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
}

.contact-pill i { color: var(--gold); }
.contact-pill a { color: var(--text-main); text-decoration: none; }

.contact-form-wrap {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

/* Footer */
.footer {
    padding: 80px 0 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto 32px auto;
}

.footer-divider {
    height: 1px;
    background: var(--border-glass);
    margin-bottom: 32px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .grid-3, .bento-grid, .grid-2 { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .grid-stats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 24px;
        border-radius: 20px;
        border: 1px solid var(--border-glass);
        display: none;
    }
    .nav-menu.active { display: flex; }
}