:root {
  --blue-950: #021827;
  --blue-900: #06263e;
  --blue-800: #073f6f;
  --blue-700: #075f9e;
  --blue-500: #0b92d0;
  --blue-300: #5bd5ee;
  --cyan: #9ff7ff;
  --ink: #092034;
  --muted: #5f7587;
  --paper: #f7fbff;
  --white: #ffffff;
  --line: rgba(9, 32, 52, 0.12);
  --shadow: 0 24px 80px rgba(2, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.water-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(2, 24, 39, 0.4);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  transition: min-height 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.solid {
  min-height: 58px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(2, 24, 39, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(140px, 15vw, 184px);
  height: auto;
  object-fit: contain;
  transition: width 220ms ease, padding 220ms ease, filter 220ms ease;
  padding: 1em 0;
}

.site-header.scrolled .brand-logo,
.site-header.solid .brand-logo {
  width: clamp(88px, 9vw, 112px);
  padding: 0.2em 0;
}

.site-header.scrolled .brand-logo,
.site-header.solid .brand-logo {
  filter: none;
}

.main-nav {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-mobile {
  display: none;
}

.nav-list a {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 8px;
  color: currentColor;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  opacity: 0.86;
  transition: background 180ms ease, opacity 180ms ease;
}

.nav-list a:hover {
  opacity: 1;
  background: rgba(91, 213, 238, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section-dark {
  color: var(--white);
  background: var(--blue-950);
}

.section-blue {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(91, 213, 238, 0.28), transparent 28%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.hero {
  position: relative;
  min-height: 108svh;
  padding: 190px max(32px, calc((100vw - 1240px) / 2)) 110px;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(250px, 340px);
  align-items: end;
  gap: 54px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5vh;
  background: linear-gradient(0deg, var(--paper) 0%, rgba(247, 251, 255, 0.72) 38%, transparent 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 24, 39, 0.94), rgba(2, 24, 39, 0.5) 48%, rgba(2, 24, 39, 0.18)),
    linear-gradient(0deg, rgba(2, 24, 39, 0.55), transparent 44%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-300);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  min-height: 52px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--blue-950);
  background: linear-gradient(135deg, #ffffff, var(--blue-300));
  box-shadow: 0 20px 44px rgba(91, 213, 238, 0.26);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
}

.liquid-orbit,
.bubble-field span {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.liquid-orbit {
  border: 1px solid rgba(159, 247, 255, 0.34);
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.5), rgba(91, 213, 238, 0.08) 44%, transparent 62%);
  animation: drift 14s ease-in-out infinite alternate;
}

.orbit-one {
  right: 8vw;
  top: 18vh;
  width: 260px;
  height: 260px;
}

.orbit-two {
  right: 29vw;
  bottom: 12vh;
  width: 120px;
  height: 120px;
  animation-duration: 10s;
}

.bubble-field {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bubble-field span {
  width: var(--s, 28px);
  height: var(--s, 28px);
  left: var(--x, 40%);
  bottom: -80px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  animation: bubbleRise var(--d, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.bubble-field span:nth-child(1) { --x: 18%; --s: 18px; --d: 8s; --delay: 0s; }
.bubble-field span:nth-child(2) { --x: 52%; --s: 44px; --d: 12s; --delay: -3s; }
.bubble-field span:nth-child(3) { --x: 78%; --s: 26px; --d: 10s; --delay: -5s; }
.bubble-field span:nth-child(4) { --x: 88%; --s: 70px; --d: 15s; --delay: -7s; }
.bubble-field span:nth-child(5) { --x: 38%; --s: 32px; --d: 11s; --delay: -2s; }

.intro-section,
.service-area-section,
.seo-services-section,
.local-page-hero,
.local-page-content,
.faq-section,
.gallery-section,
.contact-section,
.legal-main {
  padding: 110px max(32px, calc((100vw - 1240px) / 2));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expertise-card {
  position: relative;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 24, 39, 0.12), rgba(2, 24, 39, 0.78)),
    var(--card-image) center / cover;
  box-shadow: 0 18px 60px rgba(7, 63, 111, 0.08);
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2, 24, 39, 0.78), transparent 58%),
    radial-gradient(circle at 80% 16%, color-mix(in srgb, var(--accent), transparent 40%), transparent 32%);
  opacity: 0.9;
  transition: opacity 350ms ease;
}

.expertise-card:hover::before {
  opacity: 0.72;
}

.card-index {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--white);
  font-weight: 900;
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 1;
}

.expertise-card h3 {
  position: relative;
  margin-top: 104px;
  margin-bottom: 12px;
}

.expertise-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.process-section {
  position: relative;
  padding: 100px max(32px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 72px;
  overflow: hidden;
}

.section-water-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

.process-copy,
.process-list {
  position: relative;
  z-index: 1;
}

.process-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 220ms ease, border-color 220ms ease;
}

.process-list li:hover {
  border-color: rgba(159, 247, 255, 0.5);
  transform: translateX(8px);
}

.process-list span,
.process-list small {
  display: block;
}

.process-list span {
  font-weight: 900;
  font-size: 1.34rem;
}

.process-list small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.service-area-section {
  background: var(--white);
}

.service-area-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-area-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.92), #ffffff);
  box-shadow: 0 18px 54px rgba(7, 63, 111, 0.08);
}

.service-area-grid h3 {
  color: var(--blue-900);
}

.service-area-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.city-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.city-list li {
  padding: 10px 14px;
  border: 1px solid rgba(7, 95, 158, 0.16);
  border-radius: 8px;
  color: var(--blue-900);
  background: rgba(91, 213, 238, 0.12);
  font-weight: 800;
}

.seo-services-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 24, 39, 0.96), rgba(7, 63, 111, 0.86)),
    url("images/2024-12-24.webp") center/cover;
}

.seo-services-section .section-heading p:not(.eyebrow) {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.seo-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-service-grid a {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.seo-service-grid a:hover {
  border-color: rgba(159, 247, 255, 0.58);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.seo-service-grid span {
  color: var(--blue-300);
  font-weight: 900;
}

.seo-service-grid strong {
  margin-top: 34px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.local-page {
  background: var(--paper);
}

.local-page-hero {
  padding-top: 170px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 24, 39, 0.96), rgba(2, 24, 39, 0.52)),
    url("images/unnamed.webp") center/cover;
}

.local-page-hero h1 {
  max-width: 980px;
}

.local-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.7;
}

.local-page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.local-page-content article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(7, 63, 111, 0.08);
}

.local-page-content article + article {
  margin-top: 18px;
}

.local-page-content h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.local-page-content p,
.local-page-content li {
  color: var(--muted);
  line-height: 1.75;
}

.local-page-content aside {
  position: sticky;
  top: 120px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: var(--shadow);
}

.local-page-content aside h2 {
  font-size: 1.6rem;
}

.local-page-content aside a,
.local-page-content aside span {
  display: block;
  margin-top: 12px;
}

.local-links {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.local-links a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--blue-950);
  background: var(--blue-300);
  font-weight: 900;
}

.local-proof-section {
  padding: 0 max(32px, calc((100vw - 1240px) / 2)) 110px;
}

.local-proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.local-proof-card,
.local-proof-copy {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.local-proof-card {
  position: relative;
  min-height: 420px;
  background: var(--blue-900);
}

.local-proof-card img,
.local-proof-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-proof-card span,
.local-proof-stack span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(2, 24, 39, 0.62);
  font-weight: 900;
}

.local-proof-side {
  display: grid;
  gap: 18px;
}

.local-proof-stack {
  position: relative;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.local-proof-copy {
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.local-proof-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.local-proof-copy p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.local-proof-copy .btn {
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 290px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 700ms ease, filter 700ms ease;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: saturate(1.16);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(2, 24, 39, 0.58);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.gallery-extra {
  margin-top: 40px;
}

.gallery-extra[hidden] {
  display: none;
}

.gallery-category {
  margin-top: 38px;
}

.gallery-category h3 {
  margin-bottom: 16px;
  color: var(--blue-900);
}

.gallery-cascade {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
}

.gallery-cascade .gallery-item {
  flex: 1 1 260px;
  min-width: min(100%, 240px);
  height: 300px;
}

.gallery-cascade .cascade-wide {
  flex-basis: 420px;
  height: 260px;
}

.gallery-cascade .cascade-tall {
  flex-basis: 250px;
  height: 390px;
}

.gallery-toggle {
  margin-top: 28px;
  border: 0;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 24, 39, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 100%);
  max-height: min(78vh, 820px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.lightbox-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  margin: 0;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  cursor: pointer;
}

.quote-strip {
  padding: 92px 24px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(2, 24, 39, 0.94), rgba(7, 95, 158, 0.84)),
    url("images/unnamed.webp") center/cover;
}

.quote-inner {
  max-width: 920px;
  margin: 0 auto;
}

.quote-inner p {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.quote-inner span {
  color: var(--blue-300);
  font-weight: 900;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.84), rgba(255, 255, 255, 0.96)),
    url("images/unnamed (1).webp") center/cover;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(7, 63, 111, 0.07);
}

.faq-list summary {
  min-height: 64px;
  padding: 20px 48px 20px 20px;
  display: flex;
  align-items: center;
  color: var(--blue-900);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--blue-500);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.contact-details {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-details a,
.contact-details span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.anti-spam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-900);
  font-weight: 800;
}

.field-help {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-note a {
  color: var(--blue-700);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--blue-700);
}

.consent-field a {
  color: var(--blue-700);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(7, 63, 111, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(11, 146, 208, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--blue-700);
  font-weight: 800;
}

.form-note.is-error {
  color: #b42318;
}

.site-footer {
  padding: 34px max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  background: var(--blue-950);
  text-align: center;
}

.site-footer > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-right: 18px;
  vertical-align: -3px;
  background: rgba(255, 255, 255, 0.24);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: var(--blue-300);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  background:
    radial-gradient(circle at 90% 0%, rgba(91, 213, 238, 0.36), transparent 34%),
    var(--paper);
}

.legal-main {
  margin: 0 auto;
  padding-top: 150px;
}

.legal-hero {
  margin-bottom: 48px;
}

.legal-hero h1 {
  color: var(--blue-950);
}

.legal-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.legal-content p {
  margin-bottom: 8px;
  color: var(--muted);
}

@keyframes drift {
  to {
    transform: translate3d(28px, -20px, 0) scale(1.08);
  }
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) translateX(44px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .brand-logo {
    width: clamp(132px, 16vw, 164px);
  }

  .site-header.scrolled .brand-logo,
  .site-header.solid .brand-logo {
    width: clamp(86px, 10vw, 106px);
  }

  .main-nav {
    gap: 14px;
  }

  .nav-list a {
    padding: 10px 10px;
  }

  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-section {
    gap: 44px;
  }

  .contact-section {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 76px;
    padding: 10px 64px 10px 14px;
  }

  .brand-logo {
    width: min(168px, 52vw);
  }

  .site-header.scrolled {
    min-height: 60px;
  }

  .site-header.scrolled .brand-logo,
  .site-header.solid .brand-logo {
    width: min(104px, 34vw);
    padding: 0.1em 0;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 14px;
  }

  .main-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav-list {
    display: none;
  }

  .main-nav.open .nav-mobile {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-list a {
    width: 100%;
    padding: 14px 16px;
  }

  .legal-nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .legal-nav .nav-list {
    display: flex;
    gap: 4px;
  }

  .legal-nav .nav-list a {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 104svh;
    padding: 150px 20px 78px;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 26px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4.4rem);
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel div {
    padding: 14px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-panel div:last-child {
    border-right: 0;
  }

  .hero-panel strong {
    font-size: 1.45rem;
  }

  .intro-section,
  .service-area-section,
  .seo-services-section,
  .local-page-hero,
  .local-page-content,
  .local-proof-section,
  .faq-section,
  .gallery-section,
  .contact-section,
  .legal-main {
    padding: 78px 20px;
  }

  .intro-grid,
  .service-area-grid,
  .seo-service-grid,
  .local-page-content,
  .local-proof-grid,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .local-page-content aside {
    position: static;
  }

  .local-proof-card,
  .local-proof-stack {
    min-height: 280px;
  }

  .expertise-card {
    min-height: 230px;
    padding: 22px;
  }

  .card-index {
    width: 44px;
    height: 44px;
    top: 22px;
    left: 22px;
  }

  .process-section {
    padding: 78px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(260px, 52vw);
  }

  .gallery-cascade .gallery-item,
  .gallery-cascade .cascade-wide,
  .gallery-cascade .cascade-tall {
    flex-basis: calc(50% - 9px);
    height: 300px;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 270px;
    grid-row: auto;
  }

  .contact-copy {
    position: static;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 8px 58px 8px 12px;
  }

  .brand-logo {
    width: min(142px, 48vw);
  }

  .site-header.scrolled {
    min-height: 56px;
  }

  .site-header.scrolled .brand-logo,
  .site-header.solid .brand-logo {
    width: min(92px, 31vw);
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    right: 10px;
  }

  .hero {
    min-height: auto;
    padding: 132px 16px 58px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .card-index {
    top: 22px;
    left: 22px;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .intro-section,
  .service-area-section,
  .seo-services-section,
  .local-page-hero,
  .local-page-content,
  .local-proof-section,
  .faq-section,
  .gallery-section,
  .contact-section,
  .legal-main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .process-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-cascade {
    gap: 14px;
  }

  .gallery-cascade .gallery-item,
  .gallery-cascade .cascade-wide,
  .gallery-cascade .cascade-tall {
    flex-basis: 100%;
    height: 280px;
  }

  .gallery-category {
    margin-top: 30px;
  }

  .gallery-toggle {
    width: 100%;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-image {
    max-height: 72vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: 0.95rem;
  }

  .contact-details a,
  .contact-details span {
    padding: 14px;
  }
}

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