/* ===== PROVEEDORES ===== */
:root {
    --purple: #7B2FBE;
    --pink: #E91E8C;
    --yellow: #FFD93D;
    --teal: #00BFA5;
    --blue: #2979FF;
    --orange: #FF6B35;
    --white: #FFFFFF;
    --bg: #F7F3FF;
    --dark: #1A1A2E;
    --text: #3D3D5C;
    --shadow: 0 8px 32px rgba(123,47,190,0.13);
}

body {
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

/* HERO */
.proveedores-hero {
    background: var(--dark);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    top: -120px;
    right: -100px;
}

.blob-2 {
    width: 380px;
    height: 380px;
    background: var(--orange);
    bottom: -80px;
    left: -80px;
}

.blob-3 {
    width: 260px;
    height: 260px;
    background: var(--teal);
    top: 35%;
    left: 45%;
    opacity: 0.2;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,217,61,0.15);
    border: 1px solid rgba(255,217,61,0.35);
    color: var(--yellow);
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

.diag {
    height: 60px;
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
    margin-bottom: -2px;
}

/* BASE */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: var(--dark);
    margin-bottom: 10px;
}

.section-title .hl {
    color: var(--purple);
}

.section-sub {
    color: var(--text);
    font-size: 1rem;
    max-width: 660px;
    line-height: 1.65;
    margin-bottom: 48px;
}

/* AVISO DEMO */
.demo-notice-section {
    background: white;
    padding: 42px 0;
}

.demo-notice {
    background: linear-gradient(135deg, #fff8d8, #fff);
    border: 2px solid rgba(255,217,61,.6);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.demo-notice-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--yellow);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.demo-notice h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark);
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.demo-notice p {
    line-height: 1.6;
    color: var(--text);
    font-size: .95rem;
}

.demo-notice-btn,
.btn-ser-prov {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(37,211,102,.35);
    transition: all .3s;
}

.demo-notice-btn:hover,
.btn-ser-prov:hover {
    transform: translateY(-3px);
    background: #128C7E;
}

/* PLANES */
.planes-publicitarios {
    background: var(--bg);
    padding: 70px 0;
}

.ads-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ads-plan-card {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    transition: all .35s;
}

.ads-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(123,47,190,.2);
}

.ads-plan-card.basic {
    border-color: rgba(41,121,255,.25);
}

.ads-plan-card.premium {
    border-color: rgba(123,47,190,.45);
}

.ads-plan-card.destacado {
    border-color: rgba(255,217,61,.95);
    box-shadow: 0 18px 44px rgba(255,217,61,.25);
}

.ads-plan-ribbon {
    position: absolute;
    top: 18px;
    right: -42px;
    background: var(--yellow);
    color: var(--dark);
    transform: rotate(35deg);
    padding: 7px 46px;
    font-size: .78rem;
    font-weight: 900;
    z-index: 4;
}

.ads-plan-head {
    padding: 30px 24px;
    text-align: center;
    color: white;
}

.basic .ads-plan-head {
    background: linear-gradient(135deg, var(--blue), #64B5F6);
}

.premium .ads-plan-head {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.destacado .ads-plan-head {
    background: linear-gradient(135deg, var(--dark), #5B2A86);
}

.ads-plan-badge {
    display: inline-flex;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .82rem;
    margin-bottom: 12px;
}

.ads-plan-head h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.ads-plan-head p {
    opacity: .88;
    font-size: .9rem;
}

.ads-plan-list {
    list-style: none;
    padding: 24px;
}

.ads-plan-list li {
    padding: 9px 0 9px 28px;
    position: relative;
    border-bottom: 1px solid #f1eaf8;
    font-size: .93rem;
    color: var(--text);
}

.ads-plan-list li:last-child {
    border-bottom: none;
}

.ads-plan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 900;
}

/* DIRECTORIO */
.proveedores-section {
    background: white;
    padding: 70px 0;
}

.directory-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.search-box {
    background: var(--bg);
    border: 2px solid rgba(123,47,190,.15);
    border-radius: 18px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 540px;
}

.search-box i {
    color: var(--purple);
}

.search-box input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 0;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--text);
}

.provider-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid var(--purple);
    background: white;
    color: var(--purple);
    font-weight: 900;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: all .3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border-color: transparent;
}

/* DESTACADO */
.featured-strip {
    margin-bottom: 40px;
}

.featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.featured-heading span {
    font-family: 'Fredoka One', cursive;
    font-size: 1.35rem;
    color: var(--dark);
}

.featured-heading span i {
    color: var(--yellow);
}

.featured-heading small {
    color: var(--text);
    font-weight: 800;
}

.provider-featured-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #19172f, #44205f);
    border-radius: 30px;
    padding: 28px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    color: white;
    cursor: pointer;
    border: 3px solid rgba(255,217,61,.75);
    box-shadow: 0 22px 60px rgba(123,47,190,.28);
}

.featured-glow {
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent, rgba(255,217,61,.20), transparent, rgba(233,30,140,.18), transparent);
    animation: featuredSpin 10s linear infinite;
    opacity: .65;
}

@keyframes featuredSpin {
    to { transform: rotate(360deg); }
}

.provider-featured-media,
.provider-featured-content,
.provider-recommended {
    position: relative;
    z-index: 2;
}

.provider-recommended {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--yellow);
    color: var(--dark);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
}

.provider-featured-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.provider-logo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: white;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.premium-logo {
    border: 4px solid var(--yellow);
}

.mini-gallery,
.modal-gallery-demo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-gallery div,
.modal-gallery-demo div {
    min-height: 70px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    font-weight: 900;
    font-size: .78rem;
}

.provider-category-pill {
    display: inline-flex;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 900;
    font-size: .85rem;
}

.provider-featured-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 8px;
}

.provider-featured-content p {
    color: rgba(255,255,255,.82);
    line-height: 1.65;
    max-width: 680px;
    margin-bottom: 16px;
}

.provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.provider-tags span {
    background: rgba(255,217,61,.18);
    border: 1px solid rgba(255,217,61,.3);
    color: var(--yellow);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
}

/* CARDS */
.proveedores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.prov-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.prov-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(123,47,190,.2);
}

.prov-card.basic {
    border-color: rgba(41,121,255,.25);
}

.prov-card.premium {
    border-color: var(--purple);
}

.prov-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    z-index: 3;
}

.basic-badge {
    background: #E3F2FD;
    color: var(--blue);
}

.premium-badge {
    background: var(--purple);
    color: white;
}

.prov-top {
    padding: 30px 20px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.prov-card.basic .prov-top {
    background: linear-gradient(135deg, var(--blue), #64B5F6);
}

.prov-card.premium .prov-top {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.prov-top h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.prov-top p {
    font-size: .85rem;
    opacity: .9;
}

.prov-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.prov-desc {
    font-size: .92rem;
    color: var(--text);
    line-height: 1.55;
    flex-grow: 1;
    text-align: center;
}

.premium-preview {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: var(--bg);
    padding: 12px;
    border-radius: 14px;
}

.premium-preview span {
    color: var(--purple);
    font-size: .82rem;
    font-weight: 900;
}

.prov-btns,
.provider-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-prov,
.btn-provider,
.btn-mprov {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: all .3s;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

.btn-provider {
    width: 42px;
    height: 42px;
}

.btn-prov.wsp,
.btn-provider.wsp,
.btn-mprov.wsp { background: linear-gradient(135deg,#25D366,#128C7E); }

.btn-prov.call,
.btn-provider.call,
.btn-mprov.call { background: linear-gradient(135deg,var(--blue),#1565C0); }

.btn-prov.ig,
.btn-provider.ig,
.btn-mprov.ig { background: linear-gradient(135deg,#E4405F,#C13584); }

.btn-provider.fb,
.btn-mprov.fb { background: linear-gradient(135deg,#1877F2,#0A5CAD); }

.btn-provider.web,
.btn-mprov.web { background: linear-gradient(135deg,var(--teal),#00897B); }

.btn-prov:hover,
.btn-provider:hover,
.btn-mprov:hover {
    transform: scale(1.12);
}

.btn-ver-mas {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    font-weight: 800;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Nunito', sans-serif;
}

.basic-btn {
    background: linear-gradient(135deg, var(--blue), #64B5F6);
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
}

/* SER PROVEEDOR */
.ser-prov-section {
    background: var(--bg);
    padding: 70px 0;
}

.ser-prov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.ser-prov-text p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.beneficios-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beneficios-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.5;
}

.bi {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ser-prov-card {
    background: linear-gradient(135deg, var(--dark), #2D1B69);
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,217,61,.25);
}

.ser-prov-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--yellow);
    margin-bottom: 12px;
}

.ser-prov-card p {
    font-size: .97rem;
    color: rgba(255,255,255,.8);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* MODALES */
.modal-prov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    z-index: 2000;
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-prov.open {
    display: flex;
}

.modal-prov-box {
    background: white;
    border-radius: 28px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn .35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 32px 80px rgba(0,0,0,.35);
}

.destacado-modal {
    max-width: 620px;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-prov-head {
    padding: 28px;
    border-radius: 28px 28px 0 0;
    text-align: center;
    color: white;
}

.basic-head {
    background: linear-gradient(135deg, var(--blue), #64B5F6);
}

.premium-head {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.destacado-head {
    background: linear-gradient(135deg, var(--dark), #5B2A86);
}

.modal-prov-logo {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--purple);
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.modal-prov-head h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.modal-prov-head p {
    font-size: .95rem;
    opacity: .9;
}

.modal-prov-body {
    padding: 24px 28px;
}

.modal-prov-desc {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    font-size: .95rem;
}

.modal-detalles {
    background: var(--bg);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.detalle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #ede5f8;
    font-size: .9rem;
    gap: 14px;
}

.detalle-row:last-child {
    border-bottom: none;
}

.detalle-row .lbl {
    font-weight: 800;
    color: var(--purple);
}

.detalle-row .val {
    color: var(--text);
    text-align: right;
}

.modal-gallery-demo {
    margin-bottom: 18px;
}

.modal-gallery-demo div {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.modal-gallery-gold div {
    background: linear-gradient(135deg, #17142a, #5B2A86);
    color: var(--yellow);
    border-color: rgba(255,217,61,.35);
}

.modal-prov-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-mprov {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
}

.btn-m-close {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    background: var(--bg);
    color: var(--text);
    border: 2px solid #e0d8f0;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: all .3s;
}

.btn-m-close:hover {
    background: #ede5f8;
    border-color: var(--purple);
}

/* ANIMACIONES */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

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

.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }

/* OCULTO */
.provider-item.hidden {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .ads-plans-grid,
    .ser-prov-grid {
        grid-template-columns: 1fr;
    }

    .provider-featured-card {
        grid-template-columns: 1fr;
    }

    .provider-recommended {
        position: relative;
        top: auto;
        right: auto;
        width: fit-content;
        margin-bottom: 14px;
    }
}

@media (max-width: 640px) {
    .proveedores-hero {
        padding: 100px 0 70px;
    }

    .demo-notice {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .demo-notice-icon {
        margin: 0 auto;
    }

    .provider-filters {
        justify-content: center;
    }

    .featured-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .provider-featured-card {
        padding: 22px;
    }

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

    .detalle-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .detalle-row .val {
        text-align: left;
    }
}
