/* =====================================================================
   THEME: POLISHED
   Modelled on the "Private Equity Website Design" reference:
   a single calm accent, generous white space, light large type,
   rounded inset cards, pill navigation and buttons, glass panels,
   gentle scroll reveals. Accent is a deep steel blue from the logo.
   ===================================================================== */
:root {
    --ink: #0f1e2e;
    --accent: #12395a;
    --accent-2: #1f5f7f;
    --soft: #8fb0c6;          /* second line of two-tone headings */
    --tint: #eef3f7;
    --tint-2: #e2ebf2;
    --line: #e3e9ef;
    --muted: #667487;
    --navy: #12395a;
    --orange: #12395a;
    --orange-dark: #0c2a44;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Manrope', system-ui, sans-serif; color: #3b4757; background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 120px 0; }
.sec-tint { background: var(--tint); }

/* --- small type pieces --- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.eyebrow.light { color: rgba(255,255,255,0.8); }
.eyebrow.light::before { background: #9cc6de; }
.two-tone { font-size: 46px; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 22px; }
.two-tone span { display: block; color: var(--soft); }
.lead-sm { font-size: 16px; color: var(--muted); max-width: 560px; }
.lead-sm strong { color: var(--ink); font-weight: 600; }
.small-muted { color: var(--muted); font-size: 14px; margin: 30px 0 12px; }

/* --- pills --- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.pill .arr { display: inline-block; transition: transform .3s var(--ease); }
.pill:hover .arr { transform: translateX(4px); }
.pill-white { background: #fff; color: var(--ink); }
.pill-white:hover { background: var(--tint); }
.pill-dark { background: var(--accent); color: #fff; }
.pill-dark:hover { background: var(--accent-2); }
.pill-glass { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(10px); }
.pill-glass:hover { background: rgba(255,255,255,0.22); }
.pill-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.pill-ghost:hover { background: rgba(255,255,255,0.12); }
.circle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #c9d5e0; background: #fff; color: var(--ink); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .3s; }
.circle:hover { border-color: var(--accent); }
.circle.dark { background: var(--accent); border-color: var(--accent); color: #fff; }
.circle.dark:hover { background: var(--accent-2); }

.glass { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }

/* --- header --- */
header.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: none; padding: 0; }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 24px; }
.logo-group { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 38px; width: auto; }
.logo-group .brand { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.main-nav { margin: 0 auto; }
.main-nav ul { display: flex; gap: 2px; background: var(--tint); border-radius: 999px; padding: 4px; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { background: #fff; color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.main-nav .mobile-only { display: none; }
.header-cta { padding: 11px 20px; }
.menu-toggle { display: none; }

/* header floating inside the home hero */
header.site-header.over-hero { position: absolute; top: 16px; left: 16px; right: 16px; background: transparent; border-bottom: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
header.over-hero .header-inner { max-width: none; padding: 22px 40px; }
header.over-hero .logo-group .brand { color: #fff; }
header.over-hero .main-nav ul { background: rgba(255,255,255,0.94); }
header.over-hero .header-cta { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
header.over-hero.scrolled { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); animation: drop .35s var(--ease); }
header.over-hero.scrolled .header-inner { max-width: 1240px; padding: 14px 28px; }
header.over-hero.scrolled .logo-group .brand { color: var(--ink); }
header.over-hero.scrolled .main-nav ul { background: var(--tint); }
header.over-hero.scrolled .header-cta { background: var(--accent); border-color: var(--accent); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* --- 1. hero --- */
.hx { padding: 16px; }
.hx-card { position: relative; height: calc(100vh - 32px); min-height: 640px; max-height: 920px; border-radius: var(--radius-xl); overflow: hidden; background: #0b1f30; }
.hx-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,22,36,0.6) 0%, rgba(7,22,36,0.25) 35%, rgba(7,22,36,0.88) 100%), linear-gradient(90deg, rgba(7,22,36,0.55) 0%, rgba(7,22,36,0) 65%), rgba(18,57,90,0.25); }
.hx-content { position: absolute; left: 56px; bottom: 64px; max-width: 760px; color: #fff; }
.hx-content h1 { color: #fff; font-size: 66px; font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
.hx-content p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 520px; margin-bottom: 30px; }
.hx-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hx-stat { position: absolute; right: 56px; bottom: 150px; padding: 22px 26px; border-radius: 18px; min-width: 220px; background: rgba(10,30,48,0.35); }
.hx-stat strong { display: block; font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.hx-stat span { font-size: 13px; color: rgba(255,255,255,0.8); }
.hx-scroll { position: absolute; right: 56px; bottom: 56px; color: rgba(255,255,255,0.8); font-size: 13px; }
.hx-scroll span { display: inline-block; margin-left: 6px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* --- 2. intro + bento --- */
.intro-head { max-width: 680px; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.bento-photo { grid-row: 1 / span 2; position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 580px; background: #1b2a38; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; border-radius: 18px; padding: 18px 22px; background: rgba(10,25,40,0.45); }
.bento-photo figcaption > span { font-size: 15px; font-weight: 500; }
.bento-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.bento-mini strong { display: block; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.bento-mini small { font-size: 12px; color: rgba(255,255,255,0.75); }
.bento-card { background: var(--tint); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; }
.bento-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 14px; max-width: 360px; }
.route { display: flex; align-items: center; margin-top: auto; padding-top: 30px; }
.route-pin { display: flex; align-items: center; gap: 10px; color: var(--ink); background: #fff; border-radius: 16px; padding: 12px 16px; }
.route-pin i { color: var(--accent-2); font-size: 18px; }
.route-pin strong { display: block; font-size: 15px; font-weight: 600; }
.route-pin small { font-size: 12px; color: var(--muted); }
.route-line { flex: 1; border-top: 2px dashed #b4c7d6; margin: 0 12px; min-width: 20px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: auto; padding-top: 24px; }
.bars span { flex: 1; height: var(--h); background: #c8d8e4; border-radius: 8px 8px 4px 4px; transform-origin: bottom; transition: transform 1s var(--ease); }
.bars span:last-child { background: var(--accent); }
.bars-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.numbers > div { padding-top: 24px; border-top: 1px solid var(--line); }
.numbers strong { display: block; font-size: 54px; font-weight: 400; color: var(--ink); line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; }
.numbers small { display: block; color: var(--muted); font-size: 13px; max-width: 210px; }

/* --- split section headings --- */
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.split-head .two-tone { margin: 0; }
.split-head p { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 440px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.row-head .two-tone { margin: 0; }

/* --- 3. services list --- */
.svc-list { border-top: 1px solid #d6e0e9; }
.svc-row { border-bottom: 1px solid #d6e0e9; border-radius: 0; transition: background .4s var(--ease), border-radius .4s; }
.svc-head { width: 100%; display: flex; align-items: center; gap: 22px; padding: 22px 24px; background: none; border: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.svc-head i { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; transition: .4s; }
.svc-name { flex: 1; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.svc-num { font-size: 13px; color: var(--muted); }
.svc-body { max-height: 0; overflow: hidden; padding: 0 24px 0 90px; transition: max-height .5s var(--ease), padding .5s var(--ease); }
.svc-body p { color: rgba(255,255,255,0.82); margin-bottom: 10px; max-width: 560px; }
.svc-body a { color: #fff; font-weight: 600; font-size: 14px; }
.svc-row.active { background: var(--accent); border-radius: 18px; border-bottom-color: transparent; }
.svc-row.active .svc-head, .svc-row.active .svc-num { color: #fff; }
.svc-row.active .svc-head i { background: rgba(255,255,255,0.14); color: #fff; }
.svc-row.active .svc-body { max-height: 180px; padding-bottom: 26px; }

/* --- 4. band --- */
.band { position: relative; overflow: hidden; margin: 0 16px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #0d2c45 0%, #1b5674 100%); color: #fff; }
.band::before { content: ""; position: absolute; left: 0; bottom: 0; width: 45%; height: 60%; background-image: radial-gradient(rgba(255,255,255,0.16) 1.2px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(45deg, #000 0%, transparent 70%); mask-image: linear-gradient(45deg, #000 0%, transparent 70%); pointer-events: none; }
.band-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px 60px; align-items: center; }
.band h2 { color: #fff; font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.band-text p { color: rgba(255,255,255,0.78); margin-bottom: 28px; max-width: 440px; }
.band-video { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 848 / 480; border: 1px solid rgba(255,255,255,0.15); background: #000; }
.band-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.glass-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(12px); border-radius: 20px; padding: 28px; }
.glass-card i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 40px; }
.glass-card h3 { color: #fff; font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.glass-card p { color: rgba(255,255,255,0.72); font-size: 14px; }

/* --- 5. carousel + clients --- */
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-card { flex: 0 0 340px; height: 370px; border-radius: var(--radius-lg); padding: 30px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; margin: 0; }
.car-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.car-card p { font-size: 14px; color: var(--muted); }
.car-card .eyebrow { margin-bottom: auto; }
.car-card.dark { background: var(--accent); }
.car-card.dark h3 { color: #fff; }
.car-card.dark p { color: rgba(255,255,255,0.78); }
.car-card.tint { background: var(--tint); }
.car-card.photo { position: relative; padding: 0; overflow: hidden; flex-basis: 440px; }
.car-card.photo img { width: 100%; height: 100%; object-fit: cover; }
.car-card.photo figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 13px; font-weight: 500; color: #fff; padding: 8px 14px; border-radius: 999px; background: rgba(10,25,40,0.45); backdrop-filter: blur(10px); }
.car-nav { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.car-progress { flex: 1; height: 2px; background: var(--line); margin-right: 20px; }
.car-progress span { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .3s; }
.client-rows { display: grid; gap: 22px; }
.client-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.client-label { font-size: 13px; color: var(--muted); padding-top: 9px; }
.client-row ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; }
.client-row li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; }

/* --- 6. process --- */
.steps { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.step { background: transparent; border: none; border-top: 1px solid #cfdae4; border-radius: 0; padding: 26px 0 34px; }
.step::before { color: var(--accent-2); font-weight: 500; font-size: 15px; margin-bottom: 18px; }
.step h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* --- 7. posts --- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-img { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(10,25,40,0.45); backdrop-filter: blur(10px); }
.post-card h3 { font-size: 19px; font-weight: 500; line-height: 1.35; margin: 20px 0 8px; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.post-meta { display: flex; gap: 18px; font-size: 12px; color: var(--muted); }

/* --- 8. FAQ --- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin-top: 12px; max-width: 620px; }

/* --- 9. maps --- */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; }
.map-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; }
.map-info h3 { font-size: 18px; font-weight: 500; }
.map-info p { color: var(--muted); font-size: 14px; }

/* --- connect + footer --- */
.connect { padding: 40px 16px 16px; }
.connect-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, #154466 0%, #2a6f8f 100%); color: #fff; text-align: center; padding: 110px 24px; }
.connect-card::before { content: ""; position: absolute; right: 0; top: 0; width: 40%; height: 70%; background-image: radial-gradient(rgba(255,255,255,0.16) 1.2px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 70%); mask-image: linear-gradient(225deg, #000 0%, transparent 70%); }
.connect-card h2 { color: #fff; font-size: 56px; font-weight: 400; letter-spacing: -0.035em; margin-bottom: 14px; position: relative; }
.connect-card p { color: rgba(255,255,255,0.8); margin-bottom: 30px; position: relative; }
.connect-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
footer.site-footer { background: transparent; padding: 0 16px 16px; color: rgba(255,255,255,0.72); font-size: 14px; }
.footer-wrap { background: #0b2236; border-radius: var(--radius-xl); padding: 70px 56px 34px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.footer-about p { max-width: 340px; margin-bottom: 24px; color: rgba(255,255,255,0.78); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.66); margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); text-align: left; font-size: 13px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.footer-logo img { height: 34px; width: auto; }
.back-top { color: #fff; }
.float-wa { box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

/* --- scroll reveal --- */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .bento-card .bars span { transform: scaleY(0.04); }
.js-reveal .bento-card.in .bars span { transform: scaleY(1); }
.bento-card.in .bars span:nth-child(2) { transition-delay: .08s; } .bento-card.in .bars span:nth-child(3) { transition-delay: .16s; }
.bento-card.in .bars span:nth-child(4) { transition-delay: .24s; } .bento-card.in .bars span:nth-child(5) { transition-delay: .32s; }
.bento-card.in .bars span:nth-child(6) { transition-delay: .4s; }

/* =====================================================================
   INNER PAGES (services, industries, insights, about, RFQ, articles)
   ===================================================================== */
.page-hero { margin: 16px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #0d2c45 0%, #1b5674 100%); padding: 90px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: 0; bottom: 0; width: 40%; height: 80%; background-image: radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(315deg, #000 0%, transparent 70%); mask-image: linear-gradient(315deg, #000 0%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 54px; font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
.page-hero p.lead { color: rgba(255,255,255,0.8); font-size: 17px; }
.breadcrumb, .breadcrumb a { color: rgba(255,255,255,0.65); font-size: 13px; }

.btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 13px 24px; box-shadow: none !important; }
.btn-orange { background: var(--accent); border-color: var(--accent); }
.btn-orange:hover { transform: none; background: var(--accent-2); border-color: var(--accent-2); }
.page-hero .btn-orange { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-dark { border: 1px solid #c9d5e0; color: var(--ink); }

.section-title h2 { font-weight: 400; font-size: 44px; letter-spacing: -0.03em; }
.divider { display: none; }
.bg-slate { background: var(--tint); }
.service-card { background: var(--tint); border: none; border-radius: var(--radius-lg); }
.service-card:hover { background: var(--accent); transform: none; box-shadow: none; }
.service-card:hover h2, .service-card:hover h3, .service-card:hover p, .service-card:hover .more { color: #fff !important; }
.service-card i.icon { background: #fff; color: var(--accent); border-radius: 50%; }
.service-card .more { color: var(--accent); }

.prose { color: #3b4757; }
.prose h2 { font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.prose h3 { font-weight: 600; }
.prose blockquote, .prose .cta { background: var(--tint); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; }
.check-list li::before { color: var(--accent-2); }
.faq details { border: none; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 20px 2px; }
.faq summary { font-weight: 500; }
.side-box { border-radius: 20px; border-color: var(--line); }
.side-box.dark { background: linear-gradient(135deg, #0d2c45, #1b5674); border: none; }
.side-box .btn-outline { color: #fff; }
.side-box h3 { font-weight: 600; }

.article-card { border-radius: 24px; box-shadow: none; border: 1px solid var(--line); }
.article-card h1 { font-weight: 500; letter-spacing: -0.03em; }
.article-card .tag { display: inline-block; background: var(--tint); color: var(--accent); font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.related-grid a { border-radius: 16px; }
.related-grid span { color: var(--accent-2); }
.modern-card { box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.modern-card:hover { transform: none; box-shadow: none; }
.card-accent { display: none; }
.modern-card ul li i { color: var(--accent-2); }
.insight-card { border-radius: var(--radius-lg); }
.chip, .chip-tool-design, .chip-cost-saving, .chip-quality, .chip-materials, .chip-buyer-guide, .chip-case-study { background: var(--tint); color: var(--accent); border-radius: 999px; }
.form-card { border-radius: 24px; }
.field input, .field select, .field textarea { border-radius: 12px; border-color: #d3dde6; }
.client-list li { border-radius: 999px; }
.client-list.tier2 li span { color: var(--accent); background: var(--tint); }
.unit-map { border-radius: var(--radius-lg); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
    .hx-stat { top: 130px; bottom: auto; }
}
@media (max-width: 1100px) {
    .hx-content h1 { font-size: 54px; }
    .two-tone, .band h2 { font-size: 40px; }
    .header-inner { gap: 14px; }
    .main-nav a { padding: 8px 12px; }
}
@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
    .header-cta { display: none; }
    .main-nav { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; margin: 0; display: none; background: #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(10,25,40,0.18); }
    .main-nav.open { display: block; }
    .main-nav ul, header.over-hero .main-nav ul, header.over-hero.scrolled .main-nav ul { flex-direction: column; background: #fff; border-radius: 20px; padding: 10px; }
    .main-nav a, .main-nav li a { padding: 13px 16px; border-radius: 12px; border-bottom: none; }
    .main-nav .mobile-only { display: block; }
    .main-nav .nav-cta { background: var(--accent); color: #fff; text-align: center; margin-top: 6px; }
    header.over-hero .header-inner { padding: 18px 22px; }
    .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-photo { grid-row: auto; min-height: 460px; }
    .split-head, .faq-grid, .band-grid, .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .band-cards, .post-grid { grid-template-columns: 1fr 1fr; }
    .numbers { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .wrap { padding: 0 20px; }
    .sec { padding: 80px 0; }
    .hx { padding: 10px; }
    .hx-card { height: auto; min-height: 640px; border-radius: 22px; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 22px 24px; }
    .hx-content { position: relative; left: auto; right: auto; bottom: auto; }
    .hx-actions .pill { padding: 11px 18px; font-size: 13px; }
    .hx-content h1 { font-size: 38px; }
    .hx-content p { font-size: 15px; }
    .hx-stat { position: relative; top: auto; right: auto; bottom: auto; align-self: flex-start; margin-top: 22px; min-width: 0; padding: 12px 16px; }
    .hx-stat strong { font-size: 28px; }
    .hx-scroll { display: none; }
    .two-tone, .band h2 { font-size: 34px; }
    .numbers strong { font-size: 40px; }
    .band, .page-hero { margin: 10px; border-radius: 22px; }
    .band-cards, .post-grid, .map-grid, .steps { grid-template-columns: 1fr; }
    .car-card { flex-basis: 280px; height: 320px; }
    .car-card.photo { flex-basis: 300px; }
    .client-row { grid-template-columns: 1fr; gap: 10px; }
    .svc-name { font-size: 17px; }
    .svc-head { gap: 14px; padding: 18px 16px; }
    .svc-body { padding-left: 16px; padding-right: 16px; }
    .connect { padding: 30px 10px 10px; }
    .connect-card { padding: 70px 20px; border-radius: 22px; }
    .connect-card h2 { font-size: 36px; }
    footer.site-footer { padding: 0 10px 10px; }
    .footer-wrap { padding: 50px 24px 28px; border-radius: 22px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    footer .footer-bottom { flex-direction: column; align-items: flex-start; }
    .page-hero { padding: 60px 0 50px; }
    .page-hero h1 { font-size: 36px; }
    .map-info { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
    .hx-scroll span { animation: none; }
}

/* --- revisions: band without video, text-only industry cards, designed article covers --- */
.band-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.band-stack { display: grid; gap: 16px; }
.glass-card.row { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; }
.glass-card.row i { margin-bottom: 0; flex: none; }

.car-card { position: relative; flex-basis: 320px; }
.car-icon { position: absolute; top: 28px; right: 28px; font-size: 26px; }
.car-card.dark .car-icon { color: rgba(255,255,255,0.75); }
.car-card.tint .car-icon { color: var(--accent-2); }

.post-cover { position: absolute; inset: 0; display: block; overflow: hidden; }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.18) 1.2px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000 100%); mask-image: linear-gradient(135deg, transparent 30%, #000 100%); }
.post-cover i { position: absolute; right: 28px; bottom: 26px; font-size: 64px; color: rgba(255,255,255,0.88); transition: transform .8s var(--ease); }
.post-card:hover .post-cover i { transform: translateY(-4px) rotate(-4deg); }
.cover-brand { position: absolute; left: 20px; bottom: 20px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); }
.post-cover.v0 { background: linear-gradient(135deg, #0d2c45 0%, #1b5674 100%); }
.post-cover.v1 { background: linear-gradient(135deg, #1f5f7f 0%, #5a93b0 100%); }
.post-cover.v2 { background: linear-gradient(135deg, #dfe9f1 0%, #c3d6e4 100%); }
.post-cover.v2::before { background-image: radial-gradient(rgba(18,57,90,0.18) 1.2px, transparent 1.3px); }
.post-cover.v2 i { color: var(--accent); }
.post-cover.v2 .cover-brand { color: var(--muted); }
.post-cover.v2 + .post-tag { background: rgba(18,57,90,0.75); }
@media (max-width: 960px) { .band-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .numbers { grid-template-columns: 1fr; gap: 0; } .numbers > div { padding: 20px 0; } }

/* --- final tweaks: logo cyan for details, a brighter quote button --- */
:root {
    --cyan: #0a80b8;          /* logo cyan-blue */
    --cyan-btn: #0873a6;
    --quote: #e2692a;         /* orange, used only for Request a Quote / submit buttons */
    --quote-hover: #ef7a3a;
    --cyan-soft: #6fb3d6;     /* second line of two-tone headings */
}
.two-tone span { color: var(--cyan-soft); }
.eyebrow::before { background: var(--cyan); }
.eyebrow.light::before { background: #7fd0f5; }
a:hover, .prose a:hover, .post-card h3 a:hover { color: var(--cyan); }
.footer-links a:hover { color: #7fd0f5; }
.svc-head i, .route-pin i, .car-card.tint .car-icon { color: var(--cyan); }
.step::before { color: var(--cyan); }
.check-list li::before { color: var(--cyan); }
.car-progress span { background: var(--cyan); }

/* Every "Request a Quote" / submit button */
.header-cta, header.over-hero .header-cta, header.over-hero.scrolled .header-cta,
.main-nav .nav-cta, .btn-orange, .page-hero .btn-orange, .form-card button[type="submit"] {
    background: var(--quote); border-color: var(--quote); color: #fff; backdrop-filter: none;
}
.header-cta:hover, .main-nav .nav-cta:hover, .btn-orange:hover, .page-hero .btn-orange:hover { background: var(--quote-hover); border-color: var(--quote-hover); color: #fff; }
.side-box.dark .btn-orange { background: var(--quote); }
.pill-quote { background: var(--quote); color: #fff; }
.pill-quote:hover { background: var(--quote-hover); }

/* --- restored "Reliability Through Capacity" --- */
.capacity { margin-top: 110px; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cap-card { background: var(--tint); border-radius: var(--radius-lg); padding: 34px 36px; }
.cap-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 18px; }
.cap-card ul { list-style: none; margin: 0; }
.cap-card li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid #d6e0e9; color: var(--ink); font-weight: 500; }
.cap-card li i { color: var(--cyan); width: 20px; text-align: center; }
@media (max-width: 768px) { .cap-grid { grid-template-columns: 1fr; } .capacity { margin-top: 80px; } .cap-card { padding: 26px 22px; } }

/* --- calculators --- */
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 10px 30px rgba(15,30,46,0.05); }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.calc .field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.calc .field input, .calc .field select { width: 100%; padding: 11px 14px; border: 1px solid #d3dde6; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.calc .field input:focus, .calc .field select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.calc .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.calc-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.calc-results > div { background: var(--tint); border-radius: 16px; padding: 16px 18px; }
.calc-results span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.calc-results strong { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.calc-results .main { background: linear-gradient(135deg, #0d2c45, #1b5674); }
.calc-results .main span { color: rgba(255,255,255,0.75); }
.calc-results .main strong { color: #fff; }
.calc-note { font-size: 13px; color: var(--muted); margin: 14px 4px 40px; }

/* --- calculators strip on the Insights page --- */
.tools-title { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 20px; }
.tools-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 60px; }
.tool-link { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; color: var(--ink); transition: border-color .3s, transform .3s; }
.tool-link:hover { border-color: var(--cyan); color: var(--ink); }
.tool-link i { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.tool-link strong { display: block; font-weight: 600; }
.tool-link small { color: var(--muted); font-size: 13px; }
.tool-link .arr { margin-left: auto; color: var(--cyan); }

/* --- service box at the end of articles --- */
.article-service { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 30px; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--tint); }
.as-label { font-size: 12px; font-weight: 600; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; }
.article-service h2 { font-size: 22px; font-weight: 500; margin: 6px 0 6px; }
.article-service p { color: var(--muted); font-size: 14px; margin: 0; max-width: 520px; }
.as-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.article-tools a { font-weight: 600; }
.article-tools i { color: var(--cyan); margin-right: 4px; }

@media (max-width: 768px) {
    .calc-grid, .tools-strip { grid-template-columns: 1fr; }
    .calc-results { grid-template-columns: 1fr 1fr; }
    .calc-card { padding: 22px 18px; }
    .article-service { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
}

/* =====================================================================
   MOBILE OVERHAUL (phones up to 768px)
   ===================================================================== */
.mobile-bar { display: none; }
@media (max-width: 768px) {
    /* fixed action bar: Call / WhatsApp / Get Quote */
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,30,46,0.08); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--tint); }
    .mobile-bar a.wa i { color: #1fa855; }
    .mobile-bar a.quote { background: var(--quote); color: #fff; }
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .float-wa { display: none; }

    /* slimmer header */
    .header-inner { padding: 10px 16px; }
    header.over-hero .header-inner { padding: 14px 18px; }
    .logo-img { height: 30px; }
    .logo-group .brand { font-size: 16px; }
    .menu-toggle { width: 42px; height: 42px; }

    /* tighter rhythm */
    .sec { padding: 60px 0; }
    .wrap { padding: 0 18px; }
    .two-tone, .band h2 { font-size: 30px; margin-bottom: 16px; }
    .split-head { gap: 14px; margin-bottom: 30px; }
    .split-head p { font-size: 15px; margin-bottom: 14px; }
    .intro-head { margin-bottom: 30px; }
    .eyebrow { margin-bottom: 12px; }

    /* hero */
    .hx-card { min-height: 560px; padding-top: 96px; }
    .hx-content h1 { font-size: 34px; }

    /* bento */
    .bento { gap: 12px; }
    .bento-photo { min-height: 300px; }
    .bento-photo figcaption { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
    .bento-mini strong { font-size: 17px; }
    .bento-card { padding: 22px 20px; }
    .bento-card h3 { font-size: 21px; }
    .route { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 18px; }
    .route-line { display: none; }
    .route-pin { padding: 10px 14px; }
    .route-pin span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
    .bars { height: 80px; gap: 6px; }

    /* numbers side by side */
    .numbers { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
    .numbers > div { padding: 14px 0 0; }
    .numbers strong { font-size: 26px; margin-bottom: 6px; }
    .numbers small { font-size: 12px; line-height: 1.35; }

    /* capacity */
    .capacity { margin-top: 56px; }
    .cap-grid { gap: 12px; }
    .cap-card { padding: 20px 18px; }
    .cap-card h3 { font-size: 20px; margin-bottom: 10px; }
    .cap-card li { padding: 9px 0; font-size: 14px; }

    /* services list */
    .svc-head { min-height: 56px; }

    /* why-us band */
    .band { margin: 0 10px; }
    .band-grid { gap: 26px; }
    .glass-card.row { padding: 18px; gap: 14px; }
    .glass-card h3 { font-size: 17px; }

    /* industries carousel */
    .car-card { flex-basis: 78%; height: 250px; padding: 22px; }
    .car-card h3 { font-size: 20px; }
    .car-icon { top: 20px; right: 20px; font-size: 22px; }
    .car-nav { margin-top: 20px; }
    .client-row li { font-size: 13px; padding: 7px 13px; }

    /* process: compact list */
    .step { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 16px 0 18px; }
    .step::before { grid-row: 1 / span 2; margin: 2px 0 0; font-size: 14px; }
    .step h3 { font-size: 17px; margin-bottom: 4px; }
    .step p { font-size: 14px; }

    /* articles: swipeable row on the home page */
    #insights .post-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
    #insights .post-grid::-webkit-scrollbar { display: none; }
    #insights .post-card { flex: 0 0 82%; scroll-snap-align: start; }
    .post-card h3 { font-size: 17px; margin-top: 14px; }

    /* FAQ: bigger tap targets */
    .faq-list summary, .faq summary { min-height: 44px; align-items: center; font-size: 16px; }
    .faq-list details { padding: 12px 0; }

    /* maps: open in Google Maps instead of loading two embeds on mobile data */
    .map-card iframe { display: none; }
    .map-grid { gap: 12px; }
    .map-info { padding: 18px; flex-direction: row; align-items: center; }
    .map-info h3 { font-size: 17px; }
    .map-info p { font-size: 13px; }

    /* closing card + footer */
    .connect { padding: 24px 10px 10px; }
    .connect-card { padding: 54px 20px; }
    .connect-card h2 { font-size: 30px; }
    .footer-wrap { padding: 40px 20px 24px; }
    .footer-top { gap: 26px; }
    .footer-links { gap: 20px 16px; }
    .footer-links a { padding: 5px 0; margin-bottom: 4px; }
    footer .footer-bottom { margin-top: 34px; gap: 12px; }
    .back-top { display: inline-block; padding: 10px 0; }
    .footer-logo { font-size: 20px; }

    /* inner pages */
    .page-hero { padding: 48px 0 40px; }
    .page-hero h1 { font-size: 30px; }
    .page-hero p.lead { font-size: 15px; }
    .section-pad { padding: 44px 0; }
    .sidebar .side-box.dark { display: none; }   /* the bottom bar already offers quote, WhatsApp and call */
    .article-card { padding: 26px 18px; }
    .article-card h1 { font-size: 26px; }
    .prose { font-size: 16px; }
    .prose h2 { font-size: 22px; margin-top: 34px; }
    .calc-results strong { font-size: 17px; }
    .small, small { font-size: 12.5px; }
}
@media (max-width: 768px) {
    .bento .bento-card { display: none; }                 /* same facts appear in the numbers and capacity lists below */
    .footer-links > div:first-child { display: none; }    /* services are in the menu and on every page */
    .footer-links { grid-template-columns: 1fr 1fr; }
}

/* --- areas --- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.area-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; color: var(--ink); transition: border-color .3s, background .3s; }
.area-card:hover { border-color: var(--cyan); color: var(--ink); }
.area-dist { font-size: 12px; font-weight: 600; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; }
.area-card h2 { font-size: 22px; font-weight: 500; margin: 8px 0; }
.area-card p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 16px; }
.area-card .more { color: var(--accent); font-weight: 600; font-size: 14px; }
.area-links { font-size: 14px; }
.area-links a { font-weight: 600; }
@media (max-width: 768px) { .area-grid { grid-template-columns: 1fr; gap: 12px; } .area-card { padding: 22px; } }

/* dropdowns with long option text must not widen the page */
.calc-grid > .field, .form-grid > .field { min-width: 0; }
.calc .field select, .field select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }

/* grid columns must be allowed to shrink below their content (wide tables scroll inside) */
.content-layout > *, .calc-card, .calc { min-width: 0; }
.prose table { max-width: 100%; }

/* --- Vapi page map + home note --- */
.area-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin: 30px 0; background: #fff; }
.area-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.area-map-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.area-map-info strong { display: block; color: var(--ink); }
.area-map-info span { font-size: 14px; color: var(--muted); }
.prose .area-map-info .btn { flex: none; font-weight: 600; text-decoration: none; }
.cap-note { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--cyan); }
@media (max-width: 768px) { .area-map iframe { height: 220px; } .area-map-info { flex-direction: column; align-items: flex-start; } }
