.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.topbar-inner,
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.topbar-inner {
    min-height: 42px;
}

.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 34, 56, .08);
}

.navbar-inner {
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 14px 30px rgba(15, 34, 56, .2);
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    margin-top: -4px;
}

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

.nav-links a {
    transition: color .2s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

.language-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-links a {
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 34, 56, .1);
    color: var(--muted);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.language-links a:hover,
.language-links a.is-current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.site-footer {
    background: #081827;
    color: rgba(255, 255, 255, .66);
    padding: 34px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner b {
    color: #fff;
}

/* header compact professional refinement START */
.navbar-inner {
    min-height: 74px;
}

.brand-mark {
    width: 42px;
    height: 42px;
}

.nav-links {
    gap: 24px;
}

.nav-cta {
    min-height: 40px;
    padding: 0 18px;
}
/* header compact professional refinement END */

/* logo and social settings refinement START */
.brand-logo {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 34, 56, .08);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 4px;
}

.footer-inner {
    align-items: center;
    gap: 18px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-text {
    color: rgba(255, 255, 255, .72);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 700;
}

.footer-socials a:hover {
    color: var(--gold);
    border-color: rgba(199, 164, 90, .45);
}

@media (max-width: 640px) {
    .footer-inner {
        align-items: flex-start;
    }

    .footer-socials {
        margin-left: 0;
    }
}
/* logo and social settings refinement END */

/* logo size standard refinement START */
.brand {
    min-width: 0;
}

.brand-logo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 14px;
    background: #ffffff;
}

.brand-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    padding: 5px;
}

.brand-logo + span {
    min-width: 0;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
        border-radius: 12px;
    }

    .brand-logo img {
        padding: 4px;
    }
}
/* logo size standard refinement END */

/* floating contact drawer START */
.floating-contact{position:fixed;right:22px;bottom:24px;z-index:80;font-family:inherit}
.floating-contact-check{position:absolute;opacity:0;pointer-events:none}
.floating-contact-rail{display:grid;gap:10px;justify-items:end}
.floating-quick{width:138px;min-height:52px;display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:999px;text-decoration:none;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--navy),var(--navy-2));box-shadow:0 18px 40px rgba(15,34,56,.24);border:1px solid rgba(255,255,255,.18);transition:transform .2s ease,box-shadow .2s ease}
.floating-quick:hover{transform:translateX(-4px);box-shadow:0 22px 48px rgba(15,34,56,.32)}
.floating-quick span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.16);font-size:13px;font-weight:900}
.floating-quick b{font-size:13px;letter-spacing:.01em}
.floating-whatsapp{background:linear-gradient(135deg,#128c4a,#25d366)}
.floating-form-toggle{background:linear-gradient(135deg,var(--gold),#b38a3f)}
.floating-socials{width:138px;min-height:52px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid var(--border);box-shadow:0 18px 34px rgba(15,34,56,.16);backdrop-filter:blur(10px)}
.floating-socials a{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;text-decoration:none;color:var(--navy);background:var(--cream);font-weight:900;font-size:12px}
.floating-contact-backdrop{position:fixed;inset:0;background:rgba(15,34,56,.28);opacity:0;pointer-events:none;transition:opacity .24s ease}
.floating-contact-panel{position:fixed;top:50%;right:24px;width:min(430px,calc(100vw - 48px));max-height:calc(100vh - 80px);overflow:auto;padding:24px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,242,233,.98));border:1px solid rgba(199,164,90,.34);box-shadow:0 34px 90px rgba(15,34,56,.28);transform:translate(125%,-50%);opacity:0;pointer-events:none;transition:transform .28s ease,opacity .2s ease}
.floating-contact-check:checked~.floating-contact-backdrop{opacity:1;pointer-events:auto}
.floating-contact-check:checked~.floating-contact-panel{transform:translate(0,-50%);opacity:1;pointer-events:auto}
.floating-panel-head,.floating-whatsapp-wide{display:flex;align-items:center;justify-content:space-between;gap:14px}
.floating-panel-head{align-items:flex-start;margin-bottom:14px}
.floating-panel-head span{display:block;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.floating-panel-head h2{margin:0;color:var(--navy);font-size:28px;line-height:1.05}
.floating-close{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;cursor:pointer;color:var(--navy);background:#fff;border:1px solid var(--border);font-size:26px;line-height:1}
.floating-contact-panel>p{color:var(--muted);line-height:1.7;margin:0 0 18px}
.floating-whatsapp-wide{padding:14px 16px;margin-bottom:18px;color:#fff;text-decoration:none;border-radius:18px;background:linear-gradient(135deg,#128c4a,#25d366);box-shadow:0 18px 32px rgba(37,211,102,.22)}
.floating-whatsapp-wide span{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;opacity:.86}
.floating-whatsapp-wide b{font-size:15px}
.floating-contact-form,.floating-field{display:grid}
.floating-contact-form{gap:12px}
.floating-field{gap:7px}
.floating-field.two{grid-template-columns:1fr 1fr;gap:10px}
.floating-field label{color:var(--navy);font-size:13px;font-weight:800}
.floating-field input,.floating-field textarea{width:100%;border:1px solid var(--border);border-radius:16px;padding:12px 13px;font:inherit;color:var(--text);background:#fff;outline:none}
.floating-field textarea{min-height:108px;resize:vertical}
.floating-field input:focus,.floating-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(199,164,90,.12)}
.floating-submit{border:0;border-radius:999px;padding:14px 18px;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--navy),var(--navy-2));font:inherit;font-weight:900;box-shadow:0 18px 36px rgba(15,34,56,.2)}
.floating-panel-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.floating-panel-socials a{padding:8px 11px;border-radius:999px;text-decoration:none;color:var(--navy);background:#fff;border:1px solid var(--border);font-size:12px;font-weight:800}
/* floating contact drawer END */

/* header language dropdown safe START */
details.language-links.language-dropdown {
    position: relative;
    display: block;
    flex: 0 0 auto;
    z-index: 70;
}

details.language-links.language-dropdown summary {
    width: 118px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(199, 164, 90, .42);
    border-radius: 999px;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
    box-shadow: 0 12px 26px rgba(15, 34, 56, .08);
}

details.language-links.language-dropdown summary::-webkit-details-marker {
    display: none;
}

details.language-links.language-dropdown summary i {
    font-style: normal;
    font-size: 11px;
    transition: transform .18s ease;
}

details.language-links.language-dropdown[open] summary i {
    transform: rotate(180deg);
}

details.language-links.language-dropdown .language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(199, 164, 90, .28);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 55px rgba(15, 34, 56, .18);
    backdrop-filter: blur(10px);
}

details.language-links.language-dropdown .language-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 12px;
    color: var(--navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

details.language-links.language-dropdown .language-menu a:hover,
details.language-links.language-dropdown .language-menu a.is-current {
    background: var(--cream);
}
/* header language dropdown safe END */



/* footer one line final START */
.site-footer {
    padding: 16px 0;
    background: var(--navy);
    border-top: 1px solid rgba(199, 164, 90, .26);
}

.site-footer .footer-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-footer .footer-brand b {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer .footer-brand span {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    white-space: nowrap;
}

.site-footer .footer-legal {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.site-footer .footer-legal-title {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer .footer-legal p {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer .footer-legal-links,
.site-footer .footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
}

.site-footer .footer-legal-links a,
.site-footer .footer-socials a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.site-footer .footer-legal-links a {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
}

.site-footer .footer-socials a {
    color: var(--navy);
    background: var(--gold);
    border: 1px solid rgba(199, 164, 90, .45);
}

.site-footer .footer-legal-links a:hover {
    background: rgba(255, 255, 255, .14);
}

.site-footer .footer-socials a:hover {
    background: #d6b96d;
}
/* footer one line final END */
