/* ==========================================================================
   D&N Clean — Gebäudereinigung
   Design tokens: navy/blue from the building mark, leaf-green accent,
   gold sparkle used only as a rare highlight. Source Serif 4 for headlines
   (plain, conventional letterforms), Work Sans for everything people
   read closely.
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/sourceserif4-variable.woff2") format("woff2-variations"),
       url("assets/fonts/sourceserif4-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/worksans-variable.woff2") format("woff2-variations"),
       url("assets/fonts/worksans-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f8f6;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #eef3f0;
  --ink: #122232;
  --ink-soft: #4d5f6d;
  --ink-faint: #7c8b96;
  --border: #dde6e1;
  --border-strong: #c6d3cc;

  --navy: #163b66;
  --navy-deep: #0e2848;
  --blue: #3e8fc4;
  --blue-soft: #e5f1f8;
  --green: #5f9a35;
  --green-soft: #eaf3e1;
  --gold: #d9a53c;

  --shadow-sm: 0 1px 2px rgba(14, 40, 72, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 40, 72, 0.10);
  --shadow-lg: 0 20px 48px rgba(14, 40, 72, 0.16);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --font-display: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;

  --content-width: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a26;
    --bg-alt: #122536;
    --surface: #142a3d;
    --surface-sunken: #0f2131;
    --ink: #eaf1f5;
    --ink-soft: #a9bccb;
    --ink-faint: #7c92a3;
    --border: #223c52;
    --border-strong: #2c4b64;

    --navy: #7aa8d8;
    --navy-deep: #0b1b2c;
    --blue: #63b3e8;
    --blue-soft: #17334a;
    --green: #8bc95c;
    --green-soft: #1b3320;
    --gold: #e8c168;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d1a26;
  --bg-alt: #122536;
  --surface: #142a3d;
  --surface-sunken: #0f2131;
  --ink: #eaf1f5;
  --ink-soft: #a9bccb;
  --ink-faint: #7c92a3;
  --border: #223c52;
  --border-strong: #2c4b64;

  --navy: #7aa8d8;
  --navy-deep: #0b1b2c;
  --blue: #63b3e8;
  --blue-soft: #17334a;
  --green: #8bc95c;
  --green-soft: #1b3320;
  --gold: #e8c168;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f8f6;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #eef3f0;
  --ink: #122232;
  --ink-soft: #4d5f6d;
  --ink-faint: #7c8b96;
  --border: #dde6e1;
  --border-strong: #c6d3cc;

  --navy: #163b66;
  --navy-deep: #0e2848;
  --blue: #3e8fc4;
  --blue-soft: #e5f1f8;
  --green: #5f9a35;
  --green-soft: #eaf3e1;
  --gold: #d9a53c;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Scroll reveal (subtle, JS-toggled) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }

  .reveal-left {
    transform: translateX(-38px);
  }

  .reveal-right {
    transform: translateX(38px);
  }

  .reveal-scale {
    transform: scale(0.94);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 5vw + 1rem, 3.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 720px) {
  .wrap {
    padding-inline: 32px;
  }
}

section {
  padding-block: clamp(48px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* Centered section labels get a matching gold dash on the trailing side too. */
.section-head.center .eyebrow::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary:visited { color: #fff; }
.btn-accent:visited { color: #0d1a0a; }
.btn-ghost:visited { color: var(--ink); }
.cta-banner .btn-ghost:visited { color: #fff; }

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-accent {
  background: var(--green);
  color: #0d1a0a;
}

.btn-accent:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-alt) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name .amp {
  color: var(--navy);
}

.brand-name .clean {
  color: var(--green);
}

.brand-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
  border-color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--navy);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 100%);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    overflow-y: auto;
  }

  body.nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .main-nav .btn {
    margin-top: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .nav-toggle span {
    background: transparent;
  }

  body.nav-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 108px) clamp(40px, 6vw, 64px);
  background:
    radial-gradient(ellipse 90% 60% at 85% -10%, var(--blue-soft), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }

  /* Push the image down by the eyebrow's height so its top lines up
     with the headline instead of the small label above it. */
  .hero-art {
    margin-top: 2.85rem;
  }
}

.hero-copy p {
  margin-top: 18px;
  font-size: 1.08rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 16px 56px;
  margin-top: 36px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
}

.hero-trust li {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-trust {
    grid-template-columns: 1fr;
  }
}

/* ---------- Spacing utilities (replace inline styles for a strict CSP) ---------- */
.u-mt-0 { margin-top: 0; }
.u-mt-14 { margin-top: 14px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-20 { margin-top: 20px; }
.u-justify-center { justify-content: center; }

.hero-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.hero-art {
  position: relative;
}

.skyline-card {
  background: linear-gradient(160deg, #eef5fb 0%, #ffffff 60%);
  border: 1px solid #dde6ee;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skyline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 12%, rgba(217, 165, 60, 0.16), transparent 45%);
}

.skyline-card img {
  width: min(78%, 320px);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(14, 40, 72, 0.16));
}

.skyline-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #dde6ee;
  color: #163b66;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Section headers ---------- */

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head h2 {
  margin-top: 10px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.02rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin-inline: auto;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-top: 2px;
}

.service-card p {
  font-size: 0.96rem;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

a.service-card:hover .service-link svg {
  transform: translateX(3px);
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.tag-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.tag-list svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Stats ---------- */

.stat-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  display: block;
}

.stat .label {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Process ---------- */

.process-list {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.process-list-center {
  max-width: 680px;
  margin-inline: auto;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--border);
}

.process-item:last-child {
  border-bottom: 1px solid var(--border);
}

/* Process: three equal illustrations, then four numbered steps */
.ablauf-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.ablauf-shot {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.ablauf-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

.ablauf-shot figcaption {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 12px 8px;
}

.ablauf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 34px);
  max-width: 940px;
  margin-inline: auto;
}

.ablauf-steps li {
  border-top: 2px solid var(--navy);
  padding-top: 16px;
}

.ablauf-steps .process-num {
  display: block;
  margin-bottom: 8px;
}

.ablauf-steps h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.ablauf-steps p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .ablauf-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ablauf-gallery {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  .ablauf-steps {
    grid-template-columns: 1fr;
  }
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--border-strong);
  width: 48px;
}

.process-item h3 {
  margin-bottom: 4px;
}

.process-item p {
  font-size: 0.96rem;
}

/* ---------- Why-us split ---------- */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .split.reverse {
    direction: rtl;
  }
  .split.reverse > * {
    direction: ltr;
  }
}

.value-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.value-list li {
  display: flex;
  gap: 14px;
}

.value-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.value-list h3 {
  font-size: 1.04rem;
  margin-bottom: 3px;
}

.value-list p {
  font-size: 0.93rem;
}

.panel-graphic {
  border-radius: var(--radius-l);
  background: linear-gradient(150deg, var(--green-soft), var(--bg-alt));
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 40px);
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-graphic > svg {
  width: 100%;
  height: 100%;
}

.panel-graphic img {
  width: min(58%, 230px);
  height: auto;
}

/* Team info card (fuller panel on the About page) */
.team-panel {
  aspect-ratio: auto;
  align-items: stretch;
  padding: clamp(26px, 4vw, 38px);
}

.team-card {
  width: 100%;
}

.team-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: none;
}

.team-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.team-card-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.team-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-card-icon svg {
  width: 20px;
  height: 20px;
}

.team-card-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-card-list span {
  font-size: 0.89rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.photo-panel {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-panel.wide {
  aspect-ratio: 3 / 2;
}

.photo-panel.compact {
  aspect-ratio: auto;
  max-width: 380px;
  margin-inline: auto;
}

.photo-panel.compact img {
  height: auto;
  object-fit: initial;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-l);
  padding: clamp(32px, 6vw, 56px);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 10px;
}

.cta-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-banner .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 56px 28px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-name span {
  color: #fff !important;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-block: 44px 30px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-faint);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.page-hero p {
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ---------- Service detail blocks ---------- */

.detail-block {
  display: grid;
  gap: 32px;
  padding-block: 40px;
  border-top: 2px solid var(--navy);
}

.detail-block:first-of-type {
  border-top: none;
}

@media (min-width: 900px) {
  .detail-block {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
}

.detail-block .service-icon {
  margin-bottom: 18px;
}

.detail-block h3 {
  font-size: 1.5rem;
}

.detail-block > div > p {
  margin-top: 12px;
}

/* ---------- Team / values ---------- */

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 26px;
}

.value-card .service-icon {
  margin-bottom: 14px;
}

.value-card p {
  font-size: 0.94rem;
  margin-top: 8px;
}

.value-card .tag-list {
  margin-top: 10px;
}

.value-card .tag-list li {
  font-size: 0.94rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
  }
}

.contact-info-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-list .service-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.contact-info-list .service-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-list strong {
  display: block;
  font-size: 0.94rem;
  color: var(--ink);
}

.contact-info-list span,
.contact-info-list a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--navy);
}

.area-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: var(--radius-s);
  background: var(--green-soft);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.contact-form {
  scroll-margin-top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  gap: 18px;
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.form-row.two .field {
  margin-top: 0;
}

.field:first-child {
  margin-top: 0;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 14px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  display: none;
}

.form-status.visible {
  display: block;
}

/* ---------- Legal pages ---------- */

.legal-body {
  max-width: 72ch;
  display: grid;
  gap: 22px;
}

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 12px;
}

.legal-body p,
.legal-body li {
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.placeholder-note {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  background: var(--surface-sunken);
}
