/* Aigua shared stylesheet: used by every page */
/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --ink: #0a1430;
    --ink-2: #27314b;
    --muted: #5b6480;
    --line: #e3e7ef;
    --bg: #ffffff;
    --grey: #f5f6f8;
    --tint: #e7f6fd;
    --blue: #00a5e5;      /* Aigua logo blue */
    --blue-d: #0089c2;
    --blue-ink: #0077b3;  /* darker shade of the logo blue, for small text links */
    --orange: #f68a1f;    /* Aigua logo orange */
    --navy: #072238;
    --night: #060d1d;
    --display: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --head: 78px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #eef1f6; padding: 6px 10px; }
.tag.light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 15px 24px; border: 1.5px solid transparent; border-radius: 0; cursor: pointer; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--blue-ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }

section { position: relative; }
.pad { padding: 120px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 18px; max-width: 640px; }
.sec-head p { max-width: 440px; color: var(--muted); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: height .3s var(--ease), box-shadow .3s; }
.site-header.scrolled { height: 66px; box-shadow: 0 8px 24px -16px rgba(10,20,48,.25); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 42px; }
.menu { display: flex; align-items: center; gap: 34px; }
.menu a { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.menu a:hover, .menu a.active { color: var(--blue-ink); }
.menu .btn { color: #fff; padding: 12px 20px; font-size: 14px; }
.menu .btn:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span, .burger span::before { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span { top: 17px; }
.burger span::before { top: 7px; left: 0; right: 0; }
.burger.open span { transform: translateY(3.5px) rotate(45deg); }
.burger.open span::before { transform: translateY(-7px) rotate(-90deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: calc(var(--head) + 56px) 0 0; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.slides-text { display: grid; }
.st { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.st.active { opacity: 1; visibility: visible; transform: none; }
.st h2 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin: 22px 0 22px; }
.st h2 span { color: var(--blue); }
.st .lead { max-width: 520px; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 54px; }
.ht { text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 0 0; position: relative; }
.ht::before, .ht i { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.ht::before { right: 0; background: var(--line); }
.ht i { width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.ht.active i { animation: tabfill var(--dur, 12s) linear forwards; }
.ht.paused i { animation-play-state: paused; }
.ht.still i { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.ht-n { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ht-l { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--muted); transition: color .3s; }
.ht.active .ht-l, .ht:hover .ht-l { color: var(--ink); }

.hero-visual { position: relative; height: 580px; background: var(--night); clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 24%); overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease); }
.scene.active { opacity: 1; }
.hv-chip { position: absolute; z-index: 2; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 12px; backdrop-filter: blur(6px); }
.hv-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 9px; vertical-align: 1px; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, rgba(5,11,24,0), rgba(5,11,24,.88)); pointer-events: none; }
.hv-status { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.82); }
.hv-step { flex: 0 0 auto; color: #04121f; font-weight: 500; background: var(--blue); padding: 6px 9px; letter-spacing: .06em; }
.hv-text { transition: opacity .35s; }
.hv-text.swap { opacity: 0; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 72px; padding: 40px 0 8px; border-top: 1px solid var(--line); }
.stat { border-left: 2px solid var(--line); padding-left: 18px; }
.stat-n { font-family: var(--display); color: var(--ink); font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.stat-n small { font-size: 18px; font-weight: 600; margin-left: 4px; letter-spacing: -.01em; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who { padding: 96px 0 0; }
.who-panel { background: var(--navy); color: #fff; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 72px 64px; position: relative; overflow: hidden; }
.who-panel h2 { color: #fff; margin: 20px 0 24px; }
.who-panel p { color: rgba(255,255,255,.78); margin-bottom: 18px; max-width: 600px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 30px; max-width: 600px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }
.checks svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--orange); fill: none; stroke-width: 2; }
.who-panel { background:
        radial-gradient(70% 90% at 85% 40%, rgba(0,165,229,.22), transparent 70%),
        linear-gradient(rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--navy); }
.who-panel > div:first-child { position: relative; z-index: 1; }
.who-art { position: relative; display: flex; align-items: center; justify-content: center; }
.who-art svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.bp-line { fill: none; stroke: rgba(150,215,245,.55); stroke-width: 1.2; }
.bp-faint { fill: none; stroke: rgba(150,215,245,.22); stroke-width: 1; }
.bp-win { fill: rgba(0,165,229,.06); stroke: rgba(150,215,245,.28); stroke-width: 1; }
.bp-pipe { fill: none; stroke: rgba(0,165,229,.55); stroke-width: 2.4; }
.bp-flow { fill: none; stroke: #7fd8ff; stroke-width: 2.4; stroke-dasharray: 5 13; animation: flow 1.6s linear infinite; }
.bp-head { fill: #7fd8ff; }
.bp-barrier { stroke: var(--orange); stroke-width: 5; }
.bp-txt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: rgba(200,232,248,.75); }
.bp-dim { fill: none; stroke: rgba(200,232,248,.4); stroke-width: 1; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.who-more { text-align: center; padding: 26px 0 0; }

/* ============================================================
   VALUES
   ============================================================ */
.values { padding: 110px 0 120px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.value svg { width: 46px; height: 46px; stroke: var(--blue); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.value h3 { font-size: 24px; margin-bottom: 6px; }
.value .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block; }
.value p { color: var(--muted); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { background: var(--tint); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat { background: #fff; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10,20,48,.35); }
.feat-vis { height: 270px; background: radial-gradient(120% 90% at 70% 10%, #13305f 0%, #060d1d 70%); position: relative; overflow: hidden; }
.feat-vis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px 28px; filter: drop-shadow(0 20px 26px rgba(0,0,0,.5)); z-index: 1; }
.feat-vis.has-photo svg { display: none; }
.feat-vis .label { z-index: 2; position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.7); text-transform: uppercase; }
.feat-body { padding: 34px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.feat-body h3 { font-size: 28px; margin-bottom: 18px; }
.ticks { display: grid; gap: 10px; margin-bottom: 30px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; stroke: var(--blue); fill: none; stroke-width: 2; }
.feat-body .link { margin-top: auto; align-self: flex-start; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.mini { background: #fff; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -28px rgba(10,20,48,.35); }
.mini-vis { height: 210px; background: linear-gradient(180deg, #f2fafe, var(--tint)); display: flex; align-items: center; justify-content: center; padding: 26px; overflow: hidden; }
.mini-vis img { max-width: 78%; max-height: 100%; width: auto; height: auto; transition: transform .6s var(--ease); }
.mini:hover .mini-vis img { transform: scale(1.05); }
.mini-body { padding: 24px 28px 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mini-body svg { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--blue-ink); fill: none; stroke-width: 2; stroke-linecap: round; margin-bottom: 4px; transition: transform .3s var(--ease); }
.mini:hover .mini-body svg { transform: translateX(4px); }
.mini h3 { font-size: 20px; margin-bottom: 4px; }
.mini p { font-size: 15px; color: var(--muted); }

/* ============================================================
   SEGMENTS + PARTNERS
   ============================================================ */
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.seg-grid h2 { margin: 18px 0 18px; }
.seg-grid > div > p { color: var(--muted); max-width: 480px; margin-bottom: 36px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--grey); border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); transition: background .3s, border-color .3s, color .3s; }
.pill svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #fff; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover { background: var(--tint); border-color: #bfe7f8; color: var(--blue-ink); }
.partners-card { background: var(--grey); padding: 40px; }
.partners-card h3 { font-size: 24px; margin: 16px 0 26px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-cell { aspect-ratio: 1 / 1; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.logo-cell img { width: 100%; height: 100%; object-fit: cover; }
.logo-cell.contain img { object-fit: contain; padding: 12%; }
.logo-cell:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -20px rgba(10,20,48,.4); }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--grey); }
.cl-wall { display: grid; gap: 14px; margin-bottom: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cl-row { overflow: hidden; }
.cl-track { display: flex; gap: 14px; width: max-content; animation: clscroll 60s linear infinite; }
.cl-row.rev .cl-track { animation-direction: reverse; animation-duration: 54s; }
.cl-wall:hover .cl-track { animation-play-state: paused; }
.cl { flex: 0 0 auto; width: 168px; height: 104px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 10px 18px; }
.cl img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.cl:hover img { filter: none; opacity: 1; }
@keyframes clscroll { to { transform: translateX(calc(-50% - 7px)); } }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; padding: 36px 32px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; border-top: 3px solid var(--blue); }
.quote svg { width: 34px; height: 34px; fill: var(--tint); stroke: var(--blue); stroke-width: 1.2; margin-bottom: 18px; }
.quote blockquote { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-grid h2 { margin: 18px 0 18px; }
.contact-grid .lead { margin-bottom: 36px; }
.direct { display: grid; gap: 2px; }
.direct a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; color: var(--ink); transition: color .25s; }
.direct a:last-child { border-bottom: 1px solid var(--line); }
.direct a:hover { color: var(--blue-ink); }
.direct small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.direct span.ic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--tint); }
.direct svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.form { background: var(--grey); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 14px 14px; font-size: 16px; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2300a5e5' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,165,229,.15); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #000; color: rgba(255,255,255,.72); border-top: 3px solid var(--blue); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding: 80px 0 64px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand img { width: 230px; margin-bottom: 22px; }
.foot-brand p { max-width: 380px; font-size: 15px; }
.foot-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.foot-k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.foot-mail { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.1; transition: color .3s; }
.foot-mail:hover { color: var(--blue); }
.foot-offices { display: grid; grid-template-columns: repeat(3, 1fr); padding: 72px 0 70px; }
.fo { text-align: center; padding: 0 36px; }
.fo + .fo { border-left: 1px solid rgba(255,255,255,.1); }
.fo-icon { height: 150px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 28px; }
.fo h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.fo h4 span { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--blue); border: 1px solid rgba(0,165,229,.5); padding: 2px 7px; margin-left: 8px; vertical-align: 2px; }
.fo p { font-size: 15px; line-height: 1.75; max-width: 300px; margin: 0 auto 6px; }
.fo a { color: #fff; font-size: 15px; }
.fo a:hover { color: var(--blue); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.foot-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-nav a, .foot-bottom a { color: rgba(255,255,255,.75); }
.foot-nav a:hover, .foot-bottom a:hover { color: #fff; }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .stats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .menu { gap: 24px; }
}
@media (max-width: 980px) {
    .pad { padding: 90px 0; }
    .hero-grid, .who-panel, .seg-grid, .contact-grid, .feat-grid { grid-template-columns: 1fr; }
    .hero-visual { height: 480px; }
    .who-panel { padding: 56px 40px; }
    .who-art { order: -1; } .who-art svg { max-width: 340px; }
    .values-grid, .quotes, .mini-grid { grid-template-columns: 1fr; gap: 20px; }
    .foot-offices .fo { padding: 0 18px; }
    .values-grid { gap: 44px; }
}
@media (max-width: 860px) {
    :root { --head: 68px; }
    .burger { display: block; }
    .menu { position: fixed; top: var(--head); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
    .site-header.scrolled .menu { top: 66px; }
    .menu.open { opacity: 1; visibility: visible; transform: none; }
    .menu li { border-bottom: 1px solid var(--line); }
    .menu a { display: block; padding: 18px 0; font-size: 22px; font-weight: 600; color: var(--ink); }
    .menu li:last-child { border: 0; padding-top: 24px; }
    .menu .btn { display: inline-flex; font-size: 15px; padding: 15px 24px; }
    .brand img { height: 42px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 20px; }
    .pad { padding: 76px 0; }
    .hero { padding-top: calc(var(--head) + 32px); }
    .hero-visual { height: 400px; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 14%); }
    .hero-tabs { gap: 14px; margin-top: 36px; }
    .ht-l { font-size: 14px; }
    .hv-status { font-size: 11px; left: 14px; right: 14px; bottom: 14px; }
    .hv-chip { top: 14px; right: 14px; font-size: 10px; }
    .stats { grid-template-columns: 1fr 1fr; margin-top: 52px; }
    .who { padding-top: 64px; }
    .who-panel { padding: 44px 24px; margin: 0 -20px; }
    .checks { grid-template-columns: 1fr; }
    .values { padding: 80px 0; }
    .feat-vis { height: 220px; }
    .feat-body { padding: 26px 22px 28px; }
    .partners-card { padding: 28px 22px; }
    .logos { grid-template-columns: 1fr 1fr; }
    .form { grid-template-columns: 1fr; padding: 26px 20px; }
    .foot-top { padding: 60px 0 44px; }
    .foot-cta { align-items: flex-start; text-align: left; }
    .foot-offices { grid-template-columns: 1fr; padding: 20px 0; }
    .fo, .fo + .fo { padding: 40px 0; border-left: 0; }
    .fo + .fo { border-top: 1px solid rgba(255,255,255,.1); }
    .fo-icon { height: 120px; }
    .cl { width: 136px; height: 86px; }
}

/* ============================================================
   FOOTER LANDMARKS (vector masks, recolour on hover)
   ============================================================ */
.lm { display: block; width: 100%; max-width: 210px; height: 100%; background: #fff; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center bottom; mask-position: center bottom; -webkit-mask-size: contain; mask-size: contain; transition: background .4s var(--ease), transform .4s var(--ease); }
.lm-mumbai { -webkit-mask-image: url(../icons/mumbai.svg); mask-image: url(../icons/mumbai.svg); }
.lm-bengaluru { -webkit-mask-image: url(../icons/bengaluru.svg); mask-image: url(../icons/bengaluru.svg); }
.lm-kolkata { -webkit-mask-image: url(../icons/kolkata.svg); mask-image: url(../icons/kolkata.svg); }
.fo:hover .lm { background: var(--blue); transform: translateY(-4px); }

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.menu .has-sub { position: relative; }
.menu .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.menu .sub { position: absolute; top: calc(100% + 18px); left: 50%; width: 370px; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); box-shadow: 0 28px 48px -26px rgba(10,20,48,.4); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu .has-sub:hover .caret, .menu .has-sub:focus-within .caret { transform: rotate(180deg); }
.menu .sub a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px; color: var(--ink); transition: background .2s; }
.menu .sub a:hover, .menu .sub a[aria-current] { background: var(--tint); color: var(--ink); }
.sub-ic { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--tint); }
.menu .sub a:hover .sub-ic, .menu .sub a[aria-current] .sub-ic { background: #fff; }
.sub-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sub b { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); }
.sub small { display: block; margin-top: 3px; font-family: var(--body); font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--muted); }

/* ============================================================
   HOME: SOLUTIONS SPLIT
   ============================================================ */
.sol-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.sol-col { display: grid; gap: 14px; }
.sol-col-head { display: grid; gap: 6px; padding: 28px 30px 26px; color: #fff; background:
        radial-gradient(80% 120% at 100% 0%, rgba(0,165,229,.28), transparent 60%),
        linear-gradient(rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 22px 22px,
        var(--navy); }
.sol-col-head .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(150,215,245,.9); }
.sol-col-head .t { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sol-col-head .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--display); font-size: 15px; font-weight: 600; color: #7fd8ff; }
.sol-col-head .go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.sol-col-head:hover .go svg { transform: translateX(4px); }
.sol-col .feat-vis { height: 240px; }
.sol-col .feat-body { padding: 28px 30px 30px; }
.sol-col .feat-body h3 { font-size: 26px; margin-bottom: 14px; }
.sol-col .ticks { margin-bottom: 24px; }
.sol-rows { display: grid; gap: 14px; }
.sol-row { display: grid; grid-template-columns: 84px 1fr 18px; gap: 20px; align-items: center; padding: 12px 24px 12px 12px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sol-row:hover { transform: translateY(-3px); box-shadow: 0 22px 34px -26px rgba(10,20,48,.4); }
.sol-row .thumb { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 8px; background: linear-gradient(180deg, #f2fafe, var(--tint)); }
.sol-row .thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.sol-row .thumb img.art { width: 100%; }
.sol-row h3 { font-size: 19px; margin-bottom: 3px; }
.sol-row p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sol-row > svg { width: 18px; height: 18px; stroke: var(--blue-ink); transition: transform .3s var(--ease); }
.sol-row:hover > svg { transform: translateX(4px); }

/* ============================================================
   SOLUTION PAGES
   ============================================================ */
html.inner { scroll-padding-top: 132px; }
.page-hero { padding: calc(var(--head) + 44px) 0 80px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.crumbs a:hover { color: var(--blue-ink); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.page-hero h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin: 20px 0 22px; }
.page-hero h1 span { color: var(--blue); }
.page-hero .lead { max-width: 540px; margin-bottom: 34px; }

.page-visual { position: relative; height: 560px; overflow: hidden; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 24%); background:
        radial-gradient(70% 60% at 75% 25%, rgba(0,165,229,.16), transparent 70%),
        linear-gradient(rgba(0,165,229,.06) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(0,165,229,.06) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(180deg, #0c1b38, #050b18); }
.page-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(to bottom, rgba(5,11,24,0), rgba(5,11,24,.92)); pointer-events: none; }
.pv-legend { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(220,236,248,.9); }
.pv-legend.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-legend li, .legend li { display: flex; align-items: center; gap: 9px; }
.pv-legend b, .legend b { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 500; background: #e7f6fd; color: var(--navy); }

/* Diagram parts */
.dg-wall { fill: #1d2f52; }
.dg-slab { fill: #263c64; }
.dg-void { fill: rgba(0,0,0,.35); }
.dg-ground { fill: none; stroke: rgba(150,215,245,.4); stroke-width: 1.2; }
.dg-hatch { fill: none; stroke: rgba(150,215,245,.16); stroke-width: 1; }
.dg-barrier { fill: var(--orange); }
.dg-core { fill: #ffd8a8; }
.dg-pipe { fill: #7c8db0; }
.dg-cable { fill: none; stroke: #a9bbdb; stroke-width: 2.6; stroke-linecap: round; }
.dg-seal { fill: var(--orange); }
.dg-steel { fill: #8f9db6; }
.dg-joint { stroke: rgba(0,0,0,.35); stroke-width: 1; }
.dg-coat { fill: none; stroke: #5fd0ff; stroke-width: 2.5; }
.dg-coat-glow { fill: none; stroke: rgba(95,208,255,.35); stroke-width: 9; }
.dg-smoke { fill: rgba(176,186,204,.32); animation: drift 6s ease-in-out infinite alternate; }
.dg-contain { fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 6 5; animation: march 1.4s linear infinite; }
.dg-fire { animation: flick 1.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.dg-fire.f2 { animation-duration: 1.1s; animation-delay: -.4s; }
.dg-fire.f3 { animation-duration: 1.7s; animation-delay: -.8s; }
.dg-mark circle { fill: #e7f6fd; }
.dg-mark text { font-family: var(--mono); font-size: 12px; font-weight: 500; fill: var(--navy); text-anchor: middle; dominant-baseline: central; }
.dg-lead { fill: none; stroke: rgba(220,236,248,.55); stroke-width: 1; }
.dg-det { fill: #c9d6ea; }
.dg-led { fill: #3ad29f; }
.dg-led.alarm { fill: #ff4d3d; animation: blink 1s steps(2, start) infinite; }
.dg-head { fill: #9fdcf6; }
.dg-spray { fill: none; stroke: #9fe3ff; stroke-width: 1.4; stroke-dasharray: 3 6; animation: spray .6s linear infinite; }
.dg-mist { fill: #d6efff; animation: mistpulse 2.4s ease-in-out infinite; }
.dg-hp { fill: none; stroke: #c3cede; stroke-width: 3; }
.dg-pump { fill: #3d5078; stroke: rgba(150,215,245,.5); stroke-width: 1; }
.dg-motor { fill: #2a3b5c; stroke: rgba(150,215,245,.4); stroke-width: 1; }
.dg-hydrant { fill: #e2453a; }
@keyframes flick { 0% { transform: scale(.92, .86); opacity: .82; } 100% { transform: scale(1.04, 1.08); opacity: 1; } }
@keyframes drift { to { transform: translateX(8px); } }
@keyframes march { to { stroke-dashoffset: -22; } }
@keyframes blink { to { visibility: hidden; } }
@keyframes spray { to { stroke-dashoffset: -18; } }
@keyframes mistpulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Sub-navigation */
.subnav { position: sticky; top: 66px; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 17px 0 15px; font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-bottom-color: var(--blue); }

/* Overview: routes / stages */
.overview { padding: 110px 0 100px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ways.four { grid-template-columns: repeat(4, 1fr); }
.way { padding: 34px 30px 6px 0; }
.way + .way { padding-left: 30px; border-left: 1px solid var(--line); }
.way-n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--orange); margin-bottom: 14px; }
.way h3 { font-size: 23px; margin-bottom: 10px; }
.way p { color: var(--muted); margin-bottom: 18px; }
.way .link { font-size: 14px; }

/* Product sections */
.prod { padding: 110px 0; }
.prod.alt { background: var(--grey); }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.prod.flip .prod-vis { order: 2; }
.prod-vis { position: relative; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; padding: 12% 10% 16%; overflow: hidden; background:
        linear-gradient(rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(180deg, #f6fcff, var(--tint)); }
.prod-vis img { max-width: 100%; max-height: 100%; width: auto; height: auto; transition: transform .8s var(--ease); }
.prod-vis img.art { width: 100%; }
.prod-vis img.photo { filter: drop-shadow(0 26px 28px rgba(10,30,60,.28)); }
.prod-vis:hover img { transform: scale(1.03); }
.pv-label { position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legend { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.legend b { background: var(--navy); color: #fff; }
.prod-body h2 { margin: 18px 0 14px; }
.prod-body .lead { margin-bottom: 20px; color: var(--ink-2); }
.prod-body > p { margin-bottom: 16px; color: var(--muted); }
.prod-body h4 { margin: 30px 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prod-body .ticks li b { color: var(--ink); font-weight: 600; }
.prod-quote { margin: 30px 0 0; padding: 22px 24px; background: #fff; border-left: 3px solid var(--blue); }
.prod.alt .prod-quote { background: #fff; }
.prod:not(.alt) .prod-quote { background: var(--grey); }
.prod-quote blockquote { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.prod-quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink); }
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Delivery steps */
.delivery { color: #fff; background:
        radial-gradient(60% 90% at 90% 20%, rgba(0,165,229,.2), transparent 70%),
        linear-gradient(rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--navy); }
.delivery .sec-head h2 { color: #fff; }
.delivery .sec-head p { color: rgba(255,255,255,.72); }
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.st5 { position: relative; padding: 32px 26px 0 0; }
.st5::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,165,229,.22); }
.st5 span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #7fd8ff; margin-bottom: 12px; }
.st5 h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.st5 p { font-size: 14.5px; color: rgba(255,255,255,.7); }

/* Cross-link */
.other { padding: 100px 0; }
.other-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 46px 50px; background: var(--grey); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.other-card:hover { background: var(--tint); border-color: #bfe7f8; }
.other-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 14px 0 8px; }
.other-card p { color: var(--muted); max-width: 620px; }
.other-go { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s var(--ease); }
.other-go svg { width: 22px; height: 22px; }
.other-card:hover .other-go { background: var(--blue); transform: translateX(4px); }

/* ============================================================
   RESPONSIVE (new parts)
   ============================================================ */
@media (max-width: 1180px) {
    .steps5 { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
    .ways.four { grid-template-columns: repeat(2, 1fr); }
    .ways.four .way:nth-child(3) { padding-left: 0; border-left: 0; }
    .ways.four .way:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
    .sol-split, .ph-grid, .prod-grid { grid-template-columns: 1fr; }
    .ph-grid { gap: 44px; }
    .prod-grid { gap: 36px; }
    .prod.flip .prod-vis { order: 0; }
    .page-visual { height: 520px; }
    .ways { grid-template-columns: 1fr; }
    .way, .way + .way { padding: 28px 0 8px; border-left: 0; }
    .way + .way { border-top: 1px solid var(--line); }
    .prod { padding: 80px 0; }
}
@media (max-width: 860px) {
    /* a backdrop filter would trap the fixed mobile menu inside the header bar */
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
    .menu { overflow-y: auto; }
    .menu .has-sub > a .caret { display: none; }
    .menu .sub { position: static; width: auto; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 14px; }
    .menu .sub::before { display: none; }
    .menu .sub a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 17px; }
    .menu .sub a:hover, .menu .sub a[aria-current] { background: transparent; color: var(--blue-ink); }
    .menu .sub b { font-size: 17px; }
    .menu .sub small { display: none; }
    .sub-ic { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
    .sol-col-head { padding: 24px 22px; }
    .sol-col-head .t { font-size: 23px; }
    .sol-row { grid-template-columns: 68px 1fr 16px; gap: 14px; padding-right: 16px; }
    .sol-row .thumb { width: 68px; height: 68px; }
    .page-hero { padding: calc(var(--head) + 26px) 0 60px; }
    .page-visual { height: 420px; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 14%); }
    .pv-legend, .pv-legend.three { left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr 1fr; font-size: 10px; gap: 8px 12px; }
    .pv-legend b { width: 18px; height: 18px; }
    .ways.four { grid-template-columns: 1fr; }
    .ways.four .way, .ways.four .way:nth-child(3) { padding: 28px 0 8px; border-left: 0; }
    .ways.four .way + .way { border-top: 1px solid var(--line); }
    .overview { padding: 76px 0 70px; }
    .prod { padding: 64px 0; }
    .prod-vis { aspect-ratio: 1 / 1; padding: 14% 8% 22%; }
    .legend { font-size: 10.5px; gap: 6px 12px; }
    .steps5 { grid-template-columns: 1fr; }
    .other { padding: 70px 0; }
    .other-card { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* Contact page */
.contact-page { padding-bottom: 110px; }
.contact-page h1 { font-size: clamp(38px, 4.4vw, 60px); }
.contact-page .direct { margin-top: 4px; }
@media (max-width: 640px) { .contact-page { padding-bottom: 70px; } }

/* Text-only page hero */
.ph-grid.single { grid-template-columns: minmax(0, 820px); }
.ph-grid.single h1 { max-width: 760px; }
.ph-grid.single .lead { max-width: 680px; }
.page-hero:has(.ph-grid.single) { padding-bottom: 56px; }

/* Contact page: enquiry + offices */
.form.on-white { background: #fff; border: 1px solid var(--line); }
.off-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.off-card { display: flex; flex-direction: column; padding: 36px 32px 32px; background: var(--grey); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.off-card:hover { background: var(--tint); border-color: #bfe7f8; }
.off-icon { height: 120px; display: flex; align-items: flex-end; margin-bottom: 28px; }
.off-icon .lm { max-width: 170px; background: var(--navy); -webkit-mask-position: left bottom; mask-position: left bottom; }
.off-card:hover .lm { background: var(--blue-ink); }
.off-card h3 { font-size: 24px; margin-bottom: 12px; }
.off-card h3 span { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--blue-ink); border: 1px solid rgba(0,119,179,.4); padding: 3px 8px; margin-left: 8px; vertical-align: 4px; }
.off-card p { color: var(--muted); margin-bottom: 24px; }
.off-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.off-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; color: var(--ink); }
.off-tel svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-ink); stroke-width: 1.6; }
.off-tel:hover { color: var(--blue-ink); }
@media (max-width: 980px) { .off-grid { grid-template-columns: 1fr; } .off-icon { height: 100px; } }

/* Enquiry form status */
.form-status { grid-column: 1 / -1; padding: 14px 16px; font-size: 15px; line-height: 1.5; border-left: 3px solid; }
.form-status.ok { background: #e8f8ef; border-color: #1f9d55; color: #14532d; }
.form-status.err { background: #fdecec; border-color: #d64545; color: #7f1d1d; }
.form-status a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.sending { opacity: .6; pointer-events: none; }

/* About page */
.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-story h2 { margin-top: 18px; }
.about-story .lead { color: var(--ink-2); margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip-c { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 10px 14px; background: var(--grey); border: 1px solid var(--line); }
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap { background: #fff; border: 1px solid var(--line); padding: 28px 24px 30px; }
.cap span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--orange); margin-bottom: 18px; }
.cap h3 { font-size: 20px; margin-bottom: 8px; }
.cap p { font-size: 14.5px; color: var(--muted); }
.pol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pol { padding: 44px 40px 40px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
.pol-big { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; color: #fff; margin-bottom: 30px; }
.pol-big sup { font-size: .45em; color: #7fd8ff; vertical-align: top; position: relative; top: .1em; }
.pol h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.pol p { color: rgba(255,255,255,.72); max-width: 520px; }
.page-hero .stats { margin-top: 56px; }

/* 404 */
.nf { padding-bottom: 110px; }
.nf-links { display: grid; gap: 2px; max-width: 520px; margin-top: 10px; }
.nf-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.nf-links a:last-child { border-bottom: 1px solid var(--line); }
.nf-links a:hover { color: var(--blue-ink); }
.nf-links svg { width: 16px; height: 16px; }

@media (max-width: 1180px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .about-story, .pol-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } .pol { padding: 32px 24px; } .page-hero .stats { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   HOME round 12: stats, blueprint pump, segments, partners band
   ============================================================ */
.stats.four { grid-template-columns: repeat(4, 1fr); }

.bp-riser { fill: none; stroke: rgba(246,138,31,.55); stroke-width: 3.4; stroke-linejoin: round; }
.bp-riser-flow { fill: none; stroke: #ffb066; stroke-width: 3.4; stroke-dasharray: 6 12; stroke-linejoin: round; animation: flow 1.1s linear infinite; }
.bp-room { fill: rgba(0,0,0,.2); stroke: rgba(150,215,245,.3); stroke-width: 1; stroke-dasharray: 4 4; }
.bp-pump { fill: rgba(246,138,31,.16); stroke: #f68a1f; stroke-width: 1.8; }
.bp-motor { fill: rgba(150,215,245,.1); stroke: rgba(150,215,245,.6); stroke-width: 1.2; }
.bp-imp path { fill: none; stroke: #ffb066; stroke-width: 1.8; stroke-linecap: round; }
.bp-imp { animation: spin 1.6s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.segc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.segc { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.segc:hover { transform: translateY(-4px); border-color: #bfe7f8; box-shadow: 0 24px 36px -28px rgba(10,20,48,.4); }
.segc-vis { height: 168px; display: flex; align-items: center; justify-content: center; padding: 22px 18px 14px; background:
        linear-gradient(rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, rgba(0,165,229,.08) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(180deg, #f6fcff, var(--tint)); border-bottom: 1px solid var(--line); }
.segc-vis svg { width: 100%; max-width: 190px; height: auto; transition: transform .6s var(--ease); }
.segc:hover .segc-vis svg { transform: scale(1.05); }
.segc-body { padding: 22px 22px 26px; }
.segc-body span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--orange); margin-bottom: 10px; }
.segc-body h3 { font-size: 21px; margin-bottom: 6px; }
.segc-body p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.partners-band { padding: 64px 0; color: #fff; background:
        radial-gradient(60% 120% at 100% 0%, rgba(0,165,229,.22), transparent 60%),
        linear-gradient(rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(0,165,229,.07) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--navy); }
.pb-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pb-logos { display: grid; grid-template-columns: repeat(4, 150px); gap: 18px; }
.pb-logos .logo-cell { border-color: rgba(255,255,255,.14); }
.pb-title { color: #fff; font-size: clamp(30px, 3.2vw, 44px); }

@media (max-width: 1180px) {
    .segc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .stats.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .segc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .segc:last-child { grid-column: 1 / -1; }
    .segc-vis { height: 130px; padding: 16px 12px 10px; }
    .segc-body { padding: 16px 16px 20px; }
    .segc-body h3 { font-size: 18px; }
    .segc-body p { font-size: 13.5px; }
    .pb-row { flex-direction: column; align-items: flex-start; gap: 24px; }
    .pb-logos { grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
}

/* ============================================================
   Round 13: six partner logos + orange accents
   ============================================================ */
.pb-logos { grid-template-columns: repeat(6, 128px); gap: 14px; }
.logo-cell.dark { background: #0d2442; border-color: rgba(255,255,255,.18); }
.logo-cell.dark img { padding: 10%; }

/* Orange accents, used sparingly */
::selection { background: var(--orange); color: #fff; }
.tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; vertical-align: 1px; background: var(--orange); }
.stat-n .plus { font-style: normal; color: var(--orange); }
.ticks svg { stroke: var(--orange); }
.quote { border-top-color: var(--orange); }
.prod-quote { border-left-color: var(--orange); }
.menu > li > a:not(.btn) { position: relative; }
.menu > li > a.active:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--orange); }
.link svg { color: var(--orange); }
footer { border-top: 0; position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue) 0 72%, var(--orange) 72% 100%); }
.subnav a.active { border-bottom-color: var(--orange); }

@media (max-width: 1180px) { .pb-logos { grid-template-columns: repeat(3, 128px); } }
@media (max-width: 860px) { .menu > li > a.active:not(.btn)::after { display: none; } }
@media (max-width: 640px) {
    .pb-logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .form-foot { justify-content: flex-end; }
}
.form-foot { justify-content: flex-end; }

/* Round 14: section tags removed, so headings no longer need space above them */
.sec-head h2, .prod-body h2, .about-story h2, .contact-grid h2, .who-panel h2, .st h2, .page-hero h1, .other-card h3 { margin-top: 0; }
.crumbs { margin-bottom: 24px; }
