/* =========================================
   FAIR FORD PHARMACEUTICALS - CONTACT PAGE
   OPTIMIZED CSS WITHOUT ROOT VARIABLES
   ========================================= */

/* ===========================
   RESET & BASE
============================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

ul {
    list-style: none;
}

/* ===========================
   UTILITY CLASSES
============================ */

.container {
    width: min(1320px, 100% - clamp(16px, 3vw, 24px) * 2);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   TOPBAR
============================ */

.topbar {
    height: 100%;
    background: linear-gradient(90deg, #0a3a64, #0F4C81, #0a3a64);
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.topbar__container {
    max-width: 1440px;
    margin-inline: auto;
    padding: 12px clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 24px);
    flex-wrap: wrap;
}

.topbar__contact,
.topbar__actions,
.topbar__social {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 20px);
}

.topbar__social {
    gap: 4px;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    font-weight: 500;
    padding: 4px 2px;
    border-radius: 4px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__link:hover {
    color: #fff;
}

.topbar__divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.18);
}

.topbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.topbar__social-link {
    width: 48px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar__social-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0a3a64;
    transform: translateY(-2px);
}

/* Topbar Responsive */
@media (width < 1024px) {
    .topbar__contact .topbar__item:nth-child(n+5),
    .topbar__contact .topbar__divider:nth-of-type(2) {
        display: none;
    }
}

@media (width < 768px) {
    .topbar__contact .topbar__item:nth-child(3),
    .topbar__contact .topbar__divider {
        display: none;
    }
}

@media (width < 640px) {
    .topbar__container {
        flex-direction: column;
        padding: 10px 16px;
        gap: 10px;
    }
    
    .topbar__contact,
    .topbar__actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   HEADER
============================ */

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.12);
    border-bottom-color: rgba(15, 76, 129, 0.16);
}

.header-inner {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 24px);
}

/* ===========================
   LOGO
============================ */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-mark {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;

}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-weight: 700;
    font-size: clamp(15px, 3vw, 19px);
    color: #0F4C81;
}

.logo-tag {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6B7280;
    margin-top: 2px;
}

/* ===========================
   NAVIGATION
============================ */

.nav-desktop {
    display: none;
}

@media (width >= 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-list {
    display: flex;
    gap: clamp(4px, 1vw, 8px);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: #1F2937;
    border-radius: 8px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    translate: -50% 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0F4C81, #3FA9F5);
    border-radius: 2px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:is(:hover, .is-active) {
    color: #0F4C81;
}

.nav-link:is(:hover, .is-active)::after {
    width: calc(100% - 32px);
}

.nav-link--uphar {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.06), rgba(63, 169, 245, 0.10));
    border: 1px solid rgba(63, 169, 245, 0.25);
    color: #0F4C81;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    margin-left: 8px;
}

.nav-link--uphar::after {
    display: none;
}

.nav-link--uphar:hover {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(63, 169, 245, 0.18));
    box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.15);
    transform: translateY(-1px);
}

.uphar-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3FA9F5;
    box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2);
    flex-shrink: 0;
    animation: uphar-pulse 2s ease-in-out infinite;
}

@keyframes uphar-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(63, 169, 245, 0.05); }
}

/* ===========================
   ACTIONS
============================ */

.actions {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    color: #0F4C81;
    /* background: rgba(15, 76, 129, 0.07); */
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}
.icon-btn:hover svg {
    transform: scale(1.08);
}
.icon-btn:active {
    transform: scale(0.96);
}

/* @media (width <= 768px) {
    .icon-btn[data-action="wishlist"],
    .icon-btn[data-action="account"] {
        display: none;
    }
} */

/* cart/ wishlist badge */
.badge{
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0F4C81, #3FA9F5);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(15, 76, 129, 0.35);
    border: 2px solid #fff;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.badge.empty { display: none; }
.badge.pulse { transform: scale(1.4); }
/* ============================================================
   CART / WISHLIST OVERLAY + SIDEBARS + TOASTS
   ============================================================ */

/* Backdrop overlay */
.overlay {
    position: fixed; inset: 0;
    background: rgba(10, 30, 60, 0.40);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 900;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

/* Sidebar panel */
.sidebar {
    position: fixed;
    top: 0; right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: #ffffff;
    z-index: 950;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 40px rgba(10, 30, 60, 0.18);
}
.sidebar.is-open { transform: translateX(0); }

.sidebar-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #E5E7EB;
    background: #ffffff;
    flex-shrink: 0;
}
.sidebar-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 19px;
    margin: 0;
    color: #111827;
    display: flex; align-items: center; gap: 8px;
}
.sidebar-count {
    background: rgba(15, 76, 129, 0.10);
    color: #0F4C81;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
}
.sidebar-close {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: #6B7280;
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border: none;
}
.sidebar-close:hover { background: #F3F4F6; color: #111827; }
.sidebar-close svg { width: 18px; height: 18px; }

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px;
    background: #ffffff;
}
.sidebar-foot {
    padding: 18px 22px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
    flex-shrink: 0;
}

/* Empty state */
.empty-state {
    padding: 80px 30px 60px;
    text-align: center;
    color: #9CA3AF;
}
.empty-state svg {
    width: 64px; height: 64px;
    color: #D1D5DB;
    margin: 0 auto 16px;
    display: block;
}
.empty-state .big {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #111827;
    margin: 0 0 6px;
}

/* Cart line items */
.line {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 14px 8px;
    border-bottom: 1px solid #E5E7EB;
    align-items: start;
}
.line:last-child { border-bottom: 0; }
.line-thumb {
    width: 44px; height: 44px;
    background: rgba(15, 76, 129, 0.10);
    color: #0F4C81;
    border-radius: 8px;
    display: grid; place-items: center;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
}
.line-name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}
.line-comp { font-size: 11.5px; color: #9CA3AF; margin: 2px 0 6px; }
.line-rate { font-size: 11.5px; color: #6B7280; margin: 0 0 8px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; }
.line-total { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: #111827; display: block; text-align: right; }
.line-remove { font-size: 11px; color: #9CA3AF; margin-top: 4px; cursor: pointer; background: none; border: none; padding: 0; display: block; text-align: right; }
.line-remove:hover { color: #DC2626; }
.line-moq-warn { grid-column: 1/-1; font-size: 11px; color: #D97706; display: flex; align-items: center; gap: 5px; background: #FFF8EE; padding: 6px 10px; border-radius: 6px; margin-top: 4px; }
.line-scheme-info { grid-column: 1/-1; font-size: 11px; color: #059669; background: #F0FDF4; padding: 5px 10px; border-radius: 6px; margin-top: 4px; }

/* Qty stepper */
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid #E5E7EB; background: #ffffff; color: #111827; font-size: 15px; font-weight: 600; display: grid; place-items: center; cursor: pointer; transition: background 0.15s; }
.qty button:hover { background: rgba(15, 76, 129, 0.08); }
.qty input { width: 44px; height: 26px; border: 1px solid #E5E7EB; border-radius: 6px; text-align: center; font-size: 13px; font-weight: 600; color: #111827; outline: none; }

/* Cart totals + checkout */
.totals { margin-bottom: 14px; }
.totals-row { display: flex; justify-content: space-between; font-size: 13px; color: #6B7280; padding: 5px 0; }
.totals-row.grand { font-size: 15px; color: #111827; font-weight: 700; border-top: 1px solid #E5E7EB; margin-top: 6px; padding-top: 10px; }
.btn-checkout { width: 100%; padding: 13px; background: #0F4C81; color: #fff; font-weight: 700; font-size: 15px; border-radius: 12px; cursor: pointer; border: none; transition: background 0.15s, transform 0.1s; margin-bottom: 10px; }
.btn-checkout:hover:not(:disabled) { background: #073B7A; }
.btn-checkout:disabled { opacity: 0.55; cursor: not-allowed; }
.foot-note { font-size: 11px; color: #9CA3AF; text-align: center; line-height: 1.5; }

/* Wishlist items */
.wish-line { display: flex; align-items: center; gap: 12px; padding: 14px 8px; border-bottom: 1px solid #E5E7EB; }
.wish-line:last-child { border-bottom: 0; }
.wish-actions { margin-left: auto; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; flex-shrink: 0; }
.wish-move { font-size: 10.5px; font-weight: 700; color: #0F4C81; letter-spacing: 0.04em; background: rgba(15, 76, 129, 0.08); border: none; border-radius: 6px; padding: 5px 9px; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.wish-move:hover { background: rgba(15, 76, 129, 0.15); }
.wish-remove { font-size: 11px; color: #9CA3AF; background: none; border: none; padding: 0; cursor: pointer; }
.wish-remove:hover { color: #DC2626; }

/* Toast notifications */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; }
.toast { background: #111827; color: #fff; font-size: 13px; font-weight: 500; padding: 11px 18px; border-radius: 99px; box-shadow: 0 18px 50px rgba(10, 30, 60, .14); display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(20px); animation: toastIn .25s ease-out forwards, toastOut .25s ease-in 2.4s forwards; pointer-events: auto; white-space: nowrap; }
.toast svg { width: 16px; height: 16px; color: #10B981; }
.toast.warn { background: #2A1F0B; }
.toast.warn svg { color: #F59E0B; }
@keyframes toastIn { to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }


/* "sign in" button- visible on larger screens (>1280px)*/
.btn-signin {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-left: 8px;
    background: linear-gradient(135deg, #0F4C81 0%, #0B2E4F 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

@media (width >= 1024px) {
    .btn-signin {
        display: inline-flex;
    }
}

.btn-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 76, 129, 0.35);
}

/* ===========================
   HAMBURGER
============================ */

.hamburger {
    width: 48px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

@media (width >= 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger-box {
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0F4C81;
    border-radius: 2px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 7px; width: 75%; }
.hamburger-line:nth-child(3) { top: 14px; }

.hamburger.is-active .hamburger-line:nth-child(1) {
    top: 7px;
    rotate: 45deg;
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    translate: -10px 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    top: 7px;
    rotate: -45deg;
}

/* ===========================
   MOBILE DRAWER
============================ */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 46, 79, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 200;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: #FFFFFF;
    box-shadow: -16px 0 48px rgba(15, 76, 129, 0.12);
    translate: 100% 0;
    transition: translate 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 210;
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    translate: 0 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(16px, 3vw, 24px);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.drawer-close {
    width: 38px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #6B7280;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-close:hover {
    background: rgba(63, 169, 245, 0.08);
    color: #0F4C81;
}

.drawer-nav {
    flex: 1;
    padding: clamp(8px, 2vw, 16px);
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1F2937;
    border-radius: 12px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 4px;
}

.drawer-link:hover {
    background: #F8FBFF;
    color: #0F4C81;
    translate: 4px 0;
}

.drawer-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.45;
}

/* UPHAR BUTTON SPECIAL STYLING - MATCHING IMAGE 2 */
.drawer-link--uphar {
    background: #E0F2FE !important;
    color: #0369A1 !important;
    font-weight: 600;
    border: 1px solid #BAE6FD;
}

.drawer-link--uphar:hover {
    background: #BAE6FD !important;
    color: #075985 !important;
}

.drawer-section-title {
    padding: 14px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
}

.drawer-footer {
    padding: clamp(16px, 3vw, 24px);
    border-top: 1px solid rgba(15, 76, 129, 0.08);
    background: #F8FBFF;
}

.drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0F4C81, #3FA9F5);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.25);
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-cta:hover {
    translate: 0 -1px;
    box-shadow: 0 10px 26px rgba(15, 76, 129, 0.35);
}
.drawer-cta.drawer-logout {
    background: #ef4444;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25);
}
.drawer-cta.drawer-logout:hover {
    background: #dc2626;
    box-shadow: 0 10px 26px rgba(239, 68, 68, 0.40);
}

.drawer-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
    text-align: center;
}

/* ===========================
   CONTACT SECTION — SCREENSHOT STYLE
============================ */

.contact-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 96px);
    align-items: start;
}

/* ---- Decorative Section Labels ---- */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ltext {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
    white-space: nowrap;
}

.lribbon {
    display: inline-block;
    width: 26px;
    height: 12px;
    background: linear-gradient(90deg, #0F4C81 0%, #0F4C81 50%, #0F4C81 100%);
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
}

.lribbon--l::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid #0F4C81;
}

.lribbon--r::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 7px solid #0F4C81;
}

/* ---- Panel Heading + Rule ---- */
.panel-heading {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}

.heading-rule {
    width: 42px;
    height: 2px;
    background: #0F4C81;
    margin-bottom: 36px;
    border-radius: 2px;
}

/* ---- Contact Cards ---- */
.ccard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.ccard {
    padding: 22px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
}

.ccard--feat {
    border: 1.5px solid #e2e2e2;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
}

.ccard-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 18px;
}

.ccard-icon--g {
    background: #d4d4d4;
    color: #555;
}

.ccard-icon--d {
    background: #1a2b4f;
    color: #fff;
}

.ccard h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.ccard p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
}

/* ---- Trust Score Row ---- */
.trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #faf8f4;
    border-radius: 10px;
    border: 1px solid #ede9df;
}

.trust-row p {
    font-size: 13px;
    color: #555;
}

.trust-row p strong {
    color: #111;
    font-weight: 700;
}

.stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 15px;
    flex-shrink: 0;
}

/* ---- Form Panel ---- */
.form-tagline {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 28px;
}

/* ---- Form Fields ---- */
.cf-field {
    margin-bottom: 0;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    padding: 14px 0 12px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: inherit;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.25s;
    margin-bottom: 22px;
    display: block;
    border-radius: 0;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
    color: #bbb;
}

.cf-field input:focus,
.cf-field textarea:focus {
    border-bottom-color: #1a2b4f;
}

.cf-field input.error,
.cf-field textarea.error {
    border-bottom-color: #0F4C81;
}

.cf-field textarea {
    resize: none;
    min-height: 110px;
    padding-top: 8px;
}

/* ---- Error Messages ---- */
.error-message {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: -16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* ---- Submit Button ---- */
.submit-btn {
    margin-top: 8px;
    padding: 15px 40px;
    background: #0F4C81;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #c42f1e;
    translate: 0 -3px;
    box-shadow: 0 10px 24px rgba(230, 60, 40, 0.28);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.75;
}

.btn-loader {
    display: none;
    width: 17px;
    height: 17px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { rotate: 360deg; }
}

/* ---- Form Messages ---- */
.form-message {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.form-message.show {
    display: flex;
    animation: slideIn 0.35s ease;
}

@keyframes slideIn {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ---- Responsive ---- */
@media (width < 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (width < 520px) {
    .ccard-row {
        grid-template-columns: 1fr;
    }
    .cf-row {
        grid-template-columns: 1fr;
    }
    .trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ---- Keep old hero/contact classes unused but harmless ---- */
.contact-hero { display: none; }
.contact-hero::before { display: none; }

/* old hero CSS removed */


/* ===========================
   MAP SECTION
============================ */

.map-section {
    padding-bottom: clamp(40px, 6vw, 64px);
}

.map-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.12);
}

.map-box iframe {
    width: 100%;
    height: clamp(300px, 50vh, 500px);
    border: none;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-box:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* ===========================
   FOOTER - MATCHING IMAGE 3
============================ */

.footer {
    background: #fff;
    color: #334155;
    padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px);
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    max-width: 1200px;
    margin-inline: auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    aspect-ratio: 1;
    background: #0F4C81;
    color: white;
    border-radius: 50%;
    display: none;
    place-items: center;
    font-size: 1.5rem;
    z-index: 300;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top.show {
    display: grid;
}

.back-to-top:hover {
    background: #0B2E4F;
    translate: 0 -4px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Footer Main Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 32px);
    margin-bottom: clamp(40px, 6vw, 64px);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Section */
.footer-company {
    max-width: 400px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo-wrapper i {
    font-size: 36px;
    color: #0F4C81;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
    color: #0F4C81;
    line-height: 1;
}

.footer-subtitle {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: #0F4C81;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #475569;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-social-icon:hover {
    background: #0F4C81;
    color: #fff;
    translate: 0 -3px;
}

/* Footer Titles */
.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F4C81;
    margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: #0F4C81;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
}

.footer-link:hover {
    color: #0F4C81;
    padding-left: 8px;
}

/* Contact Section */
.footer-contact {
    max-width: 400px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: #0F4C81;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0F4C81;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-text {
    font-size: 0.95rem;
    text-decoration: none;
    color: #0F4C81;
    transition: color var(--transition-normal);
}

.contact-link {
    color: #0F4C81;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-link:hover {
    color: #0F4C81;
}

/* Newsletter Section */
.footer-newsletter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(24px, 4vw, 32px);
    align-items: center;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 16px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.newsletter-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0F4C81;
    margin-bottom: 6px;
}

.newsletter-subtitle {
    font-size: 14px;
    color: #0F4C81;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.newsletter-input:focus {
    outline: none;
    border-color: #0F4C81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.newsletter-btn {
    padding: 14px 28px;
    background: #0F4C81;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #0B2E4F;
    translate: 0 -2px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.newsletter-message {
    font-size: 13px;
    font-weight: 500;
    min-height: 18px;
}

.newsletter-message.success {
    color: #22c55e;
}

.newsletter-message.error {
    color: #ef4444;
}

/* Footer Bottom — overridden by style.css which loads after this file */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: none;
    padding-top: 0;
    font-size: 13px;
}

.footer-copyright,
.footer-credit {
    color: #94a3b8;
}

.footer-credit p {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-heart-svg {
    vertical-align: middle;
    flex-shrink: 0;
}

.footer-credit a {
    color: #0F4C81;
    font-weight: 500;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-credit i {
    color: #ef4444;
    margin: 0 4px;
}

/* ===========================
   ANIMATIONS
============================ */

.fade-in { animation: fadeIn 1s ease; }
.slide-in-left { animation: slideInLeft 0.8s ease; }
.slide-in-right { animation: slideInRight 0.8s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; translate: -50px 0; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes slideInRight {
    from { opacity: 0; translate: 50px 0; }
    to { opacity: 1; translate: 0 0; }
}

/* ===========================
   ACCESSIBILITY
============================ */

:focus-visible {
    outline: 3px solid #0F4C81;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    body {
        --border: rgba(0, 0, 0, 0.3);
        --border-strong: rgba(0, 0, 0, 0.5);
    }
}

/* ===========================
   PRINT STYLES
============================ */

@media print {
    .topbar,
    .header,
    .hamburger,
    .drawer,
    .back-to-top,
    .footer-newsletter {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}