/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

/* Header */
.header {
    background-color: #000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    color: #fff;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    border: 1px solid #fff;
    padding: 0.5rem 1rem;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background-color: #fff;
    color: #000;
}

.btn-header svg {
    width: 16px;
    height: 16px;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
}

.mobile-menu-btn:hover {
    opacity: 0.8;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #C4A8D9 0%, #B8A3D1 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: -0.02em;
}

/* Clase .hero-description - Personalizable mediante CSS personalizado */
.hero-description {
    font-size: 1.75rem;
    line-height: 1.7;
    color: #000;
    padding: 0; /* Ajustable con padding-top, padding-bottom, etc. */
    margin: 0; /* Ajustable con margin-top, margin-bottom, etc. */
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.625rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #000;
}

.section-title-center {
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
    color: #000;
}

/* Objeto Section */
.objeto {
    background-color: #fff;
}

.objeto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.objeto-title {
    /* Título en la primera columna */
}

.objeto-title .section-title {
    margin-bottom: 0;
}

.objeto-item p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #000;
}

/* Composición Section */
.composicion {
    background-color: #F5F5F5;
}

.composicion-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.box {
    border: 1px solid #000;
    padding: 2rem;
    background-color: #fff;
}

.box-title {
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000;
}

.box-content {
    font-size: 1.075rem;
    line-height: 1.7;
    color: #000;
}

/* Operativa Section */
.operativa {
    background-color: #fff;
}

.operativa-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.operativa-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.operativa-list {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.operativa-list li {
    font-size: 1.075rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.operativa-footer {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 2rem;
}

/* Que es la C Section */
.que-es-c {
    background-color: #E8E8E8;
    text-align: center;
}

.que-es-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btn-area-usuario {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.125rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-area-usuario:hover {
    background-color: #000;
    color: #fff;
}

.btn-area-usuario svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 3rem 0 2rem;
    border-top: 1px solid #E0E0E0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.footer-brand-row {
    margin-bottom: 0.5rem;
}

.footer-brand {
    font-size: 2.125rem;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
}

.footer-logo-img {
    max-height: 60px;
    height: auto;
}

.footer-credits-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.footer-credits-img {
    max-height: 24px;
    height: auto;
}

.footer-separator {
    font-size: 1.075rem;
    color: #000;
}

.footer-credits-text {
    font-size: 1.075rem;
    color: #000;
    font-weight: 500;
}

.footer-links-row {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 1.025rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #666;
}

.footer-contact-row {
    display: flex;
    gap: 2.5rem;
    font-size: 1.025rem;
    color: #000;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.125rem;
    }

    .hero-image {
        order: -1;
    }

    .objeto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .boxes-grid {
        grid-template-columns: 1fr;
    }

    .operativa-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    /* Header responsive */
    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .logo-img {
        max-height: 40px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.625rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2.125rem;
    }

    .section-title-center {
        font-size: 1.875rem;
    }

    .footer-brand {
        font-size: 1.625rem;
    }

    .footer-links-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-contact-row {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    background-color: #111827 !important;
    color: white !important;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    padding: 1.5rem 0 !important;
}

#cookie-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#cookie-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

#cookie-banner .banner-text {
    flex: 1;
}

#cookie-banner h3 {
    color: white !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.125rem !important;
}

#cookie-banner p {
    color: #d1d5db !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
}

#cookie-banner .banner-button {
    flex-shrink: 0;
}

#cookie-banner button {
    background-color: #f59e0b !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

#cookie-banner button:hover {
    background-color: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

#cookie-banner button:active {
    transform: translateY(0);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1.25rem 0 !important;
    }

    #cookie-banner .container {
        padding: 0 1.5rem;
    }

    #cookie-banner .banner-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    #cookie-banner h3 {
        font-size: 1rem !important;
    }

    #cookie-banner p {
        font-size: 0.8125rem !important;
    }

    #cookie-banner button {
        width: 100%;
        padding: 0.875rem 1.5rem !important;
    }
}


/* ================================
   FOOTER GRID - TWO COLUMNS
   ================================ */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.footer-newsletter-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.75rem;
}

/* ================================
   NEWSLETTER SECTION - FOOTER
   ================================ */

.newsletter-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    margin: 0;
}

.newsletter-description {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.newsletter-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.newsletter-button:hover {
    background-color: #000;
    color: #fff;
}

.newsletter-button svg {
    width: 16px;
    height: 16px;
}

/* Responsive Newsletter */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-newsletter-column {
        justify-content: flex-start;
    }

    .footer-newsletter-content {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .newsletter-button {
        width: 100%;
        justify-content: center;
    }
}
