:root {
  --ink: #08090c;
  --carbon: #14161a;
  --graphite: #242830;
  --steel: #68707d;
  --line: #d8dde4;
  --paper: #f6f7f9;
  --white: #ffffff;
  --red: #c8102e;
  --red-dark: #8f0b21;
  --amber: #f2c94c;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(8, 9, 12, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--carbon);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

.container,
.nav-shell,
.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

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

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  display: block;
  width: min(245px, 58vw);
  height: auto;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(200, 16, 46, 0.24);
}

.btn-whatsapp {
  background: #1f8a5b;
  color: var(--white);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #166f48;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 138, 91, 0.26);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.btn-sms {
  border-color: var(--red-dark);
  color: var(--white);
  background: var(--graphite);
}

.btn-sms:hover,
.btn-sms:focus-visible {
  border-color: var(--red);
  color: var(--white);
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(143, 11, 33, 0.22);
}

.hero {
  position: relative;
  min-height: 670px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.8) 40%, rgba(8, 9, 12, 0.22) 78%),
    linear-gradient(0deg, rgba(8, 9, 12, 0.2), rgba(8, 9, 12, 0.2)),
    url("assets/site-contact-assessment.webp") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--red);
}

.hero-inner {
  display: flex;
  min-height: 670px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
}

.hero .eyebrow {
  color: var(--white);
}

.hero .eyebrow::before {
  background: var(--amber);
}

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

h1 {
  max-width: 720px;
  font-size: clamp(40px, 6.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.lead,
.page-lead,
.section-heading p,
.service-card p {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.6;
}

.hero .lead {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
}

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

.proof-band {
  color: var(--white);
  background: var(--ink);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.proof-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: var(--white);
  font-size: 20px;
}

.proof-item span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.section {
  padding: 76px 0;
}

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

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

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
}

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

.service-card,
.contact-panel,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 28px;
}

.service-card .icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.service-card p {
  margin-top: 12px;
  font-size: 16px;
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.page-lead {
  margin-top: 16px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-panel,
.request-form {
  overflow: hidden;
}

.page-lead + .contact-panel {
  margin-top: 24px;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.14);
}

.request-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.contact-panel a {
  position: relative;
  display: block;
  padding: 22px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-panel a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  transition: background 160ms ease;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  background: #fff5f6;
  transform: translateX(4px);
  box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.16);
}

.contact-panel a:hover::before,
.contact-panel a:focus-visible::before {
  background: var(--red);
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel strong {
  display: block;
  color: var(--red-dark);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-panel span {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-weight: 800;
  transition: color 160ms ease;
}

.contact-panel a:hover strong,
.contact-panel a:focus-visible strong,
.contact-panel a:hover span,
.contact-panel a:focus-visible span {
  color: var(--red-dark);
}

@media (max-width: 820px) {
  .header-cta {
    display: none;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: min(220px, 74vw);
  }

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(8, 9, 12, 0.9) 0%, rgba(8, 9, 12, 0.82) 52%, rgba(8, 9, 12, 0.58) 100%),
      url("assets/site-contact-assessment.webp") center / cover no-repeat;
  }

  .hero-copy {
    padding: 54px 0;
  }

  h1 {
    font-size: clamp(36px, 10.8vw, 50px);
  }

  .hero-actions,
  .grid-3,
  .contact-grid,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .section {
    padding: 56px 0;
  }
}
