:root {
  --ink: #151b1f;
  --soft-ink: #3a4248;
  --muted: #69737a;
  --line: #dfe3e6;
  --paper: #ffffff;
  --warm: #f6f3ef;
  --accent: #ff8a1f;
  --accent-dark: #d96d0d;
  --dark: #0f1417;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px clamp(18px, 4vw, 56px);
  background: var(--dark);
  color: #fff;
  font-size: 14px;
}

.topbar a:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
}

.brand img {
  width: 182px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft-ink);
  font-weight: 650;
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
  font-weight: 800;
}

.language-switch button.active {
  background: var(--dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 170px);
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 23, 0.94) 0%, rgba(15, 20, 23, 0.76) 42%, rgba(15, 20, 23, 0.18) 100%);
  content: "";
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  padding: clamp(70px, 10vw, 120px) clamp(18px, 4vw, 56px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #111;
}

.btn.primary:hover {
  background: #ff9b3c;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

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

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

.service-grid article,
.review-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-grid article p,
.review-grid article p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-band {
  padding: 46px clamp(18px, 4vw, 56px);
  background: var(--dark);
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.feature-grid div {
  min-height: 134px;
  padding: 22px;
  background: var(--dark);
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.projects {
  background: var(--warm);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid rgba(15, 20, 23, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 20, 23, 0.08);
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img,
.project-card video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #111;
}

.project-card.large img {
  height: 486px;
}

.project-card div {
  padding: 18px;
}

.project-card span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: stretch;
}

.about-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.about-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.about-panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.seo {
  padding-top: 54px;
  padding-bottom: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.seo h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.seo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-grid p {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft-ink);
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 40px;
  background: var(--dark);
  color: #fff;
}

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

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding: 44px clamp(18px, 4vw, 56px);
  background: #fff;
  color: var(--soft-ink);
}

.footer img {
  width: 170px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 22px;
  background: var(--warm);
}

.thanks-card {
  width: min(560px, 100%);
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card img {
  width: 220px;
  margin: 0 auto 28px;
}

.thanks-card h1 {
  max-width: none;
  font-size: clamp(32px, 6vw, 48px);
}

@media (max-width: 1120px) {
  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  .topbar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 154px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .language-switch {
    width: max-content;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(15, 20, 23, 0.88) 0%, rgba(15, 20, 23, 0.72) 100%);
  }

  .hero-content {
    min-height: 560px;
  }

  h1 {
    max-width: 10ch;
  }

  .about,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .service-grid,
  .review-grid,
  .project-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card img,
  .project-card video,
  .project-card.large img {
    height: 310px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
