:root {
  --red: #9e1023;
  --crimson: #c3182f;
  --burgundy: #4a0711;
  --charcoal: #141416;
  --graphite: #2c2d31;
  --silver: #d8dbe0;
  --soft: #f6f3f0;
  --glow: #ff9b4a;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 20, 22, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--burgundy), var(--crimson));
  font-weight: 800;
}

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

.brand small {
  color: #6d6f76;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #44464d;
  font-size: 14px;
}

.nav-links a:hover,
.page-links a:hover,
.service-card a:hover {
  color: var(--crimson);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 42px);
  gap: 2px;
  padding: 3px;
  background: #f0f1f3;
  border: 1px solid rgba(20, 20, 22, 0.08);
}

.lang-switch button {
  min-height: 34px;
  border: 0;
  color: #5c5f66;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: var(--white);
  background: var(--charcoal);
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--burgundy), var(--crimson));
  box-shadow: 0 16px 40px rgba(158, 16, 35, 0.24);
}

.btn.secondary {
  color: var(--charcoal);
  background: var(--white);
}

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

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 11, 0.92), rgba(74, 7, 17, 0.65) 48%, rgba(12, 10, 11, 0.25)),
    linear-gradient(0deg, rgba(12, 10, 11, 0.96), rgba(12, 10, 11, 0.18) 45%);
}

.hero-content {
  position: relative;
  width: min(1120px, 100%);
  padding: clamp(88px, 12vw, 150px) clamp(20px, 6vw, 72px) clamp(34px, 6vw, 68px);
}

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

.hero .eyebrow,
.dark .eyebrow,
.contact .eyebrow {
  color: #ffb06d;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

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

.hero-stats div {
  padding: 18px;
  background: rgba(20, 20, 22, 0.55);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

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

.section-heading p {
  color: #656870;
  font-size: 18px;
}

.compact {
  margin-bottom: 0;
}

.trusted {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 30px;
  background: var(--soft);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.logo-row span,
.page-links a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 12px;
  color: #5b5e66;
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.08);
  font-weight: 800;
}

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

.service-card,
.case-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.1);
}

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

.service-card div,
.case-card div {
  padding: 22px;
}

.service-card p,
.case-card p {
  color: #5e6067;
}

.service-card strong {
  display: block;
  margin: 16px 0;
  color: var(--burgundy);
}

.service-card a {
  color: var(--crimson);
  font-weight: 800;
}

.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(74, 7, 17, 0.94), rgba(20, 20, 22, 0.98)),
    var(--charcoal);
}

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

.feature-grid div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid span,
.tag {
  color: #ffb06d;
  font-weight: 800;
}

.feature-grid p,
.dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--graphite);
  background: var(--soft);
  border: 1px solid rgba(20, 20, 22, 0.1);
  font-weight: 800;
  cursor: pointer;
}

.filter.is-active {
  color: var(--white);
  background: var(--charcoal);
}

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

.case-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  background: var(--soft);
}

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

.faq {
  background: #fafafa;
}

details {
  max-width: 920px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 20, 22, 0.12);
}

summary {
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #5e6067;
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 155, 74, 0.22), transparent 28%),
    linear-gradient(135deg, var(--charcoal), var(--burgundy));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.contact-panel p,
.contact-list {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  padding-left: 18px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--charcoal);
  background: var(--white);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5d7dc;
  font: inherit;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: #0c0c0d;
}

.site-footer p {
  margin-bottom: 4px;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: grid;
  gap: 8px;
}

.floating-actions a {
  display: grid;
  place-items: center;
  min-width: 74px;
  min-height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--burgundy), var(--crimson));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  font-weight: 800;
}

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

.landing-hero {
  padding: clamp(92px, 13vw, 150px) clamp(20px, 6vw, 72px) clamp(58px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 20, 22, 0.95), rgba(74, 7, 17, 0.92)),
    var(--charcoal);
}

.landing-hero h1 {
  max-width: 960px;
  font-size: clamp(40px, 7vw, 76px);
}

.landing-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.landing-hero .btn {
  margin-top: 12px;
}

.quick-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.1);
  box-shadow: 0 18px 50px rgba(20, 20, 22, 0.08);
}

.quick-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--crimson);
  font-size: 18px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .trusted,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }
  .brand small,
  .header-cta {
    display: none;
  }
  .lang-switch {
    margin-left: auto;
  }
  .hero {
    min-height: 86svh;
  }
  .hero-actions,
  .hero-stats,
  .logo-row,
  .service-grid,
  .feature-grid,
  .page-links {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    display: grid;
  }
  .hero-stats {
    display: grid;
  }
  .logo-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-actions {
    left: 12px;
    right: 12px;
    grid-template-columns: repeat(3, 1fr);
  }
}
