/* Citrikos Theme - Main Stylesheet */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--citrikos-bg, #f8faf9);
    color: var(--citrikos-text, #1f2937);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--citrikos-accent, #10b981);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--citrikos-accent-hover, #059669);
}

.citrikos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Topbar */
.citrikos-topbar {
    background: #0b291f;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-link {
    color: #a7f3d0;
    font-weight: 600;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-sep {
    margin: 0 8px;
    opacity: 0.4;
}

/* 2. Header */
.citrikos-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 57, 43, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.citrikos-brand-logo-link {
    display: block;
    text-decoration: none;
}

.citrikos-main-logo {
    max-height: 48px;
    width: auto;
}

.citrikos-nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.citrikos-nav-menu li a {
    color: #374151;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}

.citrikos-nav-menu li a:hover {
    color: #10b981;
}

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

.citrikos-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.citrikos-header-btn.btn-pay {
    background: #10b981;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.citrikos-header-btn.btn-pay:hover {
    background: #059669;
    transform: translateY(-1px);
}

.citrikos-header-btn.btn-account {
    background: #0f392b;
    color: #ffffff !important;
}

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

.citrikos-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #0f392b;
    display: block;
}

/* 3. Hero Section (Limpio y Centrado) */
.citrikos-hero-section {
    background: linear-gradient(135deg, #0f392b 0%, #09241b 100%);
    color: #ffffff;
    padding: 90px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-clean-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 38px;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.citrikos-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    cursor: pointer;
}

.btn-primary-large {
    background: #10b981;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary-large:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-outline-large {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-outline-large:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.trust-icon {
    color: #10b981;
    font-weight: 800;
}

/* 4. Features Section (¿Por qué elegir a Citrikos?) */
.citrikos-features-section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading.text-center {
    text-align: center;
}

.section-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.section-heading h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f392b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-heading p {
    color: #64748b;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #a7f3d0;
}

.feature-icon {
    font-size: 38px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f392b;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 5. Clientes Destacados Showcase */
.citrikos-clients-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: center;
}

.client-logo-item {
    background: #f8faf9;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #10b981;
    background: #ffffff;
}

.client-img-wrap {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
}

.client-img-wrap img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.client-logo-item .client-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

/* 6. Contacto CTA Section */
.citrikos-contact-section {
    padding: 90px 0;
}

.contact-card-box {
    background: linear-gradient(135deg, #0f392b 0%, #165b45 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(15, 57, 43, 0.2);
    text-align: center;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: #a7f3d0;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.contact-card-box h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.contact-card-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.channel-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
    text-align: left;
    transition: transform 0.15s, background 0.15s;
}

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

.channel-card.channel-ws {
    background: #25d366;
    border-color: #25d366;
}

.channel-card.channel-ws:hover {
    background: #20ba5a;
}

.channel-card .ch-icon {
    font-size: 24px;
}

.channel-card strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.channel-card span {
    font-size: 12px;
    opacity: 0.9;
}

/* 7. Footer */
.citrikos-footer {
    background: #0b1a15;
    color: #94a3b8;
    padding: 70px 0 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 50px;
}

.footer-logo img {
    height: 42px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #10b981;
}

.footer-transbank-badge {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-transbank-badge strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
}

.footer-transbank-badge small {
    color: #10b981;
    font-size: 11px;
}

.footer-bottom {
    background: #06100d;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* 8. Floating WhatsApp */
.citrikos-floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.citrikos-floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.citrikos-floating-whatsapp .tooltip {
    position: absolute;
    right: 70px;
    background: #0f392b;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.citrikos-floating-whatsapp:hover .tooltip {
    opacity: 1;
}

/* ========================================================
   RESPONSIVE & VERSIÓN MÓVIL (2 COLUMNAS DE CLIENTES)
   ======================================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .header-nav.is-active {
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    .citrikos-mobile-toggle {
        display: flex;
    }
    .citrikos-hero-section {
        padding: 60px 0 70px 0;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .citrikos-topbar {
        display: none;
    }
    .contact-card-box {
        padding: 40px 20px;
    }

    /* 2 COLUMNAS DE CLIENTES EN MÓVIL */
    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .client-logo-item {
        padding: 16px 10px !important;
        border-radius: 12px !important;
    }
    .client-img-wrap {
        height: 65px !important;
        margin-bottom: 8px !important;
    }
    .client-img-wrap img {
        max-height: 55px !important;
    }
    .client-logo-item .client-name {
        font-size: 12px !important;
    }
}
