/*
File Name: style.css
Theme Name:  Bosco
Author: Bosco, Estudi Gràfic
Version: 1.0
Author URI: https://bosco.cat
Theme URI: https://bosco.cat
Description: Theme per a Se acabaron las deudas
Template: Divi
*/

/* ==========================================================================
   1. GLOBAL TYPOGRAPHY: MONTSERRAT ACROSS THE ENTIRE WEBSITE
   ========================================================================== */
body, 
h1, h2, h3, h4, h5, h6, 
p, span, a, li, 
input, button, select, textarea, 
.et_pb_button, 
#top-menu a, 
.et-menu a, 
.et_pb_module_header, 
.et_pb_fullwidth_header_subhead {
    font-family: 'Montserrat', sans-serif !important;
}

/* ==========================================================================
   2. TOP BAR (#top-header) STYLING MATCHING GICCONSULTING.NET
   ========================================================================== */
#top-header {
    background-color: #0c71c3 !important;
    height: 35px !important;
    line-height: 35px !important;
    font-family: 'Montserrat', sans-serif !important;
}

#top-header .container {
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#top-header #et-info {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    float: left !important;
    height: 35px !important;
}

#top-header #et-info-phone,
#top-header #et-info-phone a,
#top-header #et-info-email,
#top-header #et-info-email a,
#top-header #et-info a {
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.2px !important;
}

#top-header #et-info a:hover {
    opacity: 0.85 !important;
}

/* Secondary Navigation Flags in Top Bar (Exact gicconsulting.net style) */
#et-secondary-menu {
    display: flex !important;
    align-items: center !important;
}

#et-secondary-nav {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#et-secondary-nav .lang-item {
    display: inline-block !important;
    margin: 0 4px !important;
    padding: 0 !important;
}

#et-secondary-nav .lang-item a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 2px !important;
    line-height: 1 !important;
}

#et-secondary-nav .lang-flag {
    width: 20px !important;
    height: 13px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
    opacity: 0.85;
}

#et-secondary-nav .lang-item:hover .lang-flag {
    opacity: 1 !important;
    transform: scale(1.2) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

#et-secondary-nav .lang-item.current-lang .lang-flag {
    opacity: 1 !important;
    box-shadow: 0 0 0 2px #ffffff, 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    transform: scale(1.08) !important;
}

@media (max-width: 980px) {
    #top-header #et-secondary-menu,
    #top-header #et-secondary-nav {
        display: inline-flex !important;
    }
    #top-header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

/* ==========================================================================
   3. MAIN HEADER & MENU STYLING (MATCHING GICCONSULTING.NET & USER SCREENSHOT)
   ========================================================================== */
@media (min-width: 981px) {
    #main-header {
        position: relative !important;
        height: auto !important;
        min-height: 125px !important;
        background: #ffffff !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    }
    #page-container {
        padding-top: 0 !important;
    }
    #main-header .container.et_menu_container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 16px 20px 10px 20px !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        max-width: 1140px !important;
    }
    #main-header .logo_container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        height: auto !important;
        margin-bottom: 12px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    #main-header #logo {
        max-height: 66px !important;
        height: 66px !important;
        width: auto !important;
        display: block !important;
    }
    #main-header #et-top-navigation {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
        height: auto !important;
        border-top: 1px solid #0c71c3 !important;
        padding-top: 10px !important;
        margin-top: 2px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #main-header #top-menu-nav {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    #main-header #top-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 22px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        list-style: none !important;
        width: auto !important;
    }
    #main-header #top-menu > li {
        padding: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    #main-header #top-menu > li > a {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: rgba(0, 0, 0, 0.70) !important;
        text-decoration: none !important;
        padding: 6px 0 !important;
        display: inline-block !important;
        position: relative !important;
        transition: color 0.25s ease !important;
        letter-spacing: 0.1px !important;
    }
}

@media (min-width: 981px) and (max-width: 1150px) {
    #main-header #top-menu {
        gap: 12px !important;
    }
    #main-header #top-menu > li > a {
        font-size: 12.5px !important;
    }
    #main-header #top-menu > li > a:hover,
    #main-header #top-menu > li.current-menu-item > a {
        color: #bd1622 !important;
    }
    #main-header #top-menu > li.current-menu-item > a::after,
    #main-header #top-menu > li > a:hover::after {
        content: '' !important;
        position: absolute !important;
        bottom: -2px !important;
        left: 0 !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #bd1622 !important;
    }
    #main-header #top-menu > li.botocontacte {
        display: none !important;
    }
}

@media (max-width: 980px) {
    #main-header .container.et_menu_container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    #main-header .logo_container {
        padding: 8px 0 !important;
    }
    #main-header #logo {
        max-height: 48px !important;
        width: auto !important;
    }
    #et-top-navigation {
        padding-left: 0 !important;
    }
    #main-header #top-menu > li.botocontacte {
        display: none !important;
    }
}


/* Hero Header: WhatsApp removed & Contáctanos centered */
.et_pb_fullwidth_header .et_pb_button_two {
    display: none !important;
}
.et_pb_fullwidth_header .header-content-inner {
    text-align: center !important;
}
.et_pb_fullwidth_header .et_pb_button_wrapper {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}
.et_pb_fullwidth_header .et_pb_button_one {
    margin: 0 auto !important;
    display: inline-block !important;
    float: none !important;
}

/* ==========================================================================
   4. HERO HEADER: VIBRANT LIGHTER CORPORATE BLUE (EXACT GICCONSULTING.NET)
   ========================================================================== */
.et_pb_fullwidth_header_0, 
.et_pb_fullwidth_header_1, 
.et_pb_fullwidth_header {
    background-repeat: no-repeat !important;
    background-blend-mode: multiply !important;
    background-image: url('https://seacabaronlasdeudas.com/wp-content/uploads/2026/09/deudas_home-1.webp') !important;
    background-color: #0c71c3 !important; /* Exact gicconsulting.net bright blue */
    min-height: 82vh !important;
    width: 100% !important;
    max-width: 100% !important;
}

.et_pb_fullwidth_header .header-content h1,
.et_pb_fullwidth_header .header-content .et_pb_module_header {
    color: #ffffff !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) !important;
}

.et_pb_fullwidth_header .header-content .et_pb_fullwidth_header_subhead {
    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    display: block !important;
    margin-bottom: 28px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   5. ATTRACTIVE PRICING CARDS (TARIFAS)
   ========================================================================== */
.pricing-section-container {
    max-width: 1160px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border: 2px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(12, 113, 195, 0.15);
    border-color: #0c71c3;
}

.pricing-card.featured {
    border-color: #0c71c3;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0c71c3;
    color: #ffffff;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
    text-align: center;
}

.pricing-subtitle {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin-bottom: 25px;
}

.pricing-option-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
    border-left: 4px solid #0c71c3;
}

.pricing-option-label {
    font-size: 13px;
    font-weight: 600;
    color: #0c71c3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pricing-option-price {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
}

.pricing-option-detail {
    font-size: 13px;
    color: #666666;
    margin-top: 2px;
}

.pricing-features-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

.pricing-features-list li {
    font-size: 14px;
    color: #4c4c4b;
    padding: 8px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features-list li:before {
    content: "✓";
    color: #05a946;
    font-weight: 700;
    margin-right: 10px;
    font-size: 16px;
}

.pricing-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background: #0c71c3;
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.3s ease;
    margin-top: 15px;
}

.pricing-cta-button:hover {
    background: #095593;
}

/* ==========================================================================
   6. INTERACTIVE FAST DEBT CALCULATOR
   ========================================================================== */
.debt-calculator-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    max-width: 820px;
    margin: 40px auto;
    border-top: 5px solid #0c71c3;
    font-family: 'Montserrat', sans-serif;
}

.calculator-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a3b5c;
    text-align: center;
    margin-bottom: 8px;
}

.calculator-desc {
    text-align: center;
    color: #666666;
    font-size: 15px;
    margin-bottom: 30px;
}

.calc-step {
    margin-bottom: 25px;
}

.calc-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 10px;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.calc-btn-option {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
}

.calc-btn-option:hover,
.calc-btn-option.selected {
    border-color: #0c71c3;
    background: #ebf5ff;
    color: #0c71c3;
    font-weight: 600;
}

.calc-result-box {
    margin-top: 30px;
    padding: 25px;
    border-radius: 10px;
    background: #e6f7ec;
    border: 1px solid #b7ebc5;
    text-align: center;
    display: none;
}

.calc-result-title {
    font-size: 20px;
    font-weight: 700;
    color: #05a946;
    margin-bottom: 6px;
}

.calc-result-text {
    font-size: 14px;
    color: #2e5939;
    margin-bottom: 16px;
}

.calc-action-btn {
    display: inline-block;
    background: #05a946;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.calc-action-btn:hover {
    background: #048a38;
}


/* ==========================================================================
   FULLWIDTH TEMPLATE FOR TARIFAS & REGIONAL LANDING PAGES
   ========================================================================== */
body.page-id-1467 #sidebar,
body.page-id-1468 #sidebar,
body.page-id-1469 #sidebar,
body.page-id-1475 #sidebar,
body.page-id-1476 #sidebar,
.page-template-default:has(.pricing-section-container) #sidebar,
.page-template-default:has(.regional-landing-container) #sidebar,
.page-template-default:has(.procedimiento-page-container) #sidebar,
.page-template-default:has(.avales-page-container) #sidebar {
    display: none !important;
}

body.page-id-1467 #left-area,
body.page-id-1468 #left-area,
body.page-id-1469 #left-area,
body.page-id-1475 #left-area,
body.page-id-1476 #left-area,
.page-template-default:has(.pricing-section-container) #left-area,
.page-template-default:has(.regional-landing-container) #left-area,
.page-template-default:has(.procedimiento-page-container) #left-area,
.page-template-default:has(.avales-page-container) #left-area {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 30px 20px 60px 20px !important;
}

body.page-id-1467 #main-content .container:before,
body.page-id-1468 #main-content .container:before,
body.page-id-1469 #main-content .container:before,
body.page-id-1475 #main-content .container:before,
body.page-id-1476 #main-content .container:before,
.page-template-default:has(.pricing-section-container) #main-content .container:before,
.page-template-default:has(.regional-landing-container) #main-content .container:before,
.page-template-default:has(.procedimiento-page-container) #main-content .container:before,
.page-template-default:has(.avales-page-container) #main-content .container:before {
    display: none !important;
}

body.page-id-1467 .entry-title,
body.page-id-1468 .entry-title,
body.page-id-1469 .entry-title,
body.page-id-1475 .entry-title,
body.page-id-1476 .entry-title {
    display: none !important;
}

/* Force 2-columns grid on desktop for pricing cards */
@media (min-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hide any wpautop empty p tags inside grid */
.pricing-cards-grid > p {
    display: none !important;
}


/* ==========================================================================
   7. LOCAL SEO FOOTER & GEOGRAPHIC LINKS (CATALONIA)
   ========================================================================== */
.gic-local-seo-footer {
    background-color: #1a2a3a;
    color: #cbd5e1;
    padding: 45px 0 35px 0;
    font-family: 'Montserrat', sans-serif;
    border-top: 4px solid #0c71c3;
}

.gic-local-seo-footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.gic-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gic-footer-heading {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.gic-footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: #0c71c3;
}

.gic-footer-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 16px;
}

.gic-footer-contact-item {
    font-size: 13.5px;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.gic-footer-contact-item a {
    color: #60a5fa;
    text-decoration: none;
}

.gic-footer-contact-item a:hover {
    text-decoration: underline;
}

.gic-contact-label {
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.gic-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gic-footer-links li {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.gic-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gic-footer-links a:hover {
    color: #60a5fa;
}

@media (max-width: 768px) {
    .gic-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   8. 3 KEY POINTS SECTION (TRES PUNTOS CLAVE)
   ========================================================================== */
.gic-key-points-section {
    background-color: #f8fafc;
    padding: 60px 0;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.gic-key-points-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.gic-kp-header {
    text-align: center;
    margin-bottom: 40px;
}

.gic-kp-badge {
    font-size: 13px;
    font-weight: 700;
    color: #0c71c3;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #ebf5ff;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.gic-kp-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 12px 0;
}

.gic-kp-subtitle {
    font-size: 16px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.gic-kp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gic-kp-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 34px 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #0c71c3;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gic-kp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(12, 113, 195, 0.12);
}

.gic-kp-icon {
    font-size: 38px;
    margin-bottom: 16px;
}

.gic-kp-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 14px;
    line-height: 1.3;
}

.gic-kp-card-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 980px) {
    .gic-kp-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .gic-kp-title {
        font-size: 26px;
    }
}


/* ==========================================================================
   PROCEDIMIENTO & CANCELACION DE AVALES PAGES STYLING
   ========================================================================== */

/* Shared Hero Banner */
.page-hero-banner {
    text-align: center;
    padding: 36px 24px 44px;
    background: linear-gradient(135deg, #f0f7fc 0%, #e3f0fb 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid #d3e5f5;
}

.page-badge {
    display: inline-block;
    background: #0c71c3;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.page-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a2a3a;
    line-height: 1.25;
    margin-bottom: 16px;
}

.page-main-subtitle {
    font-size: 16.5px;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Procedimiento: Intro Card */
.proc-intro-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 30px;
    border-left: 5px solid #0c71c3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border-top: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.proc-intro-icon {
    font-size: 42px;
    flex-shrink: 0;
}

.proc-intro-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.proc-intro-text p {
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
}

/* Procedimiento: Steps Timeline */
.proc-steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 45px;
}

.proc-step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proc-step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(12, 113, 195, 0.08);
}

.proc-step-number {
    background: linear-gradient(135deg, #0c71c3 0%, #095391 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(12, 113, 195, 0.25);
}

.proc-step-content {
    flex: 1;
}

.proc-step-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0c71c3;
    background: #e8f4fd;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.proc-step-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.proc-step-content p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a5568;
    margin-bottom: 12px;
}

.proc-step-highlight {
    font-size: 13.5px;
    font-weight: 600;
    color: #0c71c3;
    background: #f0f7fc;
    padding: 10px 16px;
    border-radius: 8px;
    border-left: 3px solid #0c71c3;
    display: inline-block;
}

.proc-sublist {
    margin: 12px 0 16px 20px;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4a5568;
}

.proc-sublist li {
    margin-bottom: 8px;
}

/* Procedimiento: FAQ Box */
.proc-faq-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 38px 30px;
    margin-bottom: 45px;
    border: 1px solid #e2e8f0;
}

.proc-faq-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 30px;
}

.proc-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.proc-faq-item {
    background: #ffffff;
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.proc-faq-item h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: #0c71c3;
    margin-bottom: 8px;
    line-height: 1.35;
}

.proc-faq-item p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Shared CTA Banner */
.proc-cta-banner,
.avales-cta-banner {
    text-align: center;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1e2e 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 24px;
    margin-top: 20px;
}

.proc-cta-banner h3,
.avales-cta-banner h3 {
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}

.proc-cta-banner p,
.avales-cta-banner p {
    color: #cbd5e1;
    font-size: 15.5px;
    max-width: 620px;
    margin: 0 auto 26px;
    line-height: 1.55;
}

.proc-cta-actions,
.avales-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: #bd1622 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(189, 22, 34, 0.35) !important;
    transition: background 0.25s ease, transform 0.25s ease !important;
}

.btn-primary:hover {
    background: #9f121d !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-secondary {
    display: inline-block;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 10px 26px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

.btn-secondary:hover {
    background: #ffffff !important;
    color: #1a2a3a !important;
    transform: translateY(-2px);
}

/* Avales: Main Grid */
.avales-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.avales-text-col h2 {
    font-size: 25px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.avales-text-col p {
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
    margin-bottom: 16px;
}

.avales-featured-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto;
}

.avales-img-caption {
    font-size: 12.5px;
    color: #718096;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Avales: Strategies Section */
.avales-strategies-section {
    margin-bottom: 50px;
}

.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0c71c3;
    background: #e8f4fd;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-header-center h2 {
    font-size: 25px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.section-header-center p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

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

.avales-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    border-top: 4px solid #0c71c3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avales-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(12, 113, 195, 0.1);
}

.avales-card-icon {
    font-size: 34px;
    margin-bottom: 14px;
}

.avales-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.avales-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    flex-grow: 1;
}

/* Avales: Types Box */
.avales-types-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 36px 30px;
    margin-bottom: 45px;
    border: 1px solid #e2e8f0;
}

.avales-types-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 22px;
    text-align: center;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.type-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    font-size: 14px;
    line-height: 1.55;
    color: #4a5568;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.02);
}

.type-check {
    color: #10b981;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .page-main-title {
        font-size: 26px;
    }
    .avales-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .avales-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .proc-faq-grid {
        grid-template-columns: 1fr;
    }
    .types-grid {
        grid-template-columns: 1fr;
    }
    .proc-step-item {
        flex-direction: column;
        gap: 16px;
    }
    .proc-step-number {
        margin-bottom: 4px;
    }
}


/* Fix for WordPress wpautop creating empty <p> tags in CSS grids */
.avales-cards-grid > p,
.types-grid > p,
.proc-steps-timeline > p,
.proc-faq-grid > p,
.avales-main-grid > p,
.page-hero-banner > p:empty {
    display: none !important;
}


/* ==========================================================================
   CASOS DE EXITO REALES & LEAD FORM STYLING
   ========================================================================== */

/* Casos de Éxito Section */
.gic-casos-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.gic-casos-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.gic-casos-badge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.gic-casos-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a2a3a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.gic-casos-subtitle {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.gic-casos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.gic-caso-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gic-caso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(12, 113, 195, 0.1);
}

.gic-caso-card.gic-caso-highlight {
    border: 2px solid #0c71c3;
    background: #fdfefe;
    box-shadow: 0 6px 20px rgba(12, 113, 195, 0.12);
}

.gic-caso-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.gic-caso-tag {
    font-size: 11px;
    font-weight: 700;
    color: #4a5568;
    background: #edf2f7;
    padding: 3px 8px;
    border-radius: 6px;
}

.gic-caso-status {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
}

.gic-caso-amount {
    font-size: 28px;
    font-weight: 800;
    color: #bd1622;
    line-height: 1.1;
    margin-bottom: 4px;
}

.gic-caso-debt-label {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.gic-caso-details {
    font-size: 13.5px;
    line-height: 1.55;
    color: #4a5568;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gic-caso-court {
    font-size: 12.5px;
    color: #1a2a3a;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
}

.gic-caso-desc {
    margin-bottom: 14px;
    flex: 1;
}

.gic-caso-meta {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    background: #f7fafc;
    padding: 6px 10px;
    border-radius: 6px;
}

.gic-casos-footer-note {
    text-align: center;
    font-size: 13px;
    color: #718096;
    margin-top: 10px;
}

/* Formulario Discreto de Estudio Gratuito */
.gic-form-section {
    padding: 60px 0 70px 0;
    background: #ffffff;
}

.gic-form-box {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1e2e 100%);
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    align-items: center;
}

.gic-form-intro {
    padding-right: 20px;
}

.gic-form-badge {
    display: inline-block;
    background: #bd1622;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 16px;
    margin-bottom: 14px;
}

.gic-form-title {
    font-size: 27px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.gic-form-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 22px;
}

.gic-form-guarantees {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    color: #38bdf8;
    font-weight: 600;
}

.gic-form-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #1a2a3a;
}

.gic-form-wrapper .form-row {
    margin-bottom: 14px;
}

.gic-form-wrapper label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.gic-form-wrapper select,
.gic-form-wrapper input[type="text"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: 'Montserrat', sans-serif !important;
    background: #f8fafc !important;
    color: #1a2a3a !important;
    box-sizing: border-box !important;
}

.gic-form-wrapper select:focus,
.gic-form-wrapper input[type="text"]:focus {
    border-color: #0c71c3 !important;
    outline: none !important;
    background: #ffffff !important;
}

.form-row-checkbox {
    margin-bottom: 16px;
    font-size: 12px;
    color: #718096;
}

.form-row-checkbox a {
    color: #0c71c3;
    text-decoration: underline;
}

.btn-lead-submit {
    width: 100%;
    background: #bd1622;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(189, 22, 34, 0.4);
    transition: background 0.25s ease, transform 0.25s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-lead-submit:hover {
    background: #9f121d;
    transform: translateY(-2px);
}

.btn-lead-submit:disabled {
    background: #718096;
    cursor: not-allowed;
    transform: none;
}

.gic-lead-msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.gic-lead-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.gic-lead-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsiveness */
@media (max-width: 980px) {
    .gic-casos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .gic-form-box {
        grid-template-columns: 1fr;
        padding: 30px 22px;
        gap: 25px;
    }
    .gic-form-intro {
        padding-right: 0;
        text-align: center;
    }
    .gic-form-guarantees {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .gic-casos-grid {
        grid-template-columns: 1fr;
    }
    .gic-casos-title {
        font-size: 24px;
    }
    .gic-form-title {
        font-size: 22px;
    }
}


/* ==========================================================================
   BLOG / SINGLE ARTICLE EDITORIAL STYLING
   ========================================================================== */
body.single-post #sidebar,
body.single #sidebar {
    display: none !important;
}

body.single-post #left-area,
body.single #left-area {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 30px 20px 60px 20px !important;
}

body.single-post #main-content .container:before,
body.single #main-content .container:before {
    display: none !important;
}

body.single-post .entry-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1a2a3a !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
}

.blog-article-content {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
}

.blog-article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2a3a;
    margin-top: 35px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.blog-article-content p {
    margin-bottom: 18px;
}

.blog-article-content ul, 
.blog-article-content ol {
    margin-bottom: 22px;
    padding-left: 24px;
}

.blog-article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-lead {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 28px !important;
}

@media (max-width: 768px) {
    body.single-post .entry-title {
        font-size: 24px !important;
    }
    .blog-article-content h2 {
        font-size: 20px;
    }
}

#comment-wrap { display: none !important; }

/* ==========================================================================
   LANDING: SALIR DE ASNEF, RAI Y CIRBE (.asnef-page-container)
   ========================================================================== */
.page-template-default:has(.asnef-page-container) #sidebar {
    display: none !important;
}

.page-template-default:has(.asnef-page-container) #left-area {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 30px 20px 60px 20px !important;
}

.page-template-default:has(.asnef-page-container) #main-content .container:before {
    display: none !important;
}

.page-template-default:has(.asnef-page-container) .entry-title {
    display: none !important;
}

.asnef-page-container {
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
}

.asnef-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.asnef-text-col h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.asnef-text-col p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #4a5568;
}

.asnef-featured-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: block;
}

.asnef-img-caption {
    font-size: 13px;
    color: #718096;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.asnef-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
    margin-bottom: 50px;
}

.asnef-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    border-top: 4px solid #0c71c3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asnef-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(12, 113, 195, 0.1);
}

.asnef-card-icon {
    font-size: 34px;
    margin-bottom: 14px;
}

.asnef-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.asnef-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.asnef-files-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 30px 0 50px 0;
}

.asnef-file-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    border-left: 3px solid #0c71c3;
}

.asnef-file-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.asnef-file-item p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.asnef-cta-banner {
    background: linear-gradient(135deg, #0c71c3 0%, #084c84 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    margin: 45px 0 20px 0;
    box-shadow: 0 12px 30px rgba(12, 113, 195, 0.25);
}

.asnef-cta-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.asnef-cta-banner h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}

.asnef-cta-banner p {
    color: #e0f2fe;
    font-size: 15px;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 25px auto;
}

.btn-email-consult {
    display: inline-block;
    background: #ffffff;
    color: #0c71c3 !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.btn-email-consult:hover {
    background: #f8fafc;
    color: #084c84 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hero-cta-wrapper {
    margin-top: 22px;
}

.hero-cta-wrapper .btn-email-consult {
    background: #0c71c3;
    color: #ffffff !important;
}

.hero-cta-wrapper .btn-email-consult:hover {
    background: #084c84;
    color: #ffffff !important;
}

@media (max-width: 980px) {
    .asnef-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .asnef-cards-grid {
        grid-template-columns: 1fr;
    }
    .asnef-files-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .asnef-files-grid {
        grid-template-columns: 1fr;
    }
    .asnef-cta-banner {
        padding: 30px 20px;
    }
}

.asnef-cards-grid > p,
.asnef-files-grid > p,
.asnef-main-grid > p {
    display: none !important;
}


/* Hero Header Logo - Standard GiC 320px */
.et_pb_fullwidth_header .header-logo,
.et_pb_fullwidth_header .header-content img.header-logo,
body.home .et_pb_fullwidth_header .header-logo {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 25px auto !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

/* ==========================================================================
   CONTACT FORM - SE ACABARON LAS DEUDAS (GIC ENERGIA STYLE)
   ========================================================================== */

/* Left Dark Card */
.gic-form-es > .et_flex_column:first-child,
.gic-form-ca > .et_flex_column:first-child {
    background-color: #444444 !important;
    border-radius: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
}

.gic-form-es > .et_flex_column:first-child img,
.gic-form-ca > .et_flex_column:first-child img {
    width: 175px !important;
    max-width: 175px !important;
    height: auto !important;
    margin: auto !important;
    display: block !important;
}

/* Right Column Form Container */
.gic-form-es > .et_flex_column:last-child,
.gic-form-ca > .et_flex_column:last-child {
    padding-left: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Form Title */
.et_pb_contact_main_title {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    margin-bottom: 25px !important;
}

/* Divi 5 Flex Contact Form Layout */
.gic-form-es .et_pb_contact_form,
.gic-form-ca .et_pb_contact_form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    column-gap: 20px !important;
    row-gap: 15px !important;
    justify-content: flex-start !important;
}

.gic-form-es .et_flex_column_12_24,
.gic-form-ca .et_flex_column_12_24 {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
    margin: 0 !important;
}

.gic-form-es .et_flex_column_24_24,
.gic-form-ca .et_flex_column_24_24 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}

/* Field Labels: hide duplicate labels */
.et_pb_contact_form_container label {
    display: none !important;
}

/* Field Inputs */
.et_pb_contact_form_container input.input,
.et_pb_contact_form_container textarea.input {
    background-color: #ededed !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    color: #555555 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.et_pb_contact_form_container input.input::placeholder,
.et_pb_contact_form_container textarea.input::placeholder {
    color: #999999 !important;
}

.et_pb_contact_form_container textarea.input {
    height: 140px !important;
    resize: vertical !important;
}

/* Privacy Checkbox & Submit Row */
.et_pb_contact_field_options_title {
    display: none !important;
}

.gic-form-es .et_pb_contact_field_4,
.gic-form-ca .et_pb_contact_field_4 {
    width: 65% !important;
    max-width: 65% !important;
    flex: 0 0 65% !important;
    margin-top: 10px !important;
}

.gic-form-es .et_pb_contact_field_4 label,
.gic-form-ca .et_pb_contact_field_4 label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    color: #555555 !important;
    cursor: pointer !important;
}

.gic-form-es .et_pb_contact_field_4 a,
.gic-form-ca .et_pb_contact_field_4 a {
    color: #0c71c3 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}

/* Enviar Button Container */
.gic-form-es .et_contact_bottom_container,
.gic-form-ca .et_contact_bottom_container {
    width: 30% !important;
    max-width: 30% !important;
    flex: 0 0 30% !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 10px !important;
}

.et_pb_contact_form_container .et_pb_contact_submit {
    background-color: #0c71c3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 36px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.et_pb_contact_form_container .et_pb_contact_submit:hover {
    background-color: #08518f !important;
}

/* Signature Divider Dashes - Exact Horizontal Alignment */
.preset--module--divi-divider--opf3a2rjcc {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    width: 24px !important;
    max-width: 24px !important;
    min-height: 4px !important;
    height: 4px !important;
    max-height: 4px !important;
    box-sizing: content-box !important;
}
.preset--module--divi-divider--opf3a2rjcc:before {
    border-top: 4px solid #ea8b00 !important;
    display: block !important;
    content: '' !important;
}
.preset--module--divi-divider--16i73dipeb {
    margin-top: -34px !important;
    margin-left: 30px !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    width: 24px !important;
    max-width: 24px !important;
    min-height: 4px !important;
    height: 4px !important;
    max-height: 4px !important;
    box-sizing: content-box !important;
}
.preset--module--divi-divider--16i73dipeb:before {
    border-top: 4px solid #0c71c3 !important;
    display: block !important;
    content: '' !important;
}
.preset--module--divi-divider--baf8taaduw {
    margin-top: -34px !important;
    margin-left: 60px !important;
    margin-bottom: 25px !important;
    align-self: flex-start !important;
    width: 24px !important;
    max-width: 24px !important;
    min-height: 4px !important;
    height: 4px !important;
    max-height: 4px !important;
    box-sizing: content-box !important;
}
.preset--module--divi-divider--baf8taaduw:before {
    border-top: 4px solid #c01823 !important;
    display: block !important;
    content: '' !important;
}

/* FontAwesome Fonts & Blurb Icons */
@font-face {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/wp-content/themes/Divi/core/admin/fonts/fontawesome/fa-solid-900.woff2') format('woff2');
}
.sec-oficinas .et-pb-icon,
.et_pb_section_12 .et-pb-icon,
.peupagina .et-pb-icon {
    font-family: 'FontAwesome' !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Offices Section Blurb Styling */
.et_pb_section_12 .et_pb_blurb .et-pb-icon {
    color: #c01823 !important;
    font-size: 26px !important;
}
.et_pb_section_12 .et_pb_blurb .et_pb_module_header,
.et_pb_section_12 .et_pb_blurb p,
.et_pb_section_12 .et_pb_blurb a {
    color: #4c4c4b !important;
    font-size: 16px !important;
    line-height: 1.5em !important;
}
.et_pb_section_12 .et_pb_blurb a[href^="tel"],
.et_pb_section_12 .et_pb_blurb.blurbpeu:nth-of-type(2) .et_pb_module_header {
    color: #0c71c3 !important;
    font-weight: 600 !important;
}

/* Offices Maps Styling */
.et_pb_map {
    height: 100% !important;
    min-height: 400px !important;
}
.et_pb_map_container {
    min-height: 400px !important;
    height: 400px !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

/* Footer Email Single Line */
footer .et_pb_blurb_2_tb_footer h4,
footer .et_pb_blurb_5_tb_footer h4,
.peupagina .et_pb_blurb.blurbpeu h4 {
    font-size: 13.5px !important;
    white-space: nowrap !important;
}

/* Ensure Logo in Catalan Form is Visible without animation delays */
.gic-form-es .et_animated,
.gic-form-ca .et_animated,
.gic-form-es .et_pb_image,
.gic-form-ca .et_pb_image {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}


/* Hero Header - Restored Original Proportions (Standard GiC 320px) */
.et_pb_fullwidth_header .header-logo,
.et_pb_fullwidth_header .header-content img.header-logo,
body.home .et_pb_fullwidth_header .header-logo {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

body.home .et_pb_fullwidth_header h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.25em !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

body.home .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead,
body.home .et_pb_fullwidth_header p.et_pb_fullwidth_header_subhead {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.4em !important;
    margin-bottom: 24px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
