:root {
  --navy: #061a33;
  --navy-2: #0b274d;
  --bosch-blue: #0067b1;
  --bosch-blue-dark: #004f8a;
  --red: #e30613;
  --yellow: #f7b801;
  --steel: #e8eef5;
  --steel-2: #f5f7fa;
  --ink: #111827;
  --muted: #5e6a7d;
  --line: #d7e0ea;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 26, 51, 0.14);
  --header-height: 76px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--steel-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

svg {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 2.2;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(6, 26, 51, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 26, 51, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 138px;
}

.brand-logo {
  width: 138px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

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

.main-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 250px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--bosch-blue), var(--bosch-blue-dark));
  box-shadow: 0 16px 34px rgba(0, 103, 177, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #0076cb, var(--bosch-blue));
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.header-button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: calc(var(--header-height) + 84px) 0 64px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.95) 0%, rgba(6, 26, 51, 0.78) 48%, rgba(6, 26, 51, 0.3) 100%),
    linear-gradient(180deg, rgba(6, 26, 51, 0.38), rgba(6, 26, 51, 0.74));
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: calc(86svh - var(--header-height) - 148px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--bosch-blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dbeafe;
}

.eyebrow span {
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.9rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 2.8rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 1.04rem;
  font-weight: 800;
}

.proof-strip {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(6, 26, 51, 0.06);
}

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

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 18px;
  color: var(--navy);
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.proof-item svg {
  flex: 0 0 auto;
  color: var(--bosch-blue);
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header p,
.about-copy p,
.pricing-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background: var(--steel-2);
}

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

.service-card,
.reference-card,
.process-step {
  border-radius: var(--radius);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--bosch-blue);
  box-shadow: 0 14px 30px rgba(6, 26, 51, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--bosch-blue);
  background: #e8f3fb;
  border-radius: 6px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--bosch-blue);
  font-weight: 900;
}

.service-card a::after {
  content: "";
  width: 26px;
  height: 2px;
  margin-left: 10px;
  background: var(--red);
}

.about {
  background: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: 52px;
  align-items: center;
}

.quality-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.quality-list div {
  display: grid;
  gap: 2px;
  padding: 18px;
  background: var(--steel-2);
  border-left: 4px solid var(--bosch-blue);
  border-radius: var(--radius);
}

.quality-list strong {
  color: var(--navy);
}

.quality-list span {
  color: var(--muted);
}

.about-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.media-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 4px;
  padding: 18px;
  color: var(--white);
  background: rgba(6, 26, 51, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.media-note span {
  color: rgba(255, 255, 255, 0.76);
}

.process {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 103, 177, 0.22), transparent 42%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--navy);
  background-size: auto, 100% 48px, auto;
}

.section-header.light h2,
.section-header.light p {
  color: var(--white);
}

.section-header.light p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-step {
  min-height: 236px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 6px;
  font-weight: 900;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.references {
  background: var(--white);
}

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

.reference-card {
  min-height: 220px;
  padding: 28px;
  background: var(--steel-2);
  border: 1px solid var(--line);
}

.reference-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--bosch-blue);
}

.reference-card p {
  color: var(--muted);
}

.portfolio {
  background: var(--steel-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 244px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(6, 26, 51, 0.1);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 26, 51, 0.9));
}

.gallery-item span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  gap: 2px;
  text-align: left;
}

.gallery-item strong {
  font-size: 1.04rem;
}

.gallery-item small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.pricing {
  background: var(--white);
}

.pricing-copy .button {
  margin-top: 12px;
}

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

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-row div {
  display: grid;
  gap: 3px;
}

.price-row strong {
  color: var(--navy);
}

.price-row span {
  color: var(--muted);
}

.price-row b {
  padding: 8px 10px;
  color: var(--bosch-blue-dark);
  background: #e8f3fb;
  border-radius: 6px;
  font-size: 0.9rem;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.12), transparent 34%),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 52px;
  align-items: start;
}

.contact h2,
.contact .section-kicker {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-cards a,
.contact-cards div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.contact-cards svg {
  flex: 0 0 auto;
  color: var(--yellow);
}

.contact-cards span {
  display: grid;
  gap: 2px;
  font-weight: 800;
}

.contact-cards small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-form {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--bosch-blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 177, 0.12);
}

.consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 700;
}

.consent input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--bosch-blue);
}

.form-submit {
  width: 100%;
}

.form-status {
  margin: 16px 0 0;
  padding: 13px 14px;
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
  border-radius: 6px;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #030d1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 32px;
  padding: 46px 0 28px;
}

.footer-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-grid strong {
  color: var(--white);
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 70px 24px 34px;
  background: rgba(3, 13, 27, 0.9);
}

.lightbox img {
  max-height: 76vh;
  width: min(1100px, 100%);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--white);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1100px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.36rem;
  }

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

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

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(6, 26, 51, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .header-actions {
    min-width: auto;
  }

  .header-phone,
  .header-button {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 58px) 0 48px;
  }

  .hero-inner {
    min-height: auto;
  }

  .proof-grid,
  .split-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-media,
  .about-media img {
    min-height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: auto;
  }

  .site-header .brand-logo {
    width: 118px;
  }

  h1 {
    font-size: 2.9rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

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

  .hero-stats div {
    min-width: 0;
    padding: 12px 8px;
  }

  .hero-stats dt {
    font-size: 0.72rem;
  }

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .proof-grid,
  .services-grid,
  .reference-grid,
  .process-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .reference-card,
  .process-step,
  .contact-form {
    padding: 22px;
  }

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

  .gallery-item-large {
    grid-column: auto;
    grid-row: auto;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.45rem;
  }

  .site-header .brand-logo {
    width: 108px;
  }

  .contact-cards a,
  .contact-cards div {
    align-items: flex-start;
  }
}
