* {
    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;
}


/* 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);
}


/* Seccion de Metodologia de Diseño */
.method-section {
    background: linear-gradient(135deg, var(--primary-red-700) 0%, var(--primary-red-500) 100%);
    padding: 8rem;
    color: white;
}

.method-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.method-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-left: 4px solid white;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.step-number {
    background: white;
    color: var(--primary-red-700);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

 .team-section {
    padding: 4rem 2rem;
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.team-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-red);
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(225, 40, 2, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}



.designmethodHalf1 {
    padding: 8rem 5%;
    background: var(--primary-red-700);
    color: white;
}

.designmethodHalf1 h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.designmethod-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.designmethod-list {
    max-width: 1400px;
    margin: 0 auto;
    display:list-item;
    gap: 2rem;
}

/* Seccion de Equipo de Trabajo */
.workTeamHalf2 {
    padding: 8rem 5%;
    background: var(--light-bg);
    color: var(--text-dark);
}

.workTeamHalf2 h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration:dotted underline var(--primary-red) 5px;
}

.workTeamHalf2-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.workTeamHalf2-list {
    max-width: 1400px;
    margin: 0 auto;
    display:list-item;
    gap: 2rem;
}


/* 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) {
    .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;
    }

    .btn-toggler {
        display: flex;
    }
}

@media (max-width: 650px) {
    .method-section {
        margin-top: 4rem;   
        padding: 4rem;
    }
}

@media (max-width: 450px) {
    .method-section {
        margin-top: 6rem;
        padding: 1rem;
    }
}