:root {
  --black: #050505;
  --ink: #0b0b0d;
  --graphite: #141417;
  --graphite-2: #1c1c20;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --white: #ffffff;
  --soft: #e8e8e8;
  --muted: #a7a7ac;
  --muted-2: #77777d;
  --red: #d61622;
  --red-dark: #8e0f18;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1160px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 4px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(5, 5, 5, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--container));
  height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: "Nexa", "Nexa Heavy", "Nexa Bold", Montserrat, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--white);
  font-size: 1.08rem;
}

.brand-text {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 2px;
  padding: 16px;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}

.nav-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  justify-content: center;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 58px) 0 34px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.9) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.62) 43%, #050505 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.52) 48%, rgba(5, 5, 5, 0.22) 100%);
}

.hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 38%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(transparent, black 45%, transparent);
  opacity: 0.24;
}

.hero-content {
  padding-top: 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--white);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 13vw, 5.9rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 820;
}

h3 {
  font-size: 1.08rem;
  font-weight: 780;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 3.6vw, 1.22rem);
}

.hero-actions,
.form-row,
.footer-layout {
  display: grid;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 16px 38px rgba(214, 22, 34, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #ed1d2b, #a5111c);
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 72px 0;
}

.intro-section {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-layout {
  display: grid;
  gap: 28px;
}

.intro-layout p:last-child,
.section-heading p,
.section-heading.split > p,
.lead-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.section-heading h2,
.intro-layout h2 {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  gap: 14px;
}

.service-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.service-card:hover::before {
  opacity: 1;
}

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

.services-section {
  background: var(--black);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 6px;
  background: rgba(214, 22, 34, 0.1);
  color: var(--white);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prebuy-section {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.96)),
    url("foto_cruze_optimized.jpg") center / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prebuy-layout {
  display: grid;
  gap: 24px;
}

.prebuy-panel {
  max-width: 720px;
}

.prebuy-panel h2 {
  margin-bottom: 18px;
}

.prebuy-panel p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.prebuy-checklist {
  display: grid;
  gap: 12px;
}

.prebuy-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(12px);
}

.prebuy-item span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
}

.prebuy-item h3 {
  margin-bottom: 6px;
}

.prebuy-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.lead-section {
  background:
    linear-gradient(135deg, rgba(214, 22, 34, 0.12), transparent 36%),
    linear-gradient(180deg, #101012, #050505);
  border-top: 1px solid var(--line);
}

.lead-layout {
  display: grid;
  gap: 34px;
}

.lead-copy h2 {
  margin-bottom: 18px;
}

.lead-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.lead-points li {
  position: relative;
  padding-left: 24px;
  color: var(--soft);
}

.lead-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(214, 22, 34, 0.12);
}

.lead-form {
  padding: 20px;
  background: rgba(9, 9, 10, 0.82);
  backdrop-filter: blur(14px);
}

label {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  padding: 14px 14px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

input:focus,
textarea:focus {
  border-color: rgba(214, 22, 34, 0.78);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(214, 22, 34, 0.12);
}

.field-error {
  min-height: 18px;
  color: #ff6b73;
  font-size: 0.8rem;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.form-status {
  min-height: 22px;
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #030303;
}

.footer-layout {
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-layout p {
  margin: 0;
}

.footer-brand {
  justify-self: start;
}

.codera-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  justify-self: start;
}

.codera-logo-frame {
  width: 105px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.codera-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 560px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
  }

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

  .prebuy-checklist {
    grid-template-columns: repeat(3, 1fr);
  }

  .lead-form {
    padding: 28px;
  }
}

@media (min-width: 840px) {
  :root {
    --header-height: 82px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding-inline: 18px !important;
  }

  .hero {
    align-items: center;
    padding: calc(var(--header-height) + 40px) 0 48px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-copy {
    margin-bottom: 32px;
  }

  .section {
    padding: 104px 0;
  }

  .intro-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
  }

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

  .section-heading.split {
    max-width: none;
    grid-template-columns: 1fr 0.68fr;
    align-items: end;
  }

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

  .prebuy-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 64px;
  }

  .prebuy-checklist {
    grid-template-columns: 1fr;
  }

  .lead-layout {
    grid-template-columns: 0.9fr 1fr;
    align-items: start;
    gap: 72px;
  }

  .lead-copy {
    position: sticky;
    top: calc(var(--header-height) + 34px);
  }

  .footer-layout {
    grid-template-columns: 1fr auto auto;
    gap: 28px;
  }

  .codera-credit {
    justify-self: end;
  }
}

@media (min-width: 1120px) {
  h1 {
    font-size: 6.8rem;
  }

  .hero-copy {
    font-size: 1.26rem;
  }
}
