/* =========================================
   PARTNERS MODULE STYLES (Plan Preferente)
   ========================================= */

/* Partner Hero */
.partner-hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--secondary-color);
    /* Deep Blue */
    color: var(--white);
    overflow: hidden;
}

.partner-hero .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle geometric pattern or gradient */
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    opacity: 1;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.mockup-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-partner {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.15);
    /* Orange tint */
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--accent-color);
}

.hero-text .title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text .description {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* Light gray text */
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Benefits Grid */
.partner-benefits {
    background-color: #f8fafc;
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.benefit-card:hover .icon-circle {
    background: var(--accent-color);
    color: #fff;
}

.benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
    line-height: 1.1;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.2;
}

/* Audience Section */
.partner-audience {
    padding: 100px 0;
    background: #fff;
}

.audience-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.audience-col {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.audience-img {
    height: 250px;
    overflow: hidden;
}

.audience-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.audience-col:hover .audience-img img {
    transform: scale(1.05);
}

.audience-content {
    padding: 40px;
}

.audience-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.audience-list p {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.audience-list i {
    color: var(--accent-color);
}

/* Steps Timeline */
.partner-steps {
    background: #f1f5f9;
    padding: 100px 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    /* Ensure balanced width */
    /* Remove large bottom margin as items are horizontal */
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: #d97706;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.55);
    transform: scale(1.15);
    color: #fff;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #cbd5e1;
    margin: 25px 10px 0;
    /* Align with center of 50px circle (top margin 25px) */
    position: relative;
    z-index: 1;
}

.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    padding: 0 10px;
    /* Add some padding for text within item */
}

/* Form Section */
.partner-register {
    padding: 100px 0;
    background: #fff;
}

.register-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
}

.register-header {
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: end;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text .title {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .audience-wrapper {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-line {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .register-card {
        padding: 30px;
    }
}

/* Header Logo Toggle Logic */
.header .logo-color {
    display: none;
}

.header .logo-white {
    display: block;
}

.header.sticky .logo-color {
    display: block;
}

.header.sticky .logo-white {
    display: none;
}

/* =========================================
   SECCIÓN META RAPPEL POR TIER
   ========================================= */

.partner-rappel {
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 50%, #0F172A 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.partner-rappel::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.partner-rappel::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Título de sección */
.partner-rappel .section-subtitle {
    color: #F59E0B;
}

.partner-rappel .section-title {
    color: #fff;
}

.rappel-title-accent {
    color: #F59E0B;
    position: relative;
}

.rappel-intro {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* GRID DE TIERS */
.rappel-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
    align-items: stretch;
}

/* CARD BASE */
.rappel-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 36px 32px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.rappel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
    background: var(--tier-accent, #64748B);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.rappel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.2);
}

.rappel-card:hover::before {
    opacity: 1;
}

/* TIER PARTNER */
.tier-partner { --tier-accent: #94A3B8; --tier-icon-bg: rgba(148,163,184,0.15); --tier-icon-color: #94A3B8; --check-color: #94A3B8; }

/* TIER PREFERRED */
.tier-preferred { --tier-accent: #F59E0B; --tier-icon-bg: rgba(245,158,11,0.15); --tier-icon-color: #F59E0B; --check-color: #F59E0B; }

/* TIER ELITE */
.tier-elite { --tier-accent: #818CF8; --tier-icon-bg: rgba(129,140,248,0.15); --tier-icon-color: #818CF8; --check-color: #818CF8; }

/* FEATURED (Preferred destacado) */
.featured-tier {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.3);
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.12);
}

.featured-tier:hover {
    transform: scale(1.03) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 28px;
    background: linear-gradient(135deg, #F59E0B, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

/* CARD HEADER */
.rappel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.tier-badge-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tier-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--tier-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--tier-icon-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rappel-card:hover .tier-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.tier-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tier-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tier-icon-color);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.tier-range-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    flex-shrink: 0;
}

.tier-range-pill i {
    color: var(--tier-icon-color);
    font-size: 0.7rem;
}

/* DIVIDER */
.rappel-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

/* BENEFITS LIST */
.rappel-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.rappel-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rappel-check {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--check-color);
    margin-top: 1px;
}

.rappel-benefits-list li strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.rappel-benefits-list li p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.50);
    line-height: 1.4;
    margin: 0;
}

/* BONUS BOX */
.rappel-bonus-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}

.tier-partner-bonus { background: rgba(148,163,184,0.10); }
.tier-preferred-bonus { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.25); }
.tier-elite-bonus { background: rgba(129,140,248,0.12); border-color: rgba(129,140,248,0.25); }

.bonus-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tier-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--tier-icon-color);
    flex-shrink: 0;
}

.bonus-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bonus-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tier-icon-color);
    line-height: 1;
}

/* REQUISITE NOTE */
.rappel-requisite {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.38);
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
    padding-top: 4px;
}

.rappel-requisite i {
    color: rgba(255,255,255,0.35);
    margin-top: 1px;
    flex-shrink: 0;
}

.rappel-requisite strong {
    color: rgba(255,255,255,0.6);
}

/* BOTÓN DE CADA CARD */
.btn-tier-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 13px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-tier-cta:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    transform: translateY(-2px);
}

.btn-tier-cta--featured {
    background: linear-gradient(135deg, #F59E0B, #d97706);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(245,158,11,0.35);
}

.btn-tier-cta--featured:hover {
    background: linear-gradient(135deg, #fbbf24, #F59E0B);
    box-shadow: 0 10px 28px rgba(245,158,11,0.5);
    border-color: transparent;
    color: #fff;
}

/* INFO STRIP CENTRADO */
.rappel-info-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 50px;
    padding: 20px 30px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-align: center;
}

.rappel-info-strip i {
    font-size: 1.3rem;
    color: #F59E0B;
    flex-shrink: 0;
}

.rappel-info-strip p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}

/* RESPONSIVE RAPPEL */
@media (max-width: 1024px) {
    .rappel-tiers-grid {
        grid-template-columns: 1fr 1fr;
    }
    .featured-tier {
        transform: none;
    }
    .featured-tier:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .rappel-tiers-grid {
        grid-template-columns: 1fr;
    }
    .rappel-cta-strip {
        flex-direction: column;
        text-align: center;
    }
    .rappel-cta-text {
        flex-direction: column;
        text-align: center;
    }
    .rappel-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}