/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores Apolo-net — extraídos del logo oficial */
    --color-primary: #1d71b8;          /* Azul principal logo */
    --color-primary-dark: #325da8;     /* Azul profundo logo */
    --color-secondary: #6092cd;        /* Azul claro logo */
    --color-accent: #6092cd;           /* Acento azul claro */
    --color-dark: #0d1f3d;             /* Navy oscuro */
    --color-gray: #374E66;             /* Body text */
    --color-gray-light: #6B85A0;       /* Muted */
    --color-gray-lighter: #c8d8ee;     /* Cloud azulado */
    --color-light: #f0f5fb;            /* Off-white azulado */
    --color-white: #ffffff;
    --color-border: #dce8f5;           /* Border azul suave */
    
    /* Gradientes marca */
    --gradient-primary: linear-gradient(135deg, #1d71b8 0%, #325da8 100%);
    --gradient-accent: linear-gradient(135deg, #6092cd 0%, #1d71b8 100%);
    --gradient-hero: linear-gradient(160deg, #0d1f3d 0%, #1a4a8a 50%, #2d60ab 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(14, 23, 38, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(14, 23, 38, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(14, 23, 38, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(14, 23, 38, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.2rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 65px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand-text {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1d71b8;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.language-selector {
    position: relative;
}

.lang-dropdown-btn {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    border-radius: 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 70px;
}

.lang-dropdown-btn:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.lang-dropdown-btn .current-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    overflow: hidden;
    flex-shrink: 0;
}

.lang-dropdown-btn .flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: var(--color-gray);
    transition: var(--transition);
}

.language-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.language-selector.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.lang-option:hover {
    background: rgba(0, 71, 171, 0.08);
}

.lang-option.active {
    background: rgba(0, 71, 171, 0.1);
}

.lang-option .flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    flex-shrink: 0;
    overflow: hidden;
}

.lang-option .flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-option.active .flag {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.2);
}

.lang-option:hover .flag {
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.lang-option .lang-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-dark);
}

.lang-option.active .lang-name {
    color: var(--color-primary);
    font-weight: 600;
}

.lang-btn.active .flag {
    filter: brightness(1.2);
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-gray);
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.btn-nav {
    padding: 0.55rem 1.4rem;
    background: #1d71b8;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    opacity: .88;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: var(--gradient-hero);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 55% at 70% 35%, rgba(96,146,205,.18) 0%, transparent 65%),
                radial-gradient(ellipse 45% 45% at 5% 80%, rgba(29,113,184,.12) 0%, transparent 60%);
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #6092cd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-tagline strong {
    color: #6092cd;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    padding: .9rem 2rem;
    background: #1d71b8;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(29,113,184,.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: .9;
    box-shadow: 0 8px 28px rgba(29,113,184,.4);
}

.btn-secondary {
    padding: .9rem 2rem;
    background: rgba(255,255,255,.1);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #00C9A7;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-image {
    position: relative;
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.main-visual {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Características / Nosotros Section - FONDO BLANCO */
.features {
    padding: 6rem 0;
    background: var(--color-white);
}

/* Timeline Visual */
.timeline-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.timeline-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 24px 48px rgba(0,0,0,.3);
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-logo {
    height: 80px;
    width: auto;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(29,113,184,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(96,146,205,.35);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 3;
}

.step-icon svg {
    width: 35px;
    height: 35px;
    color: #6092cd;
}

.timeline-step.active .step-icon {
    background: var(--color-primary);
}

.timeline-step.active .step-icon svg {
    color: white;
}

.timeline-step.highlight .step-icon {
    background: var(--color-secondary);
    animation: pulse 2s infinite;
}

.timeline-step.highlight .step-icon svg {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(243, 148, 21, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(243, 148, 21, 0);
    }
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.timeline-step.highlight .step-number {
    color: var(--color-secondary);
}

.timeline-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-step p {
    font-size: 0.875rem;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(to right, 
        var(--color-primary) 0%, 
        var(--color-primary) 40%, 
        var(--color-secondary) 40%, 
        var(--color-secondary) 60%, 
        #e2e8f0 60%, 
        #e2e8f0 100%);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    margin-top: -2.5rem;
}

/* Responsive Timeline */
@media (max-width: 1024px) {
    .timeline-steps {
        flex-wrap: wrap;
    }
    
    .timeline-step {
        flex: 0 0 calc(50% - 0.5rem);
        margin-bottom: 2rem;
    }
    
    .timeline-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .timeline-step {
        flex: 0 0 100%;
    }
    
    .timeline-card {
        padding: 2rem 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    min-width: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9fa 100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 1rem;
    color: var(--color-white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature-icon svg {
    width: 45px;
    height: 45px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Services Section - FONDO CLARO */
.services {
    padding: 6rem 0;
    background: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 1rem;
    color: var(--color-white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
    font-weight: 400;
}

/* Beneficios Section - FONDO CLARO */
.benefits {
    padding: 6rem 0;
    background: var(--color-white);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.125rem;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.benefit-content p {
    color: var(--color-gray);
    font-weight: 400;
}

/* Sección de Productos / Pricing - FONDO CLARO */
.pricing {
    padding: 4rem 0;
    background: var(--color-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}


.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.pricing-description {
    color: var(--color-gray);
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 71, 171, 0.1);
    color: var(--color-primary);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.4rem 0;
    color: var(--color-gray);
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--color-border);
    font-weight: 400;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    width: 100%;
    padding: 0.65rem 1.25rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pricing:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pricing-note {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-note p {
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   PRODUCTOS AICOFFI — Grid de 6 productos
══════════════════════════════════════════════════════ */

.aicoffi-lead {
    font-size: 1.05rem;
    color: var(--color-gray);
    max-width: 620px;
    line-height: 1.7;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.products-grid .product-card:nth-child(-n+3) {
    grid-column: span 4;
}

.products-grid .product-card:nth-child(n+4) {
    grid-column: span 3;
}

.product-card {
    background: var(--color-white);
    border-radius: 1.25rem;
    border: 1.5px solid var(--color-border);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15,52,96,.14);
}

.product-card__accent { height: 5px; }

.product-card__body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__icon {
    width: 48px; height: 48px;
    border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.product-card__tag {
    font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: .4rem;
}

.product-card__name {
    font-size: 1.3rem; font-weight: 800;
    color: #0F3460;
    margin-bottom: .65rem;
}

.product-card__summary {
    font-size: .95rem; color: var(--color-gray);
    line-height: 1.65; flex: 1;
    margin-bottom: 1.25rem;
}

.product-card__pills {
    display: flex; flex-wrap: wrap;
    gap: .4rem; margin-bottom: 1.25rem;
}

.product-pill {
    font-size: .75rem; font-weight: 500;
    border-radius: 999px; padding: .25rem .75rem;
    background: #E4EDF8; color: #0F3460;
}

.product-card__actions {
    display: flex; gap: .75rem;
    align-items: center; flex-wrap: wrap;
}

.btn-product-primary {
    font-size: .85rem; font-weight: 700;
    padding: .6rem 1.3rem; border-radius: 999px;
    border: none; cursor: pointer; text-decoration: none;
    display: inline-block;
    transition: opacity .2s, transform .2s;
    color: #fff;
}
.btn-product-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-product-ghost {
    font-size: .85rem; font-weight: 600;
    padding: .6rem 1.3rem; border-radius: 999px;
    background: transparent; cursor: pointer;
    text-decoration: none; display: inline-block;
    border: 1.5px solid var(--color-border);
    color: var(--color-gray);
    transition: border-color .2s, color .2s;
}
.btn-product-ghost:hover { border-color: #1B6CA8; color: #1B6CA8; }

/* Colores accent por producto */
.c-erp    { --pc: #00C9A7; --pb: rgba(0,201,167,.1); }
.c-go     { --pc: #4DA8DA; --pb: rgba(77,168,218,.1); }
.c-asesor { --pc: #1B6CA8; --pb: rgba(27,108,168,.1); }
.c-retail { --pc: #a75aba; --pb: rgba(167,90,186,.1); }
.c-food   { --pc: #2563eb; --pb: rgba(37,99,235,.1); }
.c-flow   { --pc: #7C3AED; --pb: rgba(124,58,237,.1); }
.c-scan   { --pc: #059669; --pb: rgba(5,150,105,.1); }

.product-card__accent { background: var(--pc); }
.product-card__icon   { background: var(--pb); color: var(--pc); }
.product-card__tag    { color: var(--pc); }

/* Banner ecosistema */
.ecosystem-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, #0F3460 0%, #1B6CA8 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.ecosystem-banner__text h3 {
    font-size: 1.5rem; font-weight: 800;
    color: #fff; margin-bottom: .5rem;
}
.ecosystem-banner__text p {
    color: rgba(255,255,255,.75);
    font-size: .95rem; max-width: 520px; line-height: 1.6;
}
.ecosystem-banner__flow {
    display: flex; align-items: center;
    gap: .5rem; flex-wrap: wrap;
}
.eco-chip {
    font-size: .8rem; font-weight: 700;
    padding: .4rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,.15);
    color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.eco-arrow { color: #00C9A7; font-weight: 700; font-size: 1rem; }

.btn-eco {
    font-size: .9rem; font-weight: 700;
    padding: .75rem 1.75rem; border-radius: 999px;
    background: #00C9A7; color: #0D1B2A;
    border: none; cursor: pointer;
    text-decoration: none; display: inline-block;
    white-space: nowrap;
    transition: opacity .2s, transform .2s;
}
.btn-eco:hover { opacity: .88; transform: translateY(-2px); }

@media(max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; }
    .products-grid .product-card:nth-child(-n+3),
    .products-grid .product-card:nth-child(n+4) { grid-column: span 1; }
    .ecosystem-banner { flex-direction: column; }
}

/* Sección de FAQs - FONDO BLANCO */
.faqs {
    padding: 4rem 0;
    background: var(--color-white);
}

/* Target Grid */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.target-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    transition: var(--transition);
}

.target-card:hover {
    border-color: #1d71b8;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(29,113,184,.12);
}

.target-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.target-card p {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    font-size: 0.9375rem;
}

/* Demo Section - FONDO DEGRADADO AZUL */
.demo {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--color-white);
    text-align: center;
}

.demo-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.demo-content > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-tagline {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
}

.demo-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
}

.demo-form .btn-primary {
    background: var(--color-secondary);
    white-space: nowrap;
}

.demo-form .btn-primary:hover {
    background: #00b8cc;
    transform: translateY(-2px);
}

.demo-note {
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Contact Section - FONDO CLARO */
.contact-section {
    padding: 4rem 0;
    background: var(--color-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: var(--transition);
    display: block;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 1rem;
    color: var(--color-white);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.contact-card p {
    color: var(--color-gray);
    font-size: 1rem;
}

.wechat-qr {
    margin: 0.75rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image {
    width: 100px;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Formulario de Contacto */
.contact-form-container {
    max-width: 560px;
    margin: 2.4rem auto 0;
    padding-top: 2.4rem;
    border-top: 2px solid var(--color-border);
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.05) 0%, rgba(0, 229, 255, 0.08) 100%);
    border-radius: 1rem;
    padding: 20px;
    border: 2px solid rgba(0, 71, 171, 0.1);
}

.form-intro {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.6rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.75rem;
}

.form-group input,
.form-group textarea {
    padding: 0.7rem 0.8rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--color-white);
    color: var(--color-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.btn-submit {
    padding: 0.85rem 2rem;
    background: #1d71b8;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    align-self: center;
    min-width: 160px;
}

.btn-submit:hover {
    opacity: .88;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,113,184,.35);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Checkbox privacidad */
.form-privacy-group {
    margin-top: 0.25rem;
}
.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-gray-lighter, #a0b0c0);
    line-height: 1.5;
}
.privacy-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #00C9A7;
    cursor: pointer;
}
.privacy-label a {
    color: #00C9A7;
    text-decoration: underline;
}
.privacy-label a:hover {
    color: #fff;
}

/* Estilos CAPTCHA */
.captcha-group {
    background: var(--color-light);
    padding: 1.2rem;
    border-radius: 0.6rem;
    border: 2px solid var(--color-border);
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.6rem;
}

.captcha-formulas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.captcha-formula {
    background: var(--color-white);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    min-width: 64px;
    text-align: center;
}

.captcha-separator {
    color: var(--color-gray);
    font-weight: 400;
}

.captcha-group input[type="text"] {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--color-white);
    color: var(--color-dark);
    text-align: center;
}

.captcha-group input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.captcha-group input[type="text"].error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.btn-refresh-captcha {
    align-self: center;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.4rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-gray);
}

.btn-refresh-captcha:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: rotate(180deg);
}

.btn-refresh-captcha svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        margin-top: 1.6rem;
        padding-top: 1.6rem;
    }
    
    .contact-form-wrapper {
        padding: 15px;
    }
    
    .captcha-formulas {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .captcha-separator {
        display: none;
    }
}

/* Desarrollo a Medida - Visual Creativo */
.custom-dev-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0.8rem;
    align-items: center;
    justify-content: center;
}

.dev-card {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50%;
    max-width: 224px;
    margin: 0 auto;
}

.dev-card:hover {
    transform: translateX(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.25);
}

.dev-card.card-1 {
    border-color: var(--color-primary);
    animation: float 6s ease-in-out infinite;
}

.dev-card.card-2 {
    border-color: var(--color-secondary);
    animation: float 6s ease-in-out 2s infinite;
}

.dev-card.card-3 {
    border-color: var(--color-primary);
    animation: float 6s ease-in-out 4s infinite;
}

.dev-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
}

.dev-card.card-2 .dev-icon {
    background: var(--gradient-accent);
}

.dev-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.dev-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.6rem;
}

.dev-card p {
    font-size: 0.76rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

/* Footer - FONDO OSCURO */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-dark);
    color: var(--color-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-gray-lighter);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.value-tag {
    padding: 0.375rem 0.75rem;
    background: rgba(0, 71, 171, 0.3);
    color: var(--color-secondary);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--color-gray-lighter);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    font-size: 0.9375rem;
}

.footer-column ul li a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--color-gray-lighter);
}

.footer-legal-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}
.footer-legal-links a {
    color: var(--color-gray-lighter, #a0b0c0);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-links a:hover {
    color: #00C9A7;
}
.footer-legal-links span {
    margin: 0 8px;
    opacity: 0.4;
}

/* Timeline Compacto en Hero */
.compact-timeline-container {
    max-width: 100%;
    margin: 0 auto;
}

.compact-timeline-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    backdrop-filter: blur(10px);
}

.compact-timeline-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.compact-timeline-logo {
    height: 50px;
    width: auto;
}

.compact-timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 0.5rem;
}

.compact-timeline-step {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    transition: var(--transition);
    position: relative;
}

.compact-step-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    background: var(--color-gray-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.compact-step-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray);
}

.compact-timeline-step.active .compact-step-icon {
    background: var(--gradient-primary);
}

.compact-timeline-step.active .compact-step-icon svg {
    color: var(--color-white);
}

.compact-timeline-step.highlight .compact-step-icon {
    background: var(--gradient-accent);
    animation: pulse 2s infinite;
}

.compact-timeline-step.highlight .compact-step-icon svg {
    color: var(--color-white);
}

.compact-step-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.compact-timeline-step h4 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.compact-timeline-step p {
    font-size: 0.65rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.compact-timeline-line {
    position: absolute;
    top: 85px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        var(--color-primary) 20%, 
        var(--color-gray-lighter) 20%, 
        var(--color-gray-lighter) 40%, 
        var(--color-secondary) 40%, 
        var(--color-secondary) 60%, 
        var(--color-gray-lighter) 60%
    );
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .compact-timeline-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .compact-timeline-line {
        display: none;
    }
    
    .custom-dev-visual {
        gap: 0.8rem;
    }
    
    .dev-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .dev-card {
        width: 80%;
        max-width: none;
    }
}

/* Menú hamburguesa móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    /* Ajustar logo y marca en móvil */
    .nav-logo {
        height: 50px;
    }
    
    .nav-brand-text {
        font-size: 1.2rem;
    }
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menú móvil */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        padding: 0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        color: var(--color-dark);
        font-weight: 500;
    }
    
    .nav-menu .btn-nav {
        background: var(--gradient-primary);
        color: white;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .language-selector {
        width: 100%;
        margin-top: 1rem;
    }
    
    .lang-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Ocultar imagen flotante en móviles */
    .hero-image {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .dev-card {
        width: 90%;
        max-width: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .demo-form {
        flex-direction: column;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Timeline compacto responsive */
    .compact-timeline-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .compact-timeline-step {
        padding: 0.75rem;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .compact-step-icon {
        flex-shrink: 0;
    }
    
    .compact-timeline-step h4 {
        font-size: 0.9rem;
    }
    
    .compact-timeline-step p {
        font-size: 0.75rem;
    }
    
    .compact-timeline-line {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Ajustes para pantallas muy pequeñas */
    .nav-logo {
        height: 40px;
    }
    
    .nav-brand-text {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE IMPROVEMENTS — apolo-net.com
   (added 2026-03-27)
   ══════════════════════════════════════════════════════ */

/* ── Safe-area insets (iPhone notch / Dynamic Island) ── */
@supports (padding: max(0px)) {
    .navbar {
        padding-left:  max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
    footer {
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }
}

/* ── Products section — tablet (768px) ── */
@media (max-width: 768px) {
    .aicoffi-lead {
        font-size: .95rem;
        margin-bottom: 2rem;
    }
    .product-card__body { padding: 1.35rem; }
    .product-card__tag  { font-size: .75rem; }
    .product-card__name { font-size: 1.2rem; }

    .ecosystem-banner {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .ecosystem-banner__text h3 { font-size: 1.25rem; }
    .ecosystem-banner__flow    { gap: .35rem; }
    .eco-chip { font-size: .75rem; padding: .3rem .75rem; }
    .btn-eco  { width: 100%; text-align: center; }
}

/* ── Products section — mobile (480px) ── */
@media (max-width: 480px) {
    .product-card__body    { padding: 1.15rem; }
    .product-card__name    { font-size: 1.1rem; }
    .product-card__summary { font-size: .9rem; }
    .product-card__actions {
        flex-direction: column;
        gap: .5rem;
    }
    .btn-product-primary,
    .btn-product-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .ecosystem-banner { padding: 1.75rem 1.25rem; }
    .ecosystem-banner__text h3 { font-size: 1.1rem; }
    .ecosystem-banner__text p  { font-size: .88rem; }
}

/* ── Form inputs — prevent overflow on narrow screens ── */
@media (max-width: 480px) {
    .demo-form  { flex-direction: column; gap: .75rem; }
    .cta-input,
    .demo-form input[type="email"] {
        min-width: 0 !important;
        width: 100% !important;
    }
}
