:root {
  --bg: #fcfcfa;
  --surface: #ffffff;
  --surface-muted: #f2f3ee;
  --ink: #141414;
  --muted: #5e625f;
  --line: rgba(20, 20, 20, 0.1);
  --navy: #20345e;
  --gold: #c9a547;
  --dark: #242423;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(32, 52, 94, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfbf8 0%, #ffffff 52%, #fbfbf8 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

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

h1,
h2,
h3,
.button,
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 78px;
  border-radius: 14px;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:last-child {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--surface);
}

.hero {
  padding: 54px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-text,
.section-heading p:last-child,
.intro-copy p,
.service-card p,
.sector-grid p,
.process-grid p,
.quote-copy p,
.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--dark);
  color: var(--surface);
  box-shadow: 0 18px 32px rgba(36, 36, 35, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-points article,
.service-card,
.sector-grid article,
.process-grid article,
.quote-form,
.hero-card,
.hero-badge {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-points article {
  padding: 18px;
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 0.74fr;
  gap: 16px;
  align-items: end;
}

.hero-card {
  overflow: hidden;
}

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

.hero-card-tall {
  min-height: 680px;
}

.hero-card-short {
  min-height: 520px;
}

.hero-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 240px;
  padding: 18px;
  background: rgba(32, 52, 94, 0.94);
  color: var(--surface);
}

.hero-badge span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge strong {
  font-size: 1rem;
  line-height: 1.5;
}

.trust-bar {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.trust-inner {
  display: grid;
  gap: 12px;
}

.trust-inner p {
  margin: 0;
  color: var(--muted);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

.split-intro,
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.intro-copy {
  display: grid;
  gap: 16px;
}

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

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 24px;
  align-items: end;
  max-width: none;
}

.section-heading p:last-child {
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card-primary {
  grid-row: span 2;
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(32, 52, 94, 0.98), rgba(32, 52, 94, 0.86)),
    var(--navy);
  color: var(--surface);
}

.service-card-primary p,
.service-card-primary .service-index {
  color: rgba(255, 255, 255, 0.78);
}

.service-card-accent {
  background: linear-gradient(180deg, rgba(201, 165, 71, 0.18), rgba(255, 255, 255, 1));
}

.service-index {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.sector-grid h3,
.process-grid h3,
.footer-grid h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
}

.service-card p:last-child,
.sector-grid p,
.process-grid p {
  margin-bottom: 0;
}

.sector-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.sector-grid article,
.process-grid article {
  padding: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.gallery-item {
  grid-column: span 3;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.gallery-item-large {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 780px;
}

.gallery-item-wide {
  grid-column: span 5;
  min-height: 320px;
}

.process-panel {
  padding: 36px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 243, 238, 1));
}

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

.process-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote {
  padding-top: 0;
}

.quote-contact {
  margin-top: 28px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.quote-contact strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 16px;
  background: #fafaf7;
  color: var(--ink);
  font: inherit;
}

.field-wide,
.button-submit {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  min-height: 24px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.form-status[data-state="pending"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #2f6b37;
}

.form-status[data-state="error"] {
  color: #9b2c2c;
}

.site-footer {
  margin-top: 96px;
  padding: 40px 0 22px;
  background: #20211f;
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-brand img {
  width: 120px;
  border-radius: 18px;
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .split-intro,
  .quote-grid,
  .section-heading-split,
  .services-grid,
  .sector-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card-primary {
    grid-row: auto;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 12vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

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

  .hero-card-tall,
  .hero-card-short {
    min-height: 420px;
  }

  .hero-badge {
    position: static;
    width: auto;
  }

  .section,
  .site-footer {
    margin-top: 0;
  }

  .section {
    padding: 72px 0;
  }

  .process-panel {
    padding: 22px;
    border-radius: 28px;
  }

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