/* ==========================================================================
   Metroseal Waterproofing — design system
   Every colour, radius and rhythm value lives in :root. Change it once here
   and the whole site follows.
   ========================================================================== */

:root {
  /* brand */
  --brand:        #1BA5E5;
  --brand-bright: #55D2FF;
  --brand-deep:   #0A6FA8;
  --brand-glow:   rgba(27, 165, 229, .35);

  /* surfaces (dark) */
  --bg:       #05090F;
  --bg-alt:   #070D16;
  --panel:    #0B131E;
  --panel-2:  #101A28;
  --line:     rgba(120, 180, 225, .13);
  --line-str: rgba(120, 180, 225, .26);

  /* type */
  --ink:   #F1F6FA;
  --body:  #9DB0C3;
  --muted: #67798D;

  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* rhythm */
  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85);
  --shadow-brand: 0 22px 55px -22px rgba(27, 165, 229, .55);
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

/* prose flow — the reset zeroes every margin, so put back only what running
   text actually needs */
p + p { margin-top: 1em; }
h2 + p, h3 + p { margin-top: .8em; }
p + .ticks, p + .faq, p + .btn { margin-top: 26px; }

::selection { background: var(--brand); color: #04080D; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #04080D; padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* headings that exist for screen readers and labelling only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* vertical stack */
.stack { display: grid; gap: 16px; align-content: start; }

.eyebrow {
  font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-str), transparent); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after, .eyebrow--solo::after { display: none; }

.h-xl { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 900; letter-spacing: -.03em; word-spacing: .1em; text-transform: uppercase; }
.h-lg { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
/* for headings that live in a narrow column — long words like WATERPROOFING
   can't hyphenate, so the type has to size down to the column instead */
.h-lg--fit { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.h-md { font-size: clamp(1.4rem, 2.5vw, 1.95rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.14rem); color: var(--body); max-width: 60ch; }
.accent { color: var(--brand); }
.dim { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }

/* hairline dividers that read like a water line */
.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line-str) 22%, var(--brand) 50%, var(--line-str) 78%, transparent);
  opacity: .55;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: .84rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--brand); color: #04090E; box-shadow: var(--shadow-brand); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--brand), var(--brand-bright));
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost { border-color: var(--line-str); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn--lg { padding: 18px 32px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(5, 9, 15, .86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  height: 84px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; padding: 0; }
.nav a {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--body); padding: 8px 2px; position: relative; transition: color .28s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .95rem; color: var(--ink); white-space: nowrap;
  transition: color .28s var(--ease);
}
.header-phone svg { width: 16px; height: 16px; color: var(--brand); }
.header-phone:hover { color: var(--brand); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-str);
  border-radius: var(--r-sm); background: rgba(255, 255, 255, .03); cursor: pointer;
  padding: 0; place-items: center; margin-left: auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 19px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(0); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 15vw, 172px); padding-bottom: clamp(64px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(27, 165, 229, .16), transparent 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(10, 111, 168, .16), transparent 62%),
    linear-gradient(180deg, #071019 0%, #05090F 62%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 46%; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #05090F 0%, rgba(5, 9, 15, .95) 24%, rgba(5, 9, 15, .62) 48%, rgba(5, 9, 15, .22) 70%, rgba(5, 9, 15, .5) 100%),
    linear-gradient(180deg, rgba(5, 9, 15, .78) 0%, rgba(5, 9, 15, .2) 26%, rgba(5, 9, 15, .3) 62%, var(--bg) 99%);
}
.hero__rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; z-index: 1; }
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 660px; padding-block: clamp(10px, 3vw, 46px); }
.hero h1 { margin-bottom: 24px; text-wrap: normal; }
.hero h1 > span { display: block; }
.hero h1 .thin {
  font-size: .66em; font-weight: 500; letter-spacing: -.02em;
  color: #DDE7EF; margin-top: .1em;
}
.hero__lead { max-width: 42ch; margin-bottom: 34px; font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin: 0 0 36px; padding: 0; list-style: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 22px;
}
.trust li { display: flex; align-items: center; gap: 11px; }
.trust .ico { flex: 0 0 auto; width: 34px; height: 34px; color: var(--brand); }
.trust strong {
  display: block; font-family: var(--display); font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 1.35;
}

/* servicing card, floated over the photo */
.servicing {
  position: absolute; right: var(--gut); bottom: 0; z-index: 3; width: min(238px, 46vw);
  background: rgba(11, 19, 30, .82); backdrop-filter: blur(16px);
  border: 1px solid var(--line-str); border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--shadow);
}
.servicing h2 {
  font-size: .68rem; font-family: var(--sans); font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.servicing ul { list-style: none; padding: 0; margin: 0 0 14px; }
.servicing li { font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.75; }
.servicing p {
  display: flex; align-items: center; gap: 7px; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: var(--brand);
  border-top: 1px solid var(--line); padding-top: 12px;
}
.servicing p svg { width: 13px; height: 13px; }

/* ---------- service cards ---------- */
.services-layout {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 44px); align-items: start;
}
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* spare — for a 3-up row */

.svc {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.svc::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(27, 165, 229, .13), transparent 62%);
  transition: opacity .45s var(--ease);
}
.svc:hover { transform: translateY(-5px); border-color: var(--line-str); background: var(--panel-2); }
.svc:hover::before { opacity: 1; }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0A121C; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .7s var(--ease), opacity .45s; }
.svc:hover .svc__media img { transform: scale(1.06); opacity: 1; }
.svc__body { padding: 20px 22px 24px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__ico { width: 34px; height: 34px; color: var(--brand); }
.svc h3 {
  font-size: .9rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--brand); line-height: 1.28; overflow-wrap: anywhere;
}
.svc p { font-size: .92rem; line-height: 1.6; }
.svc__link {
  margin-top: auto; padding-top: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 7px;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.svc:hover .svc__link { color: var(--brand); gap: 11px; }
.svc__link svg { width: 13px; height: 13px; }
.svc--link::after { content: ''; position: absolute; inset: 0; z-index: 3; }

/* ---------- projects rail ---------- */
.rail-head { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.rail-head h2 {
  font-size: .82rem; font-family: var(--sans); font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.rail-head .rule { flex: 1; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-str); border-radius: var(--r-sm);
  color: var(--body); transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.rail-btn:hover { color: var(--brand); border-color: var(--brand); background: rgba(27, 165, 229, .08); }
.rail-btn svg { width: 15px; height: 15px; }
.rail-btn[disabled] { opacity: .3; cursor: default; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail figure {
  position: relative; scroll-snap-align: start; margin: 0; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 1 / 1;
}
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rail figure:hover img { transform: scale(1.05); }
.rail figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 14px 12px; font-size: .84rem; color: #E8F1F8;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 13, .9));
}

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.stats div { background: var(--bg-alt); padding: clamp(24px, 3.4vw, 38px) 24px; text-align: center; }
.stats strong {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1; letter-spacing: -.04em;
  color: var(--ink); margin-bottom: 8px;
}
.stats span { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 28px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--panel); counter-increment: step;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.step:hover { border-color: var(--line-str); transform: translateY(-4px); }
.step::before {
  content: '0' counter(step);
  font-family: var(--display); font-size: 2.5rem; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--brand-deep); display: block; margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 9px; }
.step p { font-size: .93rem; }

/* ---------- split feature ---------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-str); box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }

.pull {
  border-left: 2px solid var(--brand); padding: 4px 0 4px 22px; margin: 26px 0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.55; color: #D9E5EE;
  font-family: var(--display); font-weight: 600; letter-spacing: -.015em;
}

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: .97rem; }
.ticks li::before {
  content: ''; flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305090F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--brand);
}
.ticks strong { color: var(--ink); font-weight: 700; }

/* ---------- feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tile {
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
}
.tile:hover { border-color: var(--line-str); transform: translateY(-4px); background: var(--panel-2); }
.tile .ico { width: 36px; height: 36px; color: var(--brand); margin-bottom: 18px; }
.tile h3 { font-size: 1.04rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.tile p { font-size: .94rem; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter {
  padding: 10px 19px; border-radius: 999px; border: 1px solid var(--line-str);
  background: transparent; color: var(--body); cursor: pointer;
  font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #04090E; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.shot {
  position: relative; margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); aspect-ratio: 4 / 5; background: #0A121C;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; opacity: .92; }
.shot:hover img { transform: scale(1.05); opacity: 1; }
.shot figcaption {
  position: absolute; inset: auto 0 0; padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 13, .92));
  font-size: .88rem; color: #E8F1F8; font-weight: 600;
}
.shot figcaption span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 800; margin-bottom: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 4vw;
  background: rgba(3, 6, 10, .94); backdrop-filter: blur(8px); border: 0; }
.lightbox[open] { display: grid; }
.lightbox img { max-width: min(880px, 92vw); max-height: 86vh; width: auto; border-radius: var(--r); border: 1px solid var(--line-str); }
.lightbox__close {
  position: absolute; top: 20px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-str); color: #fff; cursor: pointer;
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--brand); color: #04090E; }

/* ---------- accordion ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  transition: border-color .3s var(--ease);
}
.faq details[open] { border-color: var(--line-str); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 56px 19px 22px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 22px 20px; font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(26px, 3.5vw, 46px); align-items: start; }
.info-card {
  display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--panel); transition: border-color .3s var(--ease);
}
.info-card:hover { border-color: var(--line-str); }
.info-card .ico { flex: 0 0 auto; width: 22px; height: 22px; color: var(--brand); margin-top: 4px; }
.info-card h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
/* the email address is one long unbreakable token — without this it sets the
   card's min-content width and pushes the whole page sideways on small screens */
.info-card a, .info-card p { color: var(--ink); font-size: 1.02rem; font-weight: 600; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--brand); }
.info-card small { display: block; color: var(--muted); font-size: .84rem; font-weight: 400; margin-top: 3px; }

.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line-str); border-radius: var(--r-lg); background: var(--panel); }
.field { display: grid; gap: 7px; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #070E17; border: 1px solid var(--line-str); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--ink); font-size: .97rem; width: 100%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #08111C; outline: none; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form small { color: var(--muted); font-size: .82rem; }
.form-status { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(27, 165, 229, .12); border: 1px solid var(--brand-deep); color: #CFE9F8; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 140% at 50% 0%, rgba(27, 165, 229, .17), transparent 62%), var(--bg-alt); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 20ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- footer ---------- */
.site-footer { background: #04080D; border-top: 1px solid var(--line); padding-top: clamp(52px, 6vw, 78px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 54px); }
.site-footer img.mark { height: 52px; width: auto; margin-bottom: 20px; }
.site-footer h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer li a, .site-footer li { font-size: .93rem; color: var(--body); overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--brand); }
.site-footer p { font-size: .93rem; max-width: 40ch; }
.footer-bottom {
  margin-top: clamp(38px, 5vw, 56px); border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom a:hover { color: var(--brand); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding-top: clamp(126px, 14vw, 166px); padding-bottom: clamp(46px, 6vw, 74px);
  background: radial-gradient(110% 100% at 72% 0%, rgba(27, 165, 229, .15), transparent 60%), linear-gradient(180deg, #071019, var(--bg));
  border-bottom: 1px solid var(--line);
}
.crumbs { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--brand); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__rain { display: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .hero__bg img { object-position: 72% 46%; }
  .services-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .header-inner { height: 74px; gap: 14px; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; margin: 0; background: rgba(5, 9, 15, .97);
    backdrop-filter: blur(18px); display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 6px; text-align: center; }
  .nav a { font-size: 1.28rem; letter-spacing: .06em; padding: 12px 20px; display: block; }
  .nav a::after { display: none; }
  .nav li:last-child { margin-top: 18px; }
}

@media (max-width: 900px) {
  .hero__bg::after {
    background:
      linear-gradient(90deg, #05090F 0%, rgba(5, 9, 15, .9) 45%, rgba(5, 9, 15, .66) 100%),
      linear-gradient(180deg, rgba(5, 9, 15, .82) 0%, rgba(5, 9, 15, .35) 30%, var(--bg) 99%);
  }
}

@media (max-width: 760px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .servicing { position: static; width: 100%; margin-top: 30px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .rail { grid-auto-columns: minmax(180px, 1fr); }
}

@media (max-width: 560px) {
  .card-grid, .card-grid--3 { grid-template-columns: 1fr; }
  .header-phone span { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: 100%; }
}
