/* ═══════════════════════════════════════════════════════════════════
   SAC Fly · BASE COMPARTIDA — variables, eyebrow, paddings y fondos comunes.
 * Se carga SIEMPRE que la página tenga al menos un componente.
   Generado al partir components.css — NO editar a mano sin criterio.
   ═══════════════════════════════════════════════════════════════════ */

/*
 * components.css — SAC Fly Component System
 *
 * Estilos para los 12 componentes del sistema flexible.
 * Requiere que main.css esté cargado primero (usa sus variables :root).
 *
 * Índice:
 *  0.  Utilidades de componentes (eyebrow, bg helpers)
 *  1.  Hero
 *  2.  Two Columns
 *  3.  Features
 *  4.  Stats
 *  5.  Pricing
 *  6.  Testimonials
 *  7.  FAQ
 *  8.  CTA Band
 *  9.  Text Block
 * 10.  Logo Strip
 * 11.  Team
 * 12.  Services Grid
 * 13.  Casos de éxito
 */

/*
 * components.css — SAC Fly Component System
 *
 * Sistema visual moderno para componentes reutilizables.
 * Mobile first, responsive y compatible con las clases originales.
 *
 * Requiere que main.css esté cargado primero.
 */


/* ═══════════════════════════════════════════════════════════════════
   0. TOKENS LOCALES Y UTILIDADES
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --comp-section-padding-y: clamp(56px, 8vw, 112px);
    --comp-section-padding-y-sm: clamp(40px, 6vw, 72px);

    --comp-card-radius: 24px;
    --comp-card-radius-sm: 18px;
    --comp-card-border: rgba(15, 23, 42, 0.08);

    --comp-soft-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    --comp-card-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    --comp-card-shadow-hover: 0 24px 70px rgba(15, 23, 42, 0.14);

    --comp-glass-bg: rgba(255, 255, 255, 0.08);
    --comp-glass-border: rgba(255, 255, 255, 0.16);

    --comp-gradient-brand: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-secondary) 68%, var(--color-brand-accent) 100%);
    --comp-gradient-blue: linear-gradient(135deg, #2c3a5c 0%, #405481 58%, #6a7da8 100%);
    --comp-gradient-dark: radial-gradient(circle at top left, rgba(64, 84, 129, 0.28), transparent 32%),
                          linear-gradient(135deg, #1b2438 0%, #2c3a5c 55%, #151c2c 100%);

    --comp-transition: 220ms ease;
}

.comp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(64, 84, 129, 0.14);
    border-radius: var(--radius-full);
    background: rgba(64, 84, 129, 0.07);
    color: var(--color-brand-secondary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/*.comp-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(64, 84, 129, 0.12);
}*/

.comp-features,
.comp-two-col,
.comp-text-block,
.comp-services,
.comp-testimonials,
.comp-stats,
.comp-pricing,
.comp-faq,
.comp-team {
    position: relative;
    padding-block: var(--comp-section-padding-y);
    overflow: hidden;
}

.comp-features--bg-white,
.comp-two-col--bg-white,
.comp-text-block--bg-white,
.comp-services--bg-white,
.comp-testimonials--bg-white {
    background: var(--color-bg);
}

.comp-features--bg-alt,
.comp-two-col--bg-alt,
.comp-text-block--bg-alt,
.comp-services--bg-alt,
.comp-testimonials--bg-alt {
    background:
        radial-gradient(circle at top left, rgba(64, 84, 129, 0.08), transparent 34%),
        radial-gradient(circle at bottom right, rgba(244, 162, 97, 0.10), transparent 30%),
        var(--color-bg-alt);
}

.comp-features--bg-dark,
.comp-two-col--bg-dark,
.comp-services--bg-dark,
.comp-testimonials--bg-dark {
    background: var(--comp-gradient-dark);
    color: rgba(255, 255, 255, .86);
}

.comp-features--bg-dark h2,
.comp-features--bg-dark h3,
.comp-two-col--bg-dark h2,
.comp-two-col--bg-dark h3,
.comp-services--bg-dark h2,
.comp-services--bg-dark h3,
.comp-testimonials--bg-dark h2,
.comp-testimonials--bg-dark h3 {
    color: var(--color-white);
}

.comp-features--bg-dark .section__header p,
.comp-two-col--bg-dark p,
.comp-services--bg-dark .section__header p,
.comp-testimonials--bg-dark .section__header p {
    color: rgba(255, 255, 255, .68);
}

.comp-features--bg-dark .comp-eyebrow,
.comp-two-col--bg-dark .comp-eyebrow,
.comp-services--bg-dark .comp-eyebrow,
.comp-testimonials--bg-dark .comp-eyebrow {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .9);
}




/* ─── Responsive/accesibilidad compartido ─── */
/* ═══════════════════════════════════════════════════════════════════
   14. ACCESIBILIDAD Y RESPONSIVE FINO
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .comp-features,
    .comp-two-col,
    .comp-text-block,
    .comp-services,
    .comp-testimonials,
    .comp-stats,
    .comp-pricing,
    .comp-faq,
    .comp-team {
        padding-block: 48px;
    }

    .comp-hero {
        padding-top: calc(var(--header-height) + var(--space-12));
    	padding-bottom: var(--space-20);
    }

    .comp-pricing-card__name {
        padding-right: 0;
    }

    .comp-pricing-card__badge {
        position: static;
        transform: none;
        margin-bottom: -8px;
    }

    .comp-stats__grid {
        grid-template-columns: 1fr;
    }

    .comp-stat {
        text-align: left;
    }

    .comp-hero__actions .btn,
    .comp-cta-band__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comp-feature-card,
    .comp-pricing-card,
    .comp-testi-card,
    .comp-team-card,
    .comp-service-card,
    .comp-logo-strip__img,
    .comp-faq__icon,
    .comp-faq__icon::before,
    .comp-faq__icon::after {
        transition: none;
    }

    .comp-feature-card:hover,
    .comp-pricing-card:hover,
    .comp-testi-card:hover,
    .comp-team-card:hover,
    .comp-service-card:hover,
    .comp-logo-strip__logo:hover .comp-logo-strip__img {
        transform: none;
    }
}

