 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e12802;
    --primary-red-500: #d4403a;
    --primary-red-700: #780008;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f8f8;
    --text-dark: #2a2a2a;
    --text-light: #666;
    --accent-gold: #d4af37;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 3rem;
    animation: scaleIn 1s ease-out 0.3s both;
}


.logo-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(227, 30, 36, 0.4);
    position: relative;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator::after {
    content: '↓';
    color: white;
    font-size: 2rem;
    opacity: 0.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1;
}

.nav-logo .logo-img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: white;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Toggler Botton */
.btn-toggler {
        display: none;
        flex-direction: column;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0.5rem;
    }

.btn-toggler span {
    width: 30px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-toggler:hover span {
    background: var(--primary-red);
}

.btn-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-red);
}

.btn-toggler.active span:nth-child(2) {
    opacity: 0;
}

.btn-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-red);
}



/* About Section */
.about {
    padding: 8rem 5%;
    background: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(227, 30, 36, 0.02) 48%, rgba(227, 30, 36, 0.02) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(227, 30, 36, 0.02) 48%, rgba(227, 30, 36, 0.02) 52%, transparent 52%);
    background-size: 80px 80px;
    opacity: 0.3;
    pointer-events: none;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.highlight-text {
    font-style: italic;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--primary-red);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--dark-bg);
    color: white;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.services-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background: rgba(227, 30, 36, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Projects Categories */
.projects {
    padding: 8rem 5%;
    background: var(--light-bg);
}

.projects h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.projects-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 5rem;
}

.projects-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-item {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.15);
}

.project-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}


/* Seccion de Nuestros Proyectos */
.ownproyects {
    padding: 8rem 5%;
    background: var(--dark-bg);
    color: white;
}

.ownproyects h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.ownproyects-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ownproyects-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ownproyects-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ownproyects-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.1), transparent);
    transition: left 0.6s ease;
}

.ownproyects-card:hover::before {
    left: 100%;
}

.ownproyects-card:hover {
    background: rgba(227, 30, 36, 0.1);
    border-color: var(--primary-red);
    transform: translateY(-10px);
}

.ownproyects-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.ownproyects-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}


/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: var(--primary-red);
    color: white;
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.contact p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0;
    letter-spacing: 1px;
}

.hero-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-button:hover {
    background: var(--light-bg);
    color: var(--primary-red);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 251, 251, 0.3);
}


.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background: var(--dark-bg);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 5%;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2,
    .services h2,
    .projects h2 {
        font-size: 2.5rem;
    }

    .about-image {
        height: 350px;
    }

    .nav-links {
        position: fixed;
        top: 98px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links li a:hover {
        color: var(--primary-red);
        padding-left: 1rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .logo-circle {
        width: 140px;
        height: 140px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .btn-toggler {
        display: flex;
    }
}