:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #0dcaf0;
    --navy: #1D3D6A;
    --cyan-light: #9fe6ff;
    --gold: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: 70px; /* espacio para navbar sticky */
}

/* ══════════════════════════════════
   NAVBAR STICKY
   ══════════════════════════════════ */
.sk-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eaeef5;
    padding: 12px 0;
    transition: box-shadow 0.3s;
}

.sk-nav.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sk-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sk-nav-logo img {
    height: 48px;
}

.sk-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sk-nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.sk-nav-links a:hover {
    color: var(--primary-color);
}

.sk-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sk-nav-actions .btn {
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-link-nav {
    background: transparent;
    color: var(--navy);
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-ghost-nav {
    background: transparent;
    color: var(--navy);
    border: 2px solid #e9ecef;
    transition: all 0.2s;
}

.btn-ghost-nav:hover {
    background: #f7f9fc;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-solid-nav {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    transition: all 0.2s;
}

.btn-solid-nav:hover {
    background: #0a58ca;
    border-color: #0a58ca;
    color: white;
}

@media (max-width: 768px) {
    .sk-nav-links {
        display: none;
    }
}

/* ══════════════════════════════════
   HERO MARKETPLACE
   ══════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--navy) 100%);
    color: white;
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1.5" fill="%23ffffff" fill-opacity="0.15"/></svg>');
    background-size: 40px 40px;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow-pill {
    display: inline-block;
    background: rgba(13, 207, 240, 0.15);
    color: var(--cyan-light);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid rgba(13, 207, 240, 0.3);
    letter-spacing: 0.5px;
}

.eyebrow-pill-highlight {
    background: rgba(13, 207, 240, 0.28);
    border-color: rgba(13, 207, 240, 0.6);
    box-shadow: 0 0 0 4px rgba(13, 207, 240, 0.12), 0 4px 14px rgba(13, 207, 240, 0.25);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight-cyan {
    color: var(--cyan-light);
}

.hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 32px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.88;
}

.trust-row i {
    color: var(--cyan-light);
    margin-right: 6px;
}

/* ══════════════════════════════════
   BROWSER MOCKUP (vitrina tienda)
   ══════════════════════════════════ */
.browser-mock-wrap {
    position: relative;
}

.browser-mock {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
}

/* Logos de redes sociales flotando alrededor del mockup */
.social-float {
    position: absolute;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: social-float-bob 3.4s ease-in-out infinite;
}

.social-float img {
    max-width: 32px;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.social-float-1 { top: -16px; left: -16px; }
.social-float-2 { top: -14px; right: -16px; }
.social-float-3 { bottom: 30%; right: -26px; }
.social-float-4 { bottom: -16px; left: 20%; }
.social-float-5 { top: 20%; left: -24px; }
.social-float-6 { bottom: 8%; left: -14px; }

@keyframes social-float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.browser-header {
    background: #f0f4ff;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #28c840; }

.browser-address {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.browser-body {
    padding: 24px;
    background: #fafbfc;
    min-height: 300px;
}

.store-header-mock {
    text-align: center;
    margin-bottom: 24px;
}

.store-header-mock h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.store-header-mock p {
    font-size: 12px;
    color: #6c757d;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-card-mock {
    background: white;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s;
}

.product-card-mock:hover {
    transform: translateY(-2px);
}

.product-img-mock {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
}

.product-img-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-name-mock {
    font-size: 12px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

.product-price-mock {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.product-stock-mock {
    font-size: 10px;
    color: #198754;
    margin-bottom: 8px;
}

.product-btn-mock {
    width: 100%;
    padding: 6px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.sync-chip {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #198754;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sync-chip::before {
    content: '🔁';
    font-size: 12px;
}

@media (max-width: 768px) {
    .browser-mock {
        display: none;
    }
}

@media (max-width: 991px) {
    .browser-mock-wrap .browser-mock {
        display: none;
    }

    .browser-mock-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding: 12px 0;
        min-height: 0;
    }

    .social-float {
        position: static;
    }
}

/* ══════════════════════════════════
   MARKETPLACE CARDS
   ══════════════════════════════════ */
.mk-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
    height: 100%;
}

.mk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.12);
    border-color: var(--primary-color);
}

.mk-card-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.mk-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.mk-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════
   HOW IT WORKS - STEPS
   ══════════════════════════════════ */
.how-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 32px;
}

.how-step:last-child {
    margin-bottom: 0;
}

.how-step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.how-step h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.how-step p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════
   ENGINE SECTION (motor de gestión)
   ══════════════════════════════════ */
.engine-section {
    background: var(--navy);
    color: white;
    padding: 80px 0;
}

.engine-eyebrow {
    color: var(--cyan-light);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.engine-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.engine-section .subtitle {
    font-size: 18px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 48px;
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.engine-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s;
}

.engine-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.engine-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.engine-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.engine-also {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

.engine-also strong {
    color: var(--gold);
}

/* ══════════════════════════════════
   WHO PILLS (para quién es)
   ══════════════════════════════════ */
.who-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.who-pill {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.3s;
}

.who-pill:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-custom {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

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

.btn-primary-custom:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.social-proof-section {
    background: #f0f4ff;
    padding: 70px 0;
}

.stat-block {
    text-align: center;
    padding: 20px;
}

.stat-number-lg {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: #6c757d;
    margin-top: 8px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-card {
    border-radius: 16px;
    border: 2px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(13,110,253,0.15);
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-period {
    font-size: 14px;
    color: #6c757d;
}

.badge-popular {
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.cta-final-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    color: white;
    padding: 80px 0;
}

.footer {
    background: #212529;
    color: white;
    padding: 40px 0 20px 0;
}

/* ── Carousel: Conoce Stockly ── */
.carousel-section {
    padding: 80px 0;
    background: #fff;
}

.mockup-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    height: 380px;
    border: 1px solid #e9ecef;
}

.mockup-navbar {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 13px;
    height: 44px;
}

.mockup-navbar-brand { font-weight: 700; }
.mockup-navbar-sep { opacity: 0.6; }
.mockup-navbar-module { opacity: 0.85; }

.mockup-body {
    padding: 14px;
    height: 336px;
    overflow: hidden;
    background: #f8f9fa;
}

.mockup-metric-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    border-left: 3px solid #0d6efd;
    height: 100%;
}
.mockup-metric-card.border-warning-custom { border-left-color: #ffc107; }
.mockup-metric-card.border-danger-custom  { border-left-color: #dc3545; }
.mockup-metric-card.border-secondary-custom { border-left-color: #6c757d; }

.mockup-metric-value { font-size: 13px; font-weight: 700; line-height: 1.2; }
.mockup-metric-label { font-size: 10px; color: #6c757d; margin-top: 2px; }

.mockup-chart-title { font-size: 11px; font-weight: 600; color: #495057; margin-bottom: 6px; }
.mock-bar-container { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mock-bar { flex: 1; background: linear-gradient(to top, #0d6efd, #74affe); border-radius: 3px 3px 0 0; }
.mock-bar-labels { display: flex; justify-content: space-between; font-size: 10px; color: #6c757d; margin-top: 3px; }
.mock-bar-labels span { flex: 1; text-align: center; }

.mockup-search-bar {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
}

.mockup-table { font-size: 11px; width: 100%; border-collapse: collapse; }
.mockup-table th { background: #eef2ff; padding: 5px 8px; font-weight: 600; font-size: 10px; color: #6c757d; text-transform: uppercase; }
.mockup-table td { padding: 5px 8px; background: white; border-bottom: 1px solid #f4f4f4; }
.mockup-total-row td { background: #f8f9fa; }

.mockup-badge-danger  { background: #fee2e2; color: #dc3545; border-radius: 4px; padding: 2px 7px; font-size: 10px; font-weight: 600; }
.mockup-badge-success { background: #dcfce7; color: #198754; border-radius: 4px; padding: 2px 7px; font-size: 10px; font-weight: 600; }
.mockup-badge-warning { background: #fef9c3; color: #ca8a04; border-radius: 4px; padding: 2px 7px; font-size: 10px; font-weight: 600; }
.mockup-badge-weight  { background: #dbeafe; color: #0d6efd; border-radius: 4px; padding: 1px 5px; font-size: 9px; margin-left: 4px; }

.mockup-btn-primary   { background: #0d6efd; color: white; border: none; border-radius: 5px; padding: 5px 12px; font-size: 11px; font-weight: 600; cursor: default; }
.mockup-btn-warning   { background: #f59e0b; color: white; border: none; border-radius: 5px; padding: 5px 12px; font-size: 11px; font-weight: 600; cursor: default; }
.mockup-btn-sm-success { background: #198754; color: white; border: none; border-radius: 4px; padding: 3px 8px; font-size: 10px; cursor: default; }
.mockup-btn-sm-outline { background: white; color: #0d6efd; border: 1px solid #0d6efd; border-radius: 4px; padding: 3px 8px; font-size: 10px; cursor: default; }

.mockup-summary-row { font-size: 11px; }

.mockup-form-group { margin-bottom: 4px; }
.mockup-label { font-size: 10px; font-weight: 600; color: #6c757d; display: block; margin-bottom: 3px; text-transform: uppercase; }
.mockup-select, .mockup-input { background: white; border: 1px solid #dee2e6; border-radius: 5px; padding: 6px 8px; font-size: 11px; color: #333; display: block; width: 100%; }

.mockup-loss-summary { background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: 7px 10px; font-size: 11px; }

.mockup-report-card { background: white; border-radius: 8px; padding: 12px; text-align: center; border: 1px solid #e9ecef; }
.mockup-report-title { font-size: 11px; font-weight: 600; color: #333; margin: 6px 0; }

#stocklyCarousel .carousel-indicators {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
}
#stocklyCarousel .carousel-indicators [data-bs-target] {
    background-color: #0d6efd;
    opacity: 0.35;
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    flex-shrink: 0;
}
#stocklyCarousel .carousel-indicators .active { opacity: 1; }
#stocklyCarousel .carousel-control-prev,
#stocklyCarousel .carousel-control-next {
    width: 44px; height: 44px;
    background: rgba(13,110,253,0.85);
    border-radius: 50%;
    top: 190px;
    bottom: auto;
    opacity: 1;
    margin: 0 -10px;
}
#stocklyCarousel .carousel-control-prev-icon,
#stocklyCarousel .carousel-control-next-icon { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .mockup-window { height: auto; min-height: 300px; }
    .mockup-body { height: auto; }
    #stocklyCarousel .carousel-control-prev,
    #stocklyCarousel .carousel-control-next { display: none; }
}

/* ── FAQ Section ── */
.faq-section { padding: 80px 0; background: #f8f9fa; }

.faq-accordion .accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    color: #212529;
    font-size: 15px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #eef2ff;
    box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body {
    color: #495057;
    font-size: 15px;
    line-height: 1.75;
    padding-top: 4px;
}

/* ── Banner Sercotec ── */
.sercotec-banner {
    --sercotec-bg-start: var(--primary-color);
    --sercotec-bg-end: #1a6b3c;
    --sercotec-accent-gold: #F5A623;
    --sercotec-accent-green: #2ecc71;
    --sercotec-accent-cyan: #00d4ff;
    background: linear-gradient(135deg, var(--sercotec-bg-start) 0%, var(--sercotec-bg-end) 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sercotec-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}
.sercotec-badge-gov {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}
.sercotec-sep {
    border-color: rgba(255,255,255,0.2);
    margin: 1.25rem 0;
}
.sercotec-stat-block {
    text-align: center;
    padding: 1.25rem 1rem;
}
.sercotec-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.sercotec-stat-amount {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}
.sercotec-stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.sercotec-stat-desc {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.6);
}
.sercotec-divider-right {
    border-right: 1px solid rgba(255,255,255,0.15);
}
.sercotec-cta-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}
.sercotec-cta-btn:hover {
    background: #F5A623;
    color: #1a1a1a;
}
.sercotec-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}
@media (max-width: 767px) {
    .sercotec-divider-right {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .sercotec-stat-amount { font-size: 1.5rem; }
    .sercotec-banner { padding: 1.75rem 1.25rem; }
}

/* ═══ REFERRAL SECTION ═══ */
.referral-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.referral-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" fill-opacity="0.3"/></svg>');
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
}

.referral-section .container {
    position: relative;
    z-index: 1;
}

.referral-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .referral-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

.referral-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.referral-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.referral-title .highlight {
    background: #f59e0b;
    color: #1a1a2e;
    padding: 2px 14px;
    border-radius: 10px;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.referral-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 520px;
}

@media (max-width: 768px) {
    .referral-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.referral-how {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
}

.referral-how li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 1.02rem;
}

.referral-how .step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 2px;
}

.referral-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #6366f1;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.referral-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #6366f1;
}

.referral-visual {
    background: rgba(26, 26, 46, 0.95);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 12px 12px 0 rgba(245, 158, 11, 0.9);
    position: relative;
}

.referral-visual .visual-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 16px;
    font-weight: 600;
}

.referral-visual .visual-number {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: #f59e0b;
    letter-spacing: -0.05em;
}

.referral-visual .visual-equals {
    font-size: 2.2rem;
    opacity: 0.6;
    margin: 8px 0;
    font-style: italic;
}

.referral-visual .visual-reward {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.referral-visual .visual-reward-sub {
    font-size: 1.15rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 24px;
}

.referral-visual .visual-detail {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.85;
    text-align: left;
}

.referral-visual .visual-detail strong {
    color: #f59e0b;
}

.referral-section .deco-star {
    position: absolute;
    color: #f59e0b;
    opacity: 0.4;
    font-size: 3rem;
    pointer-events: none;
}

.referral-section .deco-star.s1 { top: 60px; right: 12%; transform: rotate(15deg); }
.referral-section .deco-star.s2 { bottom: 80px; left: 8%; transform: rotate(-10deg); font-size: 2rem; }

/* ====================
   TESTIMONIOS SECTION
   ==================== */

.testimonios-section {
    background: linear-gradient(135deg, #fdfbf7 0%, #f4f0ff 50%, #fdfbf7 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Encabezado */
.testimonios-header {
    margin-bottom: 60px;
}

.testimonios-eyebrow {
    font-style: italic;
    font-size: 1.1rem;
    color: #8b5cf6;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
}

.testimonios-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.testimonios-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de cards */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card individual — es un enlace <a> */
.testimonio-card {
    background: white;
    border: 2.5px solid #1a1a2e;
    border-radius: 20px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 0 #f59e0b;
    cursor: pointer;
}

.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: 12px 12px 0 #f59e0b;
    text-decoration: none;
    color: inherit;
}

.testimonio-card:active {
    transform: translateY(-2px);
}

/* Comilla decorativa que sobresale de la card */
.testimonio-quote-mark {
    position: absolute;
    top: -20px;
    left: 24px;
    background: #1a1a2e;
    color: #fdfbf7;
    font-family: 'Georgia', serif;
    font-size: 36px;
    font-style: italic;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
    font-weight: 400;
}

/* Texto del testimonio */
.testimonio-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #1a1a2e;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 24px;
    flex: 1;
}

/* Footer con info del usuario */
.testimonio-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

/* Avatar con inicial del negocio */
.testimonio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 24px;
    flex-shrink: 0;
}

.testimonio-user-info {
    flex: 1;
    min-width: 0;
}

.testimonio-username {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.2;
}

.testimonio-handle {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #1D3D6A;
    font-weight: 600;
    margin-top: 4px;
}

.testimonio-role {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
    font-family: 'Courier New', monospace;
}

.testimonio-instagram-icon {
    color: #1D3D6A;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.testimonio-card:hover .testimonio-instagram-icon {
    opacity: 1;
}

/* CTA debajo de las cards */
.testimonios-cta-text {
    font-style: italic;
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-family: 'Georgia', serif;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonios-section {
        padding: 60px 0;
    }

    .testimonios-title {
        font-size: 2rem;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonio-card {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .testimonios-title {
        font-size: 1.75rem;
    }

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

/* ── Space Grotesk para titulares ── */
.display-font {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.hero h1, .hero-section h1 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Fade-in on scroll ── */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-in-up { opacity: 1; transform: none; transition: none; }
}

/* ── Banda "Cotiza tu landing page" ── */
.landing-band {
    background: var(--navy);
    color: white;
    padding: 48px 0;
}
.landing-band .band-btn {
    background: var(--gold);
    color: #1a1a2e;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
}
.landing-band .band-btn:hover {
    background: #d97706;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* ── Botones Redes Sociales ── */
.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 2px solid transparent;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    text-decoration: none;
}

.btn-social svg {
    flex-shrink: 0;
}

/* Instagram */
.btn-social-instagram {
    background: white;
    color: #C13584;
    border-color: rgba(255,255,255,0.7);
}

.btn-social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: transparent;
}

/* TikTok */
.btn-social-tiktok {
    background: white;
    color: #010101;
    border-color: rgba(255,255,255,0.7);
}

.btn-social-tiktok:hover {
    background: #010101;
    color: white;
    border-color: transparent;
}

/* Variantes footer (fondo oscuro) */
.btn-social-footer {
    padding: 7px 16px;
    font-size: 13px;
    gap: 7px;
}

.btn-social-footer.btn-social-instagram {
    background: rgba(255,255,255,0.08);
    color: #f9a8d4;
    border-color: rgba(255,255,255,0.2);
}

.btn-social-footer.btn-social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: transparent;
}

.btn-social-footer.btn-social-tiktok {
    background: rgba(255,255,255,0.08);
    color: #d1d5db;
    border-color: rgba(255,255,255,0.2);
}

.btn-social-footer.btn-social-tiktok:hover {
    background: #010101;
    color: white;
    border-color: #555;
}
