/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --dark-gray: #1f2220;
}

/* ─── Global ─────────────────────────────────────────────────────────────────── */
body p, body span {
    color: #00142b !important;
}
.btn span, .header-icon span {
    color: white !important;
}
.big-slider span {
    color: white !important;
}
.big-slider .btn span {
    color: #00142b !important;
}
span.text-uppercase.text-grey.fs-16.fw-600.d-inline-block {
    color: #717580 !important;
}
div.big-slider-title {
    width: 50%;
}
section, section.half-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
*:not(i) {
    font-family: "DM Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
h1 {
    letter-spacing: 1px;
}
h2 {
    font-size: 50px;
    line-height: 55px;
}
a {
    transition: none !important;
}
section a:hover {
    color: #00142b !important;
    text-decoration: underline;
}
nav, body, html {
    max-width: 100vw;
    overflow-x: hidden;
}
.text-grey {
    color: #717580;
}
.fs-35 {
    font-size: 35px !important;
    line-height: 1 !important;
}
.top-120px {
    top: 140px !important;
}
.mobileonly {
    display: none !important;
}
.desktoponly {
    display: block;
}
div[style*="background-image"], section[style*="background-image"] {
    box-shadow: inset 0 0 0 2000px rgb(57 105 179 / 20%);
}
.last-paragraph-no-margin p:last-of-type {
    color: black;
}
.bg-very-light-green {
    background-color: #ebf0f7;
}
span.text-uppercase.text-base-color.fs-16.fw-600.d-inline-block {
    color: #959393 !important;
}

/* ─── New navbar (er-*) ──────────────────────────────────────────────────────── */
body.no-scroll { overflow: hidden; }
.top-space-margin { margin-top: 0 !important; }

.er-mainbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 36px; height: 70px;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,43,73,.06);
    position: sticky; top: 0; z-index: 999;
    border-bottom: 1px solid rgba(0,43,73,.08);
}
.er-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.er-logo-img { height: 38px; width: auto; display: block; transition: opacity .2s; }
.er-logo:hover .er-logo-img { opacity: .85; }

.er-center-nav { display: flex; align-items: center; gap: 2px; height: 100%; }

.er-nav-link {
    display: flex; align-items: center; gap: 4px;
    height: 100%; padding: 0 16px;
    font-size: 14.5px; font-weight: 500;
    color: #002B49; text-decoration: none;
    cursor: pointer; border: none; background: none;
    font-family: inherit; transition: color .2s;
    position: relative;
}
.er-nav-link::after {
    content: ''; position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 2px; background: #154d9d;
    border-radius: 2px; transform: scaleX(0);
    transition: transform .25s;
}
.er-nav-link:hover, .er-nav-link.er-nav-active { color: #154d9d; }
.er-nav-link:hover::after, .er-nav-link.er-nav-active::after { transform: scaleX(1); }

.er-chevron { width: 10px; height: 10px; opacity: .45; transition: transform .25s; }

.er-right-cta { display: flex; align-items: center; gap: 16px; }
.er-phone-link {
    display: flex; align-items: center; gap: 7px;
    font-size: 14.5px; font-weight: 600; color: #002B49; text-decoration: none; transition: color .2s;
}
.er-phone-link svg { color: #22c55e; }
.er-phone-link:hover { color: #154d9d; }

.er-cta-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 22px; border-radius: 10px;
    background: #22c55e; color: white;
    font-size: 14px; font-weight: 700; border: none; cursor: pointer;
    font-family: inherit; letter-spacing: .01em;
    transition: all .25s; text-decoration: none;
    box-shadow: 0 2px 14px rgba(34,197,94,.25);
}
.er-cta-btn:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(34,197,94,.35); color: white; }

/* Mega menu */
.er-mega-trigger { height: 100%; display: flex; align-items: center; }
.er-mega-menu {
    display: none; position: fixed;
    top: 70px; left: 50%; transform: translateX(-50%);
    width: 1200px; max-width: calc(100vw - 40px);
    background: #ffffff; border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,43,73,.13), 0 0 0 1px rgba(0,43,73,.05);
    padding: 28px 28px 24px; z-index: 1000;
    border-top: 3px solid #22c55e;
    margin-top: -1px;
}
.er-mega-trigger:hover .er-mega-menu,
.er-mega-trigger:focus-within .er-mega-menu { display: block; }
.er-mega-trigger:hover .er-chevron { transform: rotate(180deg); }
.er-mega-trigger:hover .er-nav-link { color: #154d9d; }
.er-mega-trigger:hover .er-nav-link::after { transform: scaleX(1); }

.er-mega-columns { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }

.er-mega-col-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: #154d9d; margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(21,77,157,.1);
    display: flex; align-items: center; gap: 8px;
}
.er-mega-col-title a { color: inherit; text-decoration: none; }
.er-mega-col-title a:hover { color: #16a34a; }

.er-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.er-dot.dot-particulars { background: #0077b6; }
.er-dot.dot-consultoria { background: #0d9488; }
.er-dot.dot-promotors   { background: #f59e0b; }
.er-dot.dot-comunitats  { background: #8b5cf6; }

.er-mega-link {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 10px; border-radius: 8px;
    text-decoration: none; color: #002B49;
    transition: background .15s; margin: 0 -10px 1px;
}
.er-mega-link:hover { background: rgba(21,77,157,.045); color: #002B49; }
.er-mega-link .ico {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #f5f7fa; color: #002B49; transition: all .2s;
}
.er-mega-link .ico svg { width: 18px; height: 18px; stroke-width: 1.7; }
.er-mega-link:hover .ico { background: rgba(21,77,157,.1); color: #154d9d; }
.er-mega-link h5 { font-size: 13.5px; font-weight: 600; margin-bottom: 1px; line-height: 1.25; }
.er-mega-link p  { font-size: 11.5px; color: #6b7a8d; line-height: 1.35; margin-bottom: 0; }

/* Simple dropdown */
.er-drop { position: relative; height: 100%; display: flex; align-items: center; overflow: visible; }
.er-dropdown {
    display: none; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    background: #ffffff; border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0,43,73,.11), 0 0 0 1px rgba(0,43,73,.05);
    padding: 10px 8px; min-width: 280px; z-index: 1000;
    border-top: 3px solid #22c55e;
    margin-top: -2px;
}
.er-drop:hover .er-dropdown { display: block; }
.er-drop:hover .er-chevron { transform: rotate(180deg); }
.er-drop:hover .er-nav-link { color: #154d9d; }
.er-drop:hover .er-nav-link::after { transform: scaleX(1); }
.er-dropdown a {
    display: block; padding: 9px 16px;
    font-size: 14px; font-weight: 500; color: #002B49; text-decoration: none;
    border-radius: 8px; transition: all .15s;
}
.er-dropdown a:hover { background: rgba(21,77,157,.05); color: #154d9d; }

/* Language switcher */
.er-lang-switch { position: relative; }
.er-lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: 999px;
    background: #f5f7fa; border: 1px solid rgba(0,43,73,.08);
    color: #002B49; font-family: inherit;
    font-size: 13px; font-weight: 600; letter-spacing: .03em;
    cursor: pointer; transition: all .2s;
}
.er-lang-btn:hover { background: white; border-color: rgba(0,43,73,.18); }
.er-lang-current { color: #002B49; }
.er-lang-chev { opacity: .55; transition: transform .25s; }
.er-lang-switch.open .er-lang-chev { transform: rotate(180deg); }
.er-lang-dropdown {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    background: white; border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0,43,73,.13), 0 0 0 1px rgba(0,43,73,.05);
    padding: 6px; min-width: 80px; z-index: 1100;
}
.er-lang-switch.open .er-lang-dropdown { display: block; }
.er-lang-opt {
    display: block; padding: 9px 14px; color: #002B49; text-decoration: none;
    font-size: 13px; font-weight: 600; letter-spacing: .03em;
    border-radius: 8px; transition: background .15s; position: relative; text-align: center;
}
.er-lang-opt:hover { background: #f5f7fa; color: #002B49; }
.er-lang-opt.active { color: #16a34a; font-weight: 700; }
.er-lang-opt.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; background: #22c55e; border-radius: 2px;
}

/* Hamburger */
.er-menu-toggle {
    display: none; background: #f5f7fa; border: 1px solid rgba(0,43,73,.08);
    cursor: pointer; width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 10px; color: #002B49; transition: all .2s; flex-shrink: 0;
}
.er-menu-toggle:hover { background: #002B49; color: white; border-color: #002B49; }
.er-menu-toggle svg { width: 22px; height: 22px; stroke-width: 2.5; }

/* Mobile drawer */
.er-mobile-drawer {
    position: fixed; top: 0; right: -100%;
    width: min(380px, 90vw); height: 100vh; height: 100dvh;
    background: white; z-index: 9999;
    display: flex; flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transition: right .35s cubic-bezier(.4,0,.2,1);
}
.er-mobile-drawer.open { right: 0; }
.er-mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,26,46,.55);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s; z-index: 9998;
}
.er-mobile-overlay.open { opacity: 1; visibility: visible; }

.er-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid rgba(0,43,73,.08); flex-shrink: 0;
}
.er-drawer-close {
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; color: #002B49; transition: background .15s;
}
.er-drawer-close:hover { background: #f5f7fa; }
.er-drawer-header-actions { display: flex; align-items: center; gap: 10px; }
.er-drawer-lang {
    display: flex; background: #f5f7fa; padding: 3px;
    border-radius: 999px; border: 1px solid rgba(0,43,73,.06);
}
.er-drawer-lang a {
    padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    color: #6b7a8d; text-decoration: none; letter-spacing: .03em; transition: all .2s;
    min-width: 32px; text-align: center;
}
.er-drawer-lang a.active { background: white; color: #002B49; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.er-drawer-nav { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 0; }
.er-drawer-item { border-bottom: 1px solid rgba(0,43,73,.05); }
.er-drawer-item:last-child { border-bottom: none; }
.er-drawer-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; color: #002B49; text-decoration: none;
    font-weight: 600; font-size: 15px;
    cursor: pointer; background: none; border: none;
    width: 100%; font-family: inherit; text-align: left; transition: background .15s;
}
.er-drawer-link:hover { background: #f5f7fa; }
.er-arrow { width: 18px; height: 18px; opacity: .4; flex-shrink: 0; transition: transform .25s; }
.er-drawer-item.expanded > .er-drawer-link .er-arrow { transform: rotate(90deg); opacity: .7; }
.er-drawer-submenu { display: none; background: #f5f7fa; padding: 4px 0 8px; }
.er-drawer-item.expanded > .er-drawer-submenu { display: block; }

.er-drawer-section { padding: 8px 0 4px; }
.er-drawer-section + .er-drawer-section { border-top: 1px solid rgba(0,43,73,.06); margin-top: 4px; }
.er-drawer-section-title {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 20px 8px; font-size: 11px; font-weight: 700;
    color: #154d9d; text-transform: uppercase; letter-spacing: .08em;
}
.er-drawer-sublink {
    display: block; padding: 10px 20px 10px 32px;
    color: #002B49; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .15s;
}
.er-drawer-sublink:hover { background: rgba(255,255,255,.6); color: #154d9d; }

.er-drawer-footer {
    padding: 16px 20px; border-top: 1px solid rgba(0,43,73,.08);
    display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; background: white;
}
.er-drawer-footer .er-cta-btn { justify-content: center; width: 100%; }
.er-drawer-footer .er-phone-link { justify-content: center; padding: 12px; border-radius: 10px; background: #f5f7fa; }

.er-drawer-social {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 18px 20px; background: #002B49;
}
.er-drawer-social a {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,.08); color: white;
    transition: all .2s; border: 1px solid rgba(255,255,255,.1); text-decoration: none;
}
.er-drawer-social a:hover { background: #22c55e; color: white; border-color: #22c55e; transform: translateY(-2px); }
.er-drawer-social svg { width: 17px; height: 17px; }

/* Responsive nav breakpoints */
@media (max-width: 1200px) {
    .er-mega-menu { width: calc(100vw - 40px); }
    .er-mega-columns { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
    .er-menu-toggle { display: flex; }
    .er-lang-switch { display: none; }
    .er-mainbar { padding: 0 20px; height: 64px; }
    .er-center-nav { display: none; }
    .er-right-cta { gap: 10px; }
    .er-phone-link { display: none; }
    .er-cta-btn { padding: 10px 16px; font-size: 13px; border-radius: 999px; }
    .er-mega-menu { top: 64px; }
}
@media (max-width: 600px) {
    .er-mainbar { padding: 0 14px; }
    .er-right-cta { gap: 8px; }
    .er-cta-btn svg { display: none; }
    .er-logo-img { height: 30px; }
}

/* ─── Category menu icon (footer) ───────────────────────────────────────────── */
a.category_menu_icon {
    color: white;
}
a.category_menu_icon span {
    padding: 5px;
    margin-right: 20px;
}
a.category_menu_icon i {
    margin-top: -4px;
}

/* ─── (legacy mobile_navbarNav_contactinfo — kept for potential reuse) ───────── */
.mobile_navbarNav_contactinfo .social-icons a {
    color: #00142b !important;
}
.mobile_navbarNav_contactinfo .social-icons li {
    border-color: #00142b !important;
    padding-top: 3px;
}

/* ─── Social icons ───────────────────────────────────────────────────────────── */
.social-icons a {
    color: white !important;
    font-size: 22px !important;
}
.social-icons li {
    width: 40px;
    display: inline-block;
    border: 2px solid white;
    border-radius: 20px;
    height: 40px;
    padding-left: 7px;
    font-size: 18px;
    padding-top: 6px;
    margin-right: 11px;
    margin-top: 11px;
}

/* ─── Footer (old — scoped to legacy #footer, no longer active) ──────────────── */

/* ─── Floating CTA button ────────────────────────────────────────────────────── */
#floating-button {
    background: linear-gradient(90deg, #54B84A 0%, #396AB2 100%);
    margin: auto;
    padding: 11px 20px;
    display: block;
    border: 0;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 17px;
}
#floating-button-container {
    z-index: 99;
    position: fixed;
    bottom: 5%;
    width: 100%;
    background-color: transparent !important;
}

/* ─── Category filter pills ──────────────────────────────────────────────────── */
span.blog_category_container, .project_category_container {
    display: inline-block;
    float: left;
    width: auto;
    border: 1px solid #959393;
    min-height: 43px;
    padding: 10px;
    margin: 11px;
    border-radius: 22px;
    cursor: pointer;
}
span.selected_blog_category, .selected_project_category {
    font-weight: 600;
    border: 2px solid #00142b !important;
}

/* ─── Cookies banner ─────────────────────────────────────────────────────────── */
div#cookies_banner {
    margin: auto;
    padding: 11px 20px;
    display: block;
    position: sticky;
    bottom: 5%;
    color: white;
    font-weight: 600;
    font-size: 17px;
    z-index: 99;
    border: 2px solid #54b948;
    width: 30vw;
    height: auto;
    background-color: white;
}
span#cookies-banner-title {
    display: block;
    color: var(--dark-gray);
    text-align: center;
}
p.cookies-message {
    display: block;
    color: var(--dark-gray);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
#cookies_banner div {
    display: inline-block;
    position: relative;
    margin: 5% 5% 4%;
    border: 2px solid #3969b3;
    color: #3969b3;
}
.cookies_btn {
    cursor: pointer;
}

/* ─── Contact form ───────────────────────────────────────────────────────────── */
.b24-form-sign, .b24-form-header {
    display: none !important;
}
.b24-form div {
    border-bottom: none !important;
    padding-top: 0 !important;
}
.contact-form-style-03 input[type='checkbox'] {
    width: auto;
}
button.b24-form-btn {
    border-radius: 50px;
    background-color: var(--dark-gray);
    color: var(--white);
}
.b24-form-btn:hover {
    background-color: var(--dark-gray) !important;
    margin-top: 30px;
}
.b24-form-btn {
    margin-top: 30px !important;
}
.contact-form-style-03 input[type='string'],
.contact-form-style-03 select,
.contact-form-style-03 input[type='text'],
.contact-form-style-03 input[type='email'],
.contact-form-style-03 textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--dark-gray);
    border-radius: 0;
    color: #717580;
    font-size: 16px;
    height: 55px;
    width: 100%;
    padding: 12px 36px 12px 0;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    outline: none;
    resize: none;
}

/* ─── Homepage ───────────────────────────────────────────────────────────────── */
#page_home .big-slider h1,
#page_home .big-slider span,
#page_home .big-slider .icon-with-text-style-08 {
    text-align: center !important;
    margin: auto !important;
}
#page_home .big-slider .icon-with-text-style-08 {
    margin-top: 30px !important;
}
#page_home div.big-slider-title {
    width: 100%;
}
#page_home span.d-block.fs-18.text-dark-gray.mb-10px {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1rem;
}
.home-gallery {
    height: 50vh;
}
.home-gallery-wide {
    height: 28vh;
}
.home-gallery .feature-box-content {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 100%;
}
.pricing-table.home-gallery:hover {
    background-size: auto 105% !important;
}
.col-xl-7.col-md-9.col-sm-9.position-relative.text-white.appear.anime-child.anime-complete {
    margin: auto !important;
}

/* ─── Hero / sliders ─────────────────────────────────────────────────────────── */
section.big-slider {
    max-height: 800px;
}
.big-slider .feature-box-content {
    text-align: center;
}
.big-slider-label strong {
    font-weight: 600;
}

/* ─── Feature boxes ──────────────────────────────────────────────────────────── */
.three-features-blue-inline .feature-box {
    background-color: #3969b3;
    margin: 11px;
    padding: 24px;
    height: 100%;
    display: block;
    text-align: left;
}
.three-features-blue-inline .col-md-4.custom-icon-with-text-style-02 {
    padding: 0;
}
.three-features-blue-inline .col-md {
    padding: 0;
}
#three-features-blue-inline_92 {
    padding-top: 0 !important;
}
#page_home .three-features-blue-inline#three-features-blue-inline_184 {
    padding-bottom: 3rem !important;
}
#three-features-blue-inline_184 .feature-box {
    background-color: #53b847 !important;
}
.three-features-darkblue .col {
    background-color: #00142b;
    max-width: 31%;
    margin-right: 15px;
    margin-left: 15px;
    padding: 0;
}
.three-features-darkblue .col .feature-box {
    background-color: #00142b;
    margin: 0;
}
.left-text-and-banner i.bi.bi-star-fill {
    color: #54b948;
    font-size: 30px;
    margin-right: 11px;
    padding-top: 11px;
}
.left-text-and-banner .feature-box {
    background-color: #3969b3;
    margin: 11px;
    padding: 30px;
}
.feature-box-link p {
    text-decoration: underline;
    font-weight: 400;
}
a.feature-box-link {
    bottom: 15px;
    height: 32px;
}
img.custom-image-icon.mb-30px {
    width: 64px;
    height: 64px;
}
.features-box .feature-box:hover .text-white {
    color: #00142b !important;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 11px 40px;
}
.btn span {
    font-weight: 800;
}
.four-features-inline .feature-box-content .editor,
.full-screen .feature-box-content .editor {
    color: black !important;
}
section.pb-0.four-features-inline .feature-box-content strong {
    letter-spacing: 0 !important;
    font-size: 50px !important;
}
section.pb-0.four-features-inline .feature-box-content strong:nth-of-type(1) span {
    font-weight: 600 !important;
}
section.pb-0.four-features-inline .feature-box-content strong:nth-of-type(2) {
    font-size: 24px !important;
}
.feature-box-content span strong span {
    color: #008000 !important;
}
.fs-18 .editor {
    font-size: 18px;
}

/* ─── Spectral features ──────────────────────────────────────────────────────── */
.spectral-features-section1 {
    background-color: white;
}
.spectral-features-section1 .features-items .feature-post span:after {
    content: none;
}
.spectral-features-section1 .features-items .col-md-3 .feature-post p {
    display: block;
    margin-bottom: 11px;
}
.spectral-features-section2 {
    display: flex;
    flex-wrap: wrap;
    background: #ebf0f7;
    align-items: center;
    padding: 0;
}
.spectral-features-section2 .features-box {
    padding: 0;
    width: 50%;
}
.spectral-features-section2 .image-place {
    width: 50%;
    background-image: url('/images/02_ParaEmpresas/01_Solucionesparaempresas/iStock-1891127631.jpg');
    background-size: cover;
    background-position: center;
}
.spectral-features-section2 .image-place img {
    width: 100%;
    height: auto;
}
.spectral-features-section2 .features-box .inner-features-box {
    padding-right: 20px;
    float: right;
    padding-top: 90px;
    padding-bottom: 90px;
}
.spectral-features-section2 .article-place {
    margin-bottom: 10px;
}
.spectral-features-section2 .article-place h1 {
    margin-bottom: 0;
}
.spectral-features-section2 h1 {
    color: #00142b;
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 0 !important;
}
.spectral-features-section2 .features-items .feature-post {
    margin-top: 35px;
}
.spectral-features-section2 .features-items .feature-post span {
    display: inline-block;
    float: left;
    font-size: 30px;
    color: #00142b;
    font-weight: 500;
    margin-right: 6px;
    transition: all 0.2s ease-in-out;
}
.spectral-features-section2 .features-items .feature-post span:after {
    content: '/';
    font-size: 30px;
    color: #5ebd53;
    font-weight: 300;
}
.spectral-features-section2 .features-items .feature-post p {
    color: #203145;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 10px;
    width: 100%;
}
.spectral-features-section2 .features-items .feature-post h2 {
    color: #00142b;
    font-weight: 400;
    margin: 0 0 10px;
    min-height: 36px;
    align-content: end;
}
.spectral-features-section-image .feature-post h2 {
    font-size: 24px !important;
}
#page_promotores .spectral-features-section-image .feature-post span {
    display: none;
}
section#image-and-text-180 {
    background-color: #eef8ed;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.image-and-text .row.align-items-center.justify-content-md-center.g-xl-0.g-1 {
    margin: 0;
}
.image-and-text .container {
    padding: 0;
}

/* ─── Reviews ────────────────────────────────────────────────────────────────── */
.review-body {
    height: 100px;
    max-height: 100px;
    word-break: auto-phrase;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Blog index ─────────────────────────────────────────────────────────────── */
.article-excerpt {
    word-break: auto-phrase;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-box {
    background-color: #ebf0f7;
    border-radius: 10px;
    overflow: hidden;
}
.article-box-content {
    padding: 0 11px 11px;
    overflow: hidden;
    white-space: normal;
    min-height: 270px;
}
.article-box-content p {
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    white-space: break-spaces;
    font-size: 14px !important;
    margin-bottom: 0;
}
.article-container-index {
    margin-top: 30px;
}
.article-box-icon {
    max-height: 190px;
    overflow: hidden;
    margin-bottom: 11px;
}
.blog-classic .card .blog-image img {
    max-height: 190px;
}
.blog-image {
    height: 200px;
}
.blog-image img {
    height: 100%;
    width: 100%;
}
.blog-index-12 .article-box-content {
    min-height: 282px;
}
.blog_category_article {
    display: inline-block;
    float: left;
    width: auto;
    border: 1px solid #959393;
    padding: 2px 10px;
    margin-right: 11px;
    margin-bottom: 11px;
    margin-top: -6px;
    border-radius: 22px;
    cursor: pointer;
    background-color: rgb(149 147 147 / 10%);
}

/* ─── Article detail ─────────────────────────────────────────────────────────── */
.article_detail p, .article_detail span {
    line-height: 24px;
    color: #00142b !important;
}
.article_detail h1, .article_detail h2, .article_detail h3,
.article_detail h1 b, .article_detail h2 b, .article_detail h3 b {
    line-height: 50px;
    font-weight: 400 !important;
    color: #00142b !important;
}
.article_detail span.fs-20.w-100.md-w-100.mb-25px.fw-300.d-inline-block.text-center {
    color: white;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-shown {
    transform: rotate(90deg);
    transition: all 0.3s ease-in;
}
.faq_answer.shown {
    transition: visibility 0s, opacity 0.5s linear;
    height: auto;
}
.faq-row {
    cursor: pointer;
}
.faq_answer span {
    font-size: 18px !important;
}

/* ─── Misc ───────────────────────────────────────────────────────────────────── */
.project-excerpt br {
    display: none;
}
.small-cover-title-cont {
    padding-top: 145px;
    padding-left: 50px;
}
.team-card-img {
    width: 100%;
    border-radius: 20px;
}
.politicas-largas {
    margin-top: 22px;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 990px) {
    .small-cover-title-cont {
        padding-top: 0;
        padding-left: 50px;
    }
    .spectral-features-section-image .image-place {
        display: none;
    }
    .spectral-features-section-image .features-box {
        width: 100%;
    }
    section.big-slider {
        height: 600px !important;
        margin-top: 0 !important;
    }
    img.default-logo {
        margin: 2px !important;
    }
    .image-and-text img.lg-w-90,
    .text-and-image img.lg-w-90 {
        width: 100% !important;
        padding: 0;
    }
    .image-and-text .col-lg-6.col-md-10.text-end.md-mb-10.sm-mb-15,
    .text-and-image .col-lg-6.col-md-10.text-end.md-mb-10.sm-mb-15 {
        margin-bottom: 0 !important;
    }
    .spectral-features-section2 .image-place.col-md-6 {
        display: none;
    }
    .spectral-features-section2 .col-md-6.features-box,
    .spectral-features-section2 .features-box {
        width: 100% !important;
        padding: 15px;
    }
    .spectral-features-section2 .features-items .feature-post h2 {
        display: inline-block;
        width: auto !important;
    }
    .three-features-darkblue .col {
        max-width: 100%;
        flex: auto;
    }
    .three-features-darkblue .row-cols-1 {
        margin-bottom: 0 !important;
    }
    .three-features-darkblue {
        padding-bottom: 0 !important;
    }
    .contact-location-img {
        display: none;
    }
    .mobileonly {
        display: block !important;
    }
    .desktoponly {
        display: none !important;
    }
    #oficinas_dropdown, #conocenos_dropdown, #placassolares_dropdown {
        display: none;
    }
    .social-icons {
        padding-left: 0;
    }
    #footer .col-md-2, #footer .col-md-3, #footer .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    #footer .row {
        display: block;
    }
    .ba-header { margin-top: 0; padding: 40px 20px 36px; }
    .ba-image-section { padding: 0 20px; margin-top: 28px; }
    .ba-body { padding: 32px 20px 48px; }
    .ba-related-section { padding: 40px 20px; }
    .ba-related-grid { grid-template-columns: 1fr; }
    .ba-cta-block { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG ARTICLE PAGE  (.ba-*)
   ═══════════════════════════════════════════════════════════════════════════════ */

.ba-page { background: #fff; }

.ba-header {
    background: #f0f4f8;
    margin-top: 0;
    padding: 56px 32px 48px;
    border-bottom: 1px solid #dde3ea;
}
.ba-header-inner {
    max-width: 740px;
    margin: 0 auto;
}
.ba-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 22px;
}
.ba-breadcrumb a { color: #154d9d !important; text-decoration: none; }
.ba-breadcrumb a:hover { text-decoration: underline !important; }
.ba-breadcrumb span { color: #6b7280 !important; }
.ba-breadcrumb-sep { color: #d1d5db !important; font-size: 11px; }
.ba-title {
    font-size: clamp(26px, 4vw, 40px) !important;
    font-weight: 700 !important;
    color: #002B49 !important;
    line-height: 1.2 !important;
    margin-bottom: 22px;
    letter-spacing: 0 !important;
}
.ba-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ba-category-badge {
    background: #dbeafe;
    color: #1e40af !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ba-meta-dot { color: #d1d5db !important; font-size: 8px; }
.ba-date, .ba-readtime { font-size: 13px; color: #6b7280 !important; }
.ba-image-section {
    max-width: 740px;
    margin: 40px auto 0;
    padding: 0 32px;
}
.ba-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.ba-body {
    max-width: 740px;
    margin: 0 auto;
    padding: 44px 32px 64px;
}
.ba-body .article_detail p {
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px;
}
.ba-body .article_detail h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #002B49 !important;
    margin-top: 44px;
    margin-bottom: 14px;
}
.ba-body .article_detail h3 {
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: #154d9d !important;
    margin-top: 28px;
    margin-bottom: 8px;
}
.ba-body .article_detail ul,
.ba-body .article_detail ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.ba-body .article_detail li {
    font-size: 16.5px;
    line-height: 1.75;
    margin-bottom: 8px;
}
.ba-cta-block {
    background: #002B49;
    border-radius: 14px;
    padding: 40px 36px;
    margin-top: 44px;
    text-align: center;
}
.ba-cta-block h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px;
}
.ba-cta-block p {
    font-size: 15px !important;
    color: #94a3b8 !important;
    margin-bottom: 28px;
    line-height: 1.65;
}
.ba-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ba-btn-green {
    background: #22c55e;
    color: #fff !important;
    border: none;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
}
.ba-btn-green:hover { opacity: 0.9; color: #fff !important; }
.ba-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-block;
}
.ba-btn-outline:hover { color: #fff !important; border-color: rgba(255,255,255,0.6); }
.ba-related-section {
    background: #f8fafc;
    padding: 56px 32px;
    border-top: 1px solid #e2e8f0;
}
.ba-related-inner { max-width: 1040px; margin: 0 auto; }
.ba-related-eyebrow {
    font-size: 12px !important;
    font-weight: 600;
    color: #9ca3af !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.ba-related-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #002B49 !important;
    margin-bottom: 30px;
}
.ba-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.ba-related-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.ba-related-card:hover { box-shadow: 0 4px 16px rgba(0,43,73,0.1); }
.ba-related-card-img {
    height: 148px;
    background-color: #154d9d;
    background-size: cover;
    background-position: center;
}
.ba-related-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.ba-related-card-cat {
    font-size: 11px !important;
    font-weight: 600;
    color: #154d9d !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.ba-related-card-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #002B49 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px;
    flex: 1;
}
.ba-related-card-excerpt {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.55;
    margin-bottom: 14px;
}
.ba-related-card-link {
    font-size: 13px !important;
    color: #154d9d !important;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.er-footer {
  color: white;
  font-size: 14.5px;
  font-family: 'DM Sans', sans-serif;
  padding: 0 !important;
}
/* Span colors need !important to beat 'body p, body span { color: #00142b !important }' (spec 2).
   All other overrides were defensive against old footer rules that are now deleted. */
.er-ft-nl-consent span { color: rgba(255,255,255,.55) !important; }
.er-ft-offices-label span { color: #4ade80 !important; }

/* ─── BAND 1: NEWSLETTER ─── */
.er-ft-newsletter {
  background: linear-gradient(135deg, #001a2e 0%, #002B49 50%, #0a3a5c 100%);
  position: relative;
  overflow: hidden;
  padding: 56px 36px;
}
.er-ft-newsletter::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,.15) 0%, transparent 60%);
  pointer-events: none;
}
.er-ft-newsletter::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21,77,157,.18) 0%, transparent 60%);
  pointer-events: none;
}
.er-ft-nl-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.er-ft-nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34,197,94,.15);
  color: #4ade80 !important;
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 18px;
}
.er-ft-nl-badge::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: er-ft-pulse 2s ease-in-out infinite;
}
@keyframes er-ft-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.er-ft-nl-intro h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: white;
}
.er-ft-nl-plus { color: #4ade80 !important; font-weight: 800; }
.er-ft-nl-intro p {
  color: rgba(255,255,255,.7) !important;
  font-size: 15px;
  line-height: 1.6;
  max-width: 440px;
}
.er-ft-nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.er-ft-nl-fields {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
  background: rgba(255,255,255,.06);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.er-ft-nl-fields input {
  background: transparent !important;
  border: none !important;
  padding: 14px 20px !important;
  color: white !important;
  font-size: 14.5px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
}
.er-ft-nl-fields input::placeholder { color: rgba(255,255,255,.5) !important; }
.er-ft-nl-fields input:not(:last-of-type) {
  border-right: 1px solid rgba(255,255,255,.08) !important;
}
.er-ft-nl-submit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 13px 24px !important;
  background: #22c55e !important;
  color: white !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(34,197,94,.4) !important;
  white-space: nowrap !important;
}
.er-ft-nl-submit:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(34,197,94,.5);
}
.er-ft-nl-submit svg { transition: transform .25s; }
.er-ft-nl-submit:hover svg { transform: translateX(2px); }
.er-ft-nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  padding: 0 8px;
  cursor: pointer;
}
.er-ft-nl-consent input[type="checkbox"] {
  display: inline-block;
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #22c55e;
}
.er-ft-nl-consent a {
  color: rgba(255,255,255,.85) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ─── BAND 2: NAV COLUMNS ─── */
.er-ft-nav {
  background: #002B49;
  padding: 64px 36px 48px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.er-ft-nav-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.er-ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.er-ft-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: #22c55e;
  border-radius: 2px;
}
.er-ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}
.er-ft-col a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 14.5px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.er-ft-col a:hover {
  color: white;
  transform: translateX(3px);
}
.er-ft-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0;
  transition: opacity .2s;
  flex-shrink: 0;
}
.er-ft-col a:hover .er-ft-dot { opacity: 1; }
.er-ft-col .er-ft-featured {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 8px;
  color: #4ade80;
  font-weight: 600;
  font-size: 13.5px;
  transition: all .2s;
  margin-top: 6px;
}
.er-ft-col .er-ft-featured:hover {
  background: rgba(34,197,94,.2);
  border-color: rgba(34,197,94,.4);
  color: #4ade80;
  transform: none;
}
.er-ft-col-contact h4 { margin-bottom: 18px; }
.er-ft-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color .2s;
  transform: none; /* prevent .er-ft-col a:hover translateX from firing */
}
.er-ft-contact-row:hover { color: white; }
.er-ft-contact-icon {
  width: 18px; height: 18px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}
.er-ft-contact-row strong {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 2px;
}
.er-ft-contact-row small {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  display: block;
}
.er-ft-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  margin-top: 14px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.er-ft-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
}
.er-ft-whatsapp svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ─── BAND 3: OFFICES ─── */
.er-ft-offices {
  background: #001a2e;
  padding: 40px 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.er-ft-offices-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.er-ft-offices-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-top: 4px;
}
.er-ft-offices-label span { color: #4ade80 !important; } /* beats body span rule */
.er-ft-offices-label svg {
  width: 22px; height: 22px;
  color: #22c55e;
  margin-bottom: 4px;
}
.er-ft-office {
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  line-height: 1.6;
}
.er-ft-office h5 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.er-ft-office h5::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}
.er-ft-office a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
  display: inline-block;
  margin-top: 4px;
}
.er-ft-office a:hover { color: white; }

/* ─── BAND 4: BRAND + SOCIAL ─── */
.er-ft-brand {
  background: #001a2e;
  padding: 28px 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.er-ft-brand-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.er-ft-brand-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.er-ft-brand-logo { display: inline-flex; align-items: center; text-decoration: none; }
.er-ft-logo-img { height: 36px; width: auto; display: block; transition: opacity .2s; }
.er-ft-brand-logo:hover .er-ft-logo-img { opacity: .85; }
.er-ft-brand-cert {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  border-left: 1px solid rgba(255,255,255,.12);
  line-height: 1.2;
}
.er-ft-brand-cert strong {
  color: white;
  font-size: 14px;
  letter-spacing: .05em;
  font-weight: 800;
}
.er-ft-cert-isos {
  color: rgba(255,255,255,.55) !important; /* beats body span rule */
  font-size: 10.5px;
  letter-spacing: .03em;
  margin-top: 2px;
  white-space: nowrap;
}
.er-ft-brand-tagline {
  color: rgba(255,255,255,.5) !important; /* beats body span rule */
  font-size: 13px;
  font-style: italic;
  letter-spacing: .02em;
}
.er-ft-social { display: flex; align-items: center; gap: 8px; }
.er-ft-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.08);
}
.er-ft-social a:hover {
  background: #22c55e;
  color: white;
  border-color: #22c55e;
  transform: translateY(-2px);
}
.er-ft-social svg { width: 16px; height: 16px; }

/* ─── BAND 5: INSTITUTIONAL ─── */
.er-ft-institutional {
  background: white;
  padding: 20px 36px;
  border-top: 4px solid #001a2e;
}
.er-ft-inst-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.er-ft-inst-label {
  color: #6b7a8d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid rgba(0,43,73,.1);
}
.er-ft-inst-imgs {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.er-ft-moves { max-height: 50px; width: auto; }
.er-ft-cert-seal { max-height: 60px; width: auto; }

/* ─── BAND 6: LEGAL ─── */
.er-ft-legal {
  background: #000c17;
  padding: 18px 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.er-ft-legal-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.er-ft-legal-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.er-ft-copyright {
  color: rgba(255,255,255,.55) !important; /* beats body span rule */
  font-weight: 600;
  font-size: 12.5px;
}
.er-ft-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.er-ft-legal-links a,
.er-ft-legal-corp a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 12.5px;
  transition: color .15s;
  white-space: nowrap;
}
.er-ft-legal-links a:hover,
.er-ft-legal-corp a:hover { color: white; }
.er-ft-legal-sep {
  color: rgba(255,255,255,.2) !important; /* beats body span rule */
  font-size: 11px;
}
.er-ft-legal-corp {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 14px;
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.05);
}
.er-ft-legal-corp-label {
  color: rgba(255,255,255,.4) !important; /* beats body span rule */
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding-right: 6px;
  border-right: 1px solid rgba(255,255,255,.1);
  margin-right: 4px;
  white-space: nowrap;
}

/* ─── FOOTER RESPONSIVE ─── */
/* Hide stray elements (e.g. unclosed <strong> from TinyMCE excerpts) that end up as
   direct children of swiper-wrapper — only .swiper-slide should be there */
.swiper-wrapper > :not(.swiper-slide) { display: none !important; }
@media (max-width: 1100px) {
  .er-ft-nl-grid { grid-template-columns: 1fr; gap: 40px; }
  .er-ft-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .er-ft-offices-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .er-ft-offices-label { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
  .er-ft-offices-label svg { margin-bottom: 0; }
  .er-ft-brand-tagline { display: none; }
}
@media (max-width: 720px) {
  .er-ft-newsletter, .er-ft-nav, .er-ft-offices { padding: 40px 20px; }
  .er-ft-brand, .er-ft-legal { padding: 20px; }
  .er-ft-institutional { padding: 20px; }
  .er-ft-nl-intro h2 { font-size: 24px !important; }
  .er-ft-nl-fields {
    grid-template-columns: 1fr;
    border-radius: 16px;
    padding: 6px;
  }
  .er-ft-nl-fields input { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; border-radius: 12px; }
  .er-ft-nl-submit { border-radius: 12px; padding: 14px; justify-content: center; }
  .er-ft-nav-grid { grid-template-columns: 1fr; gap: 32px; }
  .er-ft-offices-grid { grid-template-columns: 1fr; gap: 28px; }
  .er-ft-brand-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .er-ft-brand-left { flex-direction: column; align-items: flex-start; gap: 12px; }
  .er-ft-brand-cert { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding: 10px 0 0 0; }
  .er-ft-legal-grid { flex-direction: column; align-items: flex-start; gap: 14px; }
  .er-ft-legal-left { flex-direction: column; align-items: flex-start; gap: 10px; }
  .er-ft-legal-corp { flex-wrap: wrap; }
  .er-ft-inst-label { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(0,43,73,.1); padding-bottom: 8px; width: 100%; }
}
.ba-related-card-link:hover { text-decoration: underline !important; color: #154d9d !important; }
