/* ============================================================
   Élite FarmacIA - Public Marketing Pages
   ============================================================ */

/* ============================================================
   NAVIGATION
   ============================================================ */

.pub-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f3f5f8;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    padding: 0 24px;
}

.pub-nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.pub-nav .pub-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.pub-logo img {
    height: 130px;
    width: auto;
    margin: 60px -15px 0 -15px;
    background-color: #f3f5f8;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    padding: 4px 8px;
}

@media (max-width: 849px) {
    .pub-logo img {
        height: 60px;
        margin: 0;
        padding: 2px 6px;
    }
}

.pub-logo strong {
    font-size: 18px;
    color: var(--primary);
}

.pub-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pub-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    position: relative;
}

.pub-nav-links a:hover,
.pub-nav-links a.active {
    color: var(--primary);
}

.pub-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* "Más" dropdown in public nav */
.pub-nav-dropdown { position: relative; display: flex; align-items: center; }

.pub-nav-dropdown-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
}

.pub-nav-dropdown-toggle:hover,
.pub-nav-dropdown.is-active .pub-nav-dropdown-toggle,
.pub-nav-dropdown.open .pub-nav-dropdown-toggle {
    color: var(--primary);
}

.pub-nav-dropdown.is-active .pub-nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    left: 0;
    right: 14px;
    bottom: -4px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.pub-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 6px;
    min-width: 160px;
    display: none;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 1001;
}

.pub-nav-dropdown.open .pub-nav-dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.pub-nav-dropdown-menu a {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
}

.pub-nav-dropdown-menu a:hover { background: var(--bg-secondary); color: var(--primary); }
.pub-nav-dropdown-menu a.active { color: var(--primary); font-weight: 600; }

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

.pub-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.pub-cta-nav {
    white-space: nowrap;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.pub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.pub-container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2A4F8F 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.font-small {
    font-size: 18px;
    display: block;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(142,196,32,0.2);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(142,196,32,0.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-ctas .btn-hero {
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(142,196,32,0.4);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(142,196,32,0.5);
    color: #fff;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.hero-proof {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    opacity: 0.85;
}

.hero-proof-item {
    text-align: center;
}

.hero-proof-item .proof-num {
    font-size: 28px;
    font-weight: 800;
    display: block;
    color: var(--accent);
}

.hero-proof-item .proof-label {
    font-size: 13px;
    opacity: 0.8;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Hero placeholder visual (RUMBO letters) */
.hero-rumbo-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 460px;
}

.hero-rumbo-letter {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero-rumbo-letter:hover {
    background: rgba(255,255,255,0.22);
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(142, 196, 32, 0.25);
}

.hero-rumbo-letter:hover .letter {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(142, 196, 32, 0.3);
}

.hero-rumbo-letter .letter {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    flex-shrink: 0;
}

.hero-rumbo-letter .letter-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-rumbo-letter .letter-text p {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.3;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.pub-section {
    padding: 100px 24px;
}

.pub-section.bg-white {
    background: #fff;
}

.pub-section.bg-light {
    background: var(--bg-secondary);
}

.pub-section.bg-dark {
    background: var(--primary-dark);
    color: #fff;
}

.pub-section.bg-primary {
    background: var(--primary);
    color: #fff;
}

.pub-section.bg-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.bg-dark .section-title,
.bg-primary .section-title,
.bg-gradient .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.bg-dark .section-subtitle,
.bg-primary .section-subtitle,
.bg-gradient .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   PAIN POINTS / PROBLEM SECTION
   ============================================================ */

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.pain-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.pain-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================
   TRANSFORMATION / BEFORE-AFTER
   ============================================================ */

.transform-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.transform-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.transform-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.transform-item .t-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.transform-before .t-icon {
    background: rgba(220,53,69,0.1);
    color: var(--danger);
}

.transform-after .t-icon {
    background: rgba(142,196,32,0.15);
    color: var(--accent-dark);
}

.transform-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.transform-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--accent);
    padding-top: 40px;
}

/* ============================================================
   METHOD / HOW IT WORKS (RUMBO Steps)
   ============================================================ */

.method-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.method-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 2px;
}

.method-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.method-step:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.method-step:hover .method-step-num {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(142, 196, 32, 0.3);
}

.method-step-num {
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.method-step-num {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(142,196,32,0.3);
}

.bg-dark .method-step-num,
.bg-gradient .method-step-num {
    border: 3px solid rgba(255,255,255,0.2);
}

.method-step-content {
    flex: 1;
    padding-top: 8px;
}

.method-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.method-step-content .step-sub {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.bg-dark .method-step-content .step-sub {
    color: var(--accent-light);
}

.method-step-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ============================================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author .author-name {
    font-weight: 600;
    font-size: 14px;
}

.testimonial-author .author-role {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================================
   PRICING CARD (CTA Section)
   ============================================================ */

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

.pricing-card {
    display: inline-block;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 480px;
    width: 100%;
    border: 2px solid var(--accent);
    position: relative;
}

.bg-dark .pricing-card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.pricing-card .pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Warm "price anchor explainer" variant — used when there's a struck-through
   price. Justifies the discount so the strike-through reads as real, not
   like a marketing trick. */
.pricing-card .pricing-badge-urgent {
    background: linear-gradient(135deg, #ff9f0a 0%, #ff6b00 100%);
    padding: 8px 18px 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.15px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.32);
    max-width: calc(100% - 32px);
}

.pricing-card .pricing-badge-urgent svg {
    flex-shrink: 0;
    animation: pricingBadgePulse 2.4s ease-in-out infinite;
}

.pricing-card .pricing-badge-sep {
    opacity: 0.55;
    font-weight: 400;
}

.pricing-card .pricing-badge-sub {
    opacity: 0.92;
    font-weight: 700;
}

@keyframes pricingBadgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.18); opacity: 0.85; }
}

@media (max-width: 540px) {
    .pricing-card .pricing-badge-urgent {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        padding: 8px 14px;
        max-width: calc(100% - 24px);
        font-size: 12px;
    }
    .pricing-card .pricing-badge-urgent svg { display: none; }
}

.pricing-card .pricing-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-card .pricing-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-card .pricing-amount {
    margin-bottom: 24px;
}

.pricing-card .pricing-old {
    font-size: 22px;
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 8px;
}

.pricing-card .pricing-current {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.pricing-card .pricing-current small {
    font-size: 20px;
    font-weight: 600;
}

.pricing-card .pricing-vat {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.pricing-includes {
    text-align: left;
    margin: 24px 0;
}

.pricing-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
}

.pricing-includes li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-guarantee {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ============================================================
   PAYMENT MODAL STYLES
   ============================================================ */

.payment-pricing {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.payment-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Warm amber variant — matches .pricing-badge-urgent on the landing so the
   modal reads the same language when the user clicks "Adquiere la formación". */
.payment-badge.payment-badge-urgent {
    background: linear-gradient(135deg, #ff9f0a 0%, #ff6b00 100%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.15px;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
    max-width: calc(100% - 16px);
}

.payment-badge.payment-badge-urgent svg {
    flex-shrink: 0;
    animation: pricingBadgePulse 2.4s ease-in-out infinite;
}

.payment-badge-sep { opacity: 0.55; font-weight: 400; }
.payment-badge-sub { opacity: 0.92; font-weight: 700; }

@media (max-width: 520px) {
    .payment-badge.payment-badge-urgent {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        font-size: 12px;
    }
    .payment-badge.payment-badge-urgent svg { display: none; }
}

.payment-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.payment-price-old {
    font-size: 24px;
    text-decoration: line-through;
    color: var(--text-light);
}

.payment-price {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
}

.payment-urgency {
    font-size: 14px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: 4px;
}

.payment-vat {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.payment-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 20px;
}

.payment-summary hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.team-photo-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255,255,255,0.3);
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-info .team-role {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.tool-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: #fff;
    transition: background 0.2s;
}

.tool-row:nth-child(even) {
    background: var(--bg-secondary);
}

.tool-row:hover {
    background: #f0f4fa;
}

.tool-cell {
    padding: 18px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
}

.tool-cat {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.tool-row:nth-child(even) .tool-cat {
    background: var(--primary-light, var(--primary));
}

@media (max-width: 720px) {
    .tool-row {
        grid-template-columns: 1fr;
    }
    .tool-cat {
        padding: 12px 18px;
    }
}

/* ============================================================
   COOKIE CONSENT BANNER  (AEPD / LSSI 22.2)
   Intentionally discreet: floating bottom-right card on desktop,
   full-width bottom sheet on mobile. Never blocks scroll.
   ============================================================ */
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    z-index: 9000;
    max-width: 420px;
    width: calc(100% - 40px);
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e1e4e8;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    padding: 18px 20px;
    animation: cookieBannerIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cookieBannerIn {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-body strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 6px;
}

.cookie-banner-body p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.55;
    margin: 0 0 14px;
}

.cookie-banner-body a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Equal prominence for Accept and Reject — AEPD mandate */
.cookie-btn {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.cookie-btn:hover { opacity: 0.92; }
.cookie-btn:active { transform: translateY(1px); }

.cookie-btn-reject {
    background: #fff;
    color: var(--primary);
}

.cookie-btn-accept {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cookie-btn-text {
    grid-column: 1 / -1;
    background: transparent;
    border: 0;
    color: var(--text-light);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0 0;
    margin-top: 2px;
}

.cookie-banner-config {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e1e4e8;
}

.cookie-toggle {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.cookie-toggle input[disabled] { cursor: default; }

.cookie-toggle span {
    flex: 1;
    font-size: 13px;
    color: var(--text);
}

.cookie-toggle strong { display: block; font-weight: 700; color: var(--primary); }
.cookie-toggle small { display: block; color: var(--text-light); line-height: 1.45; margin-top: 2px; font-size: 12px; }

.cookie-btn-save {
    width: 100%;
    margin-top: 10px;
}

/* Mobile: full-width bottom sheet, still unobtrusive */
@media (max-width: 640px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-width: none;
        padding: 16px;
        border-radius: 12px;
    }
    .cookie-banner-actions {
        grid-template-columns: 1fr 1fr;
    }
    .cookie-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Legal pages (aviso, privacidad, cookies) */
.legal-page .small-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.legal-body { font-size: 15px; line-height: 1.75; color: var(--text); }
.legal-body h2 { font-size: 22px; font-weight: 800; color: var(--primary); margin: 34px 0 12px }
.legal-body h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin: 24px 0 10px }
.legal-body p { margin-bottom: 14px }
.legal-body ul, .legal-body ol { margin: 0 0 16px 22px }
.legal-body li { margin-bottom: 6px }
.legal-body a { color: var(--accent-dark); text-decoration: underline }
.legal-body code { background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: ui-monospace, Menlo, monospace }
.legal-body table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px }
.legal-body th, .legal-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top }
.legal-body th { background: var(--bg-secondary); font-weight: 700; color: var(--primary) }

.team-social {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #0A66C2;
    color: #fff;
    border-radius: 7px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.team-social a:hover {
    transform: translateY(-2px);
    background: #0956a8;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    gap: 16px;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================================
   EVENT / WEBINAR
   ============================================================ */

.event-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3260 50%, var(--primary) 100%);
    color: #fff;
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
}

.event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(142,196,32,0.1) 0%, transparent 50%);
}

.event-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(142,196,32,0.2);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(142,196,32,0.3);
}

.event-content h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.event-content .event-sub {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.countdown-unit {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px 12px;
    min-width: 80px;
    text-align: center;
}

.countdown-num {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.countdown-label {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.countdown-sep {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
    opacity: 0.4;
}

.countdown-ended {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

/* Event form */
.event-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    color: var(--text);
}

.event-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.event-form-card .form-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================================
   BLOG
   ============================================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.blog-thumb-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 48px;
}

.blog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-tag {
    background: rgba(30,58,110,0.08);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 11px;
}

.blog-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.blog-body .blog-link {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
}

/* ============================================================
   BLOG ARTICLE CONTENT
   ============================================================ */

.blog-article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}

.blog-article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 36px 0 16px;
}

.blog-article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin: 28px 0 12px;
}

.blog-article-content p {
    margin-bottom: 16px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.blog-article-content li {
    margin-bottom: 8px;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}

.blog-article-content strong {
    color: var(--primary);
}

.blog-article-content code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

/* ============================================================
   FEATURES / BENEFITS GRID
   ============================================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 24px;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(142,196,32,0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-dark);
}

.benefit-icon svg { display: block }
.pain-icon svg { color: var(--accent-dark); display: block }
.transform-arrow svg { display: block }

.bg-dark .benefit-icon {
    background: rgba(142,196,32,0.2);
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ============================================================
   GUARANTEE SECTION
   ============================================================ */

.guarantee-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    border: 2px solid var(--accent);
    position: relative;
}

.guarantee-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.guarantee-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.guarantee-box p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */

.pub-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 24px 32px;
}

.pub-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.pub-footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pub-footer-col p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.7;
}

.pub-footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    padding: 4px 0;
    transition: color 0.2s;
}

.pub-footer-col a:hover {
    color: var(--accent);
}

.pub-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.5;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-sub {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .pain-grid,
    .benefits-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transform-grid {
        grid-template-columns: 1fr;
    }

    .transform-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pub-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border);
    }

    .pub-nav-links.open {
        display: flex;
    }

    .pub-nav-links a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
    }

    /* On mobile the dropdown flattens to a plain vertical section */
    .pub-nav-dropdown { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--border); }
    .pub-nav-dropdown-toggle { padding: 12px 16px; justify-content: space-between; width: 100%; }
    .pub-nav-dropdown-menu {
        position: static;
        transform: none;
        display: flex;
        opacity: 1;
        pointer-events: auto;
        border: 0;
        box-shadow: none;
        padding: 0 0 8px 16px;
        min-width: 0;
    }
    .pub-nav-dropdown-menu a { border: 0; padding: 10px 16px; }
    .pub-nav-dropdown.is-active .pub-nav-dropdown-toggle::after { display: none; }

    .pub-menu-toggle {
        display: block;
    }

    .pub-nav-actions .btn-outline {
        display: none;
    }

    .pub-cta-nav {
        padding: 8px 14px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-ctas .btn-hero {
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-proof {
        gap: 20px;
    }

    .pub-section {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .pain-grid,
    .benefits-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card .pricing-current {
        font-size: 44px;
    }

    .event-content h1 {
        font-size: 32px;
    }

    .countdown-unit {
        min-width: 64px;
        padding: 12px 8px;
    }

    .countdown-num {
        font-size: 28px;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-proof {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn-hero {
        width: 100%;
    }
}

/* ============================================================
   NEWSLETTER POPUP
   ============================================================ */

.nl-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 40, 80, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: nl-fade 0.3s ease;
}

.nl-popup-overlay.open {
    display: flex;
}

@keyframes nl-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nl-popup {
    background: #fff;
    border-radius: 20px;
    max-width: 920px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    position: relative;
    animation: nl-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nl-slide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nl-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.nl-popup-close:hover {
    transform: rotate(90deg);
    background: #fff;
}

.nl-popup-image {
    background: linear-gradient(135deg, #142850 0%, #1e3a6e 100%);
    color: #fff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nl-popup-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(142,196,32,0.22), transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(142,196,32,0.15), transparent 50%);
    pointer-events: none;
}

.nl-popup-image img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.nl-popup-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.nl-badge {
    background: rgba(142,196,32,0.22);
    border: 1px solid rgba(142,196,32,0.4);
    color: #c7e892;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nl-popup-countdown {
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 14px;
    margin-top: auto;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.08);
}

.nl-popup-countdown-label {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.nl-popup-countdown-value {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.nl-popup-body {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nl-popup-title {
    font-size: 26px;
    font-weight: 800;
    color: #142850;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.nl-popup-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 18px;
}

.nl-popup-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nl-popup-text p {
    margin-bottom: 10px;
}

.nl-popup-text strong {
    color: #142850;
}

.nl-popup-gift {
    display: flex;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    border: 1px solid #f5d77a;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 22px;
}

.nl-popup-gift-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.nl-popup-gift-text {
    font-size: 13px;
    line-height: 1.4;
}

.nl-popup-gift-text strong {
    display: block;
    color: #8a6d1a;
    font-size: 13px;
    margin-bottom: 2px;
}

.nl-popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nl-popup-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: #fafafa;
    transition: border 0.2s, background 0.2s;
}

.nl-popup-form input:focus {
    outline: none;
    border-color: #8ec420;
    background: #fff;
}

.nl-popup-submit {
    background: #8ec420;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s;
    margin-top: 6px;
}

.nl-popup-submit:hover:not(:disabled) {
    background: #7fb01c;
    transform: translateY(-1px);
}

.nl-popup-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nl-popup-disclaimer {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

/* Success state */
.nl-popup-success {
    text-align: center;
    padding: 20px 10px;
}

.nl-popup-success-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.nl-popup-success h3 {
    font-size: 22px;
    color: #142850;
    margin-bottom: 10px;
    font-weight: 800;
}

.nl-popup-success p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.nl-upsell-box {
    background: linear-gradient(135deg, #f0f8ff, #e6f4ff);
    border: 2px solid #8ec420;
    border-radius: 14px;
    padding: 22px 20px;
    margin-top: 16px;
    text-align: left;
}

.nl-upsell-box h4 {
    color: #142850;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}

.nl-upsell-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 12px 0;
}

.nl-upsell-price-main {
    font-size: 32px;
    font-weight: 800;
    color: #8ec420;
}

.nl-upsell-price-label {
    font-size: 13px;
    color: #666;
}

.nl-upsell-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    font-size: 13px;
}

.nl-upsell-list li {
    padding: 4px 0;
    color: #444;
}

.nl-upsell-list li::before {
    content: '✓ ';
    color: #8ec420;
    font-weight: 700;
    margin-right: 6px;
}

.nl-upsell-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nl-upsell-primary {
    background: #8ec420;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.nl-upsell-primary:hover {
    background: #7fb01c;
}

.nl-upsell-skip {
    background: transparent;
    color: #888;
    border: none;
    padding: 10px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nl-popup {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    .nl-popup-image {
        padding: 24px 22px 20px;
    }
    .nl-popup-image img {
        max-height: 160px;
        margin-bottom: 14px;
    }
    .nl-popup-badges {
        margin-bottom: 14px;
    }
    .nl-popup-body {
        padding: 28px 24px;
    }
    .nl-popup-title {
        font-size: 22px;
    }
}
