/* ===========================
   EDOLAB MARKETS — GLOBAL STYLES
   Version: v1.3
   =========================== */

/* BRAND COLOR */
:root {
    --brand-accent: #5B9FAD; /* DarkTeal - Azul celeste de marca */
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #404040;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */
#header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

#header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #404040;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    color: #000000;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #737373;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.lang-btn:hover {
    color: var(--brand-accent);
}

.lang-btn.active {
    color: var(--brand-accent);
    font-weight: 600;
}

.lang-separator {
    font-size: 0.9375rem;
    color: #D4D4D4;
    user-select: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
    padding: 8rem 0 8rem 0;
    text-align: center;
}

.hero-logo {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    height: 120px;
    width: auto;
}

.hero-subheadline {
    font-size: 1.375rem;
    color: #404040;
    max-width: 700px;
    margin: 0 auto;
}

/* SECTIONS */
.section {
    padding: 6rem 0;
}

.section-gray {
    background-color: #FAFAFA;
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* CARDS */
.card {
    padding: 0;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: #000000;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #404040;
}

/* STATUS SECTION */
.status-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.status-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #404040;
    margin-bottom: 0.75rem;
}

.status-content p:last-child {
    margin-bottom: 0;
}

/* FOOTER */
#footer {
    padding: 4rem 0 3rem 0;
    border-top: 1px solid #E5E5E5;
}

#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

#footer p {
    font-size: 0.875rem;
    color: #737373;
    text-align: center;
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        gap: 2rem;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero-logo img {
        height: 100px;
    }

    .footer-logo img {
        height: 85px;
    }

    .section {
        padding: 5rem 0;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 65px;
    }

    .hero-logo img {
        height: 90px;
    }

    .footer-logo img {
        height: 75px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-logo {
        margin-bottom: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.125rem;
    }

    .section {
        padding: 4rem 0;
    }

    .grid,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* MOBILE NAVIGATION */
    .header-content {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #FFFFFF;
        flex-direction: column;
        gap: 0;
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        border-top: 1px solid #E5E5E5;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.125rem;
        padding: 1rem 0;
        border-bottom: 1px solid #F5F5F5;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .logo img {
        height: 55px;
    }

    .hero-logo img {
        height: 80px;
    }

    .hero-logo {
        margin-bottom: 2rem;
    }

    .footer-logo img {
        height: 65px;
    }

    .hero {
        padding: 3rem 0;
    }

    #footer {
        padding: 3rem 0 2.5rem 0;
    }

    .section {
        padding: 3rem 0;
    }
}
