:root {
    --bg-color: #050505;        /* fondo principal */
    --card-bg: #191717;         /* tarjetas / secciones */
    
    --primary: #A7683A;         /* dorado-cobre principal */
    --accent: #C89E6F;          /* dorado claro (hover, detalles) */

    --text-main: #FFFFFF;       /* texto principal */
    --text-muted: #B7B7B7;      /* texto secundario */

    --font-main: 'Outfit', sans-serif;
}


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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 20px 5%; 
    position: fixed; 
    width: 100%; 
    top: 0;
    background: rgba(5, 5, 5, 0.8); 
    backdrop-filter: blur(10px); 
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { 
    font-weight: 900; 
    font-size: 1.5rem; 
    letter-spacing: -1px; 
}

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

.cta-instagram {
    text-decoration: none; 
    color: white; 
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    transition: 0.3s;
}

.cta-instagram:hover { 
    background: white; 
    color: black; 
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    padding: 100px 20px; 
    position: relative;
}

.hero-content { 
    z-index: 2; 
    max-width: 800px; 
}

.badge {
    background: rgba(99, 102, 241, 0.2); 
    color: var(--primary);
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    text-transform: uppercase;
    margin-bottom: 20px; 
    display: inline-block; 
    font-weight: 700;
}

/* Corregido: Se separó bien la estructura */
h1 { 
    font-size: 4rem; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    font-weight: 900; 
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text; /* Versión estándar */
    -webkit-background-clip: text; /* Versión para Chrome/Safari */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback por si acaso */
}

.hero p { 
    color: var(--text-muted); 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 900;
}

.stat-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}


.btn-primary {
    background: var(--text-main); 
    color: var(--bg-color);
    padding: 15px 40px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700; 
    transition: transform 0.2s; 
    display: inline-block;
}

.btn-primary:hover { 
    transform: scale(1.05); 
}

/* Fondos Decorativos */
.blob {
    position: absolute; 
    width: 300px; 
    height: 300px; 
    border-radius: 50%;
    filter: blur(80px); 
    opacity: 0.4; 
    z-index: 1;
}

.blob-1 { 
    top: -10%; 
    left: -10%; 
    background: var(--primary); 
}

.blob-2 { 
    bottom: 10%; 
    right: -10%; 
    background: var(--accent); 
}

/* --- Portfolio Grid --- */
.portfolio-section { 
    padding: 50px 5%; 
}

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

.section-header h2 { 
    font-size: 2.5rem; 
    margin-bottom: 10px; 
}

.filter-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 40px; 
    flex-wrap: wrap; 
}

.filter-btn {
    background: transparent; 
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted); 
    padding: 10px 25px; 
    border-radius: 30px;
    cursor: pointer; 
    transition: 0.3s; 
    font-family: var(--font-main);
}

.filter-btn.active, .filter-btn:hover { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary); 
}

.projects-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjeta de Proyecto - CORREGIDO (eliminado 'group;') */
.project-card {
    background: var(--card-bg); 
    border-radius: 20px; 
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.3s;
    position: relative; 
}

.project-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary); 
}

.card-image {
    height: 250px; 
    background-size: cover; 
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.7); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    transition: 0.3s;
}

.project-card:hover .card-overlay { 
    opacity: 1; 
}

.btn-preview {
    background: white; 
    color: black; 
    padding: 10px 25px;
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold;
    transform: translateY(20px); 
    transition: 0.3s;
}

.project-card:hover .btn-preview { 
    transform: translateY(0); 
}

.card-info { 
    padding: 20px; 
}

.card-category { 
    font-size: 0.75rem; 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.card-info h3 { 
    margin-top: 5px; 
    font-size: 1.2rem; 
}

/* --- Beneficios & Footer --- */
.benefits {
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    padding: 80px 5%;
    flex-wrap: wrap; 
    background: rgba(255,255,255,0.02);
}

.benefit-card {
    text-align: center; 
    max-width: 300px;
}

.benefit-card i { 
    font-size: 2rem; 
    color: var(--accent); 
    margin-bottom: 20px; 
}

.footer-cta { 
    text-align: center; 
    padding: 100px 20px; 
}

.btn-instagram-large {
    display: inline-block; 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white; 
    padding: 15px 40px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: bold; 
    margin-top: 30px; 
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
    transition: 0.3s;
}

.btn-instagram-large:hover { 
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(220, 39, 67, 0.6); 
}

.copyright { 
    margin-top: 50px; 
    color: var(--text-muted); 
    font-size: 0.8rem; 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.5rem; 
    }
    .projects-grid { 
        grid-template-columns: 1fr; 
    }
}
