:root {
  --brand-red: #ac121a;
  --brand-red-dark: #7e0509;
  --brand-red-bright: #d2242a;
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --muted: #6f6f6f;
  --line: #e3e3e3;
  --surface: #ffffff;
  --surface-soft: #f5f5f6;
  --surface-dark: #171717;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(20px, calc((100% - 1120px) / 2));
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  min-height: 68px;
  background: rgba(17, 17, 17, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--brand-red);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  opacity: 0.84;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand-red-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 118px 0 76px;
  color: #ffffff;
  background: var(--surface-dark);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.82) 46%, rgba(126, 5, 9, 0.82) 100%),
    radial-gradient(circle at 78% 26%, rgba(210, 36, 42, 0.48), transparent 34%);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.hero-mark {
  position: absolute;
  right: max(20px, calc((100% - 1120px) / 2));
  top: 20%;
  width: min(390px, 42vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0.34;
  transform: rotate(-4deg);
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sweep {
  position: absolute;
  right: -18%;
  bottom: -34%;
  width: 70%;
  height: 78%;
  background:
    linear-gradient(135deg, transparent 0 26%, rgba(255, 255, 255, 0.08) 26% 29%, transparent 29% 100%),
    linear-gradient(135deg, transparent 0 47%, rgba(210, 36, 42, 0.48) 47% 51%, transparent 51% 100%);
  transform: rotate(-8deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-red-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 790px;
  font-size: 4.35rem;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.17rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-red-bright);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(210, 36, 42, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ef343a;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  transition: transform 180ms ease, filter 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 4px;
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 490px;
  margin-top: 48px;
}

.hero-proof span {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

.hero-proof strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.final-cta h2 {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.final-cta p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(172, 18, 26, 0.04), transparent 42%),
    #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(172, 18, 26, 0.34);
  box-shadow: 0 20px 52px rgba(17, 17, 17, 0.1);
  transform: translateY(-4px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--brand-red);
  color: #ffffff;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.differential-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.25;
}

.service-card p,
.differential-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.differentials {
  background:
    linear-gradient(90deg, #111111 0%, #191919 50%, #222222 100%);
  color: #ffffff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: start;
}

.differentials .section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.differentials .section-heading h2,
.differentials .section-heading p:not(.eyebrow) {
  color: #ffffff;
}

.differentials .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.differential-list {
  display: grid;
  gap: 14px;
}

.differential-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.differential-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--brand-red-bright);
  color: #ffffff;
  font-weight: 800;
}

.differential-item h3 {
  color: #ffffff;
}

.differential-item p {
  color: rgba(255, 255, 255, 0.7);
}

.team {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f5f6 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.team-member {
  display: flex;
  justify-content: center;
  min-height: 263px;
  margin: 0;
}

.team-member img {
  width: min(100%, 209px);
  height: auto;
}

.results {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f5f6 100%);
}

.result-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 22px 62px rgba(17, 17, 17, 0.09);
}

.result-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-red-dark), var(--brand-red-bright), var(--brand-red));
  content: "";
}

.result-stat {
  min-height: 210px;
  padding: 34px 26px 28px;
  background: #ffffff;
}

.result-stat strong {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-red);
  font-size: 1.55rem;
  line-height: 1.05;
}

.result-stat span {
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: var(--brand-red);
  color: #ffffff;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(126, 5, 9, 0.9)),
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42% 45%, transparent 45% 100%);
  content: "";
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p:not(.eyebrow) {
  color: #ffffff;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  justify-content: center;
}

.site-footer {
  background: #111111;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr;
  gap: 48px;
  padding: 54px 0;
}

.site-footer img {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

.site-footer p,
.site-footer a,
.site-footer address,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  max-width: 360px;
  margin: 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.site-footer address {
  max-width: 260px;
  font-style: normal;
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 2.45rem;
  }

  .service-grid,
  .team-grid,
  .result-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .differentials .section-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 21;
    display: grid;
    gap: 8px;
    padding: 92px 20px 24px;
    background: rgba(17, 17, 17, 0.98);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
    transform: translateY(-105%);
    transition: transform 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 1.1rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 64px;
    height: 64px;
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    transform: translateY(-2px);
  }

  .hero {
    min-height: 74svh;
    padding: 92px 0 42px;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-mark {
    top: 18%;
    right: -80px;
    width: 250px;
    opacity: 0.18;
  }

  .hero-proof {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 2rem;
  }

  .service-grid,
  .team-grid,
  .result-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .differential-item {
    grid-template-columns: 1fr;
  }

  .result-stat {
    min-height: auto;
  }

  .final-cta {
    padding: 70px 0;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 30px;
    padding: 44px 0;
  }
}

@media (max-width: 410px) {
  .hero h1 {
    font-size: 1.86rem;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 1.78rem;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }
}
