/* AGM Fan Solution — professional trade site, built on the logo's navy and teal.
   Layout: white header with the real logo, photo hero with callback form, trust strip,
   alternating white / soft-grey bands, navy call band and footer. Single light theme by choice. */
:root {
  --paper: #FFFFFF;
  --soft: #F3F5FA;
  --plate: #FFFFFF;
  --plate-2: #EBEEF6;
  --ink: #121A4A;
  --text: #3A4160;
  --muted: #646B88;
  --rule: #DFE3EE;
  --navy: #181F76;       /* logo navy */
  --navy-deep: #0E1350;
  --on-navy: #FFFFFF;
  --air: #43DECE;        /* logo teal */
  --air-ink: #0B8174;
  --grease: #C08A2E;
  --hot: #C2410C;
  --wa: #1F9D55;
  --shadow: 0 1px 2px rgba(18,26,74,.06), 0 12px 32px -14px rgba(18,26,74,.22);
  --f-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --f-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1200px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --r-s: 6px;
  --r-m: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-deep); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--air-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--air); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--air); color: var(--navy-deep); }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; text-wrap: balance; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); letter-spacing: -0.005em; }
h3 { font-size: 1.35rem; line-height: 1.2; }
h4 { font-size: 1.1rem; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--muted); }
.note { font-size: .95rem; color: var(--muted); max-width: 62ch; }
.small { font-size: .875rem; color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.kicker { font: 600 1.05rem/1.2 var(--f-head); color: var(--air-ink); letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: var(--r-s); }
.skip:focus { left: 16px; }

/* Layout */
.wrap { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.band { padding-block: clamp(56px, 7.5vw, 96px); }
.band--plate { background: var(--soft); }
.sec-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.stack { display: grid; gap: 16px; align-content: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Buttons */
.btn {
  --b-bg: var(--navy); --b-fg: var(--on-navy); --b-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-s);
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
  font: 700 1.1rem/1 var(--f-head); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { --b-bg: var(--navy-deep); --b-bd: var(--navy-deep); color: var(--b-fg); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--navy); --b-bd: var(--navy); }
.btn--ghost:hover { --b-bg: var(--navy); --b-fg: #fff; --b-bd: var(--navy); }
.btn--air, .btn--primary-inv { --b-bg: var(--air); --b-fg: var(--navy-deep); --b-bd: var(--air); }
.btn--air:hover, .btn--primary-inv:hover { --b-bg: #6BE8DB; --b-bd: #6BE8DB; --b-fg: var(--navy-deep); }
.btn--light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.55); }
.btn--light:hover { --b-bg: #fff; --b-fg: var(--navy); --b-bd: #fff; }
.btn--wa { --b-bg: var(--wa); --b-fg: #fff; --b-bd: var(--wa); }
.btn--wa:hover { --b-bg: #188a49; --b-bd: #188a49; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 700; color: var(--air-ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.textlink:hover { color: var(--navy); }

/* Top bar */
.topbar { background: var(--navy-deep); color: #D7DBF2; font-size: .925rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 6px 24px; min-height: 42px; flex-wrap: wrap; }
.topbar-l, .topbar-r { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar span { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--air); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: var(--air); }
@media (max-width: 760px) { .topbar .tb-wa { display: none; } }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 6px 20px -16px rgba(18,26,74,.35); }
.hdr { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; color: var(--ink); text-decoration: none; font: 600 1.125rem/1 var(--f-head); letter-spacing: .02em; }
.nav a:hover { color: var(--air-ink); }
.nav a[aria-current="page"] { color: var(--air-ink); box-shadow: inset 0 -3px 0 var(--air); }
.hdr-end { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-s); border: 1px solid var(--rule); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn, .call-btn { display: none; }
@media (max-width: 960px) {
  .nav, .hdr-end .btn { display: none; }
  .hdr-end { margin-left: auto; }
  .menu-btn, .call-btn { display: inline-grid; }
  .hdr { min-height: 72px; }
  .brand img { height: 50px; }
}
.drawer { border-top: 1px solid var(--rule); background: #fff; }
.drawer nav { display: grid; padding-block: 6px 16px; }
.drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 700 1.25rem/1.2 var(--f-head); }
.drawer nav a[aria-current="page"] { color: var(--air-ink); }
.drawer .btn-row { padding-bottom: 20px; }
@media (min-width: 961px) { .drawer { display: none !important; } }

/* Fan animation */
.fan-spin { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .fan-spin, .air-flow, .heat { animation: none !important; } }

/* Home hero */
.hero { position: relative; color: #fff; background: var(--navy-deep) url("kitchen.jpg") center 40% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,19,80,.93) 0%, rgba(14,19,80,.78) 48%, rgba(14,19,80,.42) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px) clamp(100px, 10vw, 132px); }
.hero h1 { color: #fff; }
.hero .kicker { color: var(--air); margin-bottom: 14px; display: block; }
.hero .lede { color: #DCE0F3; margin-top: 18px; }
.hero .btn-row { margin-top: 30px; }
.hero-card { background: #fff; color: var(--text); border-radius: var(--r-m); padding: clamp(22px, 3vw, 30px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border-top: 5px solid var(--air); }
.hero-card h2 { font-size: 1.75rem; }
.hero-card .muted { margin-top: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Trust strip */
.trust-wrap { position: relative; z-index: 2; margin-top: -60px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); border: 1px solid var(--rule); }
.trust li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: center; padding: 22px; }
.trust li + li { border-left: 1px solid var(--rule); }
.trust .ic { width: 48px; height: 48px; border-radius: 50%; background: #DDF8F4; color: var(--navy); display: grid; place-items: center; }
.trust .ic svg { width: 24px; height: 24px; }
.trust b { display: block; font: 700 1.2rem/1.2 var(--f-head); color: var(--ink); }
.trust span { font-size: .925rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0,1fr)); } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0,1fr); } .trust li + li { border-left: 0; border-top: 1px solid var(--rule); } }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-m); padding: 28px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.svc-card:hover { border-color: var(--air); box-shadow: var(--shadow); color: var(--text); }
.svc-card .ic { width: 60px; height: 60px; border-radius: var(--r-m); background: var(--navy); color: var(--air); display: grid; place-items: center; margin-bottom: 6px; }
.svc-card .ic svg { width: 32px; height: 32px; }
.svc-card .more { font-weight: 700; color: var(--air-ink); margin-top: 4px; }
.svc-card:hover .more { color: var(--navy); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0,1fr); } }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* Grid paper behind drawings */
.drawing { background-color: #fff; background-image:
  linear-gradient(rgba(223,227,238,.6) 1px, transparent 1px),
  linear-gradient(90deg, rgba(223,227,238,.6) 1px, transparent 1px);
  background-size: 24px 24px; border: 1px solid var(--rule); border-radius: var(--r-m); }

/* System diagram */
.system { position: relative; padding: clamp(12px, 2vw, 20px); }
.system-svg { width: 100%; height: auto; display: block; }
.system-canvas { position: relative; }
.part-panels { margin: 8px 0 16px; }
@media (min-width: 1100px) { .part-panels { position: absolute; right: 2%; bottom: 7.5%; width: min(44%, 500px); margin: 0; } }
.system-foot { padding: 4px; }
.parts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.parts-label { width: 100%; font-size: .95rem; color: var(--muted); margin-bottom: 2px; }
.part-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font: 600 1rem/1 var(--f-text); cursor: pointer; }
.part-btn:hover { border-color: var(--navy); }
.part-btn[aria-selected="true"], .part-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.part-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--air); flex: none; }
.part-card { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--air); border-radius: var(--r-s); padding: 18px 20px; display: grid; gap: 8px; box-shadow: var(--shadow); min-height: 170px; align-content: start; }
.part-card h3 { font-size: 1.35rem; }
.part-card .textlink { justify-self: start; margin-top: 4px; }
@media (max-width: 1099px) { .part-card { min-height: 0; box-shadow: none; } }

.d-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-thin { fill: none; stroke: var(--muted); stroke-width: 1.25; }
.d-metal { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-metal-2 { fill: var(--plate-2); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-fill-ink { fill: var(--ink); }
.d-hatch { fill: url(#hatch); stroke: none; }
.d-grease { fill: var(--grease); opacity: .8; }
.d-text { fill: var(--ink); font: 600 16px var(--f-text); }
.d-text-s { fill: var(--muted); font: 400 14px var(--f-text); }
.air-flow { fill: none; stroke: var(--air); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 22; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -23; } }
.heat { fill: none; stroke: var(--hot); stroke-width: 2; stroke-linecap: round; opacity: .55; stroke-dasharray: 6 8; animation: flow 1.8s linear infinite; }
.part { cursor: pointer; }
.part .hl { fill: none; stroke: var(--air); stroke-width: 0; transition: stroke-width .2s; }
.part.is-active .hl { stroke-width: 5; }
.part .tag-dot { fill: #fff; stroke: var(--air-ink); stroke-width: 2; }
.part.is-active .tag-dot { fill: var(--air); }
.part.is-active .d-text { fill: var(--air-ink); }
@media (max-width: 700px) { .lbl { display: none; } }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; align-items: start; }
.ticks svg { width: 20px; height: 20px; color: var(--air-ink); margin-top: 3px; }

/* TR19 intervals */
.intervals { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; }
.intervals th, .intervals td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.intervals tr:last-child td { border-bottom: 0; }
.intervals thead th { font-size: .95rem; font-weight: 700; color: #fff; background: var(--navy); }
.intervals td:first-child { font: 700 1.2rem/1.3 var(--f-head); color: var(--ink); }
.intervals .k { display: block; font: 400 .95rem/1.4 var(--f-text); color: var(--muted); margin-top: 2px; }
.interval-bar { display: grid; gap: 6px; min-width: 140px; }
.interval-bar b { font: 700 1.3rem/1 var(--f-head); color: var(--ink); }
.interval-bar i { display: block; height: 8px; border-radius: 4px; background: var(--plate-2); position: relative; overflow: hidden; }
.interval-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--air); border-radius: 4px; }
.table-scroll { overflow-x: auto; }
.gauge { padding: 24px; }
.gauge h3 { margin-bottom: 6px; }
.gauge svg { width: 100%; height: auto; margin-top: 14px; }
.gauge-legend { display: grid; gap: 10px; margin-top: 14px; font-size: .975rem; }
.gauge-legend div { display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 10px; align-items: baseline; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; transform: translateY(1px); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0,1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-s); border: 1.5px solid var(--rule); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--air-ink); box-shadow: 0 0 0 3px rgba(67,222,206,.35); }
.field [aria-invalid="true"] { border-color: var(--hot); }
.field .err { color: var(--hot); font-size: .875rem; font-weight: 600; }
.form-panel { background: #fff; border: 1px solid var(--rule); border-top: 5px solid var(--air); border-radius: var(--r-m); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.form-panel h3 { font-size: 1.6rem; }
.form-done { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-s); background: #E7FAF7; border: 1px solid #A6EDE4; }
.form-done h4 { color: var(--ink); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); position: relative; }
.steps li { position: relative; padding: 0 18px 0 0; display: grid; gap: 8px; align-content: start; }
.steps .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 1.25rem/1 var(--f-head); position: relative; z-index: 1; margin-bottom: 8px; }
.steps li:last-child .n { background: var(--air); color: var(--navy-deep); }
.steps li::before { content: ""; position: absolute; top: 23px; left: 48px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 14px); }
.steps li:last-child::before { display: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .steps li { grid-template-columns: 48px minmax(0,1fr); column-gap: 18px; padding: 0; }
  .steps .n { grid-row: span 2; margin: 0; }
  .steps li::before { top: 48px; bottom: -22px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--navy) 0 8px, transparent 8px 14px); }
}

/* Sample certificate */
.cert { background: #FDFDFB; color: #1A2142; border-radius: 3px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 1px 0 #d9dde6, 0 24px 48px -24px rgba(18,26,74,.45); font-size: .9rem; line-height: 1.45; position: relative; overflow: hidden; transform: rotate(-.6deg); border: 1px solid #E2E6EE; }
.cert h4 { color: #121A4A; font-size: 1.25rem; }
.cert-head { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.cert-head img { height: 54px; width: auto; flex: none; }
.cert-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 12px 0; border-bottom: 1px solid #DCE1EA; margin: 0; }
.cert-meta dt { font-size: .75rem; color: #646B88; }
.cert-meta dd { margin: 0; font-weight: 700; color: #121A4A; font-variant-numeric: tabular-nums; }
.cert table { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.cert th, .cert td { text-align: left; padding: 7px 6px 7px 0; border-bottom: 1px solid #E5E9F0; }
.cert th { font-size: .75rem; color: #646B88; font-weight: 600; }
.cert .num { text-align: right; padding-right: 0; }
.cert .before { color: #A0521A; font-weight: 700; }
.cert .after { color: #0E7C4A; font-weight: 700; }
.cert-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cert-photo { aspect-ratio: 16/10; border-radius: 2px; position: relative; overflow: hidden; }
.cert-photo span { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.92); color: #121A4A; font-size: .72rem; font-weight: 700; padding: 2px 6px; border-radius: 2px; }
.cert-photo.b { background: radial-gradient(ellipse at 30% 60%, #6b4a1a 0 18%, transparent 19%), radial-gradient(ellipse at 70% 40%, #7c5520 0 14%, transparent 15%), linear-gradient(180deg, #8a6a3a, #4d3613); }
.cert-photo.a { background: linear-gradient(180deg, #e6eaee, #b9c1ca 60%, #9ea8b3); }
.cert-photo::before { content: ""; position: absolute; inset: 18% 10%; border: 2px solid rgba(255,255,255,.35); border-radius: 2px; }
.cert-foot { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: 14px; padding-top: 12px; border-top: 1px solid #DCE1EA; }
.cert-pass { display: inline-flex; align-items: center; gap: 6px; background: #E3F5EC; color: #0E7C4A; font-weight: 700; padding: 6px 10px; border-radius: 4px; font-size: .82rem; }
.cert-sign { font-size: .75rem; color: #646B88; border-top: 1px solid #9AA3B8; padding-top: 4px; min-width: 120px; text-align: center; }
.cert-stamp { position: absolute; right: -44px; top: 20px; transform: rotate(35deg); background: var(--hot); color: #fff; font: 700 .85rem/1 var(--f-head); letter-spacing: .2em; padding: 7px 50px; }
.cert-cap { margin-top: 14px; font-size: .9rem; color: var(--muted); }
@media (max-width: 480px) { .cert-meta { grid-template-columns: 1fr 1fr; } .cert { transform: none; } .cert-head img { height: 42px; } }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.sectors > div { padding: 24px; display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-m); border-top: 4px solid var(--navy); }
@media (max-width: 960px) { .sectors { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .sectors { grid-template-columns: minmax(0,1fr); } }

/* Call band */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0,1.3fr) auto; gap: 24px 48px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #D7DBF2; max-width: 56ch; margin-top: 10px; }
.cta .call-big { display: grid; gap: 14px; justify-items: start; }
.cta .call-big a.num { color: #fff; text-decoration: none; font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-head); font-variant-numeric: tabular-nums; display: inline-flex; gap: 12px; align-items: center; }
.cta .call-big a.num svg { width: 30px; height: 30px; color: var(--air); }
.cta .call-big a.num:hover { color: var(--air); }
.cta .fan-bg { position: absolute; right: -90px; bottom: -140px; width: 480px; height: 480px; color: rgba(255,255,255,.05); pointer-events: none; z-index: -1; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: minmax(0,1fr); } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9CEEA; padding-block: 60px 28px; font-size: .975rem; }
.ft { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 32px; }
.ft h4 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { color: #C9CEEA; text-decoration: none; }
.ft a:hover { color: var(--air); }
.ft .about img { height: 76px; width: auto; }
.ft .about p { margin-top: 16px; max-width: 34ch; }
.ft-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; color: #9AA1C9; }
.ft-base nav { display: flex; gap: 18px; }
.ft-base a { color: #9AA1C9; }
.ft-base a:hover { color: #fff; }
@media (max-width: 860px) { .ft { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .ft .about { grid-column: 1 / -1; } }

/* WhatsApp floating button */
.wa-fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.wa-fab:hover { color: #fff; background: #188a49; }
.wa-fab svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-fab { width: 56px; height: 56px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-deep) url("kitchen.jpg") center 45% / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,19,80,.97), rgba(14,19,80,.84)); }
.page-hero .wrap { display: grid; gap: 16px; padding-block: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 22ch; }
.page-hero .lede { color: #DCE0F3; }
.page-hero .fan-bg { position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); color: rgba(255,255,255,.06); pointer-events: none; z-index: -1; }
.crumbs { font-size: .925rem; color: #B9BFE0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #fff; }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.svc-index { position: sticky; top: calc(104px + env(safe-area-inset-top, 0px)); display: grid; gap: 2px; background: var(--soft); border-radius: var(--r-m); padding: 10px; }
.svc-index a { padding: 10px 12px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 600; }
.svc-index a:hover { background: #fff; }
.svc-index a.on { background: var(--navy); color: #fff; }
.svc { padding-block: 8px 56px; display: grid; gap: 18px; scroll-margin-top: 120px; }
.svc + .svc { padding-top: 48px; border-top: 1px solid var(--rule); }
.svc-title { display: flex; gap: 16px; align-items: center; }
.svc-title .ic { width: 56px; height: 56px; border-radius: var(--r-m); background: var(--navy); color: var(--air); display: grid; place-items: center; flex: none; }
.svc-title .ic svg { width: 30px; height: 30px; }
.svc h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.flowline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .875rem; color: var(--muted); }
.flowline span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; }
.flowline span.on { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.flowline i { font-style: normal; }
.svc-cols { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 28px; }
.svc-aside { background: var(--soft); border-radius: var(--r-m); padding: 22px; display: grid; gap: 10px; align-content: start; }
.svc-aside h3 { font-size: 1.2rem; }
.svc-aside .ticks { font-size: .975rem; gap: 8px; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: minmax(0,1fr); } .svc-index { display: none; } .svc-cols { grid-template-columns: minmax(0,1fr); } }

/* About */
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.values > div { padding: 26px; display: grid; gap: 10px; align-content: start; background: #fff; border-radius: var(--r-m); border: 1px solid var(--rule); border-top: 4px solid var(--air); }
@media (max-width: 800px) { .values { grid-template-columns: minmax(0,1fr); } }
.prose { display: grid; gap: 16px; max-width: 64ch; }

/* Typical jobs */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.job { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-m); padding: 26px; display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--navy); }
.job .sector { font-size: .9rem; font-weight: 700; color: var(--air-ink); }
.job dl { margin: 0; display: grid; gap: 12px; }
.job dt { font-size: .9rem; font-weight: 700; color: var(--ink); }
.job dd { margin: 2px 0 0; }
@media (max-width: 800px) { .jobs { grid-template-columns: minmax(0,1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cdl { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.cdl > div { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.cdl dt { font-size: .9rem; color: var(--muted); font-weight: 600; }
.cdl dd { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.cdl dd span { display: block; font-weight: 400; font-size: .975rem; color: var(--text); }
.copy-btn { margin-left: 8px; font: 600 .8rem/1 var(--f-text); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--text); cursor: pointer; vertical-align: middle; }
.copy-btn:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-s); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 700 1.2rem/1.3 var(--f-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; max-width: 66ch; }

/* Legal */
.legal { max-width: 72ch; display: grid; gap: 14px; }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.draft { padding: 14px 16px; border-radius: var(--r-s); background: #FBF3E4; border: 1px solid #EBCF9B; color: var(--ink); font-size: .975rem; }

/* proof photo (replaces mock certificate) */
.proof-photo { margin: 0; }
.proof-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 48px -28px rgba(14,19,80,.5); }
.proof-photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--navy); }
