/*
Theme Name: Cor Reduría Child
Template: generatepress
Version: 1.0.0
*/

/* ======================================================================================
  HEADER 
========================================================================================= */

/*
Theme Name: Cor Reduría Child
Template: generatepress
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

:root {
    --cor-orange: #e83b00;
    --cor-orange-dark: #c93300;
    --cor-navy: #191d2d;
    --cor-muted: #5d6475;
    --cor-white: #ffffff;
    --cor-border: rgba(25, 29, 45, 0.08);
    --cor-soft: #f7f8fb;
    --cor-shadow: 0 18px 45px rgba(25, 29, 45, 0.12);
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--cor-navy);
    background: #ffffff;
}

a {
    transition: all .22s ease;
}

/* ==============================
   HEADER
================================= */

.cor-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 7px solid var(--cor-orange);
    position: sticky;
    top: 0;
    z-index: 99999;
    box-shadow: 0 1px 0 rgba(25, 29, 45, 0.04);
}

.admin-bar .cor-header {
    top: 32px;
}

.cor-container {
    width: min(1190px, calc(100% - 70px));
    margin: 0 auto;
}

.cor-header__inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
}

/* ==============================
   LOGO
================================= */

.cor-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cor-navy);
    text-decoration: none !important;
    flex-shrink: 0;
}

.cor-logo:hover {
    color: var(--cor-navy);
}

.cor-logo__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e83b00 0%, #25305f 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 15px 35px rgba(232, 59, 0, .18);
}

.cor-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.cor-logo__name {
    color: var(--cor-navy);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.cor-logo__tag {
    color: var(--cor-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}

/* ==============================
   MENÚ PC
================================= */

.cor-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.cor-nav > a,
.cor-nav__link {
    color: var(--cor-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    position: relative;
    padding: 18px 0;
}

.cor-nav > a:hover,
.cor-nav__link:hover {
    color: var(--cor-orange);
}

.cor-nav__item {
    position: relative;
}

.cor-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cor-nav__link i {
    font-size: 10px;
    transition: transform .22s ease;
}

.cor-nav__has-submenu:hover .cor-nav__link i {
    transform: rotate(180deg);
}

/* ==============================
   SUBMENÚ PC
================================= */

.cor-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 220px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--cor-border);
    border-radius: 20px;
    box-shadow: var(--cor-shadow);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .22s ease;
}

.cor-submenu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
}

.cor-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    color: var(--cor-navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.cor-submenu a:hover {
    background: var(--cor-soft);
    color: var(--cor-orange);
}

.cor-submenu a i {
    font-size: 12px;
    color: var(--cor-orange);
}

.cor-nav__has-submenu:hover .cor-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ==============================
   BOTONES
================================= */

.cor-header__cta {
    display: flex;
    justify-content: flex-end;
}

.cor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 55px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    border: 0;
    text-decoration: none !important;
    cursor: pointer;
}

.cor-btn-primary {
    color: #ffffff !important;
    background: var(--cor-orange) !important;
    box-shadow: 0 16px 35px rgba(232, 59, 0, .22);
}

.cor-btn-primary:hover {
    color: #ffffff !important;
    background: var(--cor-orange-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(232, 59, 0, .3);
}

.cor-btn i {
    font-size: 13px;
    color: #ffffff !important;
}

.cor-btn-mobile {
    display: none;
}

/* ==============================
   HAMBURGUESA
================================= */

.cor-menu-toggle {
    display: none;
}

.cor-menu-btn {
    display: none;
}

/* ==============================
   CONTENIDO
================================= */

.site-content {
    width: 100%;
}

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

@media (max-width: 1050px) {
    .cor-container {
        width: min(100% - 38px, 1190px);
    }

    .cor-header__inner {
        gap: 22px;
    }

    .cor-nav {
        gap: 20px;
    }

    .cor-nav > a,
    .cor-nav__link {
        font-size: 13px;
    }

    .cor-btn {
        min-height: 50px;
        padding: 0 22px;
        font-size: 13px;
    }
}

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

@media (max-width: 860px) {
    .admin-bar .cor-header {
        top: 46px;
    }

    .cor-header {
        border-bottom-width: 6px;
        position: sticky;
        top: 0;
    }

    .cor-container {
        width: min(100% - 28px, 1190px);
    }

    .cor-header__inner {
        min-height: 82px;
        display: grid;
        grid-template-columns: auto auto;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        position: relative;
    }

    .cor-logo__mark {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 18px;
    }

    .cor-logo__name {
        font-size: 19px;
    }

    .cor-logo__tag {
        font-size: 12px;
    }

    .cor-header__cta {
        display: none;
    }

    .cor-menu-btn {
        width: 48px;
        height: 48px;
        border-radius: 999px;
        background: var(--cor-orange);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        box-shadow: 0 12px 28px rgba(232, 59, 0, .25);
        z-index: 100001;
    }

    .cor-menu-btn span {
        width: 21px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: transform .25s ease, opacity .25s ease;
    }

    .cor-menu-toggle:checked + .cor-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .cor-menu-toggle:checked + .cor-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .cor-menu-toggle:checked + .cor-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cor-nav {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border: 1px solid rgba(25, 29, 45, 0.08);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 22px 45px rgba(25, 29, 45, 0.14);
        padding: 18px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: all .25s ease;
        z-index: 99999;
    }

    .cor-menu-toggle:checked ~ .cor-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .cor-nav > a:not(.cor-btn-mobile),
    .cor-nav__link {
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        border-radius: 16px;
        background: #f6f7fa;
        border: 1px solid rgba(25, 29, 45, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--cor-navy) !important;
        font-size: 14px;
        font-weight: 900;
        text-align: left;
        box-shadow: none;
    }

    .cor-nav > a:not(.cor-btn-mobile):hover,
    .cor-nav__link:hover {
        background: #eef0f5;
        color: var(--cor-orange) !important;
    }

    .cor-nav__item {
        width: 100%;
    }

    .cor-submenu {
        position: static;
        width: 100%;
        min-width: 100%;
        margin-top: 8px;
        padding: 8px;
        border-radius: 18px;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        background: #ffffff;
        border: 1px solid rgba(25, 29, 45, 0.08);
    }

    .cor-submenu::before {
        display: none;
    }

    .cor-nav__has-submenu:hover .cor-submenu {
        display: block;
        transform: none;
    }

    .cor-submenu a {
        font-size: 13px;
        padding: 13px;
        background: #ffffff;
        color: var(--cor-navy) !important;
    }

    .cor-submenu a:hover {
        background: #f6f7fa;
        color: var(--cor-orange) !important;
    }

    .cor-submenu a i {
        color: var(--cor-orange) !important;
    }

    .cor-nav .cor-btn-mobile {
        display: inline-flex !important;
        width: 100%;
        min-height: 50px;
        margin-top: 6px;
        padding: 0 20px;
        border-radius: 16px;
        background: var(--cor-orange) !important;
        color: #ffffff !important;
        border: 1px solid var(--cor-orange) !important;
        box-shadow: 0 16px 35px rgba(232, 59, 0, .22);
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 900;
    }

    .cor-nav .cor-btn-mobile:hover {
        background: var(--cor-orange-dark) !important;
        color: #ffffff !important;
        border-color: var(--cor-orange-dark) !important;
        transform: translateY(-2px);
    }

    .cor-nav .cor-btn-mobile i {
        color: #ffffff !important;
    }
}

/* ==============================
   MÓVIL PEQUEÑO
================================= */

@media (max-width: 480px) {
    .cor-container {
        width: min(100% - 22px, 1190px);
    }

    .cor-header__inner {
        min-height: 78px;
    }

    .cor-logo__mark {
        width: 41px;
        height: 41px;
        border-radius: 14px;
        font-size: 17px;
    }

    .cor-logo__name {
        font-size: 18px;
    }

    .cor-logo__tag {
        font-size: 11px;
    }

    .cor-menu-btn {
        width: 45px;
        height: 45px;
    }

    .cor-nav {
        padding: 14px;
    }

    .cor-nav > a:not(.cor-btn-mobile),
    .cor-nav__link {
        min-height: 46px;
        font-size: 13px;
    }

    .cor-nav .cor-btn-mobile {
        min-height: 48px;
        font-size: 13px;
    }
}


/* =========================================================
   FIX BOTÓN SOLICITAR ASESORÍA EN MENÚ HAMBURGUESA
========================================================= */

@media (max-width: 860px) {

    .cor-nav > a.cor-btn-mobile,
    .cor-nav .cor-btn-mobile,
    .cor-nav a.cor-btn.cor-btn-primary.cor-btn-mobile {
        display: inline-flex !important;
        width: 100% !important;
        min-height: 50px !important;
        margin-top: 6px !important;
        padding: 0 20px !important;
        border-radius: 16px !important;

        background: var(--cor-orange) !important;
        color: #ffffff !important;
        border: 1px solid var(--cor-orange) !important;
        box-shadow: 0 16px 35px rgba(232, 59, 0, .22) !important;

        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;

        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    .cor-nav > a.cor-btn-mobile:hover,
    .cor-nav .cor-btn-mobile:hover,
    .cor-nav a.cor-btn.cor-btn-primary.cor-btn-mobile:hover {
        background: var(--cor-orange-dark) !important;
        color: #ffffff !important;
        border-color: var(--cor-orange-dark) !important;
        transform: translateY(-2px);
    }

    .cor-nav > a.cor-btn-mobile i,
    .cor-nav .cor-btn-mobile i,
    .cor-nav a.cor-btn.cor-btn-primary.cor-btn-mobile i {
        color: #ffffff !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .cor-nav > a.cor-btn-mobile,
    .cor-nav .cor-btn-mobile,
    .cor-nav a.cor-btn.cor-btn-primary.cor-btn-mobile {
        min-height: 48px !important;
        font-size: 13px !important;
    }
}


/* ======================================================================================
   FIN HEADER 
========================================================================================= */



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

.cor-footer {
    width: 100%;
    background: #191d2d;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.cor-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--cor-orange, #e83b00);
}

.cor-footer::after {
    content: "";
    position: absolute;
    right: -180px;
    top: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 59, 0, .28) 0%, rgba(232, 59, 0, .08) 38%, transparent 70%);
    pointer-events: none;
}

.cor-footer__top {
    position: relative;
    z-index: 2;
    padding: 72px 0 54px;
}

.cor-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr .8fr 1.05fr;
    gap: 42px;
    align-items: start;
}

/* Marca */

.cor-footer__brand {
    max-width: 380px;
}

.cor-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none !important;
    margin-bottom: 22px;
}

.cor-footer__logo:hover {
    color: #ffffff;
}

.cor-footer__logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e83b00 0%, #25305f 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 19px;
    box-shadow: 0 18px 38px rgba(232, 59, 0, .24);
}

.cor-footer__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.cor-footer__logo-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.cor-footer__logo-tag {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
}

.cor-footer__brand p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .74);
    font-size: 15px;
    line-height: 1.75;
}

/* Contacto */

.cor-footer__contact {
    display: grid;
    gap: 12px;
}

.cor-footer__contact a,
.cor-footer__contact span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.cor-footer__contact a:hover {
    color: #ffffff;
}

.cor-footer__contact i {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(232, 59, 0, .16);
    color: var(--cor-orange, #e83b00);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* Columnas */

.cor-footer__col h3,
.cor-footer__cta h3 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cor-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}

.cor-footer__col a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.cor-footer__col a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--cor-orange, #e83b00);
    margin-right: 10px;
    opacity: .9;
}

.cor-footer__col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* CTA */

.cor-footer__cta {
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 59, 0, .20) 0%, transparent 42%),
        rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
}

.cor-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(232, 59, 0, .16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.cor-footer__cta h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.18;
}

.cor-footer__cta p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.7;
}

.cor-footer__btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    background: var(--cor-orange, #e83b00);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(232, 59, 0, .24);
}

.cor-footer__btn:hover {
    background: var(--cor-orange-dark, #c93300);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Legal */

.cor-footer__middle {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    padding: 22px 0;
}

.cor-footer__legal-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cor-footer__legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.cor-footer__legal-links a,
.cor-footer__legal-links span {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.cor-footer__legal-links a:hover {
    color: #ffffff;
}

.cor-footer__kit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #191d2d;
    white-space: nowrap;
}

.cor-footer__kit span {
    font-size: 12px;
    font-weight: 700;
    color: #5d6475;
}

.cor-footer__kit strong {
    font-size: 13px;
    font-weight: 900;
    color: #191d2d;
}

.cor-footer__kit small {
    font-size: 12px;
    font-weight: 800;
    color: var(--cor-orange, #e83b00);
}

/* Bottom */

.cor-footer__bottom {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.cor-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Responsive */

@media (max-width: 1050px) {
    .cor-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .cor-footer__cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .cor-footer__top {
        padding: 58px 0 42px;
    }

    .cor-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .cor-footer__brand {
        max-width: 100%;
    }

    .cor-footer__legal-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .cor-footer__kit {
        width: 100%;
        justify-content: center;
        border-radius: 18px;
        flex-wrap: wrap;
        white-space: normal;
        text-align: center;
    }

    .cor-footer__bottom p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .cor-footer__top {
        padding: 50px 0 36px;
    }

    .cor-footer__logo-mark {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .cor-footer__logo-name {
        font-size: 20px;
    }

    .cor-footer__brand p,
    .cor-footer__cta p {
        font-size: 14px;
    }

    .cor-footer__cta {
        padding: 22px;
        border-radius: 24px;
    }

    .cor-footer__cta h3 {
        font-size: 20px;
    }

    .cor-footer__legal-links {
        display: grid;
        gap: 8px;
    }

    .cor-footer__legal-links span {
        display: none;
    }
}

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

