:root {
  --ink: #111318;
  --muted: #66707c;
  --paper: #f7f5f1;
  --panel: #ffffff;
  --line: #ded8ce;
  --red: #d21f26;
  --red-dark: #9e171d;
  --blue: #1f536f;
  --yellow: #f2c744;
  --shadow: 0 22px 60px rgba(17, 19, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 54px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-solid {
  background: rgba(247, 245, 241, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 52px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.brand span {
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.94rem;
  font-weight: 780;
}

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

.lang,
.round {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  background: #111318;
  color: #fff;
}

.hero-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.2), rgba(17, 19, 24, 0.86)),
    linear-gradient(0deg, rgba(17, 19, 24, 0.46), transparent 52%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  align-self: center;
  padding: 126px clamp(22px, 5vw, 72px) 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 5.1vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.quick-facts div {
  min-height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.quick-facts strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.quick-facts span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.info-band a {
  background: #fff;
  padding: 22px clamp(18px, 4vw, 54px);
  font-weight: 900;
}

.info-band span,
.contact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 8vw, 112px) 0;
}

.intro,
.request,
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.request-copy p:not(.eyebrow),
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-console,
.request-form,
.contact-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-tabs button {
  min-height: 72px;
  border: 0;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.service-tabs button.active {
  background: var(--red);
  color: #fff;
}

.service-result {
  min-height: 210px;
  padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(135deg, rgba(210, 31, 38, 0.12), rgba(31, 83, 111, 0.11)), #fff;
}

.service-result span {
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-result h3 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.service-result p {
  margin: 14px 0 0;
  color: var(--muted);
}

.cards {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cards article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cards h3,
.cards p {
  margin-left: 18px;
  margin-right: 18px;
}

.cards h3 {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 1.26rem;
  line-height: 1.12;
}

.cards p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--muted);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

label span {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfcf9;
  color: var(--ink);
  padding: 13px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof {
  padding: clamp(70px, 8vw, 110px) clamp(18px, 4vw, 54px);
  background: #fff;
}

.proof-copy {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.gallery {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  grid-auto-rows: minmax(180px, 24vw);
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery img:first-child {
  grid-row: span 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.contact-grid a {
  min-height: 126px;
  min-width: 0;
  background: #fff;
  padding: 22px;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 54px) 92px;
  color: var(--muted);
}

footer span {
  color: var(--ink);
  font-weight: 900;
}

.mobile-actions {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-actions a {
  min-height: 50px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  box-shadow: 0 14px 36px rgba(17, 19, 24, 0.26);
}

.mobile-actions a:last-child {
  background: var(--blue);
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  nav {
    display: none;
  }

  .actions {
    justify-content: end;
  }

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

  .hero-photo {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .hero-photo::after {
    background:
      linear-gradient(0deg, rgba(17, 19, 24, 0.86), rgba(17, 19, 24, 0.18)),
      linear-gradient(90deg, rgba(17, 19, 24, 0.76), rgba(17, 19, 24, 0.16));
  }

  .hero-copy {
    position: relative;
    min-height: 760px;
    display: grid;
    align-content: end;
    padding-top: 120px;
  }

  .info-band,
  .intro,
  .request,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand img {
    width: 46px;
    height: 36px;
  }

  .brand span {
    max-width: 118px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-copy {
    min-height: 760px;
    padding: 112px 14px 34px;
  }

  h1 {
    font-size: clamp(2.65rem, 14.4vw, 4.4rem);
  }

  .hero-buttons .button,
  .request-form,
  .cards,
  .section {
    width: 100%;
  }

  .hero-buttons .button {
    display: flex;
  }

  .quick-facts,
  .service-tabs,
  .cards,
  .request-form,
  .contact-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    min-height: 72px;
  }

  .section,
  .cards {
    width: calc(100% - 28px);
  }

  .proof {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-grid a {
    min-height: 104px;
  }

  .mobile-actions {
    display: grid;
  }
}
