/**
* Theme Name: Rosano Child
* Description: CrediCasa CYP - Redesign 2026
* Author: CrediCasa CYP
* Template: rosano
* Version: 2.0
*/

/* ===================================
   CREDICASA DESIGN SYSTEM 2026
   Primary Blue:    #00709c
   Dark Blue:       #2456a1
   Bright Cyan:     #048cb4
   Orange CTA:      #ff7900
   Dark Navy:       #0b2940
   Light BG:        #f5f7fa
   Text Dark:       #1a202c
   Text Body:       #475569
   Text Light:      #64748b
   Border:          #e8edf2
   =================================== */

/* ── RESET & BASE ────────────────────── */
*,*::before,*::after{box-sizing:border-box}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
    -webkit-font-smoothing: antialiased;
}

/* Reset parent-theme wrappers that add white padding/border */
.boxed_wrapper,
.page-wrapper,
#wrapper,
.site,
.site-content,
main#main {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
}

/* ── 1. HEADER ───────────────────────── */
.cc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0;
}

.cc-header__inner {
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 20px;
}

.cc-header__logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

/* INVU trust banner — sits centered between the logo and the 7% banner */
.cc-header__trust {
    display: inline-flex;
    align-items: center;
    margin: 0 auto;            /* absorbs free space on both sides → centers it */
    line-height: 0;
}
.cc-header__trust img {
    height: 56px;
    width: auto;
    max-width: 100%;
    display: block;
}

.cc-header__banner {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    line-height: 0;
}
.cc-header__banner img {
    max-height: 56px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.cc-header__contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cc-header__phone,
.cc-header__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cc-header__phone {
    color: #00709c;
    background: rgba(0,112,156,0.08);
}

.cc-header__phone:hover {
    background: rgba(0,112,156,0.15);
    color: #00709c;
    text-decoration: none;
}

.cc-header__whatsapp {
    color: #25d366;
    background: rgba(37,211,102,0.08);
}

.cc-header__whatsapp:hover {
    background: rgba(37,211,102,0.15);
    color: #25d366;
    text-decoration: none;
}

/* Navigation */
.cc-nav {
    background: #00709c;
}

.cc-nav__inner {
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.cc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.cc-nav li a {
    display: block;
    padding: 14px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.cc-nav li a:hover,
.cc-nav li.current-menu-item a {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    text-decoration: none;
}

.cc-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ff7900;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,121,0,0.35);
}

.cc-nav__cta:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,121,0,0.45);
    color: #ffffff !important;
}

/* Mobile menu toggle */
.cc-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 14px;
}

/* ── 2. HERO SECTION ─────────────────── */
.cc-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cc-hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cc-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,112,156,0.92) 0%, rgba(11,41,64,0.95) 100%);
}

.cc-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 40px 80px 60px;
}

.cc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.cc-hero h1 {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.cc-hero h1 span {
    color: #ff7900;
}

.cc-hero__sub {
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}

.cc-hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cc-hero__image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
}

.cc-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-hero__image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 120px;
    background: linear-gradient(to right, rgba(11,41,64,0.95), transparent);
    z-index: 1;
}

/* ── 3. BUTTONS ──────────────────────── */
.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}

.cc-btn--primary {
    background: #ff7900;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(255,121,0,0.35);
}

.cc-btn--primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,121,0,0.45);
    color: #ffffff !important;
}

.cc-btn--secondary {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5);
}

.cc-btn--secondary:hover {
    background: #ffffff;
    color: #00709c !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.cc-btn--whatsapp {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

.cc-btn--whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.4);
    color: #ffffff !important;
}

.cc-btn--outline-blue {
    background: transparent;
    color: #00709c !important;
    border-color: #00709c;
}

.cc-btn--outline-blue:hover {
    background: #00709c;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.cc-btn--white {
    background: #ffffff;
    color: #ff7900 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cc-btn--white:hover {
    background: #0b2940;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.cc-btn i {
    font-size: 18px;
}

/* ── 4. TRUST BAR ────────────────────── */
.cc-trust-bar {
    background: linear-gradient(135deg, #0b2940 0%, #00709c 100%);
    padding: 0;
    position: relative;
    z-index: 5;
}

.cc-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1290px;
    margin: 0 auto;
}

.cc-trust-bar__item {
    text-align: center;
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.cc-trust-bar__item:last-child {
    border-right: none;
}

.cc-trust-bar__number {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.cc-trust-bar__number span {
    color: #ff7900;
}

.cc-trust-bar__label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ── 5. SECTIONS ─────────────────────── */
.cc-section {
    padding: 70px 0;
}

.cc-section--light {
    background: #ffffff;
}

.cc-section--alt {
    background: #f5f7fa;
}

.cc-section--dark {
    background: linear-gradient(135deg, #0b2940 0%, #00709c 100%);
}

.cc-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.cc-container--narrow {
    max-width: 860px;
}

/* ============================================================
   CONTENT WIDTH — keep Elementor content as wide as the header so
   nothing looks "shrunken" in the middle of wide laptops/monitors.
   Elementor boxed containers default to ~1140px; the header is 1290px.
   Match them, and scale BOTH up together on big screens.
   ============================================================ */
.e-con.e-con-boxed > .e-con-inner,
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-widget-wrap > .e-con.e-con-boxed > .e-con-inner {
    max-width: 1290px;
}

/* Fluid content width on ALL desktop sizes so the site fills the screen and
   never looks "shrunken" — ~92% of the viewport with caps that grow on bigger
   monitors. Kicks in above the mobile-nav breakpoint. */
@media (min-width: 1025px) {
    .cc-header__inner,
    .cc-nav__inner,
    .cc-container,
    .cc-footer__grid {
        max-width: min(92vw, 1560px) !important;
    }
    .e-con.e-con-boxed > .e-con-inner,
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: min(92vw, 1560px);
    }
}
@media (min-width: 1500px) {
    .cc-header__inner,
    .cc-nav__inner,
    .cc-container,
    .cc-footer__grid {
        max-width: min(92vw, 1860px) !important;
    }
    .e-con.e-con-boxed > .e-con-inner,
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: min(92vw, 1860px);
    }
}
@media (min-width: 1900px) {
    .cc-header__inner,
    .cc-nav__inner,
    .cc-container,
    .cc-footer__grid {
        max-width: min(92vw, 2120px) !important;
    }
    .e-con.e-con-boxed > .e-con-inner,
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: min(92vw, 2120px);
    }
}
@media (min-width: 2400px) {
    .cc-header__inner,
    .cc-nav__inner,
    .cc-container,
    .cc-footer__grid {
        max-width: min(90vw, 2480px) !important;
    }
    .e-con.e-con-boxed > .e-con-inner,
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: min(90vw, 2480px);
    }
}

/* Section headings */
.cc-heading {
    text-align: center;
    margin-bottom: 48px;
}

.cc-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.cc-heading p {
    font-size: 18px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.cc-heading__line {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff7900, #00709c);
    margin: 18px auto 0;
    border-radius: 2px;
}

.cc-heading--white h2 {
    color: #ffffff;
}

.cc-heading--white p {
    color: rgba(255,255,255,0.75);
}

.cc-heading--left {
    text-align: left;
}

.cc-heading--left .cc-heading__line {
    margin-left: 0;
}

/* ── 6. SPLIT LAYOUT ─────────────────── */
.cc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cc-split--reverse {
    direction: rtl;
}

.cc-split--reverse > * {
    direction: ltr;
}

.cc-split__text h3 {
    font-size: 30px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 18px 0;
    line-height: 1.25;
}

.cc-split__text p {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cc-split__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cc-split__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 7. CHECKLIST ────────────────────── */
.cc-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.cc-checklist li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #334155;
    line-height: 1.6;
}

.cc-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff7900, #00709c);
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── 8. PROCESS STEPS ────────────────── */
.cc-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    counter-reset: step;
}

.cc-step {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8edf2;
    counter-increment: step;
    transition: all 0.3s ease;
}

.cc-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,112,156,0.12);
    border-color: rgba(0,112,156,0.2);
}

.cc-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00709c, #048cb4);
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0,112,156,0.3);
}

.cc-step:hover .cc-step__number {
    background: linear-gradient(135deg, #ff7900, #e67e22);
    box-shadow: 0 8px 25px rgba(255,121,0,0.35);
}

.cc-step__icon {
    font-size: 48px;
    color: #00709c;
    margin-bottom: 16px;
}

.cc-step h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
}

.cc-step p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ── 9. SERVICE CARDS ────────────────── */
.cc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8edf2;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.cc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00709c, #048cb4, #ff7900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.cc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0,112,156,0.12);
    border-color: rgba(0,112,156,0.2);
}

.cc-card:hover::before {
    transform: scaleX(1);
}

.cc-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: rgba(0,112,156,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #00709c;
    transition: all 0.3s ease;
}

.cc-card:hover .cc-card__icon {
    background: linear-gradient(135deg, #00709c, #048cb4);
    color: #ffffff;
}

.cc-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
}

.cc-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ── 10. BENEFITS 3-COLUMN ───────────── */
.cc-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cc-benefit {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
}

.cc-benefit:hover {
    border-color: rgba(0,112,156,0.3);
    box-shadow: 0 8px 30px rgba(0,112,156,0.1);
}

.cc-benefit__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cc-benefit__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00709c, #048cb4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
}

.cc-benefit h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.cc-benefit ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-benefit ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}

.cc-benefit ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7900, #00709c);
}

/* ── 11. CONTACT FORM ────────────────── */
/* Legacy wrapper — now only holds the self-contained .ccf card.
   No background/padding/box of its own (that caused the "double background"). */
.cc-form-wrap {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto;
    box-shadow: none !important;
}

.cc-form-wrap h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
}

.cc-form-wrap > p {
    color: rgba(255,255,255,0.75);
    text-align: center;
    font-size: 15px;
    margin: 0 0 28px 0;
}

.cc-form-wrap label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cc-form-wrap input[type="text"],
.cc-form-wrap input[type="email"],
.cc-form-wrap input[type="tel"],
.cc-form-wrap select,
.cc-form-wrap textarea {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    color: #1a202c;
    margin-bottom: 16px;
    font-family: inherit;
}

.cc-form-wrap textarea {
    min-height: 100px;
    resize: vertical;
}

.cc-form-wrap input::placeholder,
.cc-form-wrap textarea::placeholder {
    color: #94a3b8;
}

.cc-form-wrap .cc-form-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: #ff7900;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.cc-form-wrap .cc-form-submit:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,121,0,0.4);
}

.cc-form-alert {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Radio buttons */
.cc-form-radios {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.cc-form-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
}

.cc-form-radios input[type="radio"] {
    accent-color: #ff7900;
    width: 18px;
    height: 18px;
}

/* Checkbox */
.cc-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
}

.cc-form-checkbox input[type="checkbox"] {
    accent-color: #ff7900;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cc-form-checkbox label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

/* ── 12. CALCULATOR ──────────────────── */
.cc-calc {
    max-width: 900px;
    margin: 0 auto;
}

.cc-calc__input-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cc-calc__prefix {
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #00709c;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px 0 0 8px;
}

.cc-calc__input {
    flex: 1;
    padding: 14px 16px;
    font-size: 18px;
    border: 2px solid #e8edf2;
    border-left: none;
    border-right: none;
    outline: none;
    font-family: inherit;
}

.cc-calc__input:focus {
    border-color: #00709c;
}

.cc-calc__suffix {
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #f5f7fa;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #e8edf2;
    border-left: none;
}

.cc-calc__btn {
    padding: 14px 28px;
    background: #ff7900;
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cc-calc__btn:hover {
    background: #e67e22;
}

/* Calculator tables */
.cc-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 24px 0;
}

.cc-table thead th {
    background: #00709c;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-table thead th.cc-table--highlight {
    background: #ff7900;
}

.cc-table thead th.cc-table--accent {
    background: #048cb4;
}

.cc-table tbody td {
    padding: 12px 18px;
    font-size: 15px;
    color: #334155;
    text-align: center;
    border-bottom: 1px solid #e8edf2;
}

.cc-table tbody tr:nth-child(even) {
    background: #f5f7fa;
}

.cc-table tbody tr:hover {
    background: rgba(0,112,156,0.04);
}

.cc-table tbody tr.cc-table__recommended {
    background: rgba(255,121,0,0.08);
    font-weight: 600;
}

/* ── 13. TEAM ────────────────────────── */
.cc-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.cc-team-member {
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
}

.cc-team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,112,156,0.1);
}

.cc-team-member__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid rgba(0,112,156,0.1);
}

.cc-team-member h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
}

.cc-team-member__role {
    font-size: 14px;
    color: #00709c;
    font-weight: 600;
    margin-bottom: 12px;
}

.cc-team-member__contact {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}

.cc-team-member__contact a {
    color: #00709c;
    text-decoration: none;
}

.cc-team-member__contact a:hover {
    text-decoration: underline;
}

/* ── 14. FAQ ACCORDION ───────────────── */
.cc-faq-item {
    margin-bottom: 12px;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cc-faq-item:hover {
    border-color: rgba(0,112,156,0.3);
}

.cc-faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.cc-faq-item__q:hover {
    background: #f5f7fa;
    color: #00709c;
}

.cc-faq-item__q.active {
    background: #00709c;
    color: #ffffff;
}

.cc-faq-item__a {
    padding: 20px 24px;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    border-top: 1px solid #e8edf2;
    display: none;
}

.cc-faq-item__a.active {
    display: block;
}

/* ── 15. CTA SECTIONS ────────────────── */
.cc-cta {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cc-cta--orange {
    background: linear-gradient(135deg, #ff7900, #e67e22);
}

.cc-cta--blue {
    background: linear-gradient(135deg, #0b2940, #00709c);
}

.cc-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cc-cta h2 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    position: relative;
    z-index: 1;
}

.cc-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 32px 0;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cc-cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── 16. FOOTER ──────────────────────── */
.cc-footer {
    background: #0b2940;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}

.cc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cc-footer__brand h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.cc-footer__logo {
    display: inline-block;
    margin-bottom: 14px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    line-height: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.cc-footer__logo img {
    max-height: 56px;
    width: auto;
    display: block;
}

.cc-footer__brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.cc-footer__brand .cc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,121,0,0.15);
    color: #ff7900;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.cc-footer h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cc-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-footer ul li {
    margin-bottom: 10px;
}

.cc-footer ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cc-footer ul li a:hover {
    color: #ff7900;
}

.cc-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.cc-footer__contact-item i {
    color: #ff7900;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.cc-footer__contact-item a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

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

.cc-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cc-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.cc-footer__social a:hover {
    background: #ff7900;
    color: #ffffff;
}

.cc-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.cc-footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.cc-footer__bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

/* ── 17. FLOATING WHATSAPP ───────────── */
.cc-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transition: all 0.3s ease;
    animation: cc-wa-pulse 2s ease infinite;
}

.cc-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37,211,102,0.6);
    color: #ffffff;
    text-decoration: none;
}

@keyframes cc-wa-pulse {
    0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0.15); }
}

/* ── 18. BLOG CARDS ──────────────────── */
.cc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cc-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8edf2;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.cc-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0,112,156,0.12);
}

.cc-blog-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.cc-blog-card__img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #00709c, #048cb4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}

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

.cc-blog-card__category {
    display: inline-block;
    background: rgba(255,121,0,0.1);
    color: #ff7900;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.cc-blog-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.cc-blog-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 10px;
}

.cc-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.cc-blog-card__title a:hover {
    color: #00709c;
}

.cc-blog-card__excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.cc-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #ff7900;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.cc-blog-card__link:hover {
    color: #00709c;
    gap: 10px;
}

/* ── 19. MAP ─────────────────────────── */
.cc-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 350px;
}

.cc-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 20. SCROLL REVEAL ───────────────── */
.cc-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cc-reveal.cc-revealed {
    opacity: 1;
    transform: translateY(0);
}

.cc-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cc-reveal-left.cc-revealed {
    opacity: 1;
    transform: translateX(0);
}

.cc-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cc-reveal-right.cc-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ── 21. RESPONSIVE ──────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .cc-hero h1 { font-size: 36px; }
    .cc-hero__content { padding: 60px 30px; }
    .cc-hero__image { width: 40%; }
    .cc-heading h2 { font-size: 30px; }
    .cc-split { grid-template-columns: 1fr; gap: 30px; }
    .cc-split--reverse { direction: ltr; }
    .cc-cards { grid-template-columns: repeat(2, 1fr); }
    .cc-benefits { grid-template-columns: repeat(2, 1fr); }
    .cc-trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .cc-trust-bar__item { border-right: none; }
    .cc-trust-bar__number { font-size: 34px; }
    .cc-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .cc-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .cc-section { padding: 50px 0; }
    .cc-cta h2 { font-size: 28px; }
    .cc-header__contact { display: none; }
    .cc-form-wrap { padding: 30px 24px; }
}

/* Mobile */
@media (max-width: 767px) {
    body { font-size: 16px; }

    .cc-hero {
        min-height: auto;
    }

    .cc-hero__content {
        padding: 50px 20px;
        max-width: 100%;
    }

    .cc-hero__image {
        display: none;
    }

    .cc-hero h1 {
        font-size: 28px;
    }

    .cc-hero__sub {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .cc-hero__buttons {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .cc-heading h2 { font-size: 24px; }
    .cc-heading p { font-size: 16px; }

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

    .cc-trust-bar__number { font-size: 30px; }
    .cc-trust-bar__label { font-size: 11px; }

    .cc-section { padding: 40px 0; }

    .cc-split__text h3 { font-size: 24px; }

    .cc-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cc-card {
        padding: 24px 20px;
    }

    .cc-benefits {
        grid-template-columns: 1fr;
    }

    .cc-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cc-step {
        padding: 24px 20px;
    }

    .cc-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cc-cta { padding: 40px 0; }
    .cc-cta h2 { font-size: 24px; }
    .cc-cta p { font-size: 16px; }
    .cc-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cc-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cc-form-wrap {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .cc-form-wrap h3 { font-size: 20px; }

    .cc-calc__input-group {
        flex-direction: column;
    }

    .cc-calc__prefix {
        border-radius: 8px 8px 0 0;
        justify-content: center;
        padding: 10px;
    }

    .cc-calc__input {
        border: 2px solid #e8edf2;
        border-radius: 0;
    }

    .cc-calc__suffix { display: none; }

    .cc-calc__btn {
        border-radius: 0 0 8px 8px;
        padding: 14px;
    }

    .cc-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .cc-map { height: 250px; }

    /* Nav mobile — top row holds the hamburger (left) + CTA (right) */
    .cc-nav__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 8px 16px;
    }

    .cc-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .cc-nav ul.active {
        display: flex;
    }

    .cc-nav li a {
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 16px;
    }

    /* Visible, bulletproof hamburger (CSS-drawn icon, no Font Awesome dependency) */
    .cc-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 9px;
        order: 1;
        background: rgba(255,255,255,0.14);
        border: 1px solid rgba(255,255,255,0.30);
        border-radius: 8px;
        padding: 9px 14px 9px 12px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
    }
    .cc-menu-toggle i { display: none; }            /* hide the (broken) FA glyph */
    .cc-menu-toggle::before {                        /* draw hamburger bars */
        content: "";
        width: 20px; height: 2px;
        background: #fff;
        box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
        flex: 0 0 auto;
    }
    .cc-menu-toggle::after { content: "Menú"; }      /* clear text label */

    .cc-nav__cta {
        order: 2;
        margin: 0;
        text-align: center;
        display: inline-flex;
        padding: 9px 18px;
        font-size: 13px;
    }

    /* Sticky mobile CTA */
    .cc-sticky-mobile {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 9998;
        background: linear-gradient(135deg, #00709c, #0b2940);
        padding: 10px 12px;
        gap: 8px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }

    .cc-sticky-mobile a {
        flex: 1;
        text-align: center;
        padding: 11px 6px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: #ffffff;
    }

    .cc-sticky-mobile__form { background: #ff7900; }
    .cc-sticky-mobile__wa { background: #25d366; }
    .cc-sticky-mobile__call { background: rgba(255,255,255,0.12); }

    body { padding-bottom: 62px; }
    .cc-whatsapp-float { bottom: 76px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .cc-hero h1 { font-size: 24px; }
    .cc-hero__sub { font-size: 15px; }
    .cc-heading h2 { font-size: 22px; }
    .cc-split__text h3 { font-size: 22px; }
    .cc-trust-bar__grid { grid-template-columns: 1fr; }
    .cc-trust-bar__item { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .cc-trust-bar__item:last-child { border-bottom: none; }
    .cc-team { grid-template-columns: 1fr; }
    .cc-cta h2 { font-size: 22px; }
}

/* Print */
@media print {
    .cc-header, .cc-nav, .cc-whatsapp-float, .cc-sticky-mobile, .cc-cta { display: none !important; }
    .cc-section { padding: 20px 0; }
    .cc-card, .cc-blog-card, .cc-team-member { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cc-reveal, .cc-reveal-left, .cc-reveal-right {
        opacity: 1; transform: none; transition: none;
    }
    .cc-whatsapp-float { animation: none; }
    .cc-card, .cc-step, .cc-blog-card, .cc-team-member, .cc-btn {
        transition: none !important;
    }
}

/* ── ELEMENTOR OVERRIDES ─────────────── */
.elementor-page .cc-section {
    padding: 70px 0;
}

/* Override parent theme bloat */
.elementor-page .thm-container {
    max-width: 1200px;
}

/* Contact Form 7 inside cc-form-wrap */
.cc-form-wrap .wpcf7-form input[type="text"],
.cc-form-wrap .wpcf7-form input[type="email"],
.cc-form-wrap .wpcf7-form input[type="tel"],
.cc-form-wrap .wpcf7-form textarea,
.cc-form-wrap .wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    color: #1a202c;
    margin-bottom: 16px;
    font-family: inherit;
}

.cc-form-wrap .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px;
    background: #ff7900;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-form-wrap .wpcf7-form input[type="submit"]:hover {
    background: #e67e22;
}

.cc-form-wrap .wpcf7-form label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* Elementor toggle/accordion FAQ override */
.cc-faq-section .elementor-toggle-item {
    margin-bottom: 12px;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
}

.cc-faq-section .elementor-tab-title {
    background: #ffffff !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
}

.cc-faq-section .elementor-tab-title:hover {
    background: #f5f7fa !important;
    color: #00709c !important;
}

.cc-faq-section .elementor-tab-title.elementor-active {
    background: #00709c !important;
    color: #ffffff !important;
}

.cc-faq-section .elementor-tab-content {
    padding: 20px 24px !important;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* Blog single post enhancements */
.single-post .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

.single-post .entry-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
    margin-top: 40px;
}

.single-post .entry-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 32px;
}

/* Blog archive page */
.blog-page-two {
    padding: 40px 0 !important;
    background: #f5f7fa !important;
}

.blog-page-two .thm-unit-test {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .blog-page-two .thm-unit-test {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-page-two .thm-unit-test {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── RESPONSIVE POLISH ───────────────────
   Final pass: kill any leftover gaps in the
   tablet (768-1024) and small-mobile ranges. */

/* Sticky mobile bar must be invisible on desktop/tablet (it's a div in DOM) */
.cc-sticky-mobile { display: none; }

/* Tablet: keep top contact visible (no sticky bar fires until <768) */
@media (max-width: 1024px) and (min-width: 768px) {
    .cc-header__contact { display: flex !important; }
    .cc-header__phone, .cc-header__whatsapp {
        font-size: 13px;
        padding: 7px 12px;
    }
    .cc-nav ul { gap: 0; }
    .cc-nav li a { padding: 14px 14px; font-size: 14px; }
    .cc-nav__cta { padding: 10px 20px; font-size: 13px; }
}

/* Pre-footer form section padding shrinks on mobile */
@media (max-width: 767px) {
    .cc-pre-footer-form { padding: 40px 16px !important; }
    .cc-pre-footer-form h2 { font-size: 22px !important; }
    .cc-pre-footer-form p { font-size: 14px !important; }
    .cc-zoho-wrap { padding: 24px 14px !important; }
    .cc-zoho-wrap h2 { font-size: 22px !important; }
}

/* Safety: nothing overflows horizontally on small screens */
@media (max-width: 767px) {
    img, video, iframe, table { max-width: 100%; height: auto; }
    .elementor-section, .elementor-container, .e-con, .e-con-inner { max-width: 100% !important; }
}

/* Logo readable on small screens — image already includes "autorizado #214" subtitle */
@media (max-width: 480px) {
    .cc-header__logo img { max-height: 44px; }
    .cc-header__inner { padding: 10px 14px; gap: 10px; }
}

/* ============================================================
   RESPONSIVE MEDIA — images, videos, hero backgrounds
   Mobile-first, fluid everywhere, art-direction safe
   ============================================================ */

/* Universal fluid media — never overflow, always proportional */
img,
picture,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Elementor image widget — keep aspect ratio, soft loading */
.elementor-widget-image img {
    display: block;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
    transition: transform 0.4s ease;
}
.elementor-widget-image a img {
    cursor: pointer;
}

/* Blog featured images & post thumbnails */
.wp-post-image,
.attachment-post-thumbnail,
.attachment-large,
.attachment-medium {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Article body images stay inside the column */
.entry-content img,
.post-content img,
.single-post .elementor-widget-theme-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 18px auto;
    display: block;
}

/* Responsive video / iframe (YouTube, Vimeo, maps) — 16:9 wrapper */
.elementor-widget-video .elementor-video,
.elementor-widget-video .elementor-wrapper iframe,
.elementor-widget-video iframe,
iframe[src*="youtube.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"] {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
}

/* Maps iframe — taller, never overflow */
iframe[src*="google.com/maps"],
iframe[src*="maps.google"] {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    border: 0;
}

/* ============================================================
   HERO SECTIONS — first container on each page with bg-image
   ============================================================ */

/* All Elementor sections/containers with a background image get
   a sensible min-height that scales nicely with viewport */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section[style*="background-image"],
.e-con.e-parent[style*="background-image"],
.elementor-element[data-settings*="background_image"] {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero section — first .e-con.e-parent on any Elementor page is the hero.
   Elementor's own overlay container handles the dark gradient; we just need
   to make sure the hero text stays readable and the section breathes well
   on every device. */
.elementor > .e-con.e-parent:first-child {
    position: relative;
    isolation: isolate;
}
.elementor > .e-con.e-parent:first-child h1,
.elementor > .e-con.e-parent:first-child h2,
.elementor > .e-con.e-parent:first-child > .e-con .e-con > h1,
.elementor > .e-con.e-parent:first-child > .e-con .e-con > h2,
.elementor > .e-con.e-parent:first-child > .e-con .e-con > p,
[data-elementor-type="wp-page"] > .e-con.e-parent:first-child h1,
[data-elementor-type="wp-page"] > .e-con.e-parent:first-child h2,
[data-elementor-type="wp-page"] > .e-con.e-parent:first-child p {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* Tablet + small laptop hero */
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor > .e-con.e-parent:first-child {
        min-height: 55vh;
    }
}

/* Phone landscape — keep hero short */
@media (max-width: 767px) and (orientation: landscape) {
    .elementor > .e-con.e-parent:first-child {
        min-height: 80vh;
    }
}

/* Phone portrait — shrink the giant hero typography */
@media (max-width: 480px) {
    .elementor > .e-con.e-parent:first-child h1 {
        font-size: clamp(26px, 7.5vw, 38px) !important;
        line-height: 1.18 !important;
    }
    .elementor > .e-con.e-parent:first-child h2 {
        font-size: clamp(22px, 6.5vw, 32px) !important;
        line-height: 1.2 !important;
    }
    .elementor > .e-con.e-parent:first-child p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }
}

/* Lazy-loaded image fade-in */
img[loading="lazy"] {
    opacity: 0;
    animation: ccFadeIn 0.45s ease forwards;
}
@keyframes ccFadeIn {
    to { opacity: 1; }
}

/* ============================================================
   IMAGE GRIDS / CARDS — make sure they stack cleanly
   ============================================================ */

/* Service / project / team grid images cover their box at all sizes */
.elementor-widget-image-box img,
.team-grid img,
.service-grid img,
.project-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* If an image is wrapped with explicit pixel height, switch to aspect-ratio */
.elementor-widget-image .elementor-widget-container img[height][width]:not([height="auto"]) {
    height: auto;
}

/* ============================================================
   BLOG GRID FEATURED IMAGES — fixed aspect ratio for clean rows
   ============================================================ */
.cc-blog-grid .cc-blog-card__thumb,
.elementor-posts-container .elementor-post__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 100%;
}
.cc-blog-grid .cc-blog-card__thumb img,
.elementor-posts-container .elementor-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cc-blog-grid .cc-blog-card:hover .cc-blog-card__thumb img,
.elementor-posts-container .elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.06);
}

/* Single blog post hero image — never crushed */
.single-post .elementor-widget-theme-post-featured-image img,
.single .entry-thumbnail img {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}
@media (max-width: 767px) {
    .single-post .elementor-widget-theme-post-featured-image img,
    .single .entry-thumbnail img {
        max-height: 280px;
        border-radius: 8px;
    }
}

/* ============================================================
   PREVENT HORIZONTAL OVERFLOW from any rogue media
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
.elementor-section, .elementor-container, .e-con, .e-con-inner, main, article {
    max-width: 100%;
}

/* Make tables scroll horizontally instead of breaking layout */
.entry-content table, .post-content table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Hero overlay container — added as first child of every hero section.
   Belt-and-suspenders fallback in case Elementor's gradient settings
   don't render reliably for this child container. */
.cc-hero-overlay {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,32,52,0.74) 0%, rgba(8,32,52,0.58) 50%, rgba(8,32,52,0.78) 100%) !important;
}
.cc-hero-overlay > * {
    display: none !important;
}
/* Make sure hero content is above the overlay */
.elementor > .e-con.e-parent:first-child > .e-con:not(.cc-hero-overlay),
.elementor > .e-con.e-parent:first-child > .elementor-element:not(.cc-hero-overlay) {
    position: relative;
    z-index: 2;
}

/* ============================================================
   HEADER BANNER GIF + FOOTER LOGO — responsive breakpoints
   ============================================================ */

/* Tablet — banner shrinks, contact gets tighter */
@media (min-width: 768px) and (max-width: 1100px) {
    .cc-header__banner img { max-height: 46px; }
    .cc-header__logo img { max-height: 60px; }
    .cc-header__banner { margin-right: 8px; }
}

/* Tablet/small: keep the 7% banner visible (it's a key trust signal),
   just scale it down so the header stays tidy */
@media (max-width: 880px) {
    .cc-header__banner { display: inline-flex; margin-left: auto; margin-right: 10px; }
    .cc-header__banner img { max-height: 42px; }
}

/* Phone — logo + banner both shrink; banner sits beside the logo */
@media (max-width: 600px) {
    .cc-header__logo img { max-height: 50px; }
    .cc-header__inner { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
    .cc-header__banner { margin-left: auto; margin-right: 0; }
    .cc-header__banner img { max-height: 34px; }
    /* contact pills are covered by the sticky mobile bar — hide to make room */
    .cc-header__contact { display: none !important; }
}
@media (max-width: 360px) {
    .cc-header__banner img { max-height: 30px; }
    .cc-header__logo img { max-height: 44px; }
}

/* Footer logo on small screens */
@media (max-width: 768px) {
    .cc-footer__logo img { max-height: 48px; }
    .cc-footer__logo { padding: 8px 12px; margin-bottom: 12px; }
}

/* ============================================================
   REBUILT FULL-BLEED HERO (homepage + any page using cc-hero-content)
   ============================================================ */
.cc-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    gap: 20px;
}
/* Keep the headline + paragraph in a readable column, left aligned */
.cc-hero-content > .elementor-widget-heading,
.cc-hero-content > .elementor-widget-text-editor {
    max-width: 640px;
    text-align: left;
}
.cc-hero-content .elementor-widget-text-editor p { margin: 0; }
.cc-hero-content .elementor-heading-title { text-shadow: 0 2px 10px rgba(0,0,0,0.35); }

/* Buttons row spacing */
.cc-hero-content .elementor-widget-button .elementor-button {
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    transition: transform .2s ease, box-shadow .25s ease;
}
.cc-hero-content .elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.26);
}

@media (max-width: 767px) {
    .cc-hero-content { gap: 16px; align-items: flex-start; }
    .cc-hero-content > .elementor-widget-heading,
    .cc-hero-content > .elementor-widget-text-editor { max-width: 100%; }
    .cc-hero-content .elementor-widget-text-editor p { font-size: 16px !important; }
}

/* ============================================================
   HERO HEIGHT CAP — keep every page hero a sensible height
   (clamp prevents absurd tallness on big screens; min keeps it
   substantial on laptops). Applies to the first container/section.
   ============================================================ */
.elementor > .e-con.e-parent:first-child,
[data-elementor-type="wp-page"] > .e-con.e-parent:first-child,
.elementor .elementor-section:first-of-type {
    min-height: clamp(440px, 60vh, 660px) !important;
}
@media (max-width: 767px) {
    .elementor > .e-con.e-parent:first-child,
    [data-elementor-type="wp-page"] > .e-con.e-parent:first-child {
        min-height: clamp(380px, 64vh, 560px) !important;
    }
}

/* ============================================================
   SHARED CALCULATOR BASE STYLES (.cc-calc*)
   Moved here so all 3 calculator pages render identically
   (previously only lived in the calculadora widget's inline <style>)
   ============================================================ */
.cc-calc{max-width:980px;margin:30px auto;font-family:'Roboto',system-ui,sans-serif;color:#0b2940}
.cc-calc__inner{background:#fff;border-radius:18px;box-shadow:0 8px 30px rgba(11,41,64,.08);overflow:hidden;border:1px solid #eaf1f5}
.cc-calc__head{background:linear-gradient(135deg,#0b2940 0%,#00709c 100%);color:#fff;padding:28px 28px 26px;text-align:center}
.cc-calc__eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#a9d3e5;margin-bottom:6px}
.cc-calc__title{font-family:'Playfair Display',serif;font-size:clamp(22px,2.4vw,28px);font-weight:700;color:#fff;margin:0 0 6px}
.cc-calc__sub{font-size:14px;color:rgba(255,255,255,.85);max-width:560px;margin:0 auto;line-height:1.55}
.cc-calc__form{padding:26px 28px 8px}
.cc-calc__label{display:block;font-size:13px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.cc-calc__input-row{display:flex;align-items:stretch;border:2px solid #e1eaf0;border-radius:10px;overflow:hidden;background:#fff;transition:border-color .25s, box-shadow .25s}
.cc-calc__input-row:focus-within{border-color:#00709c;box-shadow:0 0 0 4px rgba(0,112,156,.12)}
.cc-calc__input-row.is-error,.cc-calc__input-row:has(.is-error){border-color:#e53935;box-shadow:0 0 0 4px rgba(229,57,53,.12)}
.cc-calc__prefix,.cc-calc__suffix{display:flex;align-items:center;padding:0 14px;background:#f5f9fb;color:#475569;font-weight:700;font-size:16px}
.cc-calc__suffix{font-weight:500;font-size:13px;color:#64748b}
.cc-calc__input-row input{flex:1;min-width:0;padding:14px 12px;font-size:20px;font-weight:700;color:#0b2940;border:none;outline:none;background:transparent}
.cc-calc__input-row input.is-error{color:#e53935}
.cc-calc__hint{font-size:12px;color:#64748b;margin:6px 2px 16px}
.cc-calc__btn{display:block;width:100%;padding:14px;background:#ff7900;color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:800;letter-spacing:.4px;cursor:pointer;text-transform:uppercase;box-shadow:0 6px 16px rgba(255,121,0,.28);transition:transform .15s, box-shadow .25s, background .25s}
.cc-calc__btn:hover{background:#e56a00;box-shadow:0 8px 20px rgba(255,121,0,.36)}
.cc-calc__btn:active{transform:translateY(1px)}
.cc-calc__results{padding:0 28px 26px;max-height:0;opacity:0;overflow:hidden;transition:max-height .5s ease, opacity .4s ease}
.cc-calc__results.is-visible{max-height:3000px;opacity:1;padding-top:20px}
.cc-calc__tabs{display:flex;gap:8px;border-bottom:2px solid #eef3f6;margin-bottom:18px}
.cc-calc__tab{background:none;border:none;padding:10px 4px;font-size:14px;font-weight:700;color:#94a3b8;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:color .2s,border-color .2s}
.cc-calc__tab.is-active{color:#0b2940;border-bottom-color:#ff7900}
.cc-calc__pane{display:none}
.cc-calc__pane.is-active{display:block}
.cc-calc__note{font-size:13px;color:#64748b;margin:0 0 14px}
.cc-calc__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.cc-calc__card{background:linear-gradient(180deg,#f5fbfd 0%,#fff 100%);border:1px solid #e1eaf0;border-radius:12px;padding:14px 14px 12px;text-align:left;transition:transform .2s, border-color .2s, box-shadow .2s}
.cc-calc__card:hover{border-color:#00709c;box-shadow:0 6px 16px rgba(0,112,156,.10);transform:translateY(-2px)}
.cc-calc__card-title{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#00709c;text-transform:uppercase;margin-bottom:4px}
.cc-calc__card-val{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:#0b2940;margin-bottom:8px;line-height:1.1}
.cc-calc__card-val small{font-size:12px;font-weight:500;color:#94a3b8;margin-left:3px}
.cc-calc__card-meta{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#64748b;padding:5px 0;border-top:1px dashed #e2e8f0}
.cc-calc__card-meta strong{color:#0b2940;font-weight:700}
.cc-calc__table-wrap{overflow-x:auto;border-radius:10px;border:1px solid #e1eaf0}
.cc-calc__table{width:100%;border-collapse:collapse;font-size:13.5px}
.cc-calc__table thead th{background:#0b2940;color:#fff;text-align:left;padding:10px 14px;font-weight:700;font-size:12px;letter-spacing:.4px;text-transform:uppercase}
.cc-calc__table tbody td{padding:11px 14px;border-bottom:1px solid #eef3f6;color:#1a2942}
.cc-calc__table tbody tr:last-child td{border-bottom:none}
.cc-calc__table tbody tr:nth-child(odd) td{background:#fafcfd}
.cc-calc__hi{color:#ff7900;font-weight:700}
.cc-calc__legal{font-size:11.5px;color:#94a3b8;text-align:center;margin:14px 0 0;font-style:italic}

@media (max-width:560px){
  .cc-calc__head{padding:22px 18px}
  .cc-calc__form{padding:20px 18px 6px}
  .cc-calc__results{padding:0 18px 22px}
  .cc-calc__input-row input{font-size:18px;padding:12px 10px}
  .cc-calc__prefix,.cc-calc__suffix{padding:0 10px;font-size:14px}
  .cc-calc__cards{grid-template-columns:repeat(2,1fr)}
  .cc-calc__card-val{font-size:18px}
  .cc-calc__table{font-size:12px}
  .cc-calc__table thead{display:none}
  .cc-calc__table tbody tr{display:block;border-bottom:8px solid #f5f9fb;padding:8px 12px}
  .cc-calc__table tbody td{display:flex;justify-content:space-between;border-bottom:none;padding:5px 0;font-size:13px}
  .cc-calc__table tbody td::before{content:attr(data-label);font-weight:700;color:#64748b;text-transform:uppercase;font-size:11px;letter-spacing:.4px}
}
@media (max-width:380px){
  .cc-calc__cards{grid-template-columns:1fr}
}
/* Calculator hero-result / select / grid / breakdown styles (shared) */
/* from cambio-de-plan-invu widget */
.cc-calc--cambio .cc-calc__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-bottom:14px}
.cc-calc__select-row{display:flex;align-items:stretch;border:2px solid #e1eaf0;border-radius:10px;overflow:hidden;background:#fff;transition:border-color .25s, box-shadow .25s;position:relative}
.cc-calc__select-row::after{content:'';position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.cc-calc__select-row:focus-within{border-color:#00709c;box-shadow:0 0 0 4px rgba(0,112,156,.12)}
.cc-calc__select-row select{flex:1;padding:14px 36px 14px 14px;font-size:15px;font-weight:600;color:#0b2940;border:none;outline:none;background:transparent;appearance:none;-webkit-appearance:none;cursor:pointer}
.cc-calc__err{color:#e53935;background:#fde9e7;border:1px solid #f5c4c0;border-radius:8px;padding:10px 14px;font-size:13.5px;margin-top:12px;display:none}
.cc-calc__err.is-visible{display:block}
.cc-calc__hero{background:linear-gradient(135deg,#fff5eb 0%,#ffe7d3 100%);border:1px solid #ffd5b3;border-radius:14px;padding:18px 22px;margin-top:4px}
.cc-calc__hero-row{display:flex;justify-content:center;text-align:center}
.cc-calc__hero-row--split{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px dashed #ffbf86;margin-top:14px;padding-top:14px}
.cc-calc__hero-item--big .cc-calc__hero-val{font-size:36px}
.cc-calc__hero-label{display:block;font-size:11px;font-weight:800;letter-spacing:1.4px;color:#a05a25;text-transform:uppercase;margin-bottom:4px}
.cc-calc__hero-val{display:block;font-family:'Playfair Display',serif;font-size:24px;font-weight:700;color:#a04500;line-height:1.1}
@media (max-width:560px){
  .cc-calc--cambio .cc-calc__grid{grid-template-columns:1fr}
  .cc-calc__hero-row--split{grid-template-columns:1fr;gap:10px}
  .cc-calc__hero-item--big .cc-calc__hero-val{font-size:28px}
  .cc-calc__hero-val{font-size:20px}
}

/* from inicie-su-plan-invu widget */
.cc-calc--inicie .cc-calc__grid--two{display:grid;grid-template-columns:1.4fr 1fr;gap:14px 16px;margin-bottom:14px}
.cc-calc__breakdown{margin-top:18px;padding:18px 20px;background:#f8fbfd;border:1px solid #e1eaf0;border-radius:12px}
.cc-calc__breakdown-h{font-size:14px;font-weight:800;color:#0b2940;margin:0 0 4px;letter-spacing:.3px}
.cc-calc__breakdown-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.cc-calc__breakdown-item{background:#fff;border-radius:8px;padding:12px;text-align:center;border:1px solid #e1eaf0}
.cc-calc__breakdown-item span{display:block;font-size:11px;font-weight:800;color:#94a3b8;text-transform:uppercase;letter-spacing:1px;margin-bottom:4px}
.cc-calc__breakdown-item strong{display:block;font-family:'Playfair Display',serif;font-size:18px;color:#0b2940;font-weight:700}
@media (max-width:560px){
  .cc-calc--inicie .cc-calc__grid--two{grid-template-columns:1fr}
  .cc-calc__breakdown-grid{grid-template-columns:1fr;gap:8px}
}
/* ============================================================
   NAV WITH DROPDOWN SUBMENUS  (overrides earlier flat-nav rules)
   Desktop ≥992px: horizontal bar + hover dropdowns
   ≤991px: hamburger + accordion submenus
   ============================================================ */
.cc-nav__inner { position: relative; }
.cc-menu { display:flex; align-items:center; list-style:none; margin:0; padding:0; flex-wrap:nowrap; }
.cc-menu > li { position: relative; }
.cc-menu > li > a {
    display:flex; align-items:center; gap:5px;
    padding:15px 15px; color:rgba(255,255,255,.92);
    font-size:14.5px; font-weight:500; text-decoration:none; white-space:nowrap;
    transition:background .25s,color .25s; letter-spacing:.2px;
}
.cc-menu > li > a:hover,
.cc-menu > li.current-menu-item > a { background:rgba(255,255,255,.12); color:#fff; }
.cc-caret { font-size:10px; opacity:.85; margin-left:1px; }
.cc-sub-toggle { display:none; background:none; border:0; color:#fff; cursor:pointer; }

/* Desktop dropdown panel */
.cc-submenu {
    position:absolute; top:100%; left:0; min-width:248px;
    background:#fff; border-radius:0 0 12px 12px;
    box-shadow:0 14px 34px rgba(11,41,64,.20);
    list-style:none; margin:0; padding:6px 0; z-index:1002;
    opacity:0; visibility:hidden; transform:translateY(10px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
.cc-has-sub:hover > .cc-submenu,
.cc-has-sub:focus-within > .cc-submenu { opacity:1; visibility:visible; transform:translateY(0); }
.cc-submenu li { margin:0; }
.cc-submenu li a {
    display:block; padding:11px 20px; color:#0b2940;
    font-size:14px; font-weight:500; text-decoration:none; white-space:nowrap;
    border-left:3px solid transparent; transition:background .2s,color .2s,border-color .2s;
}
.cc-submenu li a:hover { background:#f0f7fa; color:#00709c; border-left-color:#ff7900; }

/* ≤991px: hamburger + stacked accordion */
@media (max-width: 991px) {
    .cc-nav__inner {
        flex-direction:row; flex-wrap:wrap; align-items:center;
        justify-content:space-between; padding:8px 16px;
    }
    .cc-menu-toggle {
        display:inline-flex !important; align-items:center; gap:9px; order:1;
        background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.30);
        border-radius:8px; padding:9px 14px 9px 12px; color:#fff;
        font-size:14px; font-weight:700; line-height:1; cursor:pointer;
    }
    .cc-menu-toggle i { display:none; }
    .cc-menu-toggle::before { content:""; width:20px; height:2px; background:#fff; box-shadow:0 6px 0 #fff,0 -6px 0 #fff; flex:0 0 auto; }
    .cc-menu-toggle::after { content:"Menú"; }
    .cc-nav__cta { order:2; margin:0; padding:9px 18px; font-size:13px; }

    .cc-menu { display:none; width:100%; flex-direction:column; order:3; margin-top:8px; border-top:1px solid rgba(255,255,255,.14); }
    .cc-nav__inner.is-open .cc-menu { display:flex; }
    .cc-menu > li { width:100%; }
    .cc-menu > li > a { padding:14px 8px; border-bottom:1px solid rgba(255,255,255,.08); font-size:16px; }
    .cc-caret { display:none; }

    /* accordion toggle button on the right of each parent */
    .cc-has-sub { position:relative; }
    .cc-sub-toggle {
        display:flex; align-items:center; justify-content:center;
        position:absolute; right:0; top:0; width:52px; height:51px;
        font-size:16px; color:#fff; background:rgba(255,255,255,.06);
    }
    .cc-submenu {
        position:static; opacity:1; visibility:visible; transform:none;
        display:none; box-shadow:none; border-radius:0; padding:0;
        background:rgba(0,0,0,.18); min-width:0;
    }
    .cc-has-sub.is-open > .cc-submenu { display:block; }
    .cc-submenu li a { color:rgba(255,255,255,.9); padding:13px 8px 13px 26px; border-bottom:1px solid rgba(255,255,255,.06); border-left:0; }
    .cc-submenu li a:hover { background:rgba(255,255,255,.1); color:#fff; }
}

/* ============================================================
   VIDEO SECTION (homepage) — plain in-flow responsive <video>
   (the element carries its own inline aspect-ratio/min-height)
   ============================================================ */
.cc-video{width:100%;max-width:920px;margin:0 auto}
.cc-video__el{position:static !important;display:block;width:100%;}

/* ============================================================
   TOP TRUST BAR — INVU / Sistema de Ahorro y Préstamo / Comisionista #214
   ============================================================ */
.cc-topbar{
    background:#ffffff;
    border-bottom:1px solid #eef3f6;
    text-align:center;
    padding:7px 16px;
    line-height:0;
}
.cc-topbar__img{
    height:34px;
    width:auto;
    max-width:100%;
    display:inline-block;
}
@media (max-width:600px){
    .cc-topbar{padding:6px 10px}
    .cc-topbar__img{height:26px}
}
@media (max-width:380px){
    .cc-topbar__img{height:22px}
}

/* Trust banner responsive — scale down, then hide where the header gets tight */
@media (max-width: 1200px){ .cc-header__trust img { height: 46px; } }
@media (max-width: 1024px){ .cc-header__trust { display: none; } }

/* Remove the duplicate WhatsApp float from the Click-to-Chat plugin — keep the circular .cc-whatsapp-float */
.ht-ctc, .ht_ctc_style, #ht-ctc, .ht-ctc-chat { display: none !important; }

/* ============================================================
   USE-CASES CARD GRID ("Cumpla su meta de vivienda")
   ============================================================ */
/* the parent flex containers shrink-wrap the html widget and pin it left;
   force the whole use-cases chain to full width + stretch so the grid centers */
.elementor-element-h0glgr1{width:100% !important;max-width:100% !important;
    align-items:stretch !important;justify-content:center !important}
.elementor-element-h0glc01{width:100% !important;max-width:100% !important;align-self:stretch !important}
.elementor-element-h0glc01 > .elementor-widget-container{width:100% !important}
.cc-uses{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));   /* perfect, equal columns */
    gap:18px;
    width:100%;
    max-width:1100px;
    margin:22px auto 0;
}
.cc-use{
    display:flex;align-items:center;gap:15px;
    background:#fff;border:1px solid #e8edf2;border-radius:14px;
    padding:20px 22px;min-height:90px;
    box-shadow:0 3px 12px rgba(11,41,64,.05);
    transition:transform .2s ease,box-shadow .25s ease,border-color .2s ease;
}
.cc-use:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(11,41,64,.13);border-color:#00709c}
/* a lone last card (7, 10, … items) centers in the middle column instead of orphaning left */
.cc-use:last-child:nth-child(3n+1){grid-column:2}
.cc-use__ic{
    flex:0 0 52px;width:52px;height:52px;border-radius:12px;
    background:linear-gradient(135deg,#ff7900,#e56a00);
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:21px;box-shadow:0 4px 12px rgba(255,121,0,.3);
}
.cc-use__t{font-size:15.5px;font-weight:600;color:#1a2942;line-height:1.35}
/* Tablet — 2 columns, lone last card centered across */
@media (max-width:900px){
    .cc-uses{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px;gap:16px}
    .cc-use:last-child:nth-child(3n+1){grid-column:auto}
    .cc-use:last-child:nth-child(2n+1){grid-column:1 / -1;width:100%;max-width:340px;justify-self:center}
}
/* Phone — single column */
@media (max-width:600px){
    .cc-uses{grid-template-columns:1fr;gap:12px;max-width:440px}
    .cc-use{padding:15px 16px;min-height:0}
    .cc-use:last-child:nth-child(2n+1){grid-column:auto;width:auto;max-width:none;justify-self:auto}
    .cc-use__ic{flex-basis:44px;width:44px;height:44px;font-size:18px}
    .cc-use__t{font-size:14.5px}
}

/* ============================================================
   INSTAGRAM FOLLOW BAND (footer)
   ============================================================ */
.cc-ig{
    text-align:center;
    padding:34px 24px;
    border-top:1px solid rgba(255,255,255,.10);
    border-bottom:1px solid rgba(255,255,255,.10);
    margin-top:8px;
}
.cc-ig__logo{
    display:inline-flex;align-items:center;justify-content:center;
    width:58px;height:58px;border-radius:16px;margin-bottom:12px;
    background:linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888);
    color:#fff;font-size:28px;box-shadow:0 6px 18px rgba(220,39,67,.35);
}
.cc-ig__title{color:#fff;font-size:22px;font-weight:800;margin:0 0 6px}
.cc-ig__sub{color:rgba(255,255,255,.65);font-size:14px;max-width:520px;margin:0 auto 18px;line-height:1.5}
.cc-ig__btn{
    display:inline-flex;align-items:center;gap:9px;
    background:linear-gradient(45deg,#f09433,#dc2743 50%,#bc1888);
    color:#fff !important;text-decoration:none !important;font-weight:700;font-size:15px;
    padding:12px 26px;border-radius:50px;transition:transform .2s ease,box-shadow .25s ease;
    box-shadow:0 6px 18px rgba(220,39,67,.30);
}
.cc-ig__btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(220,39,67,.42);color:#fff}

/* ============================================================
   PRE-FOOTER BLOG STRIP (all pages)
   ============================================================ */
.cc-blogstrip{background:#ffffff;padding:64px 0}
.cc-blogstrip__head{text-align:center;margin-bottom:34px}
.cc-blogstrip__eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:2px;color:#ff7900;margin-bottom:8px}
.cc-blogstrip__title{font-size:clamp(24px,2.6vw,32px);font-weight:800;color:#0b2940;margin:0;line-height:1.2}
.cc-blogstrip__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cc-blogcard{display:flex;flex-direction:column;background:#fff;border:1px solid #e8edf2;border-radius:16px;overflow:hidden;text-decoration:none;box-shadow:0 4px 16px rgba(11,41,64,.06);transition:transform .25s ease,box-shadow .3s ease}
.cc-blogcard:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(11,41,64,.14)}
.cc-blogcard__img{display:block;width:100%;aspect-ratio:16/10;background-size:cover;background-position:center}
.cc-blogcard__body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px}
.cc-blogcard__date{font-size:12.5px;font-weight:700;color:#ff7900;text-transform:uppercase;letter-spacing:.5px}
.cc-blogcard__title{font-size:18px;font-weight:800;color:#0b2940;line-height:1.3}
.cc-blogcard__ex{font-size:14px;color:#64748b;line-height:1.55}
.cc-blogcard__more{font-size:14px;font-weight:700;color:#00709c;margin-top:4px;display:inline-flex;align-items:center;gap:7px}
.cc-blogcard:hover .cc-blogcard__more{gap:11px}
.cc-blogstrip__all{text-align:center;margin-top:34px}
.cc-blogstrip__btn{display:inline-block;background:#0b2940;color:#fff;font-weight:700;font-size:15px;padding:13px 32px;border-radius:50px;text-decoration:none;transition:background .25s}
.cc-blogstrip__btn:hover{background:#00709c;color:#fff}
@media (max-width:900px){.cc-blogstrip__grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.cc-blogstrip{padding:46px 0}.cc-blogstrip__grid{grid-template-columns:1fr}}

/* ============================================================
   PRE-FOOTER INSTAGRAM SLIDER (all pages)
   ============================================================ */
.cc-igstrip{background:#f5f7fa;padding:54px 0}
.cc-igstrip__head{text-align:center;margin-bottom:26px}
.cc-igstrip__eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:2px;color:#bc1888;margin-bottom:6px}
.cc-igstrip__title{font-size:clamp(22px,2.4vw,28px);font-weight:800;color:#0b2940;margin:0}
.cc-igstrip__title a{color:#bc1888;text-decoration:none}
.cc-igstrip__track{display:flex;gap:14px;overflow-x:auto;padding:6px 24px 14px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;justify-content:flex-start}
.cc-igstrip__track::-webkit-scrollbar{height:8px}
.cc-igstrip__track::-webkit-scrollbar-thumb{background:#cdd8e0;border-radius:8px}
.cc-igtile{position:relative;flex:0 0 220px;width:220px;height:220px;border-radius:14px;background-size:cover;background-position:center;scroll-snap-align:start;overflow:hidden;box-shadow:0 4px 14px rgba(11,41,64,.10)}
.cc-igtile__ov{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:34px;background:rgba(11,41,64,0);opacity:0;transition:opacity .25s,background .25s}
.cc-igtile:hover .cc-igtile__ov{opacity:1;background:linear-gradient(45deg,rgba(240,148,51,.55),rgba(220,39,67,.55) 50%,rgba(188,24,136,.55))}
@media (max-width:600px){.cc-igstrip{padding:40px 0}.cc-igtile{flex-basis:160px;width:160px;height:160px}.cc-igstrip__track{padding-left:16px;padding-right:16px}}

/* IG placeholder tiles (until the real account is connected) */
.cc-igtile--ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf4f9,#ffffff);border:1px solid #e2ebf1}
.cc-igtile--ph img{max-width:74%;max-height:54%;width:auto;height:auto;opacity:.92}
.cc-igstrip__note{text-align:center;font-size:12.5px;color:#94a3b8;margin:14px 0 0;font-style:italic}
