:root {
    --th-blue: #075ca8;
    --th-blue-dark: #063b70;
    --th-blue-soft: #eaf5ff;
    --th-ice: #f3f9ff;
    --th-dark: #102033;
    --th-gray: #5f6b7a;
    --th-border: #dbeaf7;
    --th-white: #ffffff;
    --th-green: #16a36f;
    --th-shadow: 0 18px 45px rgba(13, 57, 98, 0.12);
    --th-radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--th-white);
    color: var(--th-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.top-bar {
    background: var(--th-blue-dark);
    color: var(--th-white);
    font-size: 14px;
}

.top-bar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--th-border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
    color: var(--th-blue);
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--th-blue), #38a7ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--th-white);
    font-weight: 900;
}

.logo-text small {
    display: block;
    font-size: 11px;
    color: var(--th-gray);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
    font-weight: 700;
}

.nav a {
    color: var(--th-dark);
}

.nav a:hover {
    color: var(--th-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--th-border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--th-white);
}

.lang-switch button {
    border: 0;
    background: transparent;
    padding: 8px 11px;
    cursor: pointer;
    color: var(--th-gray);
    font-weight: 700;
}

.lang-switch button.active {
    background: var(--th-blue);
    color: var(--th-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 15px;
}

.btn-primary {
    background: var(--th-blue);
    color: var(--th-white);
    box-shadow: 0 10px 25px rgba(7, 92, 168, 0.22);
}

.btn-primary:hover {
    background: var(--th-blue-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--th-white);
    border-color: var(--th-border);
    color: var(--th-blue);
}

.btn-secondary:hover {
    border-color: var(--th-blue);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--th-border);
    border-radius: 12px;
    background: var(--th-white);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--th-dark);
    margin: 4px auto;
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(55, 167, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #f5fbff 0%, #ffffff 50%, #eaf5ff 100%);
    padding: 88px 0 64px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 46px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--th-blue-soft);
    color: var(--th-blue);
    border: 1px solid #cfe8ff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    margin: 0 0 22px;
    color: var(--th-dark);
    letter-spacing: -1.8px;
}

.hero p {
    font-size: 20px;
    line-height: 1.65;
    color: var(--th-gray);
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--th-gray);
}

.hero-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 28px;
    box-shadow: var(--th-shadow);
    padding: 28px;
    position: relative;
}

.status-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid var(--th-border);
    margin-bottom: 14px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--th-green);
    box-shadow: 0 0 0 6px rgba(22, 163, 111, 0.12);
}

.status-title {
    font-weight: 800;
    color: var(--th-dark);
}

.status-sub {
    font-size: 13px;
    color: var(--th-gray);
    margin-top: 2px;
}

.status-badge {
    font-size: 12px;
    background: #eafaf3;
    color: #0b7a52;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.mini-card {
    background: var(--th-ice);
    border: 1px solid var(--th-border);
    border-radius: 18px;
    padding: 18px;
}

.mini-card strong {
    display: block;
    color: var(--th-blue);
    font-size: 24px;
    margin-bottom: 6px;
}

.mini-card span {
    color: var(--th-gray);
    font-size: 14px;
}

.section {
    padding: 78px 0;
}

.section-soft {
    background: var(--th-ice);
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 0 0 14px;
}

.section-head p {
    color: var(--th-gray);
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
}

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

.service-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 26px;
    box-shadow: 0 10px 28px rgba(13, 57, 98, 0.06);
    transition: 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--th-shadow);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--th-blue-soft);
    color: var(--th-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.service-card p {
    margin: 0 0 18px;
    color: var(--th-gray);
    line-height: 1.6;
}

.card-link {
    color: var(--th-blue);
    font-weight: 800;
}

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

.feature-panel {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--th-shadow);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.feature {
    background: #f8fbff;
    border: 1px solid var(--th-border);
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    color: var(--th-dark);
}

.problem-list {
    display: grid;
    gap: 14px;
}

.problem {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--th-dark);
    font-weight: 700;
}

.check {
    color: var(--th-green);
    font-weight: 900;
}

.band {
    background: linear-gradient(135deg, var(--th-blue-dark), var(--th-blue));
    color: var(--th-white);
    border-radius: 30px;
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    box-shadow: var(--th-shadow);
}

.band h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
}

.band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.6;
}

.band .btn-secondary {
    background: var(--th-white);
    color: var(--th-blue);
    border-color: var(--th-white);
}

.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.industry-pill {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    color: var(--th-dark);
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.site-footer {
    background: #0b1726;
    color: var(--th-white);
    padding: 56px 0 24px;
}

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

.footer-logo {
    color: var(--th-white);
}

.footer-col h4 {
    margin: 0 0 16px;
    font-size: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 10px;
    line-height: 1.55;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    background: #20b35f;
    color: var(--th-white);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(32, 179, 95, 0.35);
}

[data-lang="en"] {
    display: none;
}

body.lang-en [data-lang="es"] {
    display: none;
}

body.lang-en [data-lang="en"] {
    display: initial;
}

body.lang-en section[data-lang="en"],
body.lang-en div[data-lang="en"],
body.lang-en header[data-lang="en"],
body.lang-en footer[data-lang="en"] {
    display: block;
}

body.lang-en span[data-lang="en"],
body.lang-en a[data-lang="en"],
body.lang-en button[data-lang="en"] {
    display: inline-flex;
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 74px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: var(--th-white);
        border: 1px solid var(--th-border);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--th-shadow);
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav.open {
        display: flex;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

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

    .band {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .top-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .hero {
        padding: 56px 0 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-mini-grid,
    .cards-grid,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .band {
        padding: 30px;
        border-radius: 22px;
    }
}

.page-hero {
    background:
        radial-gradient(circle at top right, rgba(55, 167, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #f5fbff 0%, #ffffff 55%, #eaf5ff 100%);
    padding: 72px 0;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -1.6px;
}

.page-hero p {
    color: var(--th-gray);
    font-size: 20px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.breadcrumb {
    color: var(--th-blue);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
}

.info-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 26px;
    padding: 30px;
    box-shadow: var(--th-shadow);
}

.info-card h3 {
    margin: 0 0 16px;
    font-size: 24px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    background: #f8fbff;
    border: 1px solid var(--th-border);
    border-radius: 14px;
    padding: 13px 14px;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.content-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 26px;
    box-shadow: 0 10px 28px rgba(13, 57, 98, 0.06);
}

.content-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.content-card p {
    margin: 0;
    color: var(--th-gray);
    line-height: 1.65;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.check-item {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 16px;
    padding: 16px;
    font-weight: 800;
}

.faq {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: 18px;
    padding: 22px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.faq-item p {
    margin: 0;
    color: var(--th-gray);
    line-height: 1.6;
}

@media (max-width: 980px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .content-grid,
    .check-list {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 52px 0;
    }
}

/* Footer extra links */
.footer-links-extra {
    max-width: 1180px;
    margin: 22px auto 0;
    padding: 18px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-links-extra a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 14px;
}

.footer-links-extra a:hover {
    color: #ffffff;
}

/* TelHarbor responsive header */
.th-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.th-header-inner {
    gap: 18px;
}

.th-logo {
    flex-shrink: 0;
}

.th-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.th-dropdown {
    position: relative;
}

.th-dropdown-button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.th-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: #ffffff;
    border: 1px solid var(--th-border);
    border-radius: 18px;
    box-shadow: var(--th-shadow);
    padding: 10px;
    display: none;
    z-index: 1100;
}

.th-dropdown:hover .th-dropdown-menu,
.th-dropdown:focus-within .th-dropdown-menu {
    display: grid;
}

.th-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--th-dark);
    text-decoration: none;
    font-weight: 700;
}

.th-dropdown-menu a:hover {
    background: rgba(25, 183, 255, 0.1);
    color: var(--th-blue);
}

.th-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.th-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--th-border);
    border-radius: 999px;
    color: var(--th-dark);
    text-decoration: none;
    font-weight: 900;
    background: #ffffff;
}

.th-lang-link:hover {
    color: var(--th-blue);
}

.th-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--th-border);
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    padding: 10px;
}

.th-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--th-dark);
    margin: 5px 0;
    border-radius: 99px;
}

@media (max-width: 980px) {
    .th-header-inner {
        position: relative;
    }

    .th-menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .th-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #ffffff;
        border: 1px solid var(--th-border);
        border-radius: 22px;
        padding: 14px;
        box-shadow: var(--th-shadow);
    }

    .th-nav.is-open {
        display: flex;
    }

    .th-nav > a,
    .th-dropdown-button {
        width: 100%;
        justify-content: space-between;
        padding: 12px;
        border-radius: 12px;
        color: var(--th-dark);
    }

    .th-nav > a:hover,
    .th-dropdown-button:hover {
        background: rgba(25, 183, 255, 0.1);
    }

    .th-dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 14px;
        margin: 2px 0 8px;
        display: grid;
        background: rgba(25, 183, 255, 0.05);
    }

    .th-header-actions {
        display: none;
    }

    .th-nav::after {
        content: "";
        display: block;
        height: 1px;
    }
}

@media (max-width: 560px) {
    .logo-text small {
        display: none;
    }

    .th-nav {
        left: 10px;
        right: 10px;
    }
}

/* Clear language switch */
.th-lang-link {
    min-width: auto;
    padding: 0 14px;
    gap: 6px;
}

.th-lang-label {
    font-weight: 700;
    opacity: 0.72;
}

@media (max-width: 980px) {
    .th-lang-link {
        width: 100%;
        justify-content: flex-start;
        height: auto;
        min-height: 42px;
        border-radius: 12px;
    }
}

/* TelHarbor global footer */
.th-footer {
    background: #071827;
    color: rgba(255,255,255,0.82);
    padding: 54px 0 30px;
}

.th-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.th-footer .footer-brand p {
    max-width: 360px;
    line-height: 1.65;
    margin-top: 18px;
}

.th-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.th-footer .footer-logo strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.th-footer .footer-logo small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.th-footer .footer-column {
    display: grid;
    gap: 12px;
}

.th-footer .footer-column h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 6px;
}

.th-footer .footer-column a,
.th-footer .footer-column span {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    line-height: 1.45;
}

.th-footer .footer-column a:hover {
    color: #ffffff;
}

.th-footer .footer-legal {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.th-footer .footer-legal strong {
    color: #ffffff;
}

.th-footer .footer-legal a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
}

.th-footer .footer-legal a:hover {
    color: #ffffff;
}

.th-footer .footer-bottom {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
}

@media (max-width: 920px) {
    .th-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 620px) {
    .th-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .th-footer .footer-bottom {
        display: grid;
    }
}

/* TelHarbor FAQ */
.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
}

.faq-item p {
    margin: 14px 0 0;
    color: #475569;
    line-height: 1.65;
}

/* TelHarbor desktop dropdown fix */
.main-nav .nav-item {
    position: relative;
}

.main-nav .dropdown-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    padding: 10px;
    display: none;
    z-index: 9999;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a:focus {
    background: #eef6ff;
    color: #075ca8;
}

.main-nav .has-dropdown:hover > .dropdown-menu,
.main-nav .has-dropdown:focus-within > .dropdown-menu,
.main-nav .has-dropdown.is-open > .dropdown-menu {
    display: block;
}

@media (max-width: 920px) {
    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 12px;
        margin: 8px 0 10px;
        min-width: 0;
        width: 100%;
    }

    .main-nav .has-dropdown.is-open > .dropdown-menu {
        display: block;
    }

    .main-nav .has-dropdown:not(.is-open) > .dropdown-menu {
        display: none;
    }
}

/* TelHarbor header layout repair */
.top-bar {
    background: #07508f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-bar-inner > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.th-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b74d1;
    color: #ffffff;
    font-weight: 900;
    font-size: 21px;
    line-height: 1;
}

.brand-text {
    display: grid;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 24px;
    color: #075ca8;
    font-weight: 900;
}

.brand-text small {
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex: 1 1 auto;
}

.main-nav .nav-link,
.main-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .dropdown-toggle:hover {
    color: #075ca8;
}

.main-nav .nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.main-nav .dropdown-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 285px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    padding: 10px;
    display: none;
    z-index: 9999;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a:focus {
    background: #eef6ff;
    color: #075ca8;
}

.main-nav .has-dropdown:hover > .dropdown-menu,
.main-nav .has-dropdown:focus-within > .dropdown-menu,
.main-nav .has-dropdown.is-open > .dropdown-menu {
    display: block;
}

.lang-switch {
    white-space: nowrap;
}

.nav-quote {
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #0f172a;
    display: block;
}

@media (max-width: 1180px) {
    .nav-wrap {
        gap: 18px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav .nav-link,
    .main-nav .dropdown-toggle {
        font-size: 14px;
    }

    .brand-text strong {
        font-size: 21px;
    }
}

@media (max-width: 980px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-inner > div {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-wrap {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 0 18px;
    }

    .main-nav.is-open,
    .th-header.nav-open .main-nav {
        display: flex;
    }

    .main-nav .nav-link,
    .main-nav .dropdown-toggle,
    .main-nav .btn {
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav .nav-item {
        display: block;
        width: 100%;
    }

    .main-nav .dropdown-menu {
        position: static;
        min-width: 0;
        width: 100%;
        margin: 6px 0 8px;
        box-shadow: none;
        border-radius: 12px;
    }

    .main-nav .has-dropdown:not(.is-open) > .dropdown-menu {
        display: none;
    }

    .main-nav .has-dropdown.is-open > .dropdown-menu {
        display: block;
    }
}

/* TelHarbor final header override - 2026 */
body .th-header .nav-wrap {
    width: 100%;
    min-height: 74px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 28px !important;
}

body .th-header .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    text-decoration: none !important;
}

body .th-header .brand-text {
    display: grid !important;
}

body .th-header .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 22px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 0 !important;
}

body .th-header .main-nav > a,
body .th-header .main-nav > .nav-item,
body .th-header .main-nav > .btn {
    flex: 0 0 auto !important;
}

body .th-header .main-nav .nav-link,
body .th-header .main-nav .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 42px !important;
    padding: 0 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body .th-header .main-nav .dropdown-toggle {
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

body .th-header .main-nav .nav-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
}

body .th-header .main-nav .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 285px !important;
    width: auto !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14) !important;
    padding: 10px !important;
    display: none !important;
    z-index: 9999 !important;
}

body .th-header .main-nav .dropdown-menu a {
    display: block !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}

body .th-header .main-nav .has-dropdown:hover > .dropdown-menu,
body .th-header .main-nav .has-dropdown:focus-within > .dropdown-menu,
body .th-header .main-nav .has-dropdown.is-open > .dropdown-menu {
    display: block !important;
}

body .th-header .mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 980px) {
    body .th-header .nav-wrap {
        flex-wrap: wrap !important;
    }

    body .th-header .mobile-menu-toggle {
        display: inline-flex !important;
    }

    body .th-header .main-nav {
        display: none !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px 0 18px !important;
    }

    body .th-header.nav-open .main-nav,
    body .th-header .main-nav.is-open {
        display: flex !important;
    }

    body .th-header .main-nav .nav-link,
    body .th-header .main-nav .dropdown-toggle,
    body .th-header .main-nav .btn {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    body .th-header .main-nav .nav-item {
        display: block !important;
        width: 100% !important;
    }

    body .th-header .main-nav .dropdown-menu {
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 6px 0 8px !important;
        box-shadow: none !important;
        border-radius: 12px !important;
    }

    body .th-header .main-nav .has-dropdown:not(.is-open) > .dropdown-menu {
        display: none !important;
    }

    body .th-header .main-nav .has-dropdown.is-open > .dropdown-menu {
        display: block !important;
    }
}

/* TelHarbor header final correction - dropdown clickable */
body .th-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow: visible !important;
}

body .th-header .container,
body .th-header .nav-wrap {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .th-header .nav-wrap {
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    overflow: visible !important;
}

body .th-header .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    max-width: 290px !important;
    overflow: hidden !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

body .th-header .brand .logo-mark {
    flex: 0 0 42px !important;
}

body .th-header .brand-text {
    display: grid !important;
    min-width: 0 !important;
}

body .th-header .brand-text strong {
    white-space: nowrap !important;
}

body .th-header .brand-text small {
    white-space: nowrap !important;
}

body .th-header .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .th-header .main-nav > a,
body .th-header .main-nav > .nav-item,
body .th-header .main-nav > .btn {
    flex: 0 0 auto !important;
}

body .th-header .main-nav .nav-link,
body .th-header .main-nav .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    width: auto !important;
    padding: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

body .th-header .main-nav .nav-link:hover,
body .th-header .main-nav .dropdown-toggle:hover {
    color: #075ca8 !important;
}

body .th-header .main-nav .nav-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    overflow: visible !important;
}

/* Menu pegado al boton para que no se cierre al mover el mouse */
body .th-header .main-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 285px !important;
    width: max-content !important;
    max-width: 360px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px 0 0 0 !important;
    display: none !important;
    z-index: 99999 !important;
}

/* Caja visual interna */
body .th-header .main-nav .dropdown-menu::before {
    content: "" !important;
    position: absolute !important;
    top: 10px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14) !important;
    z-index: -1 !important;
}

body .th-header .main-nav .dropdown-menu a {
    position: relative !important;
    display: block !important;
    padding: 13px 16px !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
}

body .th-header .main-nav .dropdown-menu a:first-child {
    margin-top: 10px !important;
}

body .th-header .main-nav .dropdown-menu a:last-child {
    margin-bottom: 10px !important;
}

body .th-header .main-nav .dropdown-menu a:hover,
body .th-header .main-nav .dropdown-menu a:focus {
    background: #eef6ff !important;
    color: #075ca8 !important;
}

body .th-header .main-nav .has-dropdown:hover > .dropdown-menu,
body .th-header .main-nav .has-dropdown:focus-within > .dropdown-menu,
body .th-header .main-nav .has-dropdown.is-open > .dropdown-menu {
    display: block !important;
}

body .th-header .main-nav .btn,
body .th-header .main-nav .lang-switch,
body .th-header .main-nav .nav-quote {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

body .th-header .main-nav .lang-switch {
    padding: 12px 18px !important;
}

body .th-header .main-nav .nav-quote {
    padding: 13px 22px !important;
}

body .th-header .mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 1180px) {
    body .th-header .container,
    body .th-header .nav-wrap {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body .th-header .brand {
        max-width: 245px !important;
    }

    body .th-header .main-nav {
        gap: 13px !important;
    }

    body .th-header .main-nav .nav-link,
    body .th-header .main-nav .dropdown-toggle {
        font-size: 13px !important;
    }

    body .th-header .main-nav .lang-switch {
        padding: 11px 14px !important;
    }

    body .th-header .main-nav .nav-quote {
        padding: 12px 18px !important;
    }
}

@media (max-width: 980px) {
    body .th-header .nav-wrap {
        flex-wrap: wrap !important;
    }

    body .th-header .mobile-menu-toggle {
        display: inline-flex !important;
    }

    body .th-header .main-nav {
        display: none !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px 0 18px !important;
    }

    body .th-header.nav-open .main-nav,
    body .th-header .main-nav.is-open {
        display: flex !important;
    }

    body .th-header .main-nav .nav-link,
    body .th-header .main-nav .dropdown-toggle,
    body .th-header .main-nav .btn {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    body .th-header .main-nav .nav-item {
        display: block !important;
        width: 100% !important;
    }

    body .th-header .main-nav .dropdown-menu {
        position: static !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 6px 0 8px !important;
    }

    body .th-header .main-nav .dropdown-menu::before {
        top: 6px !important;
    }

    body .th-header .main-nav .has-dropdown:not(.is-open) > .dropdown-menu {
        display: none !important;
    }

    body .th-header .main-nav .has-dropdown.is-open > .dropdown-menu {
        display: block !important;
    }
}
