:root {
  --red: #c90712;
  --red-dark: #8f060d;
  --graphite: #323232;
  --ink: #171717;
  --muted: #6e6e6e;
  --line: rgba(50, 50, 50, 0.12);
  --paper: #f6f4f1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 54px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 20vw, 290px);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 36px rgba(201, 7, 18, 0.26);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

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

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 140px 0 80px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-video,
.hero-fallback,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  background: #151515;
}

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

.hero-fallback {
  z-index: -2;
}

.hero-video {
  z-index: -1;
  opacity: 0.92;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.58) 48%, rgba(201, 7, 18, 0.34)),
    radial-gradient(circle at 72% 28%, rgba(201, 7, 18, 0.38), transparent 34%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-content {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding-top: 40px;
}

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

.eyebrow::before {
  display: inline-block;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--red);
}

.hero .eyebrow {
  color: #ff5158;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 5.8vw, 5.35rem);
  font-weight: 900;
  line-height: 0.98;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

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

.hero-metrics span {
  padding: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(18, 18, 18, 0.48);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.section {
  padding: clamp(78px, 10vw, 132px) 0;
}

.section-intro {
  background: var(--white);
}

.split,
.incentives-layout,
.contact-layout,
.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 8vw, 96px);
  align-items: start;
}

.section-heading h2,
.incentives h2,
.final-cta h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
}

.section-heading.narrow {
  max-width: 790px;
  margin-bottom: 46px;
}

.rich-text p,
.incentives-copy p,
.contact-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.outcome,
blockquote,
.contact-form,
.incentive-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 88px;
  height: 88px;
  content: "";
  background: linear-gradient(135deg, transparent 48%, rgba(201, 7, 18, 0.14) 49%);
}

.service-card:hover {
  border-color: rgba(201, 7, 18, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--graphite);
  border-radius: var(--radius);
  font-size: 1.3rem;
}

.service-card h3,
.feature strong,
.step h3,
.outcome strong {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p,
.feature span,
.step p,
.outcome span,
blockquote p {
  margin: 14px 0 0;
  color: var(--muted);
}

.incentives {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.96), rgba(48, 48, 48, 0.92)),
    url("assets/images/hero-fallback.svg") center / cover;
}

.incentives::after {
  position: absolute;
  top: -12%;
  right: -9%;
  width: 42vw;
  height: 140%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 7, 18, 0.35));
  transform: skewX(-18deg);
}

.incentives .container {
  position: relative;
  z-index: 1;
}

.incentives h2,
.incentives-copy p {
  color: var(--white);
}

.incentives-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.incentive-panel {
  display: grid;
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.incentive-panel div {
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
}

.incentive-panel span {
  color: var(--red);
  font-weight: 900;
}

.incentive-panel h3 {
  margin: 10px 0 8px;
  color: var(--ink);
}

.incentive-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.feature strong {
  display: block;
}

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

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

.step {
  position: relative;
  padding: 30px 24px;
  border-left: 3px solid var(--red);
  background: var(--paper);
}

.step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.outcomes {
  background:
    linear-gradient(115deg, rgba(201, 7, 18, 0.08), transparent 46%),
    var(--paper);
}

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

.outcome {
  min-height: 150px;
  padding: 28px;
}

.outcome strong {
  display: block;
  color: var(--red);
}

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

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

blockquote {
  margin: 0;
  padding: 32px;
}

blockquote p {
  color: var(--ink);
  font-size: 1.04rem;
}

blockquote cite {
  display: block;
  margin-top: 24px;
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}

.final-cta {
  padding: clamp(86px, 10vw, 130px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 16, 16, 0.95), rgba(16, 16, 16, 0.84)),
    url("assets/images/hero-fallback.svg") center / cover;
}

.final-cta-inner {
  max-width: 860px;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 28px;
}

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

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list span {
  color: var(--muted);
}

.remote-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  color: var(--graphite);
  background: rgba(201, 7, 18, 0.07);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(50, 50, 50, 0.16);
  border-radius: var(--radius);
  background: #fbfbfb;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 7, 18, 0.58);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 7, 18, 0.1);
}

.hidden {
  display: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #161616;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 40px;
  padding: 54px 0;
}

.site-footer img {
  width: 220px;
  padding: 9px;
  margin-bottom: 18px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  color: var(--white);
  background: #1fa855;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(31, 168, 85, 0.35);
  font-weight: 900;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    color: currentColor;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.nav-active .nav-toggle {
    border-color: var(--line);
    background: var(--white);
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-active .site-nav {
    position: fixed;
    top: 84px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .split,
  .incentives-layout,
  .contact-layout,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .container,
  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    width: 184px;
  }

  .hero {
    min-height: 96svh;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

  .hero-metrics,
  .service-grid,
  .feature-list,
  .timeline,
  .outcome-cards,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 42px;
  }

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

  .section-heading h2,
  .incentives h2,
  .final-cta h2,
  .contact h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
