/* ===================================
   GROWTH SPECTROSS - PREMIUM WEBSITE
   VERSIÓN FINAL OPTIMIZADA
   Cambios: Logos más grandes + Texto de detalles oculto
   =================================== */

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

:root {
    --color-black: #0B0B0B;
    --color-yellow: #FFD400;
    --color-white: #FFFFFF;
    --color-gray: #666666;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 40px rgba(255, 212, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* OPTIMIZACIÓN PARA DIFERENTES PANTALLAS */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    html {
        font-size: 17px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    html {
        font-size: 14px;
    }
}

/* ===================================
   TYPOGRAPHY - TÍTULOS CENTRADOS
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-align: center !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px;
    height: 3px;
    background: var(--color-yellow);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray);
    max-width: 600px;
    text-align: center !important;
    margin: 0 auto !important;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-white);
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-yellow);
}

.logo-accent {
    color: var(--color-yellow);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--color-white);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 8px;
    transition: var(--transition);
    overflow: hidden;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-option {
    opacity: 0.5;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 0.9rem;
    position: relative;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-text {
    font-family: var(--font-body);
    font-weight: 500;
}

.lang-option:hover {
    opacity: 0.8;
}

.lang-option.active {
    opacity: 1;
    background: var(--color-yellow);
    color: var(--color-black);
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 11, 0.98);
        padding: 40px;
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .lang-toggle {
        padding: 4px 6px;
    }

    .lang-option {
        padding: 5px 10px;
        gap: 4px;
        font-size: 0.85rem;
    }

    .lang-flag {
        font-size: 1rem;
    }

    .lang-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lang-text {
        display: none;
    }

    .lang-toggle {
        padding: 4px;
        gap: 2px;
    }

    .lang-option {
        padding: 8px;
    }

    .lang-flag {
        font-size: 1.3rem;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 212, 0, 0.1);
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--color-yellow);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease-out;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 1.4s ease-out;
}

.hero-note {
    font-size: 1rem;
    color: var(--color-gray);
    font-style: italic;
    animation: fadeInUp 1.6s ease-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-yellow), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Hero responsive improvements */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 120px 0 60px;
    }

    .hero-label {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 0 48px;
    }

    .hero-subtitle {
        margin-bottom: 32px;
    }

    .hero-ctas {
        gap: 16px;
    }
}

/* ===================================
   SECTION HEADER - CENTRADO FORZADO
   =================================== */
.section-header {
    text-align: center !important;
    margin-bottom: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
}

/* ===================================
   SERVICES SECTION - OPTIMIZADO
   =================================== */
.services {
    padding: 120px 0;
    position: relative;
}

/* GRID OPTIMIZADO PARA DIFERENTES PANTALLAS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Desktop grande - 3 columnas con más espacio */
@media (min-width: 1400px) {
    .services-grid {
        gap: 50px;
    }
}

/* Desktop - mantener 3 columnas */
@media (min-width: 1024px) and (max-width: 1399px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

/* Tablet horizontal - 2 columnas */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet vertical y móvil - 1 columna */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-yellow);
    transform: translateY(-4px);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-yellow);
    margin-bottom: 16px;
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.service-tagline {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-description {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 212, 0, 0.1);
    color: var(--color-yellow);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* Service details now live inside an accordion collapsible */
.service-details {
    margin-top: 18px;
}


/* ===================================
   SERVICES ACCORDION (Title first, details on click)
   =================================== */
.service-accordion {
    padding: 0;
}

.service-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 48px 32px;
    text-align: left;
}

.service-toggle-left {
    display: grid;
    gap: 10px;
}

.service-accordion .service-number {
    margin-bottom: 0;
}

.service-accordion .service-title {
    margin-bottom: 0;
}

.service-chevron {
    flex-shrink: 0;
    color: var(--color-yellow);
    transition: transform 0.25s ease;
}

.service-accordion.active .service-chevron {
    transform: rotate(180deg);
}

.service-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
    padding: 0 32px;
    opacity: 0.85;
}

.service-accordion.active .service-collapsible {
    max-height: 800px;
    padding: 0 32px 40px;
    opacity: 1;
}

.service-accordion .service-tagline {
    margin-bottom: 20px;
}

.service-detail {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.service-detail strong {
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.service-detail span {
    color: var(--color-gray);
}

/* Keep featured badge visible even when collapsed */
.service-card-featured .service-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
}

/* Tighter padding on small screens */
@media (max-width: 767px) {
    .service-toggle { padding: 32px 20px; }
    .service-collapsible { padding: 0 20px; }
    .service-accordion.active .service-collapsible { padding: 0 20px 24px; }

    .service-title {
        font-size: 1.4rem;
    }

    .service-tagline {
        font-size: 0.95rem;
    }

    .service-detail {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-toggle { padding: 28px 18px; }
    .service-collapsible { padding: 0 18px; }
    .service-accordion.active .service-collapsible { padding: 0 18px 20px; }

    .service-title {
        font-size: 1.25rem;
    }

    .service-number {
        font-size: 0.9rem;
    }
}

/* ===================================
   METHOD SECTION - OPTIMIZADO
   =================================== */
.method {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
}

.method-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
}

/* Línea vertical para desktop/tablet */
@media (min-width: 768px) {
    .method-timeline::before {
        content: '';
        position: absolute;
        left: 120px;
        top: 40px;
        bottom: 40px;
        width: 2px;
        background: linear-gradient(to bottom, var(--color-yellow), rgba(255, 212, 0, 0.1));
    }
}

.method-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 48px;
    margin-bottom: 80px;
    position: relative;
    align-items: start;
}

.method-step-number {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-yellow);
    color: var(--color-black);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.method-step-content {
    padding-top: 20px;
}

.method-step-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.method-step-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
}

/* Tablet y móvil */
@media (max-width: 767px) {
    .method-timeline::before {
        left: 40px;
    }
    
    .method-step {
        grid-template-columns: 80px 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .method-step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .method-step-title {
        font-size: 1.5rem;
    }
    
    .method-step-description {
        font-size: 1rem;
    }
}


/* ===================================
   CLIENT LOGOS MARQUEE (auto horizontal carousel)
   =================================== */
.clients-logos-marquee {
    display: flex;
    overflow: hidden;
    position: relative;
    gap: 0;
    padding: 80px 0;
    margin: 0 auto 80px auto;
    border-bottom: 2px solid rgba(11, 11, 11, 0.15);
    max-width: 1400px;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
    padding: 0 20px;
    animation: logosMarquee 30s linear infinite;
}

.clients-logos-marquee:hover .logos-track {
    animation-play-state: paused;
}

@keyframes logosMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.clients-logos-marquee .client-logo {
    min-width: 160px;
    min-height: 130px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clients-logos-marquee .client-logo img {
    max-height: 130px !important;
    min-height: 90px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: brightness(1) contrast(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
}

.clients-logos-marquee .client-logo:hover img {
    filter: brightness(1.1) contrast(1.2) drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transform: scale(1.12);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; }
}

/* Tablet */
@media (max-width: 1024px) {
    .clients-logos-marquee { padding: 60px 0; }
    .logos-track { gap: 35px; }
    .clients-logos-marquee .client-logo { min-width: 150px; min-height: 110px; }
    .clients-logos-marquee .client-logo img { max-height: 100px !important; }
}

/* Mobile */
@media (max-width: 768px) {
    .clients-logos-marquee { padding: 50px 0; }
    .logos-track { gap: 30px; padding: 0 16px; }
    .clients-logos-marquee .client-logo { min-width: 130px; min-height: 100px; padding: 12px; }
    .clients-logos-marquee .client-logo img { max-height: 80px !important; min-height: 55px !important; }
}

/* ===================================
   CLIENTS SECTION - LOGOS MÁS GRANDES
   =================================== */
.clients {
    padding: 120px 0;
    background: #e6be00;
    background: linear-gradient(180deg, var(--color-black) 0%, #e6be00 5%, #e6be00 95%, var(--color-black) 100%);
}

.clients .section-title,
.clients .section-subtitle {
    color: var(--color-black);
}

/* LOGOS GRID - OPTIMIZADO CON LOGOS MÁS GRANDES */
.clients-logos-grid {
    display: grid;
    gap: 50px !important;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 100px 50px !important;
    border-bottom: 2px solid rgba(11, 11, 11, 0.15);
}

/* Desktop grande - 6 columnas */
@media (min-width: 1200px) {
    .clients-logos-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 60px !important;
    }
}

/* Desktop - 5 columnas */
@media (min-width: 992px) and (max-width: 1199px) {
    .clients-logos-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 55px !important;
    }
}

/* Tablet horizontal - 4 columnas */
@media (min-width: 768px) and (max-width: 991px) {
    .clients-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px !important;
        padding: 80px 40px !important;
    }
}

/* Tablet vertical - 3 columnas */
@media (min-width: 480px) and (max-width: 767px) {
    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 50px 20px;
    }
}

/* Móvil - 2 columnas */
@media (max-width: 479px) {
    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 16px;
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px !important;
    padding: 30px !important;
    background: transparent;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
}

/* LOGOS MUCHO MÁS GRANDES - FORZADO */
.client-logo img {
    max-width: 100% !important;
    max-height: 120px !important;
    min-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: brightness(0.85) grayscale(40%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.1);
}

/* Logo en Header - MÁS GRANDE */
.logo-img {
    display: flex;
    align-items: center;
}

.logo-img img {
    height: 65px !important;
    width: auto !important;
    transition: var(--transition);
}

.logo-img:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 212, 0, 0.3));
}

/* Ajustes adicionales para móvil */
@media (max-width: 768px) {
    .client-logo {
        min-height: 80px;
        padding: 16px;
    }
    
    .client-logo img {
        max-height: 60px;
    }
    
    .logo-img img {
        height: 36px;
    }
}

/* ===================================
   CONÓCENOS (ABOUT US) SECTION
   =================================== */
.conocenos {
    padding: 120px 0;
    background: var(--color-black);
}

/* --- Historia de origen --- */
.conocenos-story {
    max-width: 900px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.conocenos-story-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-yellow);
    line-height: 1.3;
}

.conocenos-story-text {
    max-width: 800px;
    margin: 0 auto;
}

.conocenos-story-text p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--color-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.conocenos-story-text p:last-child {
    margin-bottom: 0;
}

/* --- Grid de cofundadores --- */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Tarjeta de cofundador --- */
.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 48px 32px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.founder-card:hover::before {
    transform: scaleX(1);
}

.founder-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* --- Foto del cofundador (circular, para fotos 1080x1920) --- */
.founder-photo {
    width: 170px;
    height: 170px;
    margin: 0 auto 28px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 212, 0, 0.25);
    transition: var(--transition);
    flex-shrink: 0;
}

.founder-card:hover .founder-photo {
    border-color: var(--color-yellow);
    box-shadow: 0 0 30px rgba(255, 212, 0, 0.2);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(20%);
    transition: var(--transition);
    display: block;
}

.founder-card:hover .founder-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- Info del cofundador --- */
.founder-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.founder-role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.founder-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
}

/* --- Responsive: Tablet (768-1023px) --- */
@media (max-width: 1023px) {
    .founders-grid {
        gap: 24px;
    }

    .founder-photo {
        width: 140px;
        height: 140px;
    }

    .founder-card {
        padding: 40px 24px 32px;
    }

    .founder-name {
        font-size: 1.2rem;
    }
}

/* --- Responsive: Móvil (<768px) --- */
@media (max-width: 767px) {
    .conocenos {
        padding: 80px 0;
    }

    .conocenos-story {
        margin-bottom: 60px;
    }

    .conocenos-story-title {
        font-size: 1.4rem;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }

    .founder-card {
        padding: 36px 24px 32px;
    }

    .founder-photo {
        width: 150px;
        height: 150px;
    }
}

/* --- Responsive: Móvil pequeño (<480px) --- */
@media (max-width: 480px) {
    .conocenos {
        padding: 60px 0;
    }

    .conocenos-story {
        margin-bottom: 48px;
    }

    .conocenos-story-title {
        font-size: 1.25rem;
    }

    .founder-photo {
        width: 130px;
        height: 130px;
    }

    .founder-name {
        font-size: 1.15rem;
    }

    .founder-description {
        font-size: 0.9rem;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 32px 60px 32px 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    color: var(--color-yellow);
}

.faq-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-yellow);
    transition: var(--transition);
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon {
    background: var(--color-yellow);
    transform: translateY(-50%) rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background: var(--color-black);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 32px;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1.2rem;
        padding: 24px 50px 24px 0;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 120px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-yellow);
    transform: translateX(4px);
}

.contact-method svg {
    color: var(--color-yellow);
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-yellow);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-yellow);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 32px 24px;
    }

    .contact-description {
        font-size: 1.05rem;
    }

    .contact-method {
        font-size: 0.95rem;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 24px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 0.95rem;
    }

    .contact-method {
        flex-wrap: wrap;
    }
}

/* ===================================
   FOOTER - OPTIMIZADO
   =================================== */
.footer {
    padding: 80px 0 32px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Desktop - 4 columnas */
@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Tablet - 2 columnas */
@media (min-width: 600px) and (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Móvil - 1 columna */
@media (max-width: 599px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-contact-info {
        align-items: center;
    }

    .footer-contact-link {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col a:hover {
        transform: translateX(0) scale(1.05);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 60px 0 24px;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-contact-link {
        font-size: 0.85rem;
    }

    .footer-col h4 {
        font-size: 0.8rem;
    }

    .footer-col a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 30px;
    }
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--color-yellow);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--color-yellow);
    transform: translateX(4px);
}

.footer-contact-link svg {
    color: var(--color-yellow);
    flex-shrink: 0;
}

.footer-links {
    display: contents;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-yellow);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    color: var(--color-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--color-yellow);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ===================================
   REVEAL ANIMATION
   =================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-yellow {
    color: var(--color-yellow);
}

.bg-dark {
    background: rgba(255, 255, 255, 0.02);
}

/* ===================================
   GLOBAL PRESENCE (World map highlight)
   =================================== */
.global {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 0.45fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.global-map {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
}

.world-map-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    border-radius: 12px;
}

/* --- Pines HTML (posicionamiento porcentual) --- */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.pin-dot-html {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--color-yellow);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 8px rgba(255, 212, 0, 0.7), 0 0 20px rgba(255, 212, 0, 0.3);
}

.pin-ring-html {
    display: block;
    width: 28px;
    height: 28px;
    border: 2.5px solid rgba(255, 212, 0, 0.8);
    background: rgba(255, 212, 0, 0.12);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pinPulseHtml 2s ease-in-out infinite;
}

.pin-label-html {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Labels a la izquierda para pines del lado derecho del mapa */
.pin-label-left .pin-label-html {
    left: auto;
    right: 20px;
}

@keyframes pinPulseHtml {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.global-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1.5px solid rgba(255, 212, 0, 0.3);
    background: rgba(255, 212, 0, 0.06);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.country-badge:hover {
    background: rgba(255, 212, 0, 0.12);
    border-color: rgba(255, 212, 0, 0.5);
    transform: translateY(-2px);
}

.global-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.global-text {
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 480px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .global-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .global-map {
        max-width: 700px;
        margin: 0 auto;
    }

    .global-list {
        order: -1;
        text-align: center;
    }

    .global-badges {
        justify-content: center;
    }

    .global-text {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .global {
        padding: 80px 0;
    }

    .global-map {
        max-width: 100%;
    }

    .pin-label-html {
        font-size: 11px;
    }

    .pin-dot-html {
        width: 8px;
        height: 8px;
    }

    .pin-ring-html {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .country-badge {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .global-title {
        font-size: 1.6rem;
    }

    .global-text {
        font-size: 1rem;
    }
}

/* Responsive - Móvil pequeño */
@media (max-width: 480px) {
    .global {
        padding: 60px 0;
    }

    .pin-label-html {
        font-size: 9px;
        left: 14px;
    }

    .pin-label-left .pin-label-html {
        right: 14px;
    }

    .pin-dot-html {
        width: 6px;
        height: 6px;
    }

    .pin-ring-html {
        width: 16px;
        height: 16px;
        border-width: 1.5px;
    }
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(37, 211, 102, 0.95);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: var(--font-body);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 12px 36px rgba(37, 211, 102, 0.8), 0 6px 16px rgba(0, 0, 0, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
