/* =========================================================
   SITTRAN
   PÁGINA DE TARIFAS
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --primary-navy: #0f172a;

    --primary-blue: #1e40af;

    --accent-blue: yellowgreen;

    --accent-green: #84cc16;

    --text-dark: #1e293b;

    --text-muted: #64748b;

    --bg-light: #f8fafc;

    --white: #ffffff;

    --border: #e2e8f0;

    --shadow-md:
        0 10px 15px -3px rgba(0, 0, 0, .08),
        0 4px 6px -2px rgba(0, 0, 0, .04);

    --shadow-lg:
        0 20px 25px -5px rgba(0, 0, 0, .10),
        0 10px 10px -5px rgba(0, 0, 0, .04);

    --transition: all .3s ease;

    --radius-md: 12px;

    --radius-lg: 20px;

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 90px;

}


body {

    width: 100%;

    min-width: 320px;

    background: var(--bg-light);

    color: var(--text-dark);

    line-height: 1.6;

    overflow-x: hidden;

    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Roboto",
        sans-serif;

}


body.modal-abierto {

    overflow: hidden;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input {

    font-family: inherit;

}


button {

    border: 0;

}


.container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding-left: 20px;

    padding-right: 20px;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 9999;

    width: 100%;

    padding: 15px 0;

    background:
        rgba(15, 23, 42, .97);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border-bottom:
        1px solid rgba(255,255,255,.1);

    box-shadow: var(--shadow-md);

}


.header-content {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.logo-container {

    display: flex;

    align-items: center;

}


.logo-text {

    display: block;

    color: #fff;

    font-size: 1.8rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    line-height: 1;

    background:
        linear-gradient(
            135deg,
            yellowgreen,
            #fff
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


/* =========================================================
   NAV
========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 25px;

}


.nav-link {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 8px 5px;

    color: #e2e8f0;

    font-size: 1rem;

    font-weight: 600;

    transition: var(--transition);

}


.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {

    color: yellowgreen;

}


/* =========================================================
   MENÚ HAMBURGUESA
========================================================= */

.menu-toggle {

    display: none;

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    padding: 9px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    background:
        rgba(255,255,255,.08);

    border-radius: 10px;

    transition: var(--transition);

}


.menu-toggle:hover {

    background:
        rgba(255,255,255,.15);

}


.menu-toggle span {

    display: block;

    width: 25px;

    height: 3px;

    background: #fff;

    border-radius: 5px;

    transition: var(--transition);

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(8px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-8px)
        rotate(-45deg);

}


/* =========================================================
   HERO
========================================================= */

.tarifas-hero {

    position: relative;

    width: 100%;

    padding: 90px 20px;

    overflow: hidden;

    text-align: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0f172a 20%,
            rgb(70,94,21) 80%
        );

}


.tarifas-hero::before {

    content: "";

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(59,130,246,.15) 0%,
            rgba(33,141,67,.32) 70%
        );

}


.tarifas-hero .container {

    position: relative;

    z-index: 1;

}


.tag-certificated {

    display: inline-block;

    margin-bottom: 24px;

    padding: 6px 18px;

    border:
        1px solid
        rgba(147,197,253,.4);

    border-radius: 30px;

    background:
        rgba(59,130,246,.2);

    color: yellowgreen;

    font-size: .85rem;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

}


.tarifas-hero h1 {

    margin-bottom: 20px;

    color: #fff;

    font-size: 2.8rem;

    font-weight: 800;

    line-height: 1.2;

}


.tarifas-hero h1 span {

    display: block;

    color: yellowgreen;

}


.tarifas-hero p {

    max-width: 750px;

    margin: 0 auto;

    color: #cbd5e1;

    font-size: 1.15rem;

    line-height: 1.7;

}


/* =========================================================
   BUSCADOR
========================================================= */

.search-section {

    width: 100%;

    padding:
        45px 20px 10px;

    background: var(--bg-light);

}


.search-box {

    display: flex;

    align-items: center;

    width: 100%;

    max-width: 750px;

    margin: 0 auto;

    padding: 5px 18px;

    border:
        1.5px solid #cbd5e1;

    border-radius: var(--radius-md);

    background: #fff;

    box-shadow: var(--shadow-md);

    transition: var(--transition);

}


.search-box:focus-within {

    border-color:
        var(--accent-blue);

    box-shadow:
        0 0 0 4px
        rgba(59,130,246,.12),
        var(--shadow-md);

}


.search-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    color: var(--primary-blue);

}


.search-box input {

    width: 100%;

    min-width: 0;

    padding: 13px 10px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--text-dark);

    font-size: 1rem;

}


.search-box input::placeholder {

    color: #94a3b8;

}


/* =========================================================
   SECCIÓN TARIFAS
========================================================= */

.tarifas-section {

    width: 100%;

    padding:
        70px 20px 80px;

}


.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 35px;

}


.section-label {

    display: block;

    margin-bottom: 8px;

    color: #65a30d;

    font-size: .8rem;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.section-header h2 {

    color: var(--primary-navy);

    font-size: 2.1rem;

    font-weight: 800;

    line-height: 1.25;

}


.tarifas-counter {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: #fff;

    color: var(--text-muted);

    font-size: .9rem;

    font-weight: 600;

    white-space: nowrap;

}


.tarifas-counter i {

    color: #64748b;

}


/* =========================================================
   LISTA
========================================================= */

.tarifas-lista {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* =========================================================
   TARJETA TARIFA
========================================================= */

.tarifa-item {

    position: relative;

    display: grid;

    grid-template-columns:
        45px
        65px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    width: 100%;

    min-height: 125px;

    padding: 22px 25px;

    border:
        1px solid #e2e8f0;

    border-radius: 18px;

    background: #fff;

    box-shadow: var(--shadow-md);

    transition: var(--transition);

}


.tarifa-item:hover {

    transform: translateY(-3px);

    border-color: #cbd5e1;

    box-shadow: var(--shadow-lg);

}


/* =========================================================
   NÚMERO
========================================================= */

.tarifa-numero {

    color: #94a3b8;

    font-size: .85rem;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================================================
   ICONO DOCUMENTO
========================================================= */

.tarifa-documento-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    border-radius: 15px;

    background: #e0f2fe;

    color: #0284c7;

    font-size: 1.4rem;

}


/* =========================================================
   CONTENIDO
========================================================= */

.tarifa-contenido {

    min-width: 0;

}


.tarifa-contenido h3 {

    margin-bottom: 7px;

    color: var(--primary-navy);

    font-size: 1.15rem;

    font-weight: 750;

    line-height: 1.35;

}


.tarifa-contenido p {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    color: var(--text-muted);

    font-size: .88rem;

}


.tarifa-contenido p i {

    color: var(--primary-blue);

}


.separador {

    color: #cbd5e1;

}


/* =========================================================
   BOTÓN DESCARGAR
========================================================= */

.btn-descargar {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-width: 180px;

    padding: 12px 18px;

    border:
        1px solid var(--primary-navy);

    border-radius: 10px;

    background:
        var(--primary-navy);

    color: #fff;

    font-size: .86rem;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);

}


.btn-descargar:hover {

    transform: translateY(-2px);

    background: #1e293b;

    border-color: #1e293b;

    box-shadow:
        0 7px 16px
        rgba(15,23,42,.18);

}


.btn-descargar i {

    font-size: .85rem;

}


/* =========================================================
   BOTÓN BLOQUEADO
========================================================= */

.btn-descargar.bloqueado {

    background:
        #f1f5f9;

    border-color:
        #cbd5e1;

    color:
        #64748b;

}


.btn-descargar.bloqueado i {

    color:
        #94a3b8;

}


.btn-descargar.bloqueado:hover {

    background:
        #e2e8f0;

    border-color:
        #94a3b8;

    color:
        #334155;

}


/* =========================================================
   TARJETA BLOQUEADA
========================================================= */

.tarifa-bloqueada {

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        );

}


.tarifa-bloqueada
.tarifa-documento-icon {

    background:
        #fef3c7;

    color:
        #d97706;

}


/* =========================================================
   SIN RESULTADOS
========================================================= */

.sin-resultados {

    display: none;

    width: 100%;

    margin-top: 30px;

    padding: 45px 20px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: #fff;

    box-shadow: var(--shadow-md);

    text-align: center;

}


.sin-resultados.mostrar {

    display: block;

}


.sin-resultados > i {

    margin-bottom: 15px;

    color: #94a3b8;

    font-size: 2.5rem;

}


.sin-resultados h3 {

    margin-bottom: 5px;

    color: var(--primary-navy);

    font-size: 1.2rem;

}


.sin-resultados p {

    color: var(--text-muted);

    font-size: .9rem;

}


/* =========================================================
   AVISO
========================================================= */

.aviso-section {

    width: 100%;

    padding:
        0 20px 80px;

}


.aviso-card {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    width: 100%;

    padding: 22px;

    border:
        1px solid #bfdbfe;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #f8fafc
        );

    box-shadow: var(--shadow-md);

}


.aviso-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #dbeafe;

    color: var(--primary-blue);

}


.aviso-card h3 {

    margin-bottom: 5px;

    color: var(--primary-navy);

    font-size: 1rem;

}


.aviso-card p {

    color: var(--text-muted);

    font-size: .88rem;

    line-height: 1.6;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    width: 100%;

    padding:
        25px 20px 18px;

    background:
        var(--primary-navy);

    color: #94a3b8;

    text-align: center;

}


.footer-content {

    display: flex;

    flex-direction: column;

    align-items: center;

}


.redes-footer {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-bottom: 12px;

}


.redes-footer a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    transition: var(--transition);

}


.redes-footer a i {

    color: #fff;

}


.redes-footer a:hover {

    transform: translateY(-3px);

    background:
        yellowgreen;

}


.footer-divider {

    width: 100%;

    height: 1px;

    margin: 12px 0;

    border: 0;

    background:
        rgba(255,255,255,.1);

}


.footer-info h5 {

    margin: 3px 0;

    color: #cbd5e1;

    font-size: .82rem;

    font-weight: 500;

}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(15,23,42,.72);

    backdrop-filter:
        blur(6px);

    -webkit-backdrop-filter:
        blur(6px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;

}


.modal-overlay.mostrar {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* =========================================================
   CAJA MODAL
========================================================= */

.modal-tarifa {

    position: relative;

    width: 100%;

    max-width: 500px;

    padding: 38px 35px 30px;

    border:
        1px solid rgba(255,255,255,.6);

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.25);

    text-align: center;

    transform:
        translateY(20px)
        scale(.97);

    transition:
        transform .3s ease;

}


.modal-overlay.mostrar
.modal-tarifa {

    transform:
        translateY(0)
        scale(1);

}


/* =========================================================
   CERRAR
========================================================= */

.modal-cerrar {

    position: absolute;

    top: 16px;

    right: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background:
        #f1f5f9;

    color:
        #64748b;

    cursor: pointer;

    transition: var(--transition);

}


.modal-cerrar:hover {

    background:
        #e2e8f0;

    color:
        #0f172a;

    transform:
        rotate(90deg);

}


/* =========================================================
   ICONO MODAL
========================================================= */

.modal-icono {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 72px;

    height: 72px;

    margin: 0 auto 18px;

    border-radius: 20px;

    background:
        #fef3c7;

    color:
        #d97706;

    font-size: 1.8rem;

}


/* =========================================================
   ETIQUETA
========================================================= */

.modal-etiqueta {

    display: inline-block;

    margin-bottom: 8px;

    color:
        #65a30d;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: 1.5px;

}


/* =========================================================
   TITULO
========================================================= */

.modal-tarifa h2 {

    margin-bottom: 15px;

    color:
        var(--primary-navy);

    font-size: 1.55rem;

    font-weight: 800;

    line-height: 1.3;

}


/* =========================================================
   TEXTO
========================================================= */

.modal-tarifa > p {

    margin-bottom: 25px;

    color:
        var(--text-muted);

    font-size: .93rem;

    line-height: 1.7;

}


/* =========================================================
   BOTONES DEL MODAL
========================================================= */

.modal-acciones {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

}


.modal-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 50px;

    padding: 12px 15px;

    border-radius: 10px;

    font-size: .85rem;

    font-weight: 700;

    transition: var(--transition);

}


/* LLAMAR */

.modal-btn-principal {

    background:
        var(--primary-navy);

    color:
        #fff;

}


.modal-btn-principal:hover {

    background:
        #1e293b;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(15,23,42,.18);

}


.modal-btn-principal i {

    color:
        yellowgreen;

}


/* EMAIL */

.modal-btn-secundario {

    border:
        1px solid #cbd5e1;

    background:
        #fff;

    color:
        #334155;

}


.modal-btn-secundario:hover {

    border-color:
        #94a3b8;

    background:
        #f8fafc;

    transform:
        translateY(-2px);

}


.modal-btn-secundario i {

    color:
        #1e40af;

}


/* =========================================================
   BOTÓN CERRAR INFERIOR
========================================================= */

.modal-continuar {

    margin-top: 18px;

    padding: 8px 15px;

    background: transparent;

    color:
        #94a3b8;

    font-size: .82rem;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);

}


.modal-continuar:hover {

    color:
        #334155;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {


    .tarifas-hero {

        padding: 70px 20px;

    }


    .tarifas-hero h1 {

        font-size: 2.3rem;

    }


    .tarifa-item {

        grid-template-columns:
            40px
            60px
            minmax(0, 1fr);

    }


    .btn-descargar {

        grid-column:
            3 / 4;

        justify-self:
            start;

        width:
            auto;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {


    .header {

        padding: 12px 0;

    }


    .header-content {

        min-height: 45px;

    }


    .menu-toggle {

        display: flex;

    }


    .nav-menu {

        position: absolute;

        top:
            calc(100% + 12px);

        left: 0;

        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        width: 100%;

        gap: 10px;

        padding: 15px;

        border:
            1px solid
            rgba(255,255,255,.08);

        border-radius: 14px;

        background:
            rgba(15,23,42,.99);

        box-shadow:
            0 15px 30px
            rgba(0,0,0,.25);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        pointer-events: none;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;

    }


    .nav-menu.active {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

        pointer-events: auto;

    }


    .nav-link {

        width: 100%;

        justify-content: center;

        padding: 14px;

        border-radius: 10px;

        background:
            rgba(255,255,255,.05);

        color: #fff;

    }


    .nav-link.active {

        color: #fff;

        background:
            rgba(255,255,255,.1);

    }


    .tarifas-hero {

        padding: 55px 15px;

    }


    .tarifas-hero h1 {

        font-size: 1.9rem;

    }


    .tarifas-hero p {

        font-size: 1rem;

    }


    .search-section {

        padding:
            35px 15px 5px;

    }


    .tarifas-section {

        padding:
            55px 15px;

    }


    .section-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-bottom: 25px;

    }


    .section-header h2 {

        font-size: 1.8rem;

    }


    .tarifas-counter {

        align-self:
            flex-start;

    }


    .tarifa-item {

        display: grid;

        grid-template-columns:
            40px
            55px
            1fr;

        gap: 15px;

        padding:
            20px;

    }


    .tarifa-numero {

        grid-row:
            1 / 3;

        align-self:
            start;

    }


    .tarifa-documento-icon {

        width: 52px;

        height: 52px;

    }


    .tarifa-contenido {

        grid-column:
            3 / 4;

    }


    .tarifa-contenido h3 {

        font-size:
            1.05rem;

    }


    .btn-descargar {

        grid-column:
            1 / -1;

        width:
            100%;

        margin-top:
            5px;

    }


    .aviso-section {

        padding:
            0 15px 55px;

    }


    .modal-tarifa {

        max-width:
            450px;

        padding:
            35px 25px 25px;

    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 480px) {


    .container {

        padding-left:
            15px;

        padding-right:
            15px;

    }


    .logo-text {

        font-size:
            1.5rem;

    }


    .tarifas-hero {

        padding:
            50px 15px;

    }


    .tag-certificated {

        padding:
            6px 12px;

        font-size:
            .7rem;

        letter-spacing:
            .5px;

    }


    .tarifas-hero h1 {

        font-size:
            1.65rem;

    }


    .tarifas-hero p {

        font-size:
            .95rem;

    }


    .section-header h2 {

        font-size:
            1.6rem;

    }


    .tarifa-item {

        grid-template-columns:
            35px
            50px
            1fr;

        gap:
            12px;

        padding:
            18px;

        border-radius:
            15px;

    }


    .tarifa-documento-icon {

        width:
            48px;

        height:
            48px;

        border-radius:
            12px;

        font-size:
            1.2rem;

    }


    .tarifa-contenido h3 {

        font-size:
            1rem;

    }


    .tarifa-contenido p {

        font-size:
            .8rem;

    }


    .modal-overlay {

        padding:
            15px;

    }


    .modal-tarifa {

        padding:
            32px 20px 22px;

        border-radius:
            20px;

    }


    .modal-icono {

        width:
            62px;

        height:
            62px;

        border-radius:
            17px;

        font-size:
            1.5rem;

    }


    .modal-tarifa h2 {

        font-size:
            1.3rem;

    }


    .modal-tarifa > p {

        font-size:
            .87rem;

    }


    .modal-acciones {

        grid-template-columns:
            1fr;

    }


    .modal-btn {

        width:
            100%;

    }


    .aviso-card {

        flex-direction:
            column;

        padding:
            20px;

    }


    .footer {

        padding:
            22px 15px 15px;

    }


}


/* =========================================================
   MUY PEQUEÑO
========================================================= */

@media (max-width: 360px) {


    .logo-text {

        font-size:
            1.35rem;

    }


    .tarifas-hero h1 {

        font-size:
            1.5rem;

    }


    .section-header h2 {

        font-size:
            1.45rem;

    }


    .tarifa-item {

        grid-template-columns:
            30px
            45px
            1fr;

        padding:
            16px;

    }


    .tarifa-documento-icon {

        width:
            44px;

        height:
            44px;

    }

}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

:focus-visible {

    outline:
        3px solid yellowgreen;

    outline-offset:
        3px;

}


/* =========================================================
   REDUCIR ANIMACIONES
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }


    *,
    *::before,
    *::after {

        transition:
            none !important;

        animation:
            none !important;

    }

}
