/* ==========================================
   JELODA — Colombianos en el Exterior (p/usa/dom/index.css)
   Patron visual consistente con la home:
   - Fondo dark
   - Glass cards
   - Brand color #651fff (violeta)
   - SVGs en iconos
   - CTAs WhatsApp green + primary violeta
   ========================================== */

/* ── Hero (consistente con la home, fondo dark con acento violeta) ── */
.usa-hero {
    position: relative;
    padding: 100px 0 80px;
    background: #0a0a14;
    color: #fff;
    overflow: hidden;
}

.usa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(101, 31, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.usa-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(101, 31, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.usa-hero__globe {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    opacity: 0.5;
    pointer-events: none;
}
@media (max-width: 1024px) { .usa-hero__globe { display: none; } }

.usa-hero .container.relative-z { position: relative; z-index: 2; }

.usa-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.usa-hero__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: usaBadgePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes usaBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.usa-hero__title {
    font-size: clamp(2.1rem, 4.8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 18px 0;
    max-width: 850px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.usa-hero__title-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.usa-hero__desc {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin: 0 0 32px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.usa-hero__desc strong {
    color: #fbbf24;
    font-weight: 700;
}

.usa-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.usa-hero__actions .btn {
    height: 56px;
    padding: 0 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.usa-hero__actions .btn-primary {
    background: linear-gradient(135deg, #651fff 0%, #7c4dff 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(101, 31, 255, 0.4);
}
.usa-hero__actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(101, 31, 255, 0.5);
}

.usa-hero__actions .btn-outline {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.usa-hero__actions .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.usa-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}
.usa-hero__trust .hero__dot {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

/* ── Ciudades donde están los clientes (glass card) ── */
.usa-hero__cities {
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.usa-hero__cities-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.usa-hero__cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.usa-hero__city {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.2s ease, background 0.2s ease;
}
.usa-hero__city:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

/* ── TRUST BAR (mismo patrón que la home) ── */
.usa-trust-bar {
    padding: 64px 0 56px;
    background: linear-gradient(180deg, transparent 0%, rgba(101, 31, 255, 0.04) 50%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.theme--light .usa-trust-bar {
    background: linear-gradient(180deg, transparent 0%, rgba(101, 31, 255, 0.02) 50%, transparent 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.usa-trust-bar__head {
    text-align: center;
    margin-bottom: 32px;
}

.usa-trust-bar__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.55;
    margin: 0;
}

.usa-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.usa-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.usa-trust-bar__item:hover {
    transform: translateY(-4px);
}
.theme--dark .usa-trust-bar__item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.theme--dark .usa-trust-bar__item:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.theme--light .usa-trust-bar__item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.theme--light .usa-trust-bar__item:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.usa-trust-bar__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    color: #fff;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: linear-gradient(135deg, #651fff 0%, #7c4dff 100%);
}
.usa-trust-bar__icon--blue   { background-image: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important; }
.usa-trust-bar__icon--green  { background-image: linear-gradient(135deg, #10B981 0%, #047857 100%) !important; }
.usa-trust-bar__icon--orange { background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important; }
.usa-trust-bar__icon--purple { background-image: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important; }
.usa-trust-bar__icon--pink   { background-image: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important; }
.usa-trust-bar__icon--cyan   { background-image: linear-gradient(135deg, #06B6D4 0%, #0E7490 100%) !important; }

.usa-trust-bar__icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #fff;
    fill: none;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
    max-width: 24px;
    max-height: 24px;
    position: relative;
}

.usa-trust-bar__text {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.usa-trust-bar__item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
}
.theme--dark .usa-trust-bar__item strong { color: #fff; }
.theme--light .usa-trust-bar__item strong { color: #1a1a1a; }

.usa-trust-bar__item span {
    display: block;
    font-size: 0.82rem;
    opacity: 0.65;
    line-height: 1.3;
}

/* ── Section heads (unificado con home) ── */
.usa-problem,
.usa-features,
.usa-testimonials,
.usa-how,
.usa-cta {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-head p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 620px;
    margin: 0 auto;
}
.theme--dark .section-head h2 { color: #fff; }
.theme--light .section-head h2 { color: #1a1a1a; }

/* ── Problema / Solución (glass cards) ── */
.usa-problem {
    background: linear-gradient(180deg, transparent 0%, rgba(101, 31, 255, 0.04) 50%, transparent 100%);
}
.usa-problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.usa-problem__col {
    padding: 36px 32px;
    border-radius: 20px;
}
.theme--dark .usa-problem__col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.theme--light .usa-problem__col {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.usa-problem__col--solution {
    background: linear-gradient(135deg, #1a0033 0%, #2d1b69 100%) !important;
    color: #fff;
    border: 1px solid rgba(101, 31, 255, 0.3) !important;
    box-shadow: 0 12px 32px rgba(101, 31, 255, 0.2) !important;
}
.usa-problem__col--solution .usa-problem__title { color: #fff; }
.usa-problem__col--solution .usa-problem__list li { color: rgba(255, 255, 255, 0.95); border-bottom-color: rgba(255, 255, 255, 0.12); }

.usa-problem__label {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.usa-problem__label--solution {
    background: rgba(101, 31, 255, 0.25);
    color: #c4b5fd;
}

.usa-problem__title {
    font-size: clamp(1.3rem, 2.3vw, 1.6rem);
    font-weight: 800;
    margin: 0 0 24px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.theme--dark .usa-problem__title { color: #fff; }
.theme--light .usa-problem__title { color: #1a1a1a; }

.usa-problem__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.usa-problem__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.usa-problem__col:not(.usa-problem__col--solution) .usa-problem__list li {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
.usa-problem__list li:last-child { border-bottom: none; }

.usa-problem__bullet {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: #ef4444;
}
.usa-problem__bullet--check { stroke: #4ade80; }

/* ── Features grid (mismo patrón que la home) ── */
.usa-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.usa-feature {
    padding: 30px 26px;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.usa-feature:hover { transform: translateY(-4px); }
.theme--dark .usa-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.theme--dark .usa-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.theme--light .usa-feature {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.theme--light .usa-feature:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.usa-feature__icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    max-width: 54px;
    max-height: 54px;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    color: #fff;
    overflow: hidden;
    line-height: 0;
    margin: 0 0 16px 0;
    padding: 0;
    text-align: center;
    background-image: linear-gradient(135deg, #651fff 0%, #7c4dff 100%);
}
.usa-feature__icon--blue   { background-image: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important; }
.usa-feature__icon--green  { background-image: linear-gradient(135deg, #10B981 0%, #047857 100%) !important; }
.usa-feature__icon--orange { background-image: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important; }
.usa-feature__icon--purple { background-image: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important; }
.usa-feature__icon--pink   { background-image: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important; }
.usa-feature__icon--cyan   { background-image: linear-gradient(135deg, #06B6D4 0%, #0E7490 100%) !important; }
.usa-feature__icon--red    { background-image: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%) !important; }
.usa-feature__icon--teal   { background-image: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%) !important; }
.usa-feature__icon--violet { background-image: linear-gradient(135deg, #A855F7 0%, #7E22CE 100%) !important; }

.usa-feature__icon svg {
    width: 26px !important;
    height: 26px !important;
    stroke: #fff;
    fill: none;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
    max-width: 26px;
    max-height: 26px;
    position: relative;
}

.usa-feature h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.theme--dark .usa-feature h3 { color: #fff; }
.theme--light .usa-feature h3 { color: #1a1a1a; }

.usa-feature p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    opacity: 0.75;
}

/* ── Testimonials ── */
.usa-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.usa-testimonial {
    padding: 30px 28px;
    border-radius: 18px;
    border-left: 4px solid #651fff;
    position: relative;
}
.theme--dark .usa-testimonial {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #651fff;
}
.theme--light .usa-testimonial {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid #651fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.usa-testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 18px 0;
}

.usa-testimonial__author strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.usa-testimonial__author span {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ── How it works ── */
.usa-how {
    background: linear-gradient(180deg, transparent 0%, rgba(101, 31, 255, 0.04) 50%, transparent 100%);
}

.usa-how__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.usa-how__step {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    padding: 32px 24px;
    border-radius: 18px;
}
.theme--dark .usa-how__step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.theme--light .usa-how__step {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.usa-how__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #651fff 0%, #7c4dff 100%);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(101, 31, 255, 0.3);
}

.usa-how__step h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.theme--dark .usa-how__step h3 { color: #fff; }
.theme--light .usa-how__step h3 { color: #1a1a1a; }

.usa-how__step p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    opacity: 0.75;
}

.usa-how__arrow {
    font-size: 2rem;
    color: #651fff;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─ Final CTA ── */
.usa-cta {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(101, 31, 255, 0.2);
    background: linear-gradient(135deg, rgba(101, 31, 255, 0.12) 0%, rgba(101, 31, 255, 0.03) 100%);
    color: #fff;
    padding: 80px 0;
    margin: 0 12px 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   SOLUCIÓN: Usar el mismo patrón que p/restaurantes y p/software-pos
   Wrapper con padding-bottom + CTA con gradiente sutil (sin fondo negro)
   ═══════════════════════════════════════════════════════════════════ */
.usa-page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 120px !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.usa-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 12px 0;
}
.usa-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 28px 0;
}
.usa-cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.usa-cta .btn {
    height: 56px;
    padding: 0 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
}
.usa-cta .btn-primary {
    background: linear-gradient(135deg, #651fff 0%, #7c4dff 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(101, 31, 255, 0.4);
}
.usa-cta .btn-outline {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.usa-cta__small {
    font-size: 0.88rem;
    opacity: 0.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── Responsive ── */
@media (max-width: 899px) {
    .usa-trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .usa-features__grid { grid-template-columns: repeat(2, 1fr); }
    .usa-testimonials__grid { grid-template-columns: 1fr; }
    .usa-problem__grid { grid-template-columns: 1fr; }
    .usa-how__steps { flex-direction: column; }
    .usa-how__arrow { transform: rotate(90deg); }
}
@media (max-width: 599px) {
    .usa-hero { padding: 120px 0 60px; }
    .usa-problem,
    .usa-features,
    .usa-testimonials,
    .usa-how,
    .usa-trust-bar { padding: 56px 0; }
    .usa-cta { margin-bottom: -60px; }
    .usa-cta::after { bottom: -60px; height: 150px; }
    .usa-cta__wave { bottom: -60px; }
    .usa-hero__trust { font-size: 0.82rem; }
    .usa-hero__cities { padding: 16px 18px; }
    .usa-trust-bar__grid { grid-template-columns: 1fr; gap: 12px; }
    .usa-features__grid { grid-template-columns: 1fr; }
    .usa-trust-bar__item { padding: 16px 18px; }
    .usa-trust-bar__icon,
    .usa-feature__icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        max-width: 42px;
        max-height: 42px;
    }
    .usa-trust-bar__icon svg { width: 22px !important; height: 22px !important; max-width: 22px; max-height: 22px; }
    .usa-feature__icon svg { width: 22px !important; height: 22px !important; max-width: 22px; max-height: 22px; }
}
