:root {
  --bg: #070808;
  --ink: #f4f2ef;
  --muted: #b7b3ac;
  --accent: #ae1304;
  --accent-2: #dc3b3e;
  --card: #111111;
  --line: #2b2b2b;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.45;
  z-index: 0;
  will-change: transform;
  display: none;
}

.bg-icon {
  position: absolute;
  z-index: -1;
  opacity: 0.18;
  color: #8f1c12;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translate3d(0, var(--scroll-offset, 0px), 0);
  animation: softPulse 10s ease-in-out infinite;
  will-change: opacity, transform;
  display: none;
}

.bg-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.icon-gear-1 {
  width: 200px;
  height: 200px;
  top: 140px;
  left: 6%;
}

.icon-gear-2 {
  width: 160px;
  height: 160px;
  top: 720px;
  right: 8%;
}

.icon-hex {
  width: 220px;
  height: 220px;
  bottom: 180px;
  left: 12%;
}

.icon-hammer {
  width: 190px;
  height: 190px;
  top: 360px;
  right: 14%;
  opacity: 0.16;
  animation-duration: 12s;
}

.icon-wrench {
  width: 210px;
  height: 210px;
  top: 980px;
  left: 8%;
  opacity: 0.14;
  animation-duration: 11s;
}

.icon-nail {
  width: 140px;
  height: 140px;
  bottom: 520px;
  right: 18%;
  opacity: 0.15;
  animation-duration: 9s;
}

.icon-saw {
  width: 240px;
  height: 140px;
  bottom: 60px;
  right: 6%;
  opacity: 0.13;
  animation-duration: 13s;
}

.shape-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #ae1304, transparent 60%);
  top: -160px;
  left: -120px;
}

.shape-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 60% 40%, #3e0001, transparent 60%);
  top: 480px;
  right: -120px;
}

.shape-3 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 40% 40%, #701b10, transparent 60%);
  bottom: -220px;
  left: 20%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 48px 0 80px;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.cta {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  background: #141414;
}

.cta:hover::after {
  transform: translateX(120%);
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  padding: 24px 0 56px;
  position: relative;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 16px 0 18px;
}

.lead {
  font-size: clamp(16px, 2.1vw, 20px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(174, 19, 4, 0.35);
}

.hero-card {
  background: rgba(17, 17, 17, 0.72);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translate3d(0, calc(var(--scroll-offset, 0px) - 6px), 0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: #fff;
}

.section {
  padding: 18px 0;
}

.stagger > * {
  opacity: 0;
  transform: translate3d(0, calc(var(--scroll-offset, 0px) + 16px), 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, var(--scroll-offset, 0px), 0);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 720px;
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(17, 17, 17, 0.9), rgba(9, 9, 9, 0.6));
  border: 1px solid var(--line);
}

.brand-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.brand-set {
  display: flex;
  gap: 24px;
  padding: 12px 18px;
}

.brand-item {
  flex: 0 0 auto;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 15, 0.8);
  color: #e9e2da;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: inset 0 0 16px rgba(174, 19, 4, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  display: block;
  height: 69px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  min-height: 180px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translate3d(0, calc(var(--scroll-offset, 0px) - 6px), 0);
  border-color: rgba(174, 19, 4, 0.7);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.45);
}

.card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex: 0 0 20px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(220, 59, 62, 0.28), rgba(15, 15, 15, 0.9));
  border: 1px solid rgba(220, 59, 62, 0.4);
  box-shadow: inset 0 0 14px rgba(174, 19, 4, 0.25);
  color: #f2b3ae;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-badge svg {
  width: 18px;
  height: 18px;
}

.card:hover .icon-badge {
  transform: scale(1.06);
  box-shadow: inset 0 0 18px rgba(174, 19, 4, 0.35), 0 10px 20px rgba(174, 19, 4, 0.2);
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-bullets {
  text-align: left;
  justify-items: start;
}

.list li::before {
  content: "•";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: #0f0f0f;
  border-radius: 18px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(174, 19, 4, 0.7);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(174, 19, 4, 0.4);
}

.quote {
  background: linear-gradient(135deg, #1b0f0f, #111111);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  font-size: 18px;
  color: #e9e4dc;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

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

.highlight {
  background: linear-gradient(135deg, rgba(62, 0, 1, 0.75), rgba(17, 17, 17, 0.75));
  color: #fff;
  border-radius: 28px;
  padding: 32px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.highlight::after {
  content: "";
  position: absolute;
  inset: -60% 40% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(220, 59, 62, 0.4), transparent 70%);
  opacity: 0.7;
  animation: floatGlow 6s ease-in-out infinite;
}

.highlight .price {
  font-size: 34px;
  font-weight: 700;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
  padding: 56px 48px;
  background: rgba(15, 15, 15, 0.72);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.final-cta-content {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  justify-items: center;
}

.final-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f2c8c3;
  background: rgba(174, 19, 4, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.final-cta-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.08;
  margin: 0;
  max-width: 520px;
}

.final-cta-title span {
  color: #f1c5bf;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  border-radius: 40px;
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
  animation: glowShift 18s ease-in-out infinite;
}

.final-cta::before {
  background: radial-gradient(circle at 25% 35%, rgba(174, 19, 4, 0.35), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(220, 59, 62, 0.25), transparent 60%);
}

.final-cta::after {
  background: radial-gradient(circle at 60% 75%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 20% 75%, rgba(62, 0, 1, 0.35), transparent 60%);
  animation-delay: 4s;
}

@keyframes glowShift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 18px, 0); }
}

.final-cta .cta {
  font-size: 18px;
  padding: 16px 32px;
  animation: pulse 2.8s ease-in-out infinite;
}

.tagline {
  color: var(--muted);
  max-width: 700px;
}

.final-cta .tagline {
  max-width: 520px;
}

.parallax-scroll {
  transform: translate3d(0, var(--scroll-offset, 0px), 0);
  will-change: transform;
}

footer {
  padding: 40px 0 20px;
  font-size: 13px;
  color: #7a7a7a;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, calc(var(--scroll-offset, 0px) + 18px), 0);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, calc(var(--scroll-offset, 0px) + 18px), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, var(--scroll-offset, 0px), 0);
  }
}

@keyframes ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(174, 19, 4, 0.0);
  }
  50% {
    box-shadow: 0 18px 35px rgba(174, 19, 4, 0.35);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 0%, 0 0, 0 0;
  }
  100% {
    background-position: 100% 100%, 120px 120px, 120px 120px;
  }
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.08;
  }
  50% {
    opacity: 0.32;
  }
}

@media (max-width: 1024px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  html, body {
    scroll-behavior: auto;
  }

  .container {
    padding: 32px 0 64px;
  }

  .section {
    padding: 12px 0;
  }

  .brand-marquee {
    border-radius: 14px;
  }

  .brand-track {
    animation-duration: 26s;
  }

  .brand-item {
    font-size: 12px;
    padding: 10px 14px;
  }

  .hero-card,
  .highlight,
  .final-cta {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section + .section {
    padding-top: 4px;
  }

  #problema {
    padding-bottom: 8px;
  }

  #programas {
    padding-top: 8px;
  }

  header {
    gap: 12px;
    width: 100%;
  }

  .logo {
    gap: 12px;
    letter-spacing: 0.14em;
    font-size: 11px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .logo img {
    height: 36px;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    gap: 28px;
    padding: 16px 0 40px;
    text-align: center;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .cta {
    flex: 1 1 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 18px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .card,
  .step,
  .quote,
  .final-cta {
    border-radius: 18px;
  }

  .card-grid,
  .steps,
  .split {
    gap: 16px;
  }

  .step {
    grid-template-columns: 36px 1fr;
    padding: 14px 16px;
  }

  .step::before {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 14px;
  }

  .quote {
    font-size: 16px;
    padding: 22px;
  }

  .highlight {
    padding: 24px;
    border-radius: 22px;
  }

  .highlight .price {
    font-size: 26px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    text-align: center;
  }

  .final-cta-eyebrow {
    margin: 0 auto;
  }

  .final-cta-title {
    margin: 0 auto;
  }
}

@media (min-width: 641px) {
  .bg-shape,
  .bg-icon {
    display: block;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, 90vw);
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: 24px;
  }

  .card {
    min-height: 160px;
  }

  .cta {
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(1120px, 88vw);
  }

  h1 {
    font-size: 30px;
  }

  .hero-card,
  .card,
  .quote,
  .final-cta {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  .section {
    padding: 18px 0;
  }

  .cta {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .final-cta .cta,
  .highlight::after,
  .final-cta::before,
  .final-cta::after {
    animation: none;
  }

  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand-track {
    animation: none;
    flex-wrap: wrap;
  }
}
