/* ==========================================================================
   Techbit Infotech - main stylesheet
   Brand tokens from PRD 13.1. #43A4DC is used for accents only; solid buttons
   with white labels use the darker contrast-tested #1A6698 (6.2:1).
   ========================================================================== */
:root {
    --brand: #43A4DC;          /* primary brand blue (accents, icons, highlights) */
    --brand-dark: #1A6698;     /* CTA backgrounds with white text, links */
    --brand-darker: #134F78;
    --brand-tint: #E8F4FB;
    --grey: #A3A2A2;           /* neutral logo grey (borders, dividers) */
    --navy: #0E2236;           /* supporting UI neutral */
    --ink: #0F172A;
    --text: #1F2937;
    --muted: #4B5563;
    --border: #E2E8F0;
    --bg: #FFFFFF;
    --bg-soft: #F4F8FB;
    --wa: #1A8D4A;             /* WhatsApp green darkened for white-text contrast */
    --danger: #B42318;
    --danger-bg: #FEF3F2;
    --success: #067647;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(19, 79, 120, .35);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1200px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-darker); }
address { font-style: normal; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-lg { margin-top: 2.5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 18px -8px rgba(26, 102, 152, .7); }
.btn-primary:hover { background: var(--brand-darker); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-darker); }
.btn-light { background: #fff; color: var(--brand-darker); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand-darker); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #136B37; color: #fff; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .6em 1.1em; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--brand-dark); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-tint); }
.main-nav a.active { color: var(--brand-dark); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }
.mobile-nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-wa { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--wa); background: #E9F7EF; }
.header-wa .icon { width: 22px; height: 22px; }
.header-wa:hover { color: #fff; background: var(--wa); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
    .header-cta { display: none; }
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; border-top: 1px solid var(--border); }
    .main-nav.is-open { transform: none; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { font-size: 1.1rem; padding: 14px 12px; }
    .main-nav a.active { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 8px 8px 0; background: var(--brand-tint); }
    .mobile-nav-extra { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
    .mobile-call { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; padding: 10px; text-decoration: none; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--bg-soft); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 12px 0; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--grey); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0; background: radial-gradient(1100px 500px at 85% -10%, var(--brand-tint), transparent 60%), linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 14px; }
.eyebrow a { text-decoration: none; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-contact { margin-top: 24px; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.hero-contact .icon { width: 1em; height: 1em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center; }
.hv-orb { position: absolute; inset: 8%; border-radius: 50%; background: conic-gradient(from 210deg, var(--brand), #9AD3F2, var(--brand-dark), var(--brand)); opacity: .18; filter: blur(2px); }
.hv-card { position: absolute; inset: 20%; background: #fff; border-radius: 32px; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.hv-card img { width: 64%; height: auto; }
.hv-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; color: var(--ink); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.hv-chip .icon { color: var(--brand-dark); }
.hv-chip-1 { top: 6%; left: 0; }
.hv-chip-2 { top: 22%; right: -4%; animation-delay: -1.5s; }
.hv-chip-3 { bottom: 18%; left: -6%; animation-delay: -3s; }
.hv-chip-4 { bottom: 4%; right: 2%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 360px; order: -1; display: none; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.trust-item { padding: 28px 16px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.trust-item span { color: #CFE3F1; font-size: .9rem; }
@media (max-width: 600px) { .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 18px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-top: 40px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-title { margin-bottom: .4em; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.mission { padding: 16px 20px; background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.page-hero { padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); background: radial-gradient(900px 400px at 90% -20%, var(--brand-tint), transparent 60%), #fff; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 880px; }
.page-lead { font-size: 1.05rem; color: var(--muted); max-width: 720px; margin: 0; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; } }

.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover, .service-card:focus-within { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .link-arrow { margin-top: auto; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 18px; }
.service-icon .icon { width: 26px; height: 26px; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--brand-dark); margin-top: .2em; width: 1.1em; height: 1.1em; }
.tick-list-sm { font-size: .9rem; gap: 6px; color: var(--muted); }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.why-list h3 { margin-bottom: .3em; }
.why-list p { margin: 0; color: var(--muted); }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--brand-dark); color: #fff; }
.pull-quote { margin: 24px 0 28px; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.pull-quote-center { max-width: 760px; margin: 48px auto 0; text-align: center; border: 0; padding: 0; font-size: 1.3rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } .why-intro { position: static; } }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 22px; height: 2px; background: var(--brand); }
.step-num { position: absolute; top: 16px; right: 18px; font-size: 2rem; font-weight: 800; color: var(--brand-tint); line-height: 1; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 16px; }
.process-step h3 { font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1024px) { .process { grid-template-columns: repeat(2, 1fr); } .process-step::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.project-card:hover, .project-card:focus-within { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card[hidden] { display: none; }
.project-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); position: relative; overflow: hidden; }
.thumb-placeholder::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); right: -20%; bottom: -30%; }
.thumb-placeholder span { font-size: 3.2rem; font-weight: 800; color: #fff; letter-spacing: .04em; position: relative; }
.thumb-placeholder-lg { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.thumb-placeholder-lg span { font-size: 5rem; }
.project-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.project-body p { color: var(--muted); font-size: .93rem; }
.project-body .link-arrow { margin-top: auto; }
.project-industry { font-size: .78rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark) !important; margin-bottom: 6px; }
.project-title { margin-bottom: .4em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; min-height: 44px; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.filter-btn.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.filter-btn .count { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.filter-btn.is-active .count { background: rgba(255, 255, 255, .2); color: #fff; }

.project-hero-media img { border-radius: var(--radius); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-item img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.side-card h2 { font-size: 1.25rem; margin: 0; }
.side-card h3 { font-size: 1rem; margin: 12px 0 0; }
.side-card p { margin: 0; color: var(--muted); }
.side-link { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 8px; }
.detail-list dt { color: var(--muted); font-size: .9rem; }
.detail-list dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

/* ---------- Testimonials ---------- */
.testimonial-card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.testimonial-card blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--text); }
.quote-icon { width: 34px; height: 34px; color: var(--brand); margin-bottom: 12px; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-dark); font-weight: 800; }
.testimonial-card small { display: block; color: var(--muted); }

.empty-state { text-align: center; max-width: 640px; margin: 0 auto; padding: 48px 24px; border: 1px dashed var(--grey); border-radius: var(--radius); background: var(--bg-soft); }
.empty-state img { margin: 0 auto 16px; }
.empty-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 18px; }
.empty-icon .icon { width: 34px; height: 34px; }
.success-state { border-style: solid; border-color: var(--border); }
.success-state .empty-icon { background: #E7F6EE; color: var(--success); }
.center-actions { justify-content: center; }
.error-code { font-size: 5rem; font-weight: 800; color: var(--brand); margin: 0; line-height: 1; }

/* ---------- About ---------- */
.fact-list { display: grid; gap: 14px; margin-top: 20px; }
.fact-list div { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.fact-list strong { font-size: 1.8rem; font-weight: 800; color: var(--brand-dark); min-width: 80px; }
.fact-list span { color: var(--muted); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 36px; border-top: 4px solid var(--brand); box-shadow: var(--shadow-sm); }
.mv-card p { font-size: 1.15rem; color: var(--ink); margin: 0; }
.mv-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 16px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }
.values-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.value-card { text-align: center; padding: 24px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.value-letter { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-dark); color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.value-card h3 { margin-bottom: .3em; }
.value-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Services page ---------- */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip .icon { color: var(--brand-dark); }
.service-card-lg { padding: 30px; }
.note-box { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; background: var(--brand-tint); border-radius: var(--radius); color: var(--ink); }
.note-box .icon { color: var(--brand-dark); margin-top: .2em; }
.note-box p { margin: 0; }
.section + .section > .note-box { margin-top: -40px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-darker) 0%, var(--brand-dark) 55%, #2A86C0 100%); color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); right: -120px; top: -160px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #E3F1FA; margin: 0; max-width: 620px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-tile small { display: block; color: var(--muted); font-size: .8rem; }
.contact-tile strong, .contact-tile address { font-weight: 700; word-break: break-word; }
.contact-tile address { font-weight: 600; font-size: .95rem; }
.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--brand-tint); color: var(--brand-dark); }
.tile-wa { background: #E9F7EF; color: var(--wa); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; margin-bottom: .2em; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .form-card { order: -1; } }

.enquiry-form { display: grid; gap: 18px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(67, 164, 220, .25); }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: var(--danger); }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.field-error .icon { width: 1em; height: 1em; }
.hint { font-size: .85rem; color: var(--muted); margin: -2px 0 6px; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; font-size: .88rem; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-dark); }
.form-check label { font-weight: 400; color: var(--text); font-size: .93rem; margin: 0; }
.form-check .field-error { grid-column: 1 / -1; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-top: 16px; }
.alert:focus { outline: 3px solid var(--danger); }
.alert-error { background: var(--danger-bg); border: 1px solid #FECDCA; color: #7A271A; }
.alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.alert a { color: #7A271A; font-weight: 600; }
.alert p { margin: 6px 0 0; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); aspect-ratio: 16 / 7; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-address { color: var(--muted); }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C5D3E0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-tagline { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links, .footer-contact, .social-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #C5D3E0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact .icon { color: var(--brand); margin-top: .25em; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.social-links a:hover { background: var(--brand-dark); text-decoration: none; }
.social-links .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating WhatsApp & cookie banner ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgba(26, 141, 74, .6); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float .icon { width: 30px; height: 30px; }
body.nav-open .whatsapp-float { display: none; }

.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; font-size: .9rem; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 560px) { .cookie-banner { left: 12px; right: 84px; bottom: 12px; } }

/* ---------- Image cards & page hero artwork ---------- */
.service-card.has-media { padding: 0 0 24px; overflow: hidden; }
.service-card.has-media > :not(.service-media) { margin-left: 24px; margin-right: 24px; }
.service-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-tint); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-media img { transform: scale(1.04); }
.has-media .service-icon { position: relative; z-index: 1; margin-top: -26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.page-hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero-media img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .page-hero-split { grid-template-columns: 1fr; gap: 24px; } .page-hero-media { max-width: 560px; } }

/* ---------- App-style bottom tab bar (phones & tablets) ---------- */
.tabbar { display: none; }
@media (max-width: 960px) {
    .tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
        background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(12px); border-top: 1px solid var(--border);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .25);
    }
    .tab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 50px; font-size: .68rem; font-weight: 600; color: var(--muted); text-decoration: none; -webkit-tap-highlight-color: transparent; }
    .tab .icon { width: 23px; height: 23px; }
    .tab.is-active { color: var(--brand-dark); }
    .tab.is-active .icon { stroke-width: 2.3; }
    .tab-wa { color: var(--wa); }
    .tab-wa-btn { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--wa); color: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px -6px rgba(26, 141, 74, .6); }
    .tab-wa-btn .icon { width: 26px; height: 26px; }
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .whatsapp-float, .header-wa { display: none; }
    .main-nav { padding-bottom: 100px; }
    .cookie-banner { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .section { padding: 64px 0; }
    .hero { padding: 56px 0; }
    .why-grid, .split { gap: 32px; }
    .contact-grid { gap: 28px; }
}

/* ---------- Phone: compact, app-like ---------- */
@media (max-width: 768px) {
    :root { --header-h: 62px; --radius: 16px; }
    body { font-size: .94rem; line-height: 1.6; }
    h1 { font-size: 1.6rem; }
    h2, .section-title { font-size: 1.3rem; }
    h3 { font-size: 1rem; }
    .container { padding: 0 16px; }
    .brand img { height: 36px; }
    .nav-toggle { width: 40px; height: 40px; }

    .section { padding: 36px 0; }
    .section-tight { padding-top: 20px; }
    .section-head { margin-bottom: 18px; }
    .section-head-row { align-items: center; flex-wrap: nowrap; }
    .section-head-row .btn { padding: .55em 1em; font-size: .8rem; }
    .section-lead, .page-lead, .prose { font-size: .94rem; }
    .eyebrow { font-size: .68rem; margin-bottom: 6px; }
    .mt-lg { margin-top: 1.5rem; }

    .hero { padding: 28px 0 32px; }
    .hero h1 { font-size: 1.95rem; }
    .hero-lead { font-size: .95rem; }
    .hero-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
    .hero-actions .btn { width: 100%; }
    .btn-lg { padding: .9em 1.3em; font-size: .95rem; }
    .hero-contact { font-size: .85rem; margin-top: 16px; }
    .page-hero { padding: 24px 0 28px; }
    .page-hero-media { order: -1; }
    .page-hero-media img { border-radius: 16px; box-shadow: var(--shadow); }

    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item { padding: 16px 8px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .trust-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
    .trust-item strong { font-size: 1.45rem; }
    .trust-item span { font-size: .76rem; }

    /* Swipeable card rows, like app carousels */
    .swipe-mobile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; gap: 14px; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .swipe-mobile::-webkit-scrollbar { display: none; }
    .swipe-mobile > * { flex: 0 0 80%; scroll-snap-align: start; }
    .process.swipe-mobile > * { flex-basis: 68%; }

    .service-card { padding: 20px; }
    .service-card.has-media { padding: 0 0 18px; }
    .service-card.has-media > :not(.service-media) { margin-left: 18px; margin-right: 18px; }
    .service-card p, .project-body p { font-size: .88rem; }
    .service-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .has-media .service-icon { margin-top: -22px; }
    .service-icon .icon { width: 22px; height: 22px; }
    .project-body { padding: 16px; }
    .card-actions .btn { flex: 1; }

    .why-list li { padding: 16px; gap: 14px; }
    .why-icon { width: 40px; height: 40px; }
    .why-list p { font-size: .88rem; }
    .pull-quote { font-size: .98rem; margin: 16px 0 20px; }
    .pull-quote-center { font-size: 1.05rem; margin-top: 28px; }
    .process-step { padding: 20px 18px; }

    .filter-bar, .chip-nav { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar, .chip-nav::-webkit-scrollbar { display: none; }
    .filter-bar { margin-bottom: 18px; }
    .filter-btn, .chip { flex-shrink: 0; font-size: .82rem; padding: 8px 14px; min-height: 40px; }
    .chip-nav { margin-top: 18px; }

    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .values-grid li:last-child { grid-column: 1 / -1; }
    .value-card { padding: 16px 10px; }
    .value-letter { width: 44px; height: 44px; font-size: 1.25rem; }
    .mv-card { padding: 22px; }
    .mv-card p { font-size: 1rem; }
    .fact-list strong { font-size: 1.4rem; min-width: 64px; }

    .contact-info { grid-template-columns: 1fr 1fr; gap: 10px; }
    .contact-tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .contact-tile strong { font-size: .82rem; }
    .contact-tile-static, .contact-info a[href^="mailto:"] { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .tile-icon { width: 40px; height: 40px; }
    .form-card { padding: 20px 16px; box-shadow: none; }
    .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group select, .form-group textarea { font-size: 16px; } /* no iOS zoom */
    .map-frame { aspect-ratio: 1 / 1; }

    .side-card { padding: 20px; }
    .detail-grid { gap: 28px; }
    .breadcrumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding: 8px 0; font-size: .78rem; scrollbar-width: none; }
    .empty-state { padding: 32px 16px; }
    .note-box { font-size: .88rem; padding: 16px; }

    .cta-band { padding: 36px 0; }
    .cta-band p { font-size: .94rem; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 36px; padding-bottom: 28px; }
    .footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
    .footer-bottom-inner { justify-content: center; text-align: center; font-size: .8rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
