:root {
  --bg: #090908;
  --bg-soft: #14120f;
  --panel: rgba(24, 22, 19, 0.82);
  --panel-strong: rgba(31, 28, 24, 0.94);
  --ink: #f7f2e8;
  --muted: #c8bdaa;
  --muted-2: #9e927e;
  --accent: #d5a34d;
  --accent-2: #f2d08c;
  --wine: #651a27;
  --wine-soft: rgba(101, 26, 39, 0.45);
  --green: #25d366;
  --line: rgba(242, 208, 140, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(101, 26, 39, 0.22), transparent 34%),
    linear-gradient(180deg, #0c0b0a 0%, #17110e 48%, #090908 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 208, 140, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 208, 140, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(213, 163, 77, 0.18), transparent 20rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 26%, rgba(255, 255, 255, 0.025));
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.container {
  width: min(1130px, calc(100% - 2rem));
  margin: 0 auto;
}

.cursor-glow,
.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cursor-glow {
  z-index: 80;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(242, 208, 140, 0.13), transparent 10rem);
  mix-blend-mode: screen;
}

.site-backdrop {
  z-index: -1;
  background:
    linear-gradient(145deg, transparent 0 45%, rgba(213, 163, 77, 0.08) 45% 45.5%, transparent 45.5%),
    linear-gradient(35deg, transparent 0 68%, rgba(101, 26, 39, 0.2) 68% 68.5%, transparent 68.5%);
  animation: backdropShift 15s ease-in-out infinite alternate;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 5.5rem 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 208, 140, 0.5), transparent);
  animation: lineSweep 4.5s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
}

.brand,
.nav-links a,
.cta-mini,
.btn,
.whatsapp-float {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent-2);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.7rem;
  background: linear-gradient(145deg, rgba(242, 208, 140, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-2);
}

.cta-mini {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.cta-mini:hover {
  transform: translateY(-2px);
  background: rgba(213, 163, 77, 0.13);
  border-color: rgba(242, 208, 140, 0.48);
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  gap: 2rem;
  padding: 5.3rem 0 3.8rem;
  text-align: center;
}

.hero-content {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
}

h1 {
  position: relative;
  display: grid;
  gap: 0.3rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 5.6rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

h1 span {
  background: linear-gradient(180deg, #fff7e8, #e1b760 72%, #8f6426);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 small {
  color: var(--ink);
  font-size: 0.38em;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
}

.lead {
  max-width: 680px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.1rem;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.32), transparent 55%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

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

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  color: #15100a;
  background: linear-gradient(135deg, #b87b25, #f4d38c 48%, #c5903b);
  box-shadow: 0 18px 44px rgba(213, 163, 77, 0.26);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(15, 13, 11, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  color: var(--accent-2);
}

.emblem::before,
.emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 208, 140, 0.35);
  border-radius: var(--radius);
  animation: rotateFrame 9s linear infinite;
}

.emblem::after {
  inset: 0.5rem;
  border-color: rgba(255, 255, 255, 0.16);
  animation-direction: reverse;
  animation-duration: 7s;
}

.emblem-icon {
  width: 2.1rem;
  height: 2.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-copy {
  text-align: left;
}

.panel-copy span {
  display: block;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-copy strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.12rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(7.5rem, 1fr));
  gap: 0.7rem;
}

.metric {
  min-height: 5rem;
  padding: 0.75rem;
  display: grid;
  align-content: center;
  justify-items: start;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}

.metric .icon {
  color: var(--accent-2);
}

.metric strong {
  margin-top: 0.25rem;
  font-size: 1.35rem;
}

.metric span:last-child {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 28s linear infinite;
}

.ticker span {
  position: relative;
  color: #ddcfb7;
  font-size: 0.9rem;
  white-space: nowrap;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.7rem;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 720px;
}

.section-header.centered {
  margin: 0 auto;
  text-align: center;
}

.section-header h2,
.highlight h2 {
  color: var(--ink);
  font-size: 2.7rem;
  line-height: 1.05;
  text-wrap: balance;
}

.section-header p:not(.eyebrow) {
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), transparent 45%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(242, 208, 140, 0.18), transparent 14rem);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card:hover {
  border-color: rgba(242, 208, 140, 0.42);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

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

.icon-box {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(242, 208, 140, 0.34);
  border-radius: var(--radius);
  color: var(--accent-2);
  background: rgba(213, 163, 77, 0.1);
}

.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card h3 {
  margin-top: 1.2rem;
  font-size: 1.16rem;
  color: #f6d796;
}

.card p {
  margin-bottom: 0;
  margin-top: 0.65rem;
  color: var(--muted);
  line-height: 1.62;
}

.method-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    linear-gradient(90deg, transparent, rgba(101, 26, 39, 0.22), transparent);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  min-height: 14rem;
  padding: 1.2rem;
  background: rgba(13, 12, 10, 0.9);
}

.step > span {
  color: rgba(242, 208, 140, 0.42);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
}

.step .icon {
  display: block;
  margin-top: 1rem;
  color: var(--accent-2);
}

.step h3 {
  margin-top: 0.85rem;
  color: var(--ink);
}

.step p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-highlight {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(101, 26, 39, 0.38), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(242, 208, 140, 0.06), rgba(255, 255, 255, 0.035));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-block: 0.5rem;
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(242, 208, 140, 0.15), transparent);
  transform: translateX(-100%);
  animation: panelSweep 6s ease-in-out infinite;
}

.highlight > * {
  position: relative;
  z-index: 1;
}

.highlight h2 {
  max-width: 760px;
}

.highlight p {
  max-width: 620px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0 1rem;
  border-radius: var(--radius);
  color: #06140b;
  background: linear-gradient(135deg, #25d366, #a9ffca);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.23);
  animation: attention 2.6s ease-in-out infinite;
}

.footer {
  padding: 2rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes lineSweep {
  0%,
  100% {
    opacity: 0.15;
    transform: scaleX(0.28);
  }
  50% {
    opacity: 0.85;
    transform: scaleX(1);
  }
}

@keyframes rotateFrame {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panelSweep {
  0%,
  55% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes attention {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes backdropShift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1.5rem);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 4.4rem;
  }

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

  .metrics {
    grid-column: 1 / -1;
  }

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

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

  .highlight {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1130px, calc(100% - 1.1rem));
  }

  .hero {
    min-height: auto;
  }

  .brand-text {
    display: none;
  }

  .cta-mini {
    padding-inline: 0.7rem;
  }

  .hero-grid {
    padding: 3.6rem 0 2.4rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  h1 small {
    font-size: 0.42em;
  }

  .lead {
    font-size: 1rem;
  }

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

  .hero-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .emblem {
    margin: 0 auto;
  }

  .panel-copy {
    text-align: center;
  }

  .metrics,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.8rem 0;
  }

  .section-header h2,
  .highlight h2 {
    font-size: 2rem;
  }

  .highlight {
    padding: 1.25rem;
  }

  .highlight .btn {
    width: 100%;
  }

  .whatsapp-float {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.65rem;
    justify-content: center;
  }

  .footer {
    padding-bottom: 5.2rem;
  }
}

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