/* ==========================================================================
   Translog Connections - Mahlog-inspired editorial redesign
   Font: Inter | Brand blue #009FD0 | Accent orange #D35400
   ========================================================================== */

:root {
    --blue: #0a84c9;
    --blue-strong: #0369a1;
    --blue-deep: #0b2e4a;
    --accent: #d35400;
    --ink: #14181d;
    --ink-2: #3d444d;
    --muted: #6b7480;
    --line: #e4e8ec;
    --paper: #ffffff;
    --panel: #e7eaee;   /* light gray featured band */
    --panel-2: #eef1f4; /* footer */
    --navy: #131c29;    /* dark services band */
    --navy-soft: #1c2838;
    --tint-blue: #cfe6f6;
    --radius: 16px;
    --radius-lg: 26px;
    --radius-pill: 999px;
    --shadow: 0 18px 50px rgba(16, 24, 34, .12);
    --shadow-sm: 0 6px 20px rgba(16, 24, 34, .07);
    --container: 1240px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink-2);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -0.025em;
    font-weight: 500;
}

a { color: var(--blue-strong); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.bg-panel { background: var(--panel); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.eyebrow.light { color: #9fb3c9; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: var(--radius-pill);
    font-weight: 500; font-size: 15px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .25s var(--ease); line-height: 1; letter-spacing: -0.01em;
}
.btn-primary { background: var(--blue-strong); color: #fff; border-color: var(--blue-strong); }
.btn-primary:hover { background: #024e78; border-color: #024e78; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(3, 105, 161, .3); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #b8480a; border-color: #b8480a; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(211, 84, 0, .3); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #f2f4f6; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-strong); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-strong); color: var(--blue-strong); transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header / nav (sharp corners) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding-top: 18px; margin-bottom: -92px; }
.navbar {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 6px;
    padding: 11px 12px 11px 22px;
    box-shadow: 0 10px 34px rgba(16, 24, 34, .12);
    transition: padding .25s var(--ease), box-shadow .25s var(--ease);
}
.navbar.scrolled { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 8px 24px rgba(16, 24, 34, .16); }
.brand { display: flex; align-items: center; }
.brand-logo { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-weight: 400; font-size: 15px; padding: 9px 15px; border-radius: 5px; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-links a:hover { background: var(--panel-2); color: var(--ink); }
.nav-links a.active { background: var(--blue-strong); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 5px; border: 0; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; }

/* Mobile off-canvas menu */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); background: #fff; z-index: 200; transform: translateX(100%); transition: transform .35s var(--ease); padding: 22px; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(16,24,34,.2); overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-menu-head .brand-logo { height: 34px; }
.mobile-close { width: 42px; height: 42px; border-radius: 5px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }
.mobile-links { display: flex; flex-direction: column; margin-bottom: 20px; }
.mobile-links a { padding: 15px 4px; font-size: 18px; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-links a:hover { color: var(--blue-strong); }
.mobile-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.mobile-contact a { color: var(--ink-2); font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.mobile-contact a i { color: var(--blue-strong); }
.menu-overlay { position: fixed; inset: 0; background: rgba(16,24,34,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.menu-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 94vh; display: flex; align-items: flex-end; padding: 190px 0 84px; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(9, 34, 56, .92) 0%, rgba(10, 45, 74, .78) 44%, rgba(10, 55, 90, .45) 100%); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }

.hero-services { list-style: none; margin: 0; padding: 0; }
.hero-services li a {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    color: rgba(255, 255, 255, .9); font-size: 14.5px; font-weight: 400;
    padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .22);
    transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.hero-services li a:hover { color: #fff; padding-left: 8px; }
.hero-services li a i { font-size: 12px; transform: rotate(45deg); opacity: .8; }

.hero-main { max-width: 820px; }
.hero-main h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.03; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Section heading row ---------- */
.head-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.head-row h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 400; }
.head-row .aside { color: var(--muted); font-size: 16px; }
.head-row .aside .btn { margin-top: 20px; }
.head-center { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.head-center h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 400; }
.head-center p { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* ---------- Featured service cards (horizontal) ---------- */
.card-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(360px, 1fr); gap: 26px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.card-scroller::-webkit-scrollbar { height: 8px; }
.card-scroller::-webkit-scrollbar-thumb { background: #c3cad2; border-radius: 10px; }
.feat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; scroll-snap-align: start; display: flex; align-items: flex-end; }
.feat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 30, .88) 8%, rgba(10, 20, 30, .1) 55%, transparent 78%); }
.feat-card:hover img { transform: scale(1.06); }
.feat-card .feat-body { position: relative; z-index: 2; padding: 30px; color: #fff; }
.feat-card .feat-body .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffd9bf; margin-bottom: 12px; }
.feat-card .feat-body h3 { color: #fff; font-size: 27px; font-weight: 500; margin-bottom: 8px; }
.feat-card .feat-body p { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin: 0; }

/* ---------- Dark services accordion ---------- */
.svc-accordion { max-width: 1000px; margin: 0 auto; display: grid; gap: 16px; }
.svc-item { border-radius: var(--radius); overflow: hidden; background: #d7e5f4; transition: background .3s var(--ease); }
.svc-item .svc-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 32px; font-family: inherit; }
.svc-item .svc-thumb { width: 0; height: 74px; border-radius: 12px; overflow: hidden; opacity: 0; transition: width .35s var(--ease), opacity .3s var(--ease); }
.svc-item .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-item .svc-title { font-size: clamp(20px, 2.4vw, 27px); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.svc-item .svc-desc { color: var(--ink-2); font-size: 14.5px; max-width: 280px; text-align: right; opacity: 0; transition: opacity .3s var(--ease); display: none; }
.svc-item .svc-plus { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(20,24,29,.25); display: grid; place-items: center; color: var(--ink); font-size: 14px; transition: transform .3s var(--ease); flex: 0 0 auto; }
.svc-item.open { background: #eef1f4; }
.svc-item.open .svc-thumb { width: 120px; opacity: 1; }
.svc-item.open .svc-desc { opacity: 1; display: block; }
.svc-item.open .svc-plus { transform: rotate(45deg); }

/* ---------- About ---------- */
.about-head { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; margin-bottom: 60px; }
.about-head .big { font-size: clamp(44px, 6vw, 78px); font-weight: 400; letter-spacing: -0.04em; }
.about-head .lede { font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; color: var(--ink); letter-spacing: -0.02em; line-height: 1.22; }
.about-head .lede .dim { color: #b7bec6; }
.stat-row { display: flex; gap: 60px; margin-top: 34px; }
.stat-row .num { font-size: clamp(38px, 5vw, 58px); font-weight: 500; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.stat-row .lbl { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; }
.about-cards { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-card { position: absolute; top: 26px; left: 26px; right: 26px; background: rgba(255,255,255,.96); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.quote-card p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote-card .who .nm { font-weight: 600; color: var(--ink); font-size: 15px; }
.quote-card .who .rl { color: var(--muted); font-size: 13px; }
.about-side { display: grid; grid-template-rows: 1.3fr 1fr; gap: 26px; }
.about-side .ph { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 200px; }
.about-side .ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-side .txt { background: var(--panel-2); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.about-side .txt p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }

/* ---------- Feature strip / benefits ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feature .fi { width: 54px; height: 54px; border-radius: 14px; background: #e8f3fb; color: var(--blue-strong); display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.feature.alt .fi { background: #fde8d9; color: var(--accent); }
.feature h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.tcard .stars { color: #f5a623; margin-bottom: 16px; font-size: 14px; }
.tcard .q { color: var(--ink-2); font-size: 15.5px; margin-bottom: 24px; }
.tcard .who { display: flex; align-items: center; gap: 13px; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tcard .who .nm { font-weight: 600; color: var(--ink); font-size: 15px; }
.tcard .who .cp { color: var(--muted); font-size: 13px; }

/* ---------- Blog cards ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.bcard .thumb { height: 210px; position: relative; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); overflow: hidden; }
.bcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard .thumb .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: var(--radius-pill); }
.bcard .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bcard .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 16px; }
.bcard h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 12px; line-height: 1.25; }
.bcard h3 a { color: var(--ink); }
.bcard h3 a:hover { color: var(--blue-strong); }
.bcard p { color: var(--muted); font-size: 14.5px; flex: 1; margin: 0; }
.bcard .read { margin-top: 18px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: 66px; text-align: center; }
.cta::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--blue); opacity: .22; top: -140px; right: -90px; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 400; position: relative; }
.cta p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; margin: 14px auto 30px; position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 150px 0 66px; background: var(--panel); text-align: center; overflow: hidden; }
.page-hero.photo { color: #fff; }
.page-hero.photo .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.photo .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.photo .ph-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9,34,56,.9), rgba(10,55,90,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 400; letter-spacing: -0.035em; margin-bottom: 12px; }
.page-hero.photo h1 { color: #fff; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }
.page-hero.photo p { color: rgba(255,255,255,.9); }
.crumb { display: flex; gap: 8px; justify-content: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.page-hero.photo .crumb { color: rgba(255,255,255,.8); }
.page-hero.photo .crumb a { color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
label .req { color: #e2483b; }
.form-control { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 15px; color: var(--ink-2); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,201,.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.invalid-feedback { color: #e2483b; font-size: 13.5px; margin-top: 6px; }
.form-control.is-invalid { border-color: #e2483b; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 15px; }
.alert-success { background: #e9f9ef; color: #1e7e45; border: 1px solid #bde8ce; }
.alert-danger { background: #fdecea; color: #b0392c; border: 1px solid #f5c6c0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline-item.is-latest::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px #fde8d9; }
.timeline-item .time { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.timeline-item .status { font-weight: 600; color: var(--ink); font-size: 16px; }
.timeline-item .loc { color: var(--blue-strong); font-size: 13.5px; margin: 2px 0; }
.timeline-item .desc { color: var(--muted); font-size: 14.5px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px; }
.status-pill.in_transit, .status-pill.out_for_delivery, .status-pill.processing { background: #e8f3fb; color: var(--blue-strong); }
.status-pill.delivered { background: #e9f9ef; color: #1e7e45; }
.status-pill.customs_clearance, .status-pill.on_hold { background: #fef3e2; color: #b5710a; }
.status-pill.pending { background: #eef1f4; color: var(--muted); }
.status-pill.cancelled { background: #fdecea; color: #c0392b; }

/* ---------- Misc ---------- */
.article-body { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.article-body h2 { font-size: 26px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.02em; }
.article-body p { margin-bottom: 18px; }
.prose-narrow { max-width: 760px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-list li { background: #e8f3fb; color: var(--blue-strong); padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step-list li { position: relative; padding: 0 0 22px 56px; }
.step-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-strong); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step-list li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.step-list li h5 { font-size: 16px; margin-bottom: 3px; font-weight: 600; }
.step-list li p { color: var(--muted); font-size: 14.5px; margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: #fff; }
.accordion-header { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; font-family: inherit; font-weight: 600; font-size: 16.5px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion-header i { color: var(--blue-strong); transition: transform .25s var(--ease); flex: 0 0 auto; }
.accordion-item.open .accordion-header i { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion-item.open .accordion-body { max-height: 420px; }
.accordion-body .inner { padding: 0 26px 22px; color: var(--muted); font-size: 15.5px; }
.pagination { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 46px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.pagination a:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.pagination .active span, .pagination [aria-current] span { background: var(--ink); color: #fff; border-color: var(--ink); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 48px; }

/* ---------- Footer ---------- */
.footer { background: var(--panel-2); color: var(--ink-2); padding: 76px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.1fr; gap: 56px; padding-bottom: 40px; border-bottom: 1px solid #dbe0e5; }
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer .blurb { color: var(--ink-2); font-size: 14.5px; max-width: 360px; }
.footer .social { display: flex; gap: 12px; margin-top: 22px; }
.footer .social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .2s var(--ease); }
.footer .social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer h5 { color: var(--ink); font-size: 15px; margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { color: var(--ink-2); font-size: 14.5px; }
.footer ul li a:hover { color: var(--blue-strong); text-decoration: underline; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.contact-list li span { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.contact-list li a { color: var(--ink-2); font-size: 13.5px; }
.contact-list li a:hover { color: var(--blue-strong); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.footer-bottom .grayhost { color: var(--ink); font-weight: 500; }
.footer-bottom .grayhost:hover { color: var(--blue-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .nav-links { display: none; }
    .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 992px) {
    .hero { min-height: auto; padding: 150px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero-services { display: flex; flex-wrap: wrap; gap: 0 22px; }
    .hero-services li { flex: 1 1 44%; }
    .head-row, .about-head, .about-cards, .split, .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tgrid, .bgrid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .about-side { grid-template-rows: auto auto; }
}
@media (max-width: 720px) {
    .section { padding: 62px 0; }
    .nav-cta { display: none; }
    .hero { padding: 130px 0 60px; }
    .hero-main h1 { font-size: clamp(33px, 9vw, 46px); }
    .hero-services li { flex: 1 1 100%; }
    .feature-grid, .tgrid, .bgrid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .stat-row { gap: 30px; flex-wrap: wrap; }
    .form-card { padding: 24px; }
    .cta { padding: 40px 22px; }
    .svc-item .svc-head { padding: 20px 22px; grid-template-columns: 1fr auto; }
    .svc-item .svc-thumb { display: none; }
}
@media (max-width: 460px) {
    .footer-cols { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
}
