:root {
  --ink: #17130f;
  --muted: #6d655a;
  --sand: #fbfaf7;
  --white: #ffffff;
  --gold: #c69218;
  --gold-strong: #a87508;
  --green: #22c55e;
  --green-hover: #16a34a;
  --border: #e7dfd3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  background-image: linear-gradient(rgba(23, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

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

.site-header {
  align-items: center;
  background: rgba(23, 19, 15, 0.76);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(23, 19, 15, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  height: 58px;
}

.scroll-progress {
  background: linear-gradient(90deg, #f4c64c, #22c55e);
  bottom: -1px;
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.brand,
.header-actions,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--white);
  gap: 12px;
  font-weight: 800;
}

.brand img {
  height: 44px;
  object-fit: contain;
  transition: transform 0.25s ease;
  width: 44px;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.04);
}

.nav-links {
  color: rgba(255, 255, 255, 0.84);
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

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

.header-actions {
  gap: 10px;
}

.icon-link {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: 0.2s ease;
  width: 40px;
}

.icon-link svg {
  fill: currentColor;
  height: 21px;
  width: 21px;
}

.icon-link:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  overflow: hidden;
  padding: 0 24px;
  position: relative;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  height: 120%;
  left: -90%;
  position: absolute;
  top: -10%;
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  width: 52%;
}

.btn:hover::before {
  left: 130%;
}

.btn.small {
  min-height: 40px;
  padding: 0 17px;
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn-whatsapp:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-dark-outline {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn-dark-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-image,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.12s linear;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.12) 0%, rgba(12, 10, 8, 0.16) 58%, rgba(12, 10, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.58) 42%, rgba(12, 10, 8, 0.08) 78%);
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(244, 198, 76, 0.42), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.hero-content {
  color: var(--white);
  max-width: 720px;
  padding: 28vh 5vw 90px;
  position: relative;
  z-index: 2;
}

.hero-content > * {
  animation: heroFadeUp 0.9s ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-content > *:nth-child(3) {
  animation-delay: 0.22s;
}

.hero-content > *:nth-child(4) {
  animation-delay: 0.32s;
}

.hero-content > *:nth-child(5) {
  animation-delay: 0.42s;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffe188;
  display: inline-flex;
  padding: 10px 14px;
}

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

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 760px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.04;
  margin-bottom: 22px;
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
  margin-bottom: 12px;
}

.hero-text,
.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
  max-width: 650px;
}

.lead {
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  max-width: 620px;
}

.hero-stats div {
  border-left: 2px solid #f4c64c;
  padding-left: 14px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 19px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  margin-top: 3px;
}

.section {
  padding: 84px 0;
  position: relative;
  z-index: 1;
}

.section-white {
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 5vw;
}

.split {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: 0.92fr 1.08fr;
}

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

.checks span {
  background: #f3f0ea;
  border-radius: 8px;
  font-weight: 800;
  padding: 14px 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.checks span:hover {
  background: #eee6d8;
  transform: translateX(4px);
}

.checks span::before {
  color: var(--green-hover);
  content: "✓";
  font-weight: 900;
  margin-right: 10px;
}

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

.feature-grid article {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(23, 19, 15, 0.06);
  min-height: 210px;
  padding: 24px;
  position: relative;
  transform-style: preserve-3d;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.feature-grid article::before {
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
  height: 2px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.feature-grid article:hover {
  border-color: rgba(198, 146, 24, 0.55);
  box-shadow: 0 28px 70px rgba(23, 19, 15, 0.12);
}

.feature-grid article:hover::before {
  transform: scaleX(1);
}

.feature-grid p,
.tour-grid a,
.footer {
  color: var(--muted);
}

.steps {
  background: var(--ink);
  color: var(--white);
  padding: 42px 0;
  position: relative;
  z-index: 1;
}

.steps::before {
  background: linear-gradient(90deg, rgba(244, 198, 76, 0), rgba(244, 198, 76, 0.28), rgba(244, 198, 76, 0));
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid div {
  align-items: center;
  display: flex;
  gap: 16px;
}

.steps-grid strong {
  align-items: center;
  background: #f4c64c;
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  position: relative;
}

.steps-grid strong::after {
  animation: pulseRing 2.3s ease-out infinite;
  border: 1px solid rgba(244, 198, 76, 0.5);
  border-radius: inherit;
  content: "";
  inset: -7px;
  position: absolute;
}

.steps-grid span {
  font-size: 18px;
  font-weight: 850;
}

.tour-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.tour-grid a {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.tour-grid a::after {
  color: var(--gold-strong);
  content: "→";
  font-size: 22px;
}

.tour-grid a:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(23, 19, 15, 0.09);
  color: var(--ink);
  transform: translateY(-2px);
}

.cta {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 390px;
}

.cta-box {
  background: var(--ink);
  border-radius: 10px;
  box-shadow: 0 32px 90px rgba(23, 19, 15, 0.2);
  color: var(--white);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  background: linear-gradient(135deg, rgba(244, 198, 76, 0.18), transparent 44%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cta-box > * {
  position: relative;
}

.cta-box img {
  height: 78px;
  object-fit: contain;
  width: 78px;
}

.cta-box .btn {
  margin-top: 12px;
  width: 100%;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px 5vw;
  position: relative;
  z-index: 1;
}

.floating-whatsapp {
  align-items: center;
  animation: floatSoft 3.2s ease-in-out infinite;
  background: var(--green);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.34);
  color: var(--white);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
  width: 58px;
  z-index: 30;
}

.floating-whatsapp svg {
  fill: currentColor;
  height: 30px;
  width: 30px;
}

.floating-whatsapp:hover {
  animation-play-state: paused;
  background: var(--green-hover);
  transform: translateY(-3px) scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease var(--delay, 0ms), transform 0.8s ease var(--delay, 0ms);
}

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

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.8;
    transform: scale(0.8);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

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

  .hero-content {
    padding-top: 22vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 10, 8, 0.2) 0%, rgba(12, 10, 8, 0.88) 100%),
      linear-gradient(90deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.64) 100%);
  }

  .hero-stats,
  .split,
  .feature-grid,
  .steps-grid,
  .tour-grid,
  .cta {
    grid-template-columns: 1fr;
  }

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

  .feature-grid article {
    min-height: auto;
  }

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

@media (max-width: 520px) {
  .site-header {
    padding: 0 16px;
  }

  .brand span {
    display: none;
  }

  .btn.small {
    padding: 0 13px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .floating-whatsapp {
    bottom: 18px;
    height: 54px;
    right: 18px;
    width: 54px;
  }
}

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

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