/*
Theme Name: Ofiteat
Author: Nakama Estudio
Author URI:
Description: Tema independiente desarrollado por Nakama Estudio para Ofiteat. Optimizado para Elementor.
Version: 1.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: ofiteat
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, full-width-template, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
    --brand-blue: #3056A1;
    --brand-darkBlue: #0f172a;
    --brand-accent: #f5b343;
    --brand-cyan: #06b6d4;
    --brand-lightBg: #f8fafc;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-850: #172033;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 900;

    --lh-hero: 1;
    --lh-heading: 1.25;
    --lh-body: 1.625;
    --lh-loose: 1.7;

    --ls-tight: -.025em;
    --ls-normal: 0;
    --ls-wide: .05em;
    --ls-wider: .1em;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    line-height: var(--lh-body);
    color: var(--slate-900);
}
b, strong {
    font-weight: 700;
}
a {
    color: var(--brand-cyan);
    transition: color .3s;
}
a:hover {
    color: var(--brand-blue);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--lh-heading);
    font-weight: var(--fw-semibold);
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 1.75vw, 1.375rem); }
h5 { font-size: clamp(1rem, 1.25vw, 1.125rem); }
h6 { font-size: clamp(.875rem, 1vw, 1rem); }

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link:focus {
    clip: auto !important;
    clip-path: none;
    height: auto;
    width: auto;
    display: block;
    padding: 1rem;
    background: var(--brand-blue);
    color: #fff;
    text-align: center;
    z-index: 100000;
}

/* ===== Typography System ===== */
/*
 * Scale (Space Grotesk headings / Inter body):
 * Desktop           Tablet          Mobile
 * h1     4rem      3rem            2.25rem
 * h2     2.5rem    2rem            1.5rem
 * h3     1.75rem   1.5rem          1.25rem
 * h4     1.375rem  1.25rem         1rem
 * body   1rem      —               —
 * small  0.875rem  —               —
 * label  0.75rem   —               —
 */

/* Heading-level aliases */
.typo-h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: var(--fw-semibold); line-height: var(--lh-hero); letter-spacing: var(--ls-tight); }
.typo-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: var(--fw-bold); line-height: var(--lh-heading); }
.typo-h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: var(--fw-bold); line-height: var(--lh-heading); letter-spacing: var(--ls-tight); }
.typo-h4 { font-size: clamp(1.125rem, 1.75vw, 1.375rem); font-weight: var(--fw-bold); line-height: var(--lh-heading); }

/* Body sizes */
.typo-body-lg { font-size: 1.125rem; font-weight: var(--fw-light); line-height: var(--lh-body); }
.typo-body { font-size: 1rem; font-weight: var(--fw-light); line-height: var(--lh-body); }
.typo-small { font-size: .875rem; font-weight: var(--fw-light); line-height: var(--lh-body); }
.typo-caption { font-size: .8125rem; font-weight: var(--fw-light); line-height: var(--lh-body); }
.typo-label { font-size: .75rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--ls-wider); }
.typo-meta { font-size: .6875rem; text-transform: uppercase; letter-spacing: var(--ls-wide); }

/* Tighten heading-to-paragraph gaps */
h1 + p, h2 + p, h3 + p, h4 + p,
h1 + .elementor-widget-container p,
h2 + .elementor-widget-container p,
h3 + .elementor-widget-container p,
h4 + .elementor-widget-container p {
    margin-top: .25rem;
}

/* ===== Wrappers ===== */
.wrapper_main {
    padding-top: 0;
    overflow: visible;
}
.wrapper.p-border {
    padding-top: 0;
}

/* ===== Glass Panel ===== */
.glass-panel {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.3);
}
.glass-panel-dark {
    background: rgba(15,23,42,.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.08);
}

/* ===== Top Bar ===== */
.topnav-bar {
    background: var(--brand-darkBlue);
    border-bottom: 1px solid var(--slate-800);
    font-size: .75rem;
    position: relative;
    z-index: 41;
}
.topnav-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem 1.5rem;
    gap: 1rem;
}
.topnav-left,
.topnav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.topnav-contact {
    display: flex;
    align-items: center;
    gap: .375rem;
    color: var(--slate-400);
    font-size: .875rem;
    white-space: nowrap;
}
.topnav-contact i {
    color: var(--brand-accent);
    font-size: .75rem;
}
.topnav-contact a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color .2s;
}
.topnav-contact a:hover { color: #fff; }

.topnav-sep {
    color: var(--slate-700);
    font-size: .875rem;
}

.topnav-email {
    display: flex;
    align-items: center;
    gap: .375rem;
    color: var(--slate-400);
    font-size: .875rem;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.topnav-email i {
    color: var(--brand-cyan);
    font-size: .75rem;
}
.topnav-email:hover { color: #fff; }

.social-icons {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.social-icons li { list-style: none; }
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--slate-400);
    font-size: .875rem;
    text-decoration: none;
    border-radius: .375rem;
    transition: all .2s;
    border: 1px solid var(--slate-700);
}
.social-icons a:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

/* Language switcher (topbar) */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}
.lang-flag {
    display: inline-block;
    width: auto;
    height: .8em;
    vertical-align: middle;
    border-radius: 2px;
}
.lang-switcher-current {
    display: flex;
    align-items: center;
    gap: .3rem;
    background: none;
    border: 1px solid var(--slate-700);
    border-radius: .375rem;
    color: var(--slate-400);
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: var(--fw-bold);
    padding: .2rem .5rem;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    line-height: 1.5;
    user-select: none;
}
.lang-switcher-current i {
    font-size: .6rem;
    color: var(--slate-500);
    transition: transform .2s;
}
.lang-switcher:hover .lang-switcher-current,
.lang-switcher.is-open .lang-switcher-current {
    color: #fff;
    border-color: var(--slate-500);
}
.lang-switcher:hover .lang-switcher-current i,
.lang-switcher.is-open .lang-switcher-current i {
    transform: rotate(-180deg);
}
.lang-switcher-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding: .75rem .25rem .35rem;
    list-style: none;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    min-width: 3.5rem;
    z-index: 9999;
}
.lang-switcher-dropdown::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}
.lang-switcher:hover .lang-switcher-dropdown,
.lang-switcher.is-open .lang-switcher-dropdown {
    display: block;
}
.lang-switcher-dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lang-switcher-dropdown a {
    display: block;
    padding: .35rem .75rem;
    color: var(--slate-700);
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-decoration: none;
    border-radius: .375rem;
    transition: background .15s, color .15s;
}
.lang-switcher-dropdown a:hover {
    background: var(--slate-100);
    color: var(--brand-blue);
}

/* ===== Header / Navigation ===== */
.will_stick_wrap { width: 100%; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    transition: background .3s, backdrop-filter .3s;
}
.site-header.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

.header-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    gap: 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
}
.site-branding .custom-logo {
    max-height: 40px;
    width: auto;
}
.site-title {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 1.25rem;
    color: var(--slate-900);
    text-decoration: none;
}

/* Main nav */
#navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
}
#main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#main-nav li { list-style: none; position: relative; }
#main-nav a {
    color: #000;
    font-size: .875rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: color .15s ease-in-out;
    padding: .5rem 0;
}
#main-nav a:hover { color: var(--brand-blue); }
#main-nav .current-menu-item > a,
#main-nav .current_page_item > a,
#main-nav .current_page_parent > a {
    color: var(--brand-cyan);
}

/* Dropdown */
#main-nav .menu-item-has-children > a {
    padding-right: 16px;
    position: relative;
}
#main-nav .menu-item-has-children > a::after {
    content: "\25BC";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 7px;
    color: inherit;
    transition: transform .2s ease;
}
#main-nav .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}
#main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,.1), 0 4px 10px -4px rgba(0,0,0,.04);
    opacity: 0;
    visibility: hidden;
    z-index: 50;
    margin: 0;
    list-style: none;
}
#main-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}
#main-nav .sub-menu li { display: block; white-space: nowrap; }
#main-nav .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: .875rem;
    color: var(--slate-600);
    transition: all .15s ease;
}
#main-nav .sub-menu a:hover {
    color: var(--brand-blue);
    background: var(--slate-100);
}
#main-nav .sub-menu .menu-item-has-children { position: relative; }
#main-nav .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    transform: translateX(4px);
}
#main-nav .sub-menu .menu-item-has-children:hover > .sub-menu {
    transform: translateX(4px);
}
#main-nav .sub-menu .menu-item-has-children > a { padding-right: 24px; }
#main-nav .sub-menu .menu-item-has-children > a::after {
    content: '\203A';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* CTA button in header */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand-blue);
    color: #fff !important;
    font-weight: var(--fw-bold);
    font-size: .75rem;
    padding: .625rem 1.25rem;
    border-radius: .75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    transition: all .3s;
    white-space: nowrap;
    flex-shrink: 0;
}
.cta-button:hover {
    background: rgba(48,86,161,.9);
    box-shadow: 0 10px 30px -5px rgba(48,86,161,.35);
    transform: translateY(-2px);
}
.cta-button i { font-size: .75rem; color: var(--brand-accent); }

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: .5rem;
    cursor: pointer;
}
.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}
.menu-toggle-icon span {
    display: block;
    height: 2px;
    background: var(--slate-900);
    border-radius: 1px;
    transition: transform .3s, opacity .3s;
}

/* ===== Mobile Header (< 1155px) ===== */
@media (max-width: 1154px) {
    .topnav-inner {
        flex-direction: column;
        align-items: center;
        gap: .25rem;
        padding: .35rem .75rem;
    }
    .topnav-left,
    .topnav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: .3rem .5rem;
    }
    .topnav-contact {
        font-size: .75rem;
        gap: .25rem;
    }
    .topnav-contact i { font-size: .65rem; }
    .topnav-email {
        font-size: .75rem;
        gap: .25rem;
    }
    .topnav-email i { font-size: .65rem; }
    .topnav-sep { font-size: .75rem; }
    .social-icons { gap: .25rem; }
    .social-icons a {
        width: 1.5rem;
        height: 1.5rem;
        font-size: .7rem;
    }
    .lang-switcher-current {
        font-size: .65rem;
        padding: .1rem .4rem;
    }

    /* Remove side borders so dropdown extends edge-to-edge */
    .site-header { border-left: none; border-right: none; z-index: 42; }
    .topnav-bar { z-index: 52; }

    /* Hide desktop CTA, show inside menu */
    .cta-button { display: none; }

    .menu-toggle { display: block; }

    .header-inner { position: relative; }

    #navigation {
        flex: 0 0 auto;
        position: static;
    }

    #main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0;
        right: 0;
        width: auto;
        background: #fff;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 10px 30px -10px rgba(0,0,0,.12);
        padding: 0 0;
        z-index: 50;
        gap: 0;
    }
    #main-nav.nav-open {
        display: flex;
        animation: slideDown .3s ease-out both;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-16px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    #main-nav > li {
        border-bottom: 1px solid var(--slate-100);
        padding: 0 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    #main-nav > li:last-child { border-bottom: none; }

    #main-nav .menu-item-has-children > a::after { display: none !important; }

    #main-nav a {
        padding: 14px 0;
        display: block;
        width: 100%;
    }

    /* Sub-menu toggle button */
    .sub-menu-toggle {
        position: absolute;
        right: 0;
        top: 0;
        height: auto;
        padding: 14px 0;
        width: 44px;
        background: none;
        border: none;
        color: var(--slate-500);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .75rem;
        transition: transform .2s;
    }
    .sub-open > .sub-menu-toggle {
        transform: rotate(180deg);
    }
    .menu-item-has-children { position: relative; }

    #main-nav .sub-menu {
        display: none !important;
        position: static;
        transform: none !important;
        padding: 0 0 0 1rem;
        background: transparent;
        min-width: auto;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }
    #main-nav .sub-menu.mobile-sub-open {
        display: block !important;
    }
    #main-nav .sub-menu li {
        border-bottom: 1px solid var(--slate-50);
    }
    #main-nav .sub-menu li:last-child { border-bottom: none; }
    #main-nav .sub-menu a {
        padding: 10px 0;
        font-size: .875rem;
    }

    /* CTA clone: same style as menu items */
    .cta-button-mobile {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: 14px 0;
        width: 100%;
        color: #000;
        font-weight: var(--fw-medium);
        font-size: .875rem;
        text-decoration: none;
        box-sizing: border-box;
    }
    .cta-button-mobile i { color: var(--brand-accent); font-size: .75rem; }
    .cta-button-mobile:hover { color: var(--brand-blue); }
}

/* ===== Content Area ===== */
.content-area {
    min-height: 50vh;
}
.entry-content > * {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.entry-content > .alignfull,
.entry-content > .elementor {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.entry-content > .elementor {
    margin-left: 0;
    margin-right: 0;
}

/* Elementor sections: consistent horizontal padding */
.elementor-section > .elementor-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
    width: 100%;
}
.hero-section .elementor-container {
    padding-left: 0;
    padding-right: 0;
    max-width: 64rem;
}

/* ===== Footer ===== */
#footer {
    background: var(--slate-950);
    color: var(--slate-400);
    border-top: 1px solid var(--slate-900);
    padding: 0;
}
#footer p,
#footer h4 {
    color: var(--slate-400);
}
#footer h4.widget {
    font-weight: var(--fw-bold);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: 1.25rem;
    padding-top: 0;
    border: none;
    color: var(--brand-accent);
}

/* Footer head */
.footer_head {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--slate-900);
}
.footer_head_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer_head_logo {
    display: flex;
    align-items: center;
}
.footer-head-logo-img {
    max-height: 44px;
    max-width: 200px;
    width: auto;
    height: auto;
}
.footer_sitename {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-tight);
    color: #fff;
    text-decoration: none;
}

/* Bottom menu in footer head */
.footer_head .bottom-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
}
.footer_head .bottom-menu li a {
    font-size: .875rem;
    font-weight: 400;
    padding: .25rem .75rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}
.footer_head .bottom-menu li a:hover { color: #fff; }

/* Footer grid: 4 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
    min-width: 0;
}
.tmnf_foocol {
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
    min-width: 0;
}
.tmnf_foocol ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tmnf_foocol li {
    padding: .375rem 0;
    border: none;
}
.tmnf_foocol li:before {
    display: none;
}
.tmnf_foocol a {
    color: var(--slate-400);
    font-weight: 300;
    transition: color 0.2s;
    text-decoration: none;
    font-size: .9375rem;
}
.tmnf_foocol a:hover {
    color: #fff;
}
.tmnf_foocol p {
    color: var(--slate-400);
    font-weight: 300;
    line-height: var(--lh-body);
    padding: 0;
}
.tmnf_foocol .textwidget {
    margin-bottom: 0;
}
.tmnf_foocol > img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Brand column */
.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-brand-block .custom-logo-link img {
    max-height: 40px;
    width: auto;
}
.footer-brand-block p {
    font-size: .875rem;
    line-height: var(--lh-loose);
    color: var(--slate-400);
}
.footer-brand-block .searchform {
    margin-top: 1rem;
}

/* Funding logos row */
.footer-logos-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    min-width: 0;
    width: 100%;
}
.footer-logo-img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--slate-800);
    border-radius: .75rem;
    padding: .5rem .75rem;
    background: rgba(255,255,255,.03);
    flex-shrink: 1;
    min-width: 0;
}
.footer-funding-text {
    font-size: .75rem;
    line-height: 1.55;
    color: var(--slate-500);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Services & Legal menus in footer */
.footer-services-menu,
.footer-legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-services-menu li,
.footer-legal-menu li {
    padding: .3rem 0;
}
.footer-services-menu a,
.footer-legal-menu a {
    color: var(--slate-400);
    font-weight: 300;
    font-size: .9375rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-services-menu a:hover,
.footer-legal-menu a:hover {
    color: #fff;
}
.footer-services-menu .sub-menu {
    list-style: none;
    padding-left: 1rem;
    margin-top: .25rem;
}
.footer-services-menu .sub-menu a {
    font-size: .875rem;
}

/* Recent posts in footer */
.footer-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-recent-posts li {
    padding: 0 0 1rem;
}
.footer-recent-posts a {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-decoration: none;
}
.footer-recent-posts .frp-cat {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    color: var(--brand-cyan);
}
.footer-recent-posts .frp-title {
    font-size: .9375rem;
    color: var(--slate-300);
    font-weight: var(--fw-medium);
    transition: color 0.2s;
}
.footer-recent-posts a:hover .frp-title {
    color: #fff;
}

/* Search form in footer widgets */
.tmnf_foocol .searchform {
    display: flex;
    max-width: 100%;
    margin-top: 1rem;
}
.tmnf_foocol .searchform input.s {
    flex: 1;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-right: none;
    color: #fff;
    font-size: .875rem;
    border-radius: 12px 0 0 12px;
    height: 52px;
    line-height: 52px;
    padding: 0 1.25rem;
    outline: none;
    box-sizing: border-box;
}
.tmnf_foocol .searchform input.s:focus {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
}
.tmnf_foocol .searchform input.s::placeholder {
    color: rgba(255,255,255,.4);
}
.tmnf_foocol .searchSubmit {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-left: none;
    height: 52px;
    width: 52px;
    min-width: 52px;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
}
.tmnf_foocol .searchSubmit:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
}

/* Footer table override */
#footer table,
#footer table th,
#footer table td {
    border-color: var(--slate-800);
}
#footer hr.wp-block-separator.has-alpha-channel-opacity {
    background-color: var(--slate-900) !important;
    border: none !important;
    opacity: 1 !important;
    height: 1px;
}
#footer table.images-footer {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
#footer table.images-footer img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom line */
.bottom_line {
    border-top: 1px solid var(--slate-900);
    padding: 1.5rem 0;
    text-align: center;
}
.footer_credits {
    font-size: .875rem;
    color: var(--slate-500);
}
.footer_credits a {
    color: var(--brand-accent);
    text-decoration: none;
}
.footer_credits a:hover {
    text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer_head_inner {
        flex-direction: column;
        text-align: center;
        gap: .75rem;
    }
    .footer_head_logo {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-logos-row {
        justify-content: center;
    }
}
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-logos-row {
        flex-wrap: wrap;
        gap: .75rem;
    }
    .footer-logo-img {
        max-height: 38px;
        padding: .375rem .625rem;
    }
}

/* ===== Tmnf container helpers ===== */
.tmnf_container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.tmnf_column_12 { width: 100%; }
.tmnf_column_4 { width: 33.333%; float: left; box-sizing: border-box; padding: 0 10px; }
.tmnf_column_8 { width: 66.666%; float: left; box-sizing: border-box; padding: 0 10px; }
.clearfix { clear: both; }

/* ===== Hero Section ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-darkBlue);
    overflow: hidden;
    padding: 5rem 1.25rem;
    position: relative;
}
.hero-section .elementor-container {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
@media (max-width: 1440px) {
    .hero-section {
        min-height: unset;
        height: fit-content;
        overflow: visible;
        align-items: stretch;
        justify-content: flex-start;
        padding: 3rem 1.25rem 5rem;
    }
    .hero-section .elementor-widget-html:first-child {
        position: relative;
        height: 30vh;
        min-height: 240px;
    }
}
@media (max-width: 1153px) {
    .hero-section .e-con-inner {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

.hero-section .elementor-widget-html:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-section .elementor-widget-html:first-child .elementor-widget-container {
    width: 100%;
    height: 100%;
}
.hero-section .e-con-inner > .elementor-widget:not(:first-child) {
    position: relative;
    z-index: 1;
}
.hero-section .hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: .7;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-blob--blue {
    width: 24rem;
    height: 24rem;
    background: rgba(48,86,161,.5);
    filter: blur(100px);
    top: 25%;
    left: 25%;
}
.hero-blob--cyan {
    width: 24rem;
    height: 24rem;
    background: rgba(6,182,212,.35);
    filter: blur(120px);
    bottom: 25%;
    right: 25%;
}

.hero-badge {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}
.hero-badge .elementor-heading-title {
    color: var(--brand-cyan) !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
}
.hero-section .elementor-heading-title {
    font-size: inherit;
}

.hero-gradient-text {
    background: linear-gradient(90deg, var(--brand-cyan), #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    line-height: var(--lh-hero);
    background: linear-gradient(135deg,#fff 30%,var(--brand-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
}

.hero-btn-primary .elementor-button {
    background: var(--brand-accent) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    padding: 1rem 2rem !important;
    border-radius: .75rem !important;
}
.hero-btn-primary .elementor-button:hover {
    background: rgba(249,115,22,.9) !important;
    box-shadow: 0 10px 30px -5px rgba(249,115,22,.35);
    transform: translateY(-4px);
}

.hero-btn-secondary .elementor-button {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    border-radius: .75rem !important;
    border: 1px solid rgba(255,255,255,.2) !important;
}
.hero-btn-secondary .elementor-button:hover {
    background: rgba(255,255,255,.15) !important;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
    padding-top: 4rem;
}
@media (min-width: 768px) { .hero-cards { grid-template-columns: repeat(3, 1fr); } }

.hero-card {
    border-left: 4px solid var(--brand-cyan);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: border-color .3s;
}
.hero-card:hover { border-left-color: var(--brand-accent); }

/* ===== Contact Cards ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 0 0;
}
@media (max-width: 768px) {
    .contact-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--brand-cyan);
    transition: all .3s ease;
}
.contact-card:hover { border-left-color: var(--brand-accent); }

.contact-card .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(6,182,212,.1);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    margin-bottom: 1rem;
}
.contact-card .contact-icon i { font-size: 1.125rem; }

.contact-card .contact-label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}
.hero-section .contact-card .contact-label {
    color: var(--brand-accent);
}
.contact-card .contact-value {
    font-size: .9375rem;
    font-weight: var(--fw-semibold);
    color: #fff;
}
.contact-card .contact-desc {
    font-size: .875rem;
    color: var(--slate-400);
    margin-top: .25rem;
}

/* ===== Bento Grid ===== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .bento-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(12, 1fr); }
    .bento-span-4 { grid-column: span 4; }
    .bento-span-5 { grid-column: span 5; }
    .bento-span-7 { grid-column: span 7; }
    .bento-span-8 { grid-column: span 8; }
}

.bento-card {
    position: relative;
    overflow: hidden;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    border-radius: 1.5rem;
    padding: 2rem;
}
.bento-card h1,
.bento-card h2,
.bento-card h3,
.bento-card h4,
.bento-card h5,
.bento-card h6 { color: inherit; }
.bento-card p { color: inherit; opacity: .85; }
.bento-card::after {
    content: '';
    position: absolute;
    top: var(--y,0);
    left: var(--x,0);
    width: 300px; height: 300px;
    background: radial-gradient(circle,rgba(6,182,212,.15) 0%,transparent 70%);
    transform: translate(-50%,-50%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.08);
}
.bento-card-dark:hover { box-shadow: 0 12px 30px -10px rgba(6,182,212,.15); }

.bento-card-dark {
    background: var(--brand-darkBlue);
    color: #fff;
    border: 1px solid var(--slate-800);
}
.bento-card-white {
    background: #fff;
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
}
.bento-card-gradient {
    background: linear-gradient(135deg,var(--brand-blue),#1e40af);
    color: #fff;
    overflow: hidden;
}

.bento-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.bento-card-title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    margin-bottom: .5rem;
}
.bento-card-title-sm {
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    margin-bottom: .5rem;
}
.bento-card-text {
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
    margin: 0;
}

.bento-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    flex-shrink: 0;
}
.bento-icon-box-sm {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
}
.bento-icon-box-cyan {
    background: rgba(6,182,212,.15);
    color: var(--brand-cyan);
    border: 1px solid rgba(6,182,212,.2);
}
.bento-icon-box-blue {
    background: rgba(48,86,161,.05);
    color: var(--brand-blue);
    border: 1px solid rgba(48,86,161,.1);
}
.bento-icon-box-gray {
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.bento-badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    white-space: nowrap;
    width: fit-content;
}
.bento-badge-accent {
    background: rgba(249,115,22,.2);
    border: 1px solid rgba(249,115,22,.3);
    color: var(--brand-accent);
}
.bento-badge-ghost {
    background: rgba(255,255,255,.1);
    color: var(--brand-cyan);
    border: none;
}

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid;
    font-size: .9375rem;
}
.bento-features span,
.bento-features a {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.bento-features a {
    color: var(--brand-blue);
    font-weight: var(--fw-semibold);
    transition: color .3s;
}
.bento-card-dark .bento-features a { color: #fff; }
.bento-features a:hover { color: var(--brand-accent); }
.bento-features a i,
.bento-features span i {
    font-size: .75rem;
    transition: transform .3s;
}
.bento-features a:hover i { transform: translateX(2px); }

.bento-link-list {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    padding-top: 2rem;
    border-top: 1px solid;
}
.bento-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .9375rem;
    font-weight: var(--fw-semibold);
    color: var(--brand-blue);
    transition: color .3s;
}
.bento-card-dark .bento-link-list a,
.bento-card-gradient .bento-link-list a { color: #fff; }
.bento-link-list a i {
    font-size: .75rem;
    transition: transform .3s;
}
.bento-link-list a:hover { color: var(--brand-accent); }
.bento-link-list a:hover i { transform: translateX(4px); }

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9375rem;
    font-weight: var(--fw-bold);
    color: var(--brand-blue);
    transition: color .3s;
    padding-top: 1rem;
    text-decoration: none;
}
.bento-cta:hover { color: var(--brand-accent); }
.bento-cta i { transition: transform .3s; }
.bento-cta:hover i { transform: translateX(4px); }
.bento-cta--bordered {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--slate-100);
}

.bento-stats {
    display: flex;
    gap: 1rem;
    padding-top: .5rem;
}
.bento-stat {
    text-align: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    padding: .75rem;
    border-radius: .75rem;
    min-width: 100px;
}
.bento-stat-value {
    display: block;
    font-size: 1.375rem;
    font-weight: var(--fw-black);
    color: var(--brand-cyan);
}
.bento-stat-label {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--slate-300);
}

.bento-graphic {
    width: 10rem;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,.15);
    position: relative;
}
.bento-graphic i { font-size: 3rem; color: var(--brand-cyan); }
.bento-graphic-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(249,115,22,.1);
    border-radius: 1rem;
}

.bento-light {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(6,182,212,.25);
    border-radius: 9999px;
    filter: blur(64px);
    transition: all .3s;
    pointer-events: none;
}
.bento-card:hover .bento-light { background: rgba(6,182,212,.35); }

.bento-blob {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 15rem;
    height: 15rem;
    background: rgba(255,255,255,.05);
    border-radius: 9999px;
    pointer-events: none;
}

.bento-flex-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .bento-flex-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.bento-flex-row > .bento-flex-text { flex: 1 1 65%; }
.bento-flex-graphic { flex: 0 0 35%; display: flex; justify-content: center; }

.bento-border-dark { border-color: rgba(30,41,59,.8); }
.bento-border-light { border-color: var(--slate-100); }
.bento-border-white-10 { border-color: rgba(255,255,255,.1); }
.bento-text-muted { color: var(--slate-300); }
.bento-text-muted-light { color: var(--slate-500); }
.bento-text-slate-300 { color: var(--slate-300); }
.bento-check-cyan i { color: var(--brand-cyan); }

@keyframes bento-pulse {
    0%,100% { opacity: 1; }
    50% { opacity: .8; }
}
.bento-pulse { animation: bento-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

@keyframes bento-ping {
    75%,100% { transform: scale(1.1); opacity: 0; }
}
.bento-ping { animation: bento-ping 3s cubic-bezier(0,0,.2,1) infinite; }

/* ===== Proyectos Section ===== */
.proyectos-section {
    padding: 6rem 1.25rem;
    background: var(--slate-100);
    position: relative;
    overflow: hidden;
}
.proyectos-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 768px) {
    .proyectos-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .proyectos-badge.glass-panel { display: none; }
}
@media (min-width: 1024px) { .proyectos-grid { grid-template-columns: 1fr 1fr; } }

.proyectos-image-block { position: relative; }
.proyectos-dashed {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(48,86,161,.2);
    border-radius: 1.5rem;
    transform: rotate(-1deg);
    pointer-events: none;
}
.proyectos-image-wrap {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    position: relative;
}
.proyectos-image-wrap img {
    width: 100%;
    object-fit: cover;
    height: 450px;
    display: block;
}
.proyectos-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.6), transparent);
}
.proyectos-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}
.proyectos-badge-label {
    display: block;
    color: var(--slate-500);
    font-size: .75rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}
.proyectos-badge-title {
    color: var(--brand-blue);
    font-size: .9375rem;
    font-weight: var(--fw-bold);
}
.proyectos-badge-desc {
    font-size: .875rem;
    color: var(--slate-500);
    margin-top: .125rem;
}
.proyectos-badge-top {
    background: var(--brand-blue);
    color: #fff;
    padding: .625rem 1rem;
    border-radius: .75rem;
    font-weight: var(--fw-bold);
    text-align: center;
}
.proyectos-badge-top span:first-child {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    opacity: .8;
}
.proyectos-badge-top span:last-child { font-size: .9375rem; }

.proyectos-content {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.proyectos-tag {
    color: var(--brand-accent);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    font-size: .75rem;
}
.proyectos-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-bold);
    color: var(--slate-900);
    line-height: var(--lh-heading);
    margin-top: .5rem;
    margin-bottom: .25rem;
}
.proyectos-text {
    color: var(--slate-600);
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
}

.proyectos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.proyecto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(30,41,59,.08);
    border-radius: 1rem;
    transition: all .3s;
    cursor: default;
}
.proyecto-item:hover {
    background: #fff;
    border-color: var(--slate-300);
}
.proyecto-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(6,182,212,.1);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    flex-shrink: 0;
}
.proyecto-icon i { font-size: 1.125rem; }
.proyecto-item-title {
    font-weight: var(--fw-bold);
    color: var(--slate-900);
    font-size: .9375rem;
    margin: 0;
}
.proyecto-item-text {
    font-size: .875rem;
    color: var(--slate-500);
    margin-top: .25rem;
}

/* ===== Clientes Marquee ===== */
.clientes-section {
    padding: 4rem 1.25rem 0;
    background: var(--brand-darkBlue);
    border-top: 1px solid var(--slate-800);
    border-bottom: 1px solid var(--slate-800);
}
.clientes-header {
    max-width: 80rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.clientes-heading-label {
    display: block;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}
.clientes-heading-sub {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--slate-500);
    margin-top: .25rem;
}
.clientes-slider {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}
.clientes-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: fit-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
.cliente-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    opacity: .5;
    transition: opacity .4s;
    cursor: pointer;
    flex-shrink: 0;
}
.cliente-item:hover { opacity: 1; }
.cliente-item img {
    height: 100%;
    width: auto;
    max-height: 2.5rem;
    object-fit: contain;
    display: block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 25s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }

/* ===== Testimonios ===== */
.testimonios-wrapper {
    max-width: 80rem;
    margin: 3rem auto 0;
    padding: 4rem 0;
    border-top: 1px solid var(--slate-800);
}
.testimonios-header {
    text-align: center;
    margin-bottom: 3rem;
}
.testimonios-accent {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}
.testimonios-carousel {
    max-width: 48rem;
    margin: 0 auto;
    overflow: hidden;
}
.testimonios-track {
    display: flex;
    width: 300%;
    animation: testimonios-cycle 18s ease-in-out infinite;
}
@keyframes testimonios-cycle {
    0%, 24% { transform: translateX(0); }
    28%, 57% { transform: translateX(-33.333%); }
    61%, 90% { transform: translateX(-66.666%); }
    94%, 100% { transform: translateX(0); }
}
.testimonio-card {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 0 2rem;
    box-sizing: border-box;
}
.testimonio-icon {
    font-size: 2.5rem;
    color: var(--brand-cyan);
    opacity: .3;
    line-height: 1;
}
.testimonio-text {
    font-style: italic;
    color: var(--slate-300);
    font-size: .9375rem;
    line-height: var(--lh-loose);
    font-weight: var(--fw-light);
    margin: 0;
}
.testimonio-author {
    font-weight: var(--fw-bold);
    color: #fff;
    font-size: .9375rem;
}
.testimonio-user {
    font-size: .875rem;
    color: var(--brand-cyan);
    margin-top: .25rem;
}

/* ===== Contacto Section ===== */
.contacto-section {
    padding: 6rem 1.25rem;
    background: #fff;
}
.contacto-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.contacto-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.contacto-tag {
    color: var(--brand-blue);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    font-size: .75rem;
}
.contacto-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-bold);
    color: var(--slate-900);
    line-height: var(--lh-heading);
    margin: 0;
}
.contacto-text {
    color: var(--slate-500);
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}
@media (min-width: 1024px) { .contacto-grid { grid-template-columns: 1fr 1fr; } }

.contacto-form-wrap {
    background: var(--slate-50);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(30,41,59,.1);
}

/* ===== Global Contact Form 7 Styles ===== */

.wpcf7 p {
    margin: 0px !important;
}
.wpcf7-field-row-block .wpcf7-form-control-wrap[data-name="your-name"] {
    padding-bottom: 0px !important;
}
.wpcf7 br {
    display: none !important;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap[data-name="acepto-comunicaciones"] {
    padding-bottom: 0 !important;
}
.wpcf7 .wpcf7-form {
    margin: 0;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    padding: 0 0 1.25rem;
}
.wpcf7 .wpcf7-form .wpcf7-field-row {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.wpcf7 .wpcf7-form .wpcf7-field-row-block {
    flex: none;
    width: 100%;
}
@media (min-width: 640px) {
    .wpcf7 .wpcf7-form .wpcf7-field-row {
        flex-direction: row;
    }
    .wpcf7 .wpcf7-form .wpcf7-field-row-block {
        flex: 1;
        width: auto;
    }
}
.wpcf7 .wpcf7-form label.wpcf7-field-label {
    display: block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: var(--fw-bold);
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin: 0 0 .25rem;
    hyphens: none;
    word-break: normal;
    word-wrap: normal;
}
.wpcf7 .wpcf7-form .wpcf7-required-label {
    color: var(--brand-accent);
}

.wpcf7 .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.wpcf7 .wpcf7-form select,
.wpcf7 .wpcf7-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: none;
    border-radius: .75rem;
    background: #fff !important;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: var(--fw-normal);
    color: var(--slate-900);
    transition: background .3s, box-shadow .3s;
    outline: none;
    line-height: 1.5;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px var(--slate-200);
    margin: 0;
}
.wpcf7 .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):focus,
.wpcf7 .wpcf7-form select:focus,
.wpcf7 .wpcf7-form textarea:focus {
    box-shadow: inset 0 0 0 1px var(--brand-blue), 0 0 0 3px rgba(48,86,161,.15);
    background: #fff !important;
}
.wpcf7 .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):hover,
.wpcf7 .wpcf7-form select:hover,
.wpcf7 .wpcf7-form textarea:hover {
    box-shadow: inset 0 0 0 1px var(--slate-300);
}
.wpcf7 .wpcf7-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a3b8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem;
    background-color: #fff !important;
    border-radius: .75rem;
}
.wpcf7 .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    border-radius: .75rem;
}
.wpcf7 .wpcf7-form input[type=file] {
    width: 100%;
    padding: .5rem 1rem;
    border: none;
    border-radius: .75rem;
    background: #fff;
    font-family: var(--font-body);
    font-size: .8125rem;
    color: var(--slate-700);
    box-shadow: inset 0 0 0 1px var(--slate-200);
    box-sizing: border-box;
    cursor: pointer;
    line-height: 2;
}
.wpcf7 .wpcf7-form input[type=file]::file-selector-button {
    padding: .35rem 1rem;
    margin-right: .75rem;
    border: none;
    border-radius: .5rem;
    background: var(--brand-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: .75rem;
    cursor: pointer;
    transition: background .3s;
}
.wpcf7 .wpcf7-form input[type=file]::file-selector-button:hover {
    background: #1a3f7a;
}
.wpcf7 .wpcf7-form input::placeholder,
.wpcf7 .wpcf7-form textarea::placeholder {
    color: var(--slate-400);
}
.wpcf7 .wpcf7-form .wpcf7-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--brand-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 1rem 2rem;
    border: none;
    border-radius: .75rem;
    cursor: pointer;
    line-height: 1.5;
    height: auto;
    transition: background .3s, transform .3s, box-shadow .3s;
}
.wpcf7 .wpcf7-form .wpcf7-submit:hover {
    background: #ea580c;
    box-shadow: 0 10px 30px -5px rgba(249,115,22,.35);
    transform: translateY(-2px);
}
.wpcf7 .wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
}
.wpcf7 .wpcf7-form .wpcf7-checkbox,
.wpcf7 .wpcf7-form .wpcf7-acceptance {
    display: block;
    margin-bottom: .5rem;
}
.wpcf7 .wpcf7-form .wpcf7-list-item {
    margin: 0;
    list-style: none;
}
.wpcf7 .wpcf7-form .wpcf7-list-item input {
    margin-right: .5rem;
    accent-color: var(--brand-blue);
    border: none;
    background: none;
    box-shadow: none;
    outline: none;
    width: auto;
    height: auto;
}
.wpcf7 .wpcf7-form .wpcf7-list-item-label {
    font-size: .875rem;
    color: var(--slate-500);
    font-family: var(--font-body);
}
.wpcf7 .wpcf7-form .wpcf7-list-item-label a {
    color: var(--brand-blue);
    font-weight: var(--fw-semibold);
}
.wpcf7 .wpcf7-form .wpcf7-not-valid-tip {
    font-size: .75rem;
    color: var(--brand-accent);
    margin-top: .25rem;
}

.blog-sidebar .sidebar-widget.widget_block, .single-post-sidebar .sidebar-widget.widget_block {
    font-size: 0.8rem;
}

.contacto-offices { display: flex; flex-direction: column; gap: 1.5rem; }
.contacto-tabs-bg {
    background: var(--slate-50);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(30,41,59,.1);
}
.contacto-tabs-label {
    display: block;
    text-align: center;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-bottom: .75rem;
}
.contacto-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
@media (min-width: 640px) { .contacto-tabs { grid-template-columns: repeat(4, 1fr); } }
.contacto-tab-btn {
    padding: .625rem 1rem;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    border-radius: .75rem;
    border: 1px solid var(--slate-200);
    background: #fff;
    color: var(--slate-600);
    cursor: pointer;
    transition: all .3s;
}
.contacto-tab-btn:hover { background: var(--slate-100); }
.contacto-tab-btn--active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.contacto-maps {
    background: var(--slate-50);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(30,41,59,.1);
}
.map-panel { display: none; flex-direction: column; gap: 1.5rem; }
.map-panel--active { display: flex; }
.map-frame {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    height: 260px;
    position: relative;
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.office-name {
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
    font-weight: var(--fw-bold);
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
}
.office-name i { color: var(--brand-accent); }
.office-address {
    font-size: .9375rem;
    color: var(--slate-600);
    font-weight: var(--fw-light);
}
.office-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: .25rem;
    font-size: .875rem;
    font-weight: var(--fw-semibold);
    color: var(--slate-500);
}
.office-contacts i { color: var(--brand-cyan); margin-right: .25rem; }

/* ===== Pulse Dot ===== */
.pulse-dot { position: relative; }
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse-ring 1.5s cubic-bezier(.215,.61,.355,1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(.95); opacity: .8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ===== Elementor Canvas Compatibility ===== */
.elementor-page .entry-content > * {
    max-width: 100%;
    padding: 0;
}

/* ===== Blog Archive ===== */
.blog-section {
    padding: 4rem 1.25rem;
    background: var(--slate-50);
    min-height: 60vh;
}
.blog-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
.blog-main {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 320px;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .blog-inner { flex-direction: column; }
    .blog-sidebar { width: 100%; }
}
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}
.blog-header-title {
    margin: 0;
}
.blog-header-desc {
    margin-top: .75rem;
    color: var(--slate-500);
    font-size: 1.125rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

.blog-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.08);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
}
.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-100);
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    color: var(--slate-400);
}
.blog-card-cat {
    display: inline-block;
    padding: .125rem .5rem;
    border-radius: 999px;
    background: rgba(48,86,161,.1);
    color: var(--brand-blue);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: .625rem;
    text-decoration: none;
    transition: background .2s;
}
.blog-card-cat:hover {
    background: rgba(48,86,161,.2);
}
.blog-card-sep {
    color: var(--slate-300);
}
.blog-card-date {
    color: var(--slate-400);
}
.blog-card-title {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
}
.blog-card-title a {
    color: var(--slate-900);
    text-decoration: none;
    transition: color .2s;
}
.blog-card-title a:hover {
    color: var(--brand-blue);
}
.blog-card-excerpt {
    font-size: .875rem;
    color: var(--slate-500);
    line-height: var(--lh-body);
    flex: 1;
}
.blog-card-excerpt p {
    margin: 0;
}
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: var(--fw-bold);
    color: var(--brand-blue);
    text-decoration: none;
    transition: color .2s;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--slate-100);
}
.blog-card-link:hover {
    color: var(--brand-accent);
}
.blog-card-link i {
    font-size: .75rem;
    transition: transform .2s;
}
.blog-card-link:hover i {
    transform: translateX(3px);
}

/* Pagination */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .5rem;
    border-radius: .625rem;
    font-size: .875rem;
    font-weight: var(--fw-semibold);
    color: var(--slate-600);
    text-decoration: none;
    transition: all .2s;
    border: 1px solid var(--slate-200);
    background: #fff;
}
.blog-pagination a:hover {
    background: var(--slate-100);
    border-color: var(--slate-300);
}
.blog-pagination .current {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}
.blog-pagination .prev,
.blog-pagination .next {
    border: none;
    background: none;
    color: var(--slate-500);
}
.blog-pagination .prev:hover,
.blog-pagination .next:hover {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
}

.blog-empty {
    text-align: center;
    color: var(--slate-400);
    font-size: 1rem;
    padding: 4rem 0;
}

/* ===== Single Post ===== */
.single-post-section {
    padding: 4rem 1.25rem;
    background: var(--slate-50);
    min-height: 60vh;
}
.single-post-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
.single-post-main {
    flex: 1;
    min-width: 0;
}
.single-post-sidebar {
    width: 320px;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .single-post-inner { flex-direction: column; }
    .single-post-sidebar { width: 100%; }
}

.single-post-article {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem;
    overflow: hidden;
}

.single-post-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-100);
}
.single-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post-header {
    padding: 2rem 2rem 0;
}
.single-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
    font-size: .8125rem;
    color: var(--slate-400);
    margin-bottom: .75rem;
}
.single-post-cat {
    display: inline-block;
    padding: .125rem .5rem;
    border-radius: 999px;
    background: rgba(48,86,161,.1);
    color: var(--brand-blue);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: .625rem;
    text-decoration: none;
    transition: background .2s;
}
.single-post-cat:hover { background: rgba(48,86,161,.2); }
.single-post-sep { color: var(--slate-300); }
.single-post-date { color: var(--slate-400); }
.single-post-author { color: var(--slate-500); font-weight: var(--fw-semibold); }
.single-post-title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    color: var(--brand-blue);
}

.single-post-content {
    padding: 2rem;
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-loose);
    color: var(--slate-700);
}
.single-post-content p {
    margin: 0 0 1.25rem;
}
.single-post-content p:last-child { margin-bottom: 0; }
.single-post-content a {
    color: var(--brand-blue);
    font-weight: var(--fw-semibold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}
.single-post-content a:hover { color: var(--brand-accent); }
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    margin: 2rem 0 .75rem;
    color: var(--slate-900);
}
.single-post-content h2 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}
.single-post-content h3 {
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
}
.single-post-content h4 {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
}
.single-post-content h5 {
    font-size: clamp(.9375rem, 1vw, 1rem);
}
.single-post-content h2:first-child,
.single-post-content h3:first-child { margin-top: 0; }
.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
    display: block;
}
.single-post-content figure {
    margin: 1.5rem 0;
}
.single-post-content figcaption {
    font-size: .8125rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: .5rem;
}
.single-post-content blockquote {
    border-left: 4px solid var(--brand-accent);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: var(--slate-50);
    border-radius: 0 .75rem .75rem 0;
    font-style: italic;
    color: var(--slate-600);
}
.single-post-content blockquote p:last-child { margin-bottom: 0; }
.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.single-post-content li { margin-bottom: .375rem; }
.single-post-content hr {
    border: none;
    border-top: 1px solid var(--slate-200);
    margin: 2rem 0;
}
.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .875rem;
}
.single-post-content th,
.single-post-content td {
    border: 1px solid var(--slate-200);
    padding: .75rem 1rem;
    text-align: left;
}
.single-post-content th {
    background: var(--slate-100);
    font-weight: var(--fw-semibold);
    color: var(--slate-700);
}
.single-post-content pre {
    background: var(--slate-900);
    color: var(--slate-200);
    padding: 1.25rem;
    border-radius: .75rem;
    overflow-x: auto;
    font-size: .8125rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.single-post-content code {
    background: var(--slate-100);
    padding: .125rem .375rem;
    border-radius: .25rem;
    font-size: .8125rem;
    color: var(--slate-800);
}
.single-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.single-post-tags {
    padding: 0 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.single-post-tags-label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--slate-400);
}
.single-post-tag {
    display: inline-block;
    padding: .25rem .625rem;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: .75rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: all .2s;
}
.single-post-tag:hover {
    background: var(--brand-blue);
    color: #fff;
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--slate-100);
}
.single-post-nav a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: var(--fw-semibold);
    color: var(--brand-blue);
    text-decoration: none;
    transition: color .2s;
}
.single-post-nav a:hover { color: var(--brand-accent); }
.single-post-nav i {
    font-size: .75rem;
    transition: transform .2s;
}
.single-post-nav-prev:hover i { transform: translateX(-3px); }
.single-post-nav-next:hover i { transform: translateX(3px); }
.single-post-nav-prev { max-width: 45%; }
.single-post-nav-next { max-width: 45%; text-align: right; }

/* Comments */
.single-post-article .comment-respond,
.single-post-article .comments-area {
    padding: 0 2rem 2rem;
}
.single-post-article .comment-reply-title {
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
}
.single-post-article .comment-form p { margin-bottom: 1rem; }
.single-post-article .comment-form input[type=text],
.single-post-article .comment-form input[type=email],
.single-post-article .comment-form input[type=url],
.single-post-article .comment-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: none;
    border-radius: .75rem;
    background: var(--slate-50);
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--slate-900);
    transition: box-shadow .3s;
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px var(--slate-200);
}
.single-post-article .comment-form input:focus,
.single-post-article .comment-form textarea:focus {
    box-shadow: inset 0 0 0 1px var(--brand-blue), 0 0 0 3px rgba(48,86,161,.15);
}
.single-post-article .comment-form textarea { min-height: 120px; resize: vertical; }
.single-post-article .comment-form .form-submit { padding-top: .5rem; }
.single-post-article .comment-form .submit {
    background: var(--brand-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    padding: .75rem 2rem;
    border-radius: .75rem;
    border: none;
    font-size: .8125rem;
    cursor: pointer;
    transition: background .3s, transform .3s, box-shadow .3s;
}
.single-post-article .comment-form .submit:hover {
    background: rgba(48,86,161,.9);
    box-shadow: 0 10px 30px -5px rgba(48,86,161,.35);
    transform: translateY(-2px);
}
.single-post-article .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.single-post-article .comment {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--slate-100);
}
.single-post-article .comment:last-child { border-bottom: none; }
.single-post-article .comment-author { font-weight: var(--fw-bold); color: var(--slate-900); }
.single-post-article .comment-metadata { font-size: .75rem; color: var(--slate-400); margin-bottom: .5rem; }
.single-post-article .comment-content { font-size: .875rem; color: var(--slate-600); }

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget-title {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--brand-accent);
    margin: 0 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--slate-100);
}
.sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-widget li {
    padding: .375rem 0;
    border-bottom: 1px solid var(--slate-50);
}
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a {
    color: var(--slate-600);
    font-size: .875rem;
    font-weight: var(--fw-light);
    text-decoration: none;
    transition: color .2s;
}
.sidebar-widget a:hover { color: var(--brand-blue); }
.sidebar-widget .searchform {
    display: flex;
}
.sidebar-widget .searchform input.s {
    flex: 1;
    border: 1px solid var(--slate-200);
    border-right: none;
    background: var(--slate-50);
    font-size: .875rem;
    padding: .625rem 1rem;
    border-radius: .75rem 0 0 .75rem;
    outline: none;
    box-sizing: border-box;
}
.sidebar-widget .searchform input.s:focus {
    border-color: var(--brand-blue);
}
.sidebar-widget .searchSubmit {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    width: 44px;
    border-radius: 0 .75rem .75rem 0;
    cursor: pointer;
    transition: background .2s;
}
.sidebar-widget .searchSubmit:hover { background: rgba(48,86,161,.85); }
.sidebar-widget select {
    width: 100%;
    padding: .625rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: .75rem;
    background: var(--slate-50);
    font-size: .875rem;
    color: var(--slate-600);
    outline: none;
}
.sidebar-widget select:focus { border-color: var(--brand-blue); }
.sidebar-widget img {
    max-width: 100%;
    height: auto;
    border-radius: .5rem;
}
.sidebar-widget .tagcloud a {
    display: inline-block;
    padding: .25rem .625rem;
    margin: .15rem;
    border-radius: 999px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    font-size: .75rem !important;
    color: var(--slate-600);
    text-decoration: none;
    transition: all .2s;
}
.sidebar-widget .tagcloud a:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}
.sidebar-widget .wp-block-latest-posts__featured-image img {
    border-radius: .5rem;
    max-width: 100%;
}
.sidebar-widget .wp-block-latest-posts__post-title {
    color: var(--slate-700);
    font-weight: var(--fw-semibold);
}
.sidebar-widget .wp-block-categories-dropdown { margin: 0; }

/* Sidebar: Block search widget */
.sidebar-widget .wp-block-search__inside-wrapper {
    display: flex;
    gap: 0;
    margin: 0;
}
.sidebar-widget .wp-block-search__label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--slate-700);
    margin-bottom: .75rem;
    display: block;
}
.sidebar-widget .wp-block-search__input {
    flex: 1;
    border: 1px solid var(--slate-200);
    border-right: none;
    background: var(--slate-50);
    font-size: .875rem;
    padding: .625rem 1rem;
    border-radius: .5rem 0 0 .5rem;
    outline: none;
    box-sizing: border-box;
    font-family: var(--font-body);
    color: var(--slate-900);
    margin: 0;
}
.sidebar-widget .wp-block-search__input:focus {
    border-color: var(--brand-blue);
    outline: none;
}
.sidebar-widget .wp-block-search__button {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    width: 44px;
    min-width: 44px;
    border-radius: 0 .5rem .5rem 0;
    cursor: pointer;
    transition: background .2s;
    font-size: 0;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 0;
    height: 44px;
    box-shadow: none;
}
.sidebar-widget .wp-block-search__button::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .875rem;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.sidebar-widget .wp-block-search__button:hover {
    background: rgba(48,86,161,.85);
}

/* Sidebar: CF7 size overrides */
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-form-control-wrap {
    padding: 0 0 .75rem;
}
.sidebar-widget .wpcf7 .wpcf7-form label.wpcf7-field-label {
    font-size: .6875rem;
    margin-bottom: .125rem;
}
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-field-row {
    gap: .5rem;
}
.sidebar-widget .wpcf7 .wpcf7-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.sidebar-widget .wpcf7 .wpcf7-form select,
.sidebar-widget .wpcf7 .wpcf7-form textarea {
    padding: .5rem .75rem;
    font-size: .8125rem;
}
.sidebar-widget .wpcf7 .wpcf7-form select {
    padding-right: 2rem;
    background-position: right .65rem center !important;
}
.sidebar-widget .wpcf7 .wpcf7-form textarea {
    min-height: 70px;
}
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-submit {
    padding: .625rem 1.25rem;
    font-size: .75rem;
}
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-list-item {
    margin-bottom: .35rem;
}
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-list-item input {
    margin-right: .35rem;
}
.sidebar-widget .wpcf7 .wpcf7-form .wpcf7-list-item-label {
    font-size: .75rem;
}

/* ===== Page Servicios ===== */
.services-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-darkBlue);
    padding: 6rem 1.25rem;
    overflow: hidden;
    border-bottom: 1px solid var(--slate-900);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Grid overlay */
.services-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #0f172a 1px, transparent 1px),
        linear-gradient(to bottom, #0f172a 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
    opacity: .35;
    pointer-events: none;
}

/* Scanline animation */
.services-hero-scanline {
    position: absolute;
    inset-inline: 0;
    height: 7rem;
    background: linear-gradient(to bottom, transparent, rgba(6,182,212,.05), transparent);
    pointer-events: none;
    z-index: 10;
    animation: services-scanline 8s linear infinite;
}
@keyframes services-scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Background image */
.services-hero-bg {
    position: absolute;
    inset: 0;
    opacity: .2;
}
.services-hero-bg img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    filter: grayscale(1);
    mix-blend-mode: luminosity;
}
.services-hero--img-top .services-hero-bg img {
    object-position: top;
}

/* Content */
.services-hero-content {
    position: relative;
    z-index: 20;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* Breadcrumb */
.services-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 1rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 999px;
    font-size: .75rem;
    font-family: var(--font-heading);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.services-hero-breadcrumb a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color .2s;
}
.services-hero-breadcrumb a:hover { color: var(--brand-cyan); }
.services-hero-breadcrumb .sep {
    color: var(--slate-700);
}
.services-hero-breadcrumb .current {
    color: var(--brand-cyan);
    font-weight: var(--fw-semibold);
}

/* Title */
.services-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    letter-spacing: var(--ls-tight);
    line-height: 1.1;
    color: #fff;
    margin: 0;
}
.services-hero-gradient {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero two-column section */
.hero-two-col {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    margin-top: 1.5rem;
    max-width: 64rem;
}
@media (min-width: 768px) {
    .hero-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}
.hero-two-col-text h2 {
    color: var(--brand-accent);
    font-weight: var(--fw-semibold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .8125rem;
    margin: 0 0 .75rem;
}
.hero-two-col-text p {
    font-size: .9375rem;
    color: var(--slate-300);
    line-height: 1.7;
    margin: 0;
    font-weight: var(--fw-light);
}
.hero-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-800);
    background: #000;
}
.hero-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero {
        min-height: 40vh;
        padding: 5rem 1.25rem 3rem;
    }
    .services-hero-title {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }
    .services-hero-grid {
        background-size: 2rem 2rem;
    }
    .services-hero-scanline {
        height: 4rem;
    }
    .services-hero-breadcrumb {
        font-size: .625rem;
        padding: .25rem .75rem;
    }
    .hero-two-col {
        margin-top: 1rem;
    }
}

/* ===== Services Intro ===== */
.services-intro {
    padding: 6rem 1.25rem;
    background: var(--slate-900);
}
.services-intro-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .services-intro-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* Text column */
.services-intro-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.services-intro-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.services-intro-label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.services-intro-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1.15;
    letter-spacing: var(--ls-tight);
    margin: 0;
}
.services-intro-desc {
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-loose);
    color: var(--slate-400);
    margin: 0;
}
.services-intro-desc--accent {
    color: var(--brand-accent);
    font-weight: var(--fw-semibold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .8125rem;
    margin-top: .5rem;
}
.services-intro-desc--blue {
    color: var(--brand-blue);
}
.services-intro-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.services-intro-list li {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .9375rem;
    font-weight: var(--fw-light);
    color: var(--slate-400);
    line-height: var(--lh-body);
}
.services-intro-list li::before {
    content: '—';
    color: var(--brand-accent);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}

/* Image column */
.services-intro-image-col {
    display: flex;
    justify-content: center;
    position: relative;
}
.services-intro-image-col::before {
    content: '';
    position: absolute;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 0;
    transform: translateX(calc(-50% - 16px)) translateY(-16px);
    border: 1px solid var(--brand-blue);
    border-radius: 1.5rem;
    pointer-events: none;
    z-index: 0;
}
.services-intro-image-col:has(video)::before,
.services-intro-image-col--no-border::before {
    display: none;
}
.services-intro-image-wrap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--slate-800);
    background: var(--slate-900);
    z-index: 1;
}
.services-intro-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    opacity: .65;
    filter: contrast(1.1) brightness(1.15);
    flex-shrink: 0;
}
.services-intro-image-wrap:has(video) {
    aspect-ratio: auto;
}
.services-intro-image-wrap video {
    width: 100%;
    height: auto !important;
    display: block;
    opacity: .65;
    filter: contrast(1.1) brightness(1.15);
}
.services-intro-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,182,212,.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.services-intro-image-col--img-top .services-intro-img {
    object-position: top;
}

/* Dot grid overlay */
.services-intro-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--brand-cyan) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: .25;
    pointer-events: none;
}

/* HUD panel */
.services-intro-hud {
    position: absolute;
    padding: .5rem 1rem;
    border-radius: .75rem;
    background: rgba(15,23,42,.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
}
.services-intro-hud--tl {
    top: 1.5rem;
    left: 1.5rem;
    border-color: rgba(6,182,212,.2);
}
.services-intro-hud-label {
    display: block;
    font-size: .5625rem;
    font-family: var(--font-heading);
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.services-intro-hud-value {
    font-size: .875rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: #fff;
}

/* SVG scan lines */
.services-intro-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--brand-cyan);
    opacity: .4;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-intro {
        padding: 4rem 1.25rem;
    }
    .services-intro-inner {
        gap: 2.5rem;
    }
    .services-intro-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}
@media (max-width: 768px) {
    .services-intro-hud--tl {
        top: 1rem;
        left: 1rem;
        padding: .375rem .75rem;
    }
    .services-intro-hud-label {
        font-size: .5rem;
    }
    .services-intro-hud-value {
        font-size: .75rem;
    }
}

/* ===== Services Solución ===== */
.services-solucion {
    padding: 6rem 1.25rem;
    background: var(--slate-100);
}
.services-solucion-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .services-solucion-inner {
        grid-template-columns: 1fr 1fr;
    }
    .services-solucion-text {
        order: 2;
    }
    .services-solucion-image-col {
        order: 1;
    }
}

/* Text column */
.services-solucion-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.services-solucion-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.services-solucion-label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.services-solucion-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: var(--fw-bold);
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: var(--ls-tight);
    margin: 0;
}
.services-solucion-desc {
    font-size: .9375rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-loose);
    color: var(--slate-600);
    margin: 0;
}


/* Image column */
.services-solucion-image-col {
    display: flex;
    justify-content: center;
    position: relative;
}
.services-solucion-image-col::before {
    content: '';
    position: absolute;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 0;
    transform: translateX(calc(-50% + 16px)) translateY(-16px);
    border: 1px solid var(--brand-blue);
    border-radius: 1.5rem;
    pointer-events: none;
    z-index: 0;
}
.services-solucion-image-col--no-border::before {
    display: none;
}
.services-solucion-image-wrap--no-border {
    border: none;
    background: none;
    border-radius: 0;
}
.services-solucion-image-wrap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--slate-200);
    background: #fff;
    z-index: 1;
}
.services-solucion-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    opacity: .85;
    filter: contrast(1.1) brightness(1.1);
}
.services-solucion-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(48,86,161,.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.services-solucion-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--brand-blue) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: .15;
    pointer-events: none;
}

/* HUD panel */
.services-solucion-hud {
    position: absolute;
    padding: .5rem 1rem;
    border-radius: .75rem;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(48,86,161,.15);
}
.services-solucion-hud--br {
    bottom: 1.5rem;
    right: 1.5rem;
}
.services-solucion-hud-label {
    display: block;
    font-size: .5625rem;
    font-family: var(--font-heading);
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.services-solucion-hud-value {
    font-size: .875rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: var(--slate-900);
}

/* SVG scan lines */
.services-solucion-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--brand-blue);
    opacity: .2;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-solucion {
        padding: 4rem 1.25rem;
    }
    .services-solucion-inner {
        gap: 2.5rem;
    }
    .services-solucion-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}
@media (max-width: 768px) {
    .services-solucion-hud--br {
        bottom: 1rem;
        right: 1rem;
        padding: .375rem .75rem;
    }
    .services-solucion-hud-label {
        font-size: .5rem;
    }
    .services-solucion-hud-value {
        font-size: .75rem;
    }
}

/* ===== Services Cards Tech ===== */
.services-cards-tech {
    padding: 7rem 1.25rem;
    background: var(--slate-800);
    position: relative;
    overflow: hidden;
}
.services-cards-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2022/03/lines-vector-map-seamless-pattern.jpg');
    background-size: 400px;
    background-repeat: repeat;
    opacity: .08;
    pointer-events: none;
}
.services-cards-tech::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--slate-800) 0%, rgba(48,86,161,.15) 50%, var(--slate-800) 100%);
    pointer-events: none;
}
.services-cards-tech-inner {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.services-cards-tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) {
    .services-cards-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.services-cards-tech-card {
    background: var(--slate-900);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(6,182,212,.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    transition: all .3s ease;
}
.services-cards-tech-card:hover {
    box-shadow: 0 0 20px 2px rgba(6,182,212,.25);
    border-color: rgba(6,182,212,.7);
}
.services-cards-tech-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(6,182,212,.1);
    border: 1px solid rgba(6,182,212,.15);
    flex-shrink: 0;
}
.services-cards-tech-icon img {
    width: 2rem;
    height: 2rem;
    display: block;
    filter: brightness(0) saturate(100%) invert(82%) sepia(48%) saturate(1352%) hue-rotate(152deg) brightness(95%) contrast(101%);
}
.services-cards-tech-title {
    font-size: .875rem;
    font-weight: var(--fw-semibold);
    font-family: var(--font-body);
    color: #fff;
    line-height: 1.5;
    letter-spacing: var(--ls-tight);
    margin: 0;
}

/* ===== Services Drone Cards (5-column) ===== */
.services-drone-cards {
    padding: 5rem 1.25rem;
    background: var(--bg, var(--slate-800));
    position: relative;
}
.services-drone-cards--pattern {
    overflow: hidden;
}
.services-drone-cards--pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2022/03/lines-vector-map-seamless-pattern.jpg');
    background-size: 400px;
    background-repeat: repeat;
    opacity: .08;
    pointer-events: none;
}
.services-drone-cards-inner {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.services-drone-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}
.services-drone-cards-card {
    flex: 0 1 100%;
}

@media (min-width: 540px) {
    .services-drone-cards-card {
        flex-basis: calc(50% - .625rem);
        max-width: calc(50% - .625rem);
    }
}
@media (min-width: 820px) {
    .services-drone-cards-card {
        flex-basis: calc(33.333% - .875rem);
        max-width: calc(33.333% - .875rem);
    }
}
@media (min-width: 1100px) {
    .services-drone-cards-card {
        flex-basis: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
    }
    /* Column count modifiers — override default 5-column layout */
    .services-drone-cards-grid--cols-4 .services-drone-cards-card {
        flex-basis: calc(25% - .9375rem);
        max-width: calc(25% - .9375rem);
    }
    .services-drone-cards-grid--cols-3 .services-drone-cards-card {
        flex-basis: calc(33.333% - .833rem);
        max-width: calc(33.333% - .833rem);
    }
}

.services-drone-cards-card {
    background: var(--slate-900);
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(6,182,212,.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center;
    transition: all .3s ease;
}
.services-drone-cards-card:hover {
    box-shadow: 0 0 20px 2px rgba(6,182,212,.2);
    border-color: rgba(6,182,212,.5);
}

.services-drone-cards-icon-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}
.services-drone-cards-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(6,182,212,.1);
    border: 1px solid rgba(6,182,212,.15);
    transition: all .3s ease;
}
.services-drone-cards-card:hover .services-drone-cards-icon {
    background: rgba(6,182,212,.18);
    border-color: rgba(6,182,212,.3);
}
.services-drone-cards-icon img {
    width: 1.75rem;
    height: 1.75rem;
    display: block;
    filter: brightness(0) saturate(100%) invert(82%) sepia(48%) saturate(1352%) hue-rotate(152deg) brightness(95%) contrast(101%);
}

.services-drone-cards-title {
    font-size: 1rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.3;
    letter-spacing: var(--ls-tight);
    margin: 0;
}

.services-drone-cards-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
    margin-top: auto;
    transition: color .3s;
}
.services-drone-cards-link:hover {
    color: var(--brand-cyan);
}

/* ===== Services Benefits (10 cards numbered) ===== */
.services-benefits {
    padding: 5rem 1.25rem;
    background: var(--bg, var(--slate-800));
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}
.services-benefits-inner {
    max-width: 80rem;
    margin: 0 auto;
}
.services-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}
.services-benefits-card {
    flex: 0 1 100%;
    background: var(--slate-900);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(6,182,212,.15);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: all .3s ease;
}
.services-benefits-card:hover {
    box-shadow: 0 0 20px 2px rgba(6,182,212,.2);
    border-color: rgba(6,182,212,.45);
}

.services-benefits-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: var(--fw-bold);
    color: rgba(6,182,212,.18);
    line-height: 1;
    margin-bottom: .25rem;
}
.services-benefits-title {
    font-size: .875rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.35;
    margin: 0;
}
.services-benefits-desc {
    font-size: .75rem;
    font-weight: var(--fw-light);
    color: var(--slate-400);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 540px) {
    .services-benefits-card {
        flex-basis: calc(50% - .625rem);
        max-width: calc(50% - .625rem);
    }
}
@media (min-width: 820px) {
    .services-benefits-card {
        flex-basis: calc(33.333% - .875rem);
        max-width: calc(33.333% - .875rem);
    }
}
@media (min-width: 1100px) {
    .services-benefits-card {
        flex-basis: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
    }
    .services-benefits-grid--cols-4 .services-benefits-card {
        flex-basis: calc(25% - .9375rem);
        max-width: calc(25% - .9375rem);
    }
}
.services-benefits-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    background: var(--brand-blue);
    flex-shrink: 0;
    margin-bottom: .5rem;
}
.services-benefits-icon svg {
    width: 1.375rem;
    height: 1.375rem;
    fill: #fff;
    display: block;
}
.services-benefits-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.services-benefits-header h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: #fff;
    margin: 0 0 .75rem;
    line-height: 1.15;
    letter-spacing: var(--ls-tight);
}
.services-benefits-header p {
    font-size: .9375rem;
    font-weight: var(--fw-light);
    color: var(--slate-400);
    line-height: var(--lh-loose);
    margin: 0;
}

/* ===== Accordion ===== */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.accordion-item {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.07);
    overflow: hidden;
    transition: box-shadow .3s, border-color .3s;
}
.accordion-item:hover {
    border-color: rgba(0,0,0,.12);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    scroll-margin-top: 5rem;
    font-weight: var(--fw-semibold);
    font-size: .9375rem;
    font-family: var(--font-body);
    color: var(--brand-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: background .3s;
    line-height: var(--lh-body);
}
.accordion-header h1,
.accordion-header h2,
.accordion-header h3,
.accordion-header h4,
.accordion-header h5,
.accordion-header h6,
.accordion-header p {
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
}
.accordion-header:hover {
    background: rgba(0,0,0,.02);
}
.accordion-header i {
    color: var(--brand-cyan);
    font-size: .75rem;
    transition: transform .3s;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordion-content-inner {
    padding: 1.25rem;
    padding-top: 0;
    font-size: .875rem;
    color: var(--slate-700);
    line-height: 1.7;
}
.accordion-content-inner p {
    margin: 0;
}
.accordion-content-inner p + p {
    padding-top: 15px;
}
.accordion-content-inner h2,
.accordion-content-inner h3,
.accordion-content-inner h4 {
    color: var(--brand-blue);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    font-size: .875rem;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}

/* Dark variant — matches the reference page style */
.acordeon-dark .accordion-item {
    background: var(--slate-900);
    border-color: rgba(148,163,184,.25);
}
.acordeon-dark .accordion-item:hover {
    border-color: rgba(148,163,184,.45);
}
.acordeon-dark .accordion-header {
    color: #fff;
    font-weight: var(--fw-bold);
}
.acordeon-dark .accordion-header:hover {
    background: rgba(30,41,59,.5);
}
.acordeon-dark .accordion-content-inner {
    padding: 1.25rem;
    padding-top: 0;
    background: rgba(15,23,42,.45);
    border-top: 1px solid rgba(15,23,42,.8);
    color: #fff;
    font-size: .8125rem;
    font-weight: var(--fw-light);
    line-height: 1.7;
}
.acordeon-dark .accordion-content-inner h2,
.acordeon-dark .accordion-content-inner h3,
.acordeon-dark .accordion-content-inner h4 {
    color: var(--brand-accent);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    font-size: .875rem;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}

/* ===== Ofimonitor Features ===== */
.ofi-features {
    padding: 5rem 1.25rem;
    background: var(--slate-50);
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}
.ofi-features-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .ofi-features-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .ofi-features-inner .ofi-features-list {
        order: 2;
    }
    .ofi-features-inner .services-solucion-text {
        order: 1;
    }
}
@media (min-width: 1024px) {
    .ofi-features-inner .services-solucion-text {
        order: 1;
    }
}
.ofi-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ofi-features-item {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
}
.ofi-features-item-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    margin-top: .125rem;
}
.ofi-features-item-text {
    font-size: .875rem;
    color: var(--slate-600);
    line-height: 1.65;
    font-weight: var(--fw-light);
    margin: 0;
}

/* ===== Services CTA ===== */
.services-cta {
    padding: 6rem 1.25rem;
    position: relative;
    overflow: hidden;
    background: var(--slate-900);
}
.services-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(48,86,161,.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(6,182,212,.15) 0%, transparent 50%);
    pointer-events: none;
}
.services-cta-inner {
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.services-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}
.services-cta-label {
    font-size: .75rem;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.services-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1.15;
    letter-spacing: var(--ls-tight);
    margin: 0;
}
.services-cta-desc {
    font-size: 1rem;
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
    color: var(--slate-400);
    margin: 0;
    max-width: 36rem;
}
.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    background: var(--brand-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 1rem 2rem;
    border-radius: .75rem;
    text-decoration: none;
    margin-top: .5rem;
    transition: background .3s, transform .3s, box-shadow .3s;
    animation: services-cta-float 3s ease-in-out infinite;
}
.services-cta-btn:hover {
    background: #ea580c;
    box-shadow: 0 10px 30px -5px rgba(249,115,22,.35);
    transform: translateY(-3px);
    animation: none;
}
.services-cta-btn i {
    font-size: .875rem;
    transition: transform .3s;
}
.services-cta-btn:hover i {
    transform: translateX(4px);
}
@keyframes services-cta-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .services-cta {
        padding: 4rem 1.25rem;
    }
    .services-cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .services-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Scroll Animations ===== */
.anim-rise {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
}
.anim-rise.is-visible {
    animation: anim-rise-keyframes 1s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes anim-rise-keyframes {
    0%   { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* 2. Shine: cyan sweep overlay fades in, crosses, fades out */
.anim-shine {
    position: relative;
    overflow: hidden;
}
.anim-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%, transparent 10%,
        rgba(6,182,212,.15) 30%,
        rgba(6,182,212,.45) 50%,
        rgba(6,182,212,.15) 70%,
        transparent 90%, transparent 100%
    );
    background-size: 200% 100%;
    background-position: 200% 0;
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
}
.anim-shine.is-visible::after {
    animation: anim-shine-keyframes 1.2s ease-out forwards;
}
@keyframes anim-shine-keyframes {
    0%   { opacity: 0; background-position: 200% 0; }
    15%  { opacity: 1; }
    50%  { opacity: 1; background-position: -50% 0; }
    85%  { opacity: 1; }
    100% { opacity: 0; background-position: -200% 0; }
}

/* 3. Clip: reveals text from left to right (clip-path, no overlay) */
.anim-clip {
    clip-path: inset(0 100% 0 0);
}
.anim-clip.is-visible {
    animation: anim-clip-reveal 1s cubic-bezier(.65,0,.35,1) .1s forwards;
}
@keyframes anim-clip-reveal {
    0%   { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

/* ===== Go Top Button ===== */
.go-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(1.25rem) scale(.85);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease, background .3s;
    box-shadow: 0 4px 16px rgba(48,86,161,.35);
}
.go-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.go-top:hover {
    background: var(--brand-accent);
    box-shadow: 0 4px 20px rgba(249,115,22,.4);
}
.go-top:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 3px;
}

/* ===== Utilities ===== */
.bento-mb-3 { margin-bottom: .75rem; }
.bento-mb-4 { margin-bottom: 1rem; }
.bento-mt-4 { margin-top: 1rem; }
.bento-mt-8 { margin-top: 2rem; }

/* List with check icons */
.list-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.list-checks li {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .9375rem;
    font-weight: var(--fw-light);
    color: var(--slate-600);
    line-height: var(--lh-body);
}
.list-checks li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-cyan);
    font-size: .75rem;
    flex-shrink: 0;
}

/* List with feature-style items (icon + bold label + description) */
.list-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.list-features li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9375rem;
    font-weight: var(--fw-light);
    color: var(--slate-600);
    line-height: var(--lh-loose);
}
.list-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-cyan);
    font-size: .75rem;
    flex-shrink: 0;
    margin-top: .35rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(6,182,212,.1);
}
.list-features li b,
.list-features li strong {
    color: var(--slate-900);
    font-weight: 700;
}
