/* =====================================================================
   Bruenn Plumbing — stylesheet
   Class names follow CSS Class Naming Convention v1.2:
   - Sections are .sect + a combo (.sect.sect-hero)
   - Containers are .wide / .skinny and set max-width only
   - Grids are .grid-[cols]-[name], flex is .flex-[name]; neither sets display
   - Webflow-managed classes (.w-container, .w-layout-grid, .w-layout-hflex,
     .w-layout-vflex) supply display and auto margins, mirroring Webflow
   - Cards are .card-[name]; utilities are single-property (.bot20, .p-lg)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #061a33;
  --navy-800: #0a2445;
  --navy-700: #0d3163;
  --navy-600: #143f7c;
  --blue-500: #2b7de0;
  --blue-400: #4b9bff;
  --blue-300: #8cc2ff;
  --blue-100: #e6f1ff;
  --maroon-600: #8a1c3f;
  --maroon-700: #6e1432;
  --maroon-500: #a02549;
  --white: #ffffff;
  --ink: #0b1f3a;
  --ink-soft: #1f4d86;
  --line: rgba(10, 36, 69, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.28);

  --font-display: "Montserrat", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wide: 1240px;
  --skinny: 860px;
  --gutter: clamp(16px, 4vw, 40px);

  --radius-pill: 999px;
  --shadow-pill: 0 10px 24px -8px rgba(110, 20, 50, 0.55), 0 2px 6px rgba(6, 26, 51, 0.18);
  --shadow-header: 0 1px 0 rgba(10, 36, 69, 0.08), 0 8px 24px -16px rgba(6, 26, 51, 0.35);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 640ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--blue-400); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-800); color: var(--white); padding: 10px 16px;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Webflow-managed layout classes (display lives here) ---------- */
.w-container { margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.w-layout-grid { display: grid; }
.w-layout-hflex { display: flex; flex-direction: row; }
.w-layout-vflex { display: flex; flex-direction: column; }

/* ---------- Sections ---------- */
.sect { position: relative; padding: 88px 0; }
.sect.sect-header { padding: 0; }
.sect.sect-hero { padding: 0; }
.sect.sect-services { padding: 72px 0 80px; }
.sect.sect-pillars { padding: 64px 0; background: var(--navy-800); color: var(--white); overflow: hidden; }
.sect.sect-owner { padding: 88px 0; background: var(--white); }
.sect.sect-cta { padding: 76px 0; overflow: hidden; isolation: isolate; }
.sect.sect-footer { padding: 48px 0 28px; background: var(--navy-900); color: var(--white); }

/* ---------- Containers ---------- */
.wide { max-width: var(--wide); }
.skinny { max-width: var(--skinny); }

/* ---------- Utilities ---------- */
.p-sm { font-size: 0.9375rem; }
.p-md { font-size: 1.0625rem; }
.p-lg { font-size: 1.25rem; }
.p-xl { font-size: 1.5rem; }
.bot10 { margin-bottom: 10px; }
.bot20 { margin-bottom: 20px; }
.bot30 { margin-bottom: 30px; }
.bot40 { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em;
  border-radius: var(--radius-pill); line-height: 1;
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  will-change: transform;
}
.btn.btn-phone {
  background: var(--maroon-600); color: var(--white);
  box-shadow: var(--shadow-pill);
  font-variant-numeric: tabular-nums;
}
.btn.btn-phone:hover { background: var(--maroon-500); transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(110, 20, 50, 0.6), 0 2px 6px rgba(6, 26, 51, 0.18); }
.btn.btn-phone:active { transform: translateY(0); background: var(--maroon-700); }
.ico-phone { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.btn.btn-header { font-size: 1.2rem; padding: 0.7em 1.35em; }
.btn.btn-hero { font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.35rem); padding: 0.72em 1.5em; gap: 0.5em; }
.btn.btn-primary { background: var(--blue-500); color: var(--white); box-shadow: var(--shadow-pill); }
.btn.btn-primary:hover { background: var(--blue-400); transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(43, 125, 224, 0.6), 0 2px 6px rgba(6, 26, 51, 0.18); }
.btn.btn-primary:active { transform: translateY(0); background: var(--navy-600); }
.btn.btn-cta { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.75rem); padding: 0.5em 1.1em; gap: 0.45em; }

/* ---------- Header ---------- */
.sect.sect-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow-header);
}
.flex-header { align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }

.flex-logo { align-items: center; gap: 12px; color: var(--navy-800); flex: none; }
.logo-mark { width: 74px; height: 74px; flex: none; }
.logo-pipe { fill: none; stroke: var(--navy-800); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.logo-pipe-cap { fill: var(--navy-800); }
.logo-drop { fill: var(--blue-500); }
.logo-drop-shine { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; opacity: 0.9; }
.logo-word { display: flex; flex-direction: column; line-height: 0.92; font-family: var(--font-display); }
.logo-name { font-weight: 900; font-size: 2.05rem; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy-800); }
.logo-trade { font-weight: 800; font-size: 1.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-500); margin-top: 3px; }
.logo-tag {
  margin-top: 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--navy-800); display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.logo-tag::before, .logo-tag::after { content: ""; flex: 1; height: 2px; background: var(--navy-800); min-width: 14px; }

.flex-nav { gap: clamp(20px, 3vw, 40px); align-items: center; }
.nav-link {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em;
  color: var(--navy-800);
  transition: color 180ms var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav-link:hover, .nav-link.is-current { color: var(--blue-500); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 48px; height: 48px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 10px; }
.nav-toggle-bar { width: 26px; height: 3px; border-radius: 2px; background: var(--navy-800); transition: transform 260ms var(--ease-out), opacity 200ms; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.sect.sect-hero {
  min-height: clamp(680px, 80vh, 880px);
  display: grid; align-items: center;
  background: var(--navy-800); color: var(--white);
  overflow: hidden; isolation: isolate;
}
.sect.sect-hero > .w-container { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 128px; }
.hero-bg { position: absolute; inset: 0; left: 27%; z-index: 0; margin: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgb(6, 26, 51) 0%, rgb(6, 26, 51) 26%, rgba(6, 26, 51, 0.92) 33%, rgba(6, 26, 51, 0.55) 42%, rgba(6, 26, 51, 0.18) 50%, rgba(6, 26, 51, 0) 58%),
    linear-gradient(180deg, rgba(6, 26, 51, 0.25) 0%, rgba(6, 26, 51, 0) 30%, rgba(6, 26, 51, 0.35) 100%);
}
.hero-copy { max-width: 640px; }
.hero-brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.hero-brand::before, .hero-brand::after { content: ""; height: 2px; width: 44px; background: var(--white); }
.hero-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.9rem, 2rem + 4vw, 4.6rem); line-height: 0.92; letter-spacing: -0.015em;
  text-wrap: balance; margin-bottom: 22px;
}
.hero-line { display: block; }
@media (min-width: 900px) { .hero-line { white-space: nowrap; } }
.hero-line-accent { color: var(--blue-400); }
.hero-promise { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); margin-bottom: 14px; }
.hero-text { font-size: 1.0625rem; line-height: 1.5; color: rgba(255, 255, 255, 0.92); max-width: 44ch; margin-bottom: 30px; }
.flex-btn-hero { gap: 16px; flex-wrap: wrap; }

/* ---------- Section heading with rules ---------- */
.heading-rule {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; text-align: center;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); letter-spacing: 0.01em; color: var(--navy-800);
  margin-bottom: 44px;
}
.heading-rule::before, .heading-rule::after { content: ""; flex: 1 0 24px; height: 3px; background: var(--navy-800); }
.heading-rule > span { flex: 0 1 auto; min-width: 0; }

/* ---------- Services ---------- */
.grid-6-services { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; row-gap: 40px; }
.card-service {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 8px 18px;
  border-left: 1px solid var(--line);
}
.card-service:first-child { border-left: 0; }
.ico-service { width: 88px; height: 88px; margin-bottom: 18px; fill: none; stroke: var(--navy-800); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ico-service .ico-fill { fill: var(--blue-500); stroke: var(--blue-500); }
.ico-service .ico-thin { stroke-width: 2.4; stroke: var(--blue-500); }
.service-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.01em; color: var(--maroon-600); line-height: 1.15;
  margin-bottom: 10px; text-wrap: balance;
}
.service-text { font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); max-width: 22ch; }

/* ---------- Pillars ---------- */
.pillars-bg { position: absolute; inset: 0; z-index: 0; }
.pillars-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  filter: saturate(0.8);
}
.pillars-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.72), rgba(6, 26, 51, 0.38) 50%, rgba(6, 26, 51, 0.72)),
    linear-gradient(180deg, rgba(10, 36, 69, 0.62), rgba(10, 36, 69, 0.5) 50%, rgba(6, 26, 51, 0.82));
}
.sect.sect-pillars > .w-container { position: relative; z-index: 1; }
.grid-3-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; row-gap: 36px; }
.card-pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 24px; border-left: 1px solid var(--line-on-dark); }
.card-pillar:first-child { border-left: 0; }
.ico-pillar { width: 72px; height: 72px; margin-bottom: 14px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pillar-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; letter-spacing: 0.04em; margin-bottom: 6px; }
.pillar-text { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); max-width: 26ch; }

/* ---------- CTA with water video ---------- */
.cta-water { position: absolute; inset: 0; z-index: -1; background: #b9c9d8; }
.cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 80% at 50% 45%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 45%, rgba(230, 241, 255, 0.08) 75%, rgba(230, 241, 255, 0) 100%);
}
.cta-copy { text-align: center; }
.cta-kicker { font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 8px; }
.cta-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--navy-800);
  font-size: clamp(1.9rem, 1.1rem + 3.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
  margin-bottom: 26px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.flex-btn-cta { justify-content: center; }
.cta-or { margin-top: 18px; font-weight: 600; color: var(--navy-800); }

/* ---------- Owner ---------- */
.grid-2-owner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: center; }
.owner-photo { position: relative; margin: 0; max-width: 420px; justify-self: center; }
.owner-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0;
  border-radius: 18px; background: var(--blue-100);
}
.owner-photo::after {
  content: ""; position: absolute; left: -10px; top: 32px; bottom: 32px; width: 6px; z-index: 2;
  border-radius: 3px; background: var(--maroon-600);
}
.owner-photo img {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 14px; box-shadow: 0 28px 48px -24px rgba(6, 26, 51, 0.5), 0 2px 8px rgba(6, 26, 51, 0.12);
}
.owner-kicker { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px; }
.owner-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; color: var(--maroon-600); margin: -4px 0 10px; }
.owner-title {
  font-family: var(--font-display); font-weight: 900; color: var(--navy-800);
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance;
  margin-bottom: 18px;
}
.owner-text { font-size: 1.1rem; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; margin-bottom: 22px; }
.list-owner { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.item-owner { position: relative; padding-left: 30px; font-weight: 600; color: var(--navy-800); line-height: 1.4; }
.item-owner::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flex-btn-owner { align-items: center; gap: 22px; flex-wrap: wrap; }
.btn.btn-owner { font-size: 1.15rem; padding: 0.7em 1.35em; }
.link-owner { font-weight: 700; color: var(--navy-800); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--blue-400); }
.link-owner:hover { color: var(--blue-500); }

/* ---------- Contact form (Formcarry) ---------- */
.form-contact {
  max-width: 720px; margin: 36px auto 0; padding: 28px 28px 30px;
  background: rgba(255, 255, 255, 0.96); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(6, 26, 51, 0.45), 0 2px 8px rgba(6, 26, 51, 0.12);
  text-align: left;
}
.form-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.35rem; color: var(--navy-800); margin-bottom: 18px; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field-label { font-weight: 700; font-size: 0.9rem; color: var(--navy-800); }
.field-opt { font-weight: 500; color: var(--ink-soft); }
.field-input {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(13, 49, 99, 0.28); border-radius: 8px; padding: 11px 13px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field-input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(43, 125, 224, 0.22); }
.field-input:user-invalid { border-color: var(--maroon-600); }
textarea.field-input { resize: vertical; min-height: 110px; }
select.field-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2445' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.btn-submit { width: 100%; justify-content: center; margin-top: 20px; font-size: 1.2rem; padding: 0.75em 1.2em; }
.btn.btn-submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.form-status { margin-top: 12px; text-align: center; font-weight: 600; min-height: 1.4em; }
.form-status.is-error { color: var(--maroon-600); }
.form-status.is-success { color: var(--ink-soft); }
.form-contact.is-sent .form-grid, .form-contact.is-sent .btn-submit { display: none; }
.form-contact.is-sent .form-status { font-size: 1.1rem; margin-top: 0; }

/* ---------- Footer ---------- */
.grid-3-footer { grid-template-columns: 1.1fr 1.3fr 1fr; column-gap: 32px; row-gap: 28px; align-items: start; }
.flex-logo-footer { color: var(--white); }
.flex-logo-footer .logo-mark { width: 62px; height: 62px; }
.flex-logo-footer .logo-pipe { stroke: var(--white); }
.flex-logo-footer .logo-pipe-cap { fill: var(--white); }
.flex-logo-footer .logo-drop { fill: var(--white); }
.flex-logo-footer .logo-name { color: var(--white); font-size: 1.75rem; }
.flex-logo-footer .logo-trade { color: var(--white); font-size: 1.4rem; letter-spacing: 0.16em; }

.footer-serving { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.ico-pin { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.list-areas { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.92); }
.list-areas li { display: flex; align-items: center; }
.list-areas li + li::before { content: ""; width: 1px; height: 12px; background: var(--line-on-dark); margin: 0 12px; }

.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.flex-footer-nav { gap: 0; font-size: 0.92rem; }
.flex-footer-nav li { display: flex; align-items: center; }
.flex-footer-nav li + li::before { content: ""; width: 1px; height: 12px; background: var(--line-on-dark); margin: 0 14px; }
.flex-footer-nav a { color: rgba(255, 255, 255, 0.92); transition: color 160ms; }
.flex-footer-nav a:hover { color: var(--blue-300); }
.flex-social { gap: 14px; }
.social-link {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.social-link svg { width: 20px; height: 20px; fill: var(--white); }
.social-link:hover { background: var(--blue-500); transform: translateY(-2px); }
.footer-legal {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75);
}

/* ---------- Reveal motion (one authored moment: content rises as you scroll) ---------- */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-copy [data-reveal] { transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .nav-link::after, .social-link { transition: none; }
  .cta-video { display: none; }
  .cta-water { background: url("../video/water-poster.jpg") center / cover no-repeat; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-6-services { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .card-service:nth-child(4) { border-left: 0; }
  .logo-name { font-size: 1.8rem; }
  .logo-trade { font-size: 1.45rem; }
  .logo-mark { width: 64px; height: 64px; }
}

@media (max-width: 900px) {
  .flex-header { min-height: 84px; }
  .btn.btn-header { font-size: 1.05rem; padding: 0.7em 1.15em; }
  .nav-toggle { display: flex; }
  .nav-main {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); box-shadow: var(--shadow-header);
    padding: 8px var(--gutter) 20px;
    transform-origin: top; transform: scaleY(0.96); opacity: 0; visibility: hidden;
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .nav-main.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .flex-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .logo-tag { display: none; }
  .hero-bg { left: 0; }
  .hero-bg img { object-position: 72% 62%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 26, 51, 0.94) 0%, rgba(6, 26, 51, 0.8) 40%, rgba(6, 26, 51, 0.35) 70%, rgba(6, 26, 51, 0.15) 100%),
      linear-gradient(180deg, rgba(6, 26, 51, 0.2), rgba(6, 26, 51, 0) 30%, rgba(6, 26, 51, 0.5));
  }
  .grid-3-pillars { grid-template-columns: 1fr; row-gap: 32px; }
  .card-pillar { border-left: 0; padding: 0 12px; }
  .card-pillar + .card-pillar { padding-top: 32px; border-top: 1px solid var(--line-on-dark); }
  .grid-3-footer { grid-template-columns: 1fr; }
  .sect.sect-owner { padding: 64px 0; }
  .grid-2-owner { grid-template-columns: 1fr; row-gap: 40px; }
  .owner-photo { max-width: 320px; justify-self: start; }
  .owner-copy { text-align: left; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 640px) {
  .flex-header { min-height: 76px; gap: 12px; }
  .logo-mark { width: 52px; height: 52px; }
  .logo-name { font-size: 1.45rem; }
  .logo-trade { font-size: 1.15rem; letter-spacing: 0.14em; }
  .btn.btn-header span { display: none; }
  .btn.btn-header { padding: 0.75em; font-size: 1.15rem; }
  .btn.btn-header .ico-phone { width: 1.25em; height: 1.25em; }
  .sect.sect-hero { min-height: 680px; align-items: start; }
  .sect.sect-hero > .w-container { padding-top: 64px; padding-bottom: 72px; }
  .hero-bg img { object-position: 60% 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 26, 51, 0.96) 0%, rgba(6, 26, 51, 0.94) 52%, rgba(6, 26, 51, 0.35) 80%, rgba(6, 26, 51, 0.12) 100%); }
  .hero-brand { font-size: 0.8rem; letter-spacing: 0.26em; }
  .hero-brand::before, .hero-brand::after { width: 28px; }
  .hero-text { max-width: none; }
  .btn.btn-hero { width: 100%; justify-content: center; }
  .sect.sect-services { padding: 56px 0 60px; }
  .heading-rule { flex-direction: column; gap: 12px; margin-bottom: 32px; font-size: 1.6rem; }
  .heading-rule::before { display: none; }
  .heading-rule::after { flex: none; width: 56px; height: 3px; }
  .grid-6-services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; column-gap: 8px; }
  .card-service { padding: 4px 8px; }
  .card-service:nth-child(odd) { border-left: 0; }
  .card-service:nth-child(4) { border-left: 1px solid var(--line); }
  .ico-service { width: 68px; height: 68px; }
  .sect.sect-cta { padding: 60px 0; }
  .cta-kicker { letter-spacing: 0.24em; font-size: 0.9rem; }
  .btn.btn-cta { width: 100%; justify-content: center; }
  .form-contact { padding: 22px 18px 24px; margin-top: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .list-areas { font-size: 0.88rem; }
  .list-areas li + li::before { margin: 0 8px; }
  .flex-footer-nav { flex-wrap: wrap; }
}
