:root {
  --bg: #f6f6f3;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #666a70;
  --line: #deded8;
  --dark: #111316;
  --dark-2: #1d2228;
  --red: #d12d2d;
  --red-dark: #9f1c1c;
  --gold: #c7a66a;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(10, 10, 10, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  background: rgba(17, 19, 22, .94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 82px;
  height: 62px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #171616;
  padding: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  opacity: .86;
}

.site-nav a:hover {
  opacity: 1;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .22);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 36%, rgba(0, 0, 0, .18) 74%),
    linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 144px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff5a54;
}

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

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .1);
}

.button.text {
  padding-inline: 0;
  color: var(--red);
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  gap: 1px;
  margin-top: 50px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .16);
}

.hero-stats span {
  min-height: 86px;
  padding: 18px;
  background: rgba(15, 16, 18, .62);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 26px;
}

.trust-strip,
.section,
.contact,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 28px;
  color: #fff;
  background: #171616;
}

.partner-logo,
.mini-logo {
  display: block;
  width: 142px;
  height: 54px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
}

.partner-logo.opti {
  width: 172px;
  padding: 7px 10px;
  background: #050505;
  border-radius: var(--radius);
}

.partner-logo.ultra {
  width: 154px;
}

.mini-logo {
  width: 124px;
  height: 82px;
  border: 0;
  border-radius: var(--radius);
  background: #171616;
  padding: 0;
}

.trust-strip strong,
.trust-strip p {
  display: block;
  margin: 0;
}

.trust-strip p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
}

.section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.5fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.section-copy.narrow {
  max-width: 760px;
}

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

.service-card,
.price-card,
.testimonials article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-card {
  padding: 28px;
}

.service-card span {
  color: var(--red);
  font-weight: 800;
}

.service-card h3,
.process h3,
.price-card h3 {
  margin: 14px 0 8px;
  font-size: 21px;
}

.service-card p,
.process p,
.price-card li,
.testimonials p {
  color: var(--muted);
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--dark);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, .12);
}

.process div {
  padding: 34px;
  background: var(--dark-2);
}

.process span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 390px;
}

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

.price-card {
  position: relative;
  padding: 26px;
}

.price-card.featured {
  color: #fff;
  background: #191c20;
  border-color: #191c20;
  box-shadow: var(--shadow);
}

.price-card.featured li {
  color: rgba(255, 255, 255, .76);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 12px 0 22px;
  font-size: 34px;
  font-weight: 800;
}

.price-card ul {
  min-height: 128px;
  padding-left: 20px;
}

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

.gallery figure {
  min-height: 320px;
  aspect-ratio: 4 / 3;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
}

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

.gallery-project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-project-link figure {
  min-height: 380px;
}

.gallery-project-link img {
  transition: transform .35s ease;
}

.gallery-project-link:hover img,
.gallery-project-link:focus-visible img {
  transform: scale(1.035);
}

.gallery-project-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.gallery figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .48);
}

.gallery-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 58px;
}

.gallery-hero h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
}

.gallery-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.gallery-page {
  padding-top: 42px;
}

.gallery-large {
  align-items: stretch;
}

.gallery-large figure {
  min-height: 300px;
}

.gallery-contact {
  margin-top: 34px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 0;
}

.testimonials article {
  padding: 28px;
}

.testimonials p {
  margin-top: 0;
  font-size: 19px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  margin-bottom: 90px;
  padding: clamp(32px, 6vw, 64px);
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius);
}

.contact h2 {
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-actions {
  align-content: start;
}

.contact-actions .button {
  width: 100%;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
}

textarea {
  resize: vertical;
}

select option {
  color: #111;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #b7e8c5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
}

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

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 18px auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 16px;
    background: rgba(17, 19, 22, .98);
    border: 1px solid rgba(255, 255, 255, .12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-stats,
  .trust-strip,
  .split,
  .process,
  .section-heading,
  .pricing-grid,
  .gallery,
  .testimonials,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .price-card.featured {
    transform: none;
  }

  .gallery figure {
    min-height: 250px;
  }

  .gallery-hero {
    padding-top: 130px;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 58px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: min(100% - 28px, 1080px);
    padding-bottom: 44px;
  }

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

  .trust-strip,
  .section,
  .contact,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

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

  .site-footer {
    display: grid;
  }
}
