:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #F8F8F5;
  background-color: #0B0B0F;
  --bg: #0B0B0F;
  --surface: rgba(21, 21, 28, 0.9);
  --surface-strong: rgba(22, 22, 31, 0.98);
  --border: rgba(255,255,255,0.08);
  --text: #F8F8F5;
  --muted: #B8B8C2;
  --gold: #D9A441;
  --red: #E51B35;
  --red-dark: #B11226;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(217,164,65,0.12), transparent 25%),
              radial-gradient(circle at bottom right, rgba(229,27,53,0.12), transparent 22%),
              var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0B0B0F;
  padding: 0.75rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
}

.header {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(11, 11, 15, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header--scrolled {
  background: rgba(11, 11, 15, 0.96);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 2.5rem;
  object-fit: contain;
}

.logo--footer img {
  height: 3rem;
}

.nav {
  display: none;
}

.nav__list {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--text);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.18rem;
  background: var(--text);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #fff;
}

.btn--secondary {
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.btn--large {
  padding: 1.15rem 2rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  background: url("top.png") center 18% / cover no-repeat;
  opacity: 0.34;
  filter: saturate(1.05) contrast(1.04);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(11,11,15,0.96) 0%, rgba(11,11,15,0.82) 42%, rgba(11,11,15,0.54) 100%),
    linear-gradient(180deg, rgba(11,11,15,0.78) 0%, rgba(11,11,15,0.22) 48%, rgba(11,11,15,0.95) 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
  max-width: 13ch;
  margin: 0;
  text-shadow: 0 4px 28px rgba(0,0,0,0.45);
}

.hero__text {
  max-width: 680px;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__badges {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__badges span,
.hero__cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
}

.hero__image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.hero__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__cards span {
  background: rgba(217,164,65,0.12);
  color: var(--gold);
  border: 1px solid rgba(217,164,65,0.18);
}

.authority-bar {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.authority-bar__inner {
  overflow: hidden;
}

.authority-bar p {
  margin: 0;
  white-space: nowrap;
  animation: slide 18s linear infinite;
  color: var(--gold);
  font-weight: 700;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section__inner {
  padding: 4rem 0;
}

.metrics__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.metric-card span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
}

.metric-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.section__header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section__header h2 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.1;
}

.section__header p {
  margin-top: 1rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.problem__cards,
.audience__grid,
.cases__grid,
.testimonials__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.panel,
.service-card,
.case-card,
.testimonial-card,
.plan-card,
.difference__panel {
  padding: 1.5rem;
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.service-card,
.panel,
.plan-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.panel::before,
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  opacity: 0.75;
}

.card {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card:hover,
.service-card:hover,
.plan-card:hover,
.difference__panel:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
}

.panel h3,
.service-card h3,
.plan-card h3,
.difference__panel h3 {
  font-size: 1.2rem;
  margin-top: 0;
}

.panel p,
.service-card p,
.plan-card p,
.difference__panel ul,
.testimonial-card p {
  color: var(--muted);
}

.panel,
.service-card,
.plan-card,
.difference__panel {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.solution__pilares {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card ul,
.plan-card ul,
.difference__panel ul {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.difference__compare {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.difference__panel {
  min-height: 320px;
}

.difference__panel--highlight {
  background: rgba(229,27,53,0.12);
  border-color: rgba(229,27,53,0.2);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.timeline__icon {
  width: 4.75rem;
  height: 4.75rem;
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  border-radius: 1.45rem;
  background: linear-gradient(145deg, rgba(217,164,65,0.2), rgba(229,27,53,0.08));
  border: 1px solid rgba(217,164,65,0.18);
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 16px 34px rgba(0,0,0,0.18);
}

.timeline__icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__media {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.about__stats {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about__stats div {
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
}

.plans__grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-card {
  display: grid;
  gap: 1rem;
}

.plan-card--featured {
  background: rgba(217,164,65,0.12);
  border-color: rgba(217,164,65,0.22);
}

.cta-strong {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cta-strong__wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion__item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.accordion__button {
  width: 100%;
  padding: 1.2rem 1.4rem;
  text-align: left;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.4rem;
}

.accordion__item.active .accordion__panel {
  max-height: 380px;
  padding: 0 1.4rem 1.25rem;
}

.accordion__panel p {
  margin: 0;
  color: var(--muted);
}

.contact__wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.contact__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
}

.footer__links {
  display: grid;
  gap: 1.5rem;
}

.footer__links h3 {
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  margin-top: 2rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 6.75rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(11,11,15,0.95);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .header__wrap {
    padding: 1.2rem 0;
  }
  .nav {
    display: block;
  }
  .nav__list {
    grid-auto-flow: column;
    align-items: center;
  }
  .nav-toggle {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero__badges {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
  .problem__cards,
  .audience__grid,
  .cases__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
  .difference__compare {
    grid-template-columns: 1fr 1fr;
  }
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-strong__wrap {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1024px) {
  .services__grid,
  .plans__grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
  .hero__cards {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(circle at 50% 5%, rgba(217,164,65,0.18), transparent 18rem),
      radial-gradient(circle at 50% 42rem, rgba(229,27,53,0.14), transparent 16rem),
      var(--bg);
  }

  .container {
    width: min(30rem, calc(100% - 1.25rem));
  }

  .hero__grid,
  .about__grid,
  .contact__wrap {
    display: grid;
  }

  .hero {
    padding: 5.25rem 0 2.5rem;
    text-align: center;
    min-height: calc(100svh - 3.75rem);
    display: grid;
    align-items: end;
  }

  .hero::before {
    background-size: cover;
    background-position: center -9.5rem;
    opacity: 0.82;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(11,11,15,0.08) 0%, rgba(11,11,15,0.18) 31%, rgba(11,11,15,0.72) 58%, rgba(11,11,15,0.98) 100%),
      linear-gradient(90deg, rgba(11,11,15,0.78) 0%, rgba(11,11,15,0.2) 45%, rgba(11,11,15,0.78) 100%);
  }

  .hero__grid {
    gap: 1.25rem;
    justify-items: center;
  }

  .hero__content,
  .about__content,
  .contact__wrap > div {
    display: grid;
    justify-items: center;
  }

  .hero__content {
    width: min(100%, 25rem);
    padding: 12.5rem 0.4rem 0;
    align-self: end;
    row-gap: 0.35rem;
  }

  .eyebrow {
    justify-content: center;
    width: fit-content;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(217,164,65,0.22);
    border-radius: 999px;
    background: rgba(217,164,65,0.08);
    font-size: 0.82rem;
  }

  .hero h1 {
    max-width: 10.5ch;
    margin-inline: auto;
    font-size: clamp(1.9rem, 9.6vw, 2.75rem);
    line-height: 1.12;
    text-shadow: 0 4px 24px rgba(0,0,0,0.82);
  }

  .hero__text,
  .section__header,
  .section__header p,
  .contact__wrap p,
  .about__content p {
    margin-inline: auto;
    text-align: center;
  }

  .hero__text {
    max-width: 22rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(248,248,245,0.88);
  }

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

  .section__cta {
    display: grid;
    justify-items: center;
  }

  .hero__actions .btn,
  .section__cta .btn,
  .contact__wrap .btn,
  .cta-strong__wrap .btn,
  .plan-card .btn {
    width: min(100%, 22rem);
    max-width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .hero__image-frame,
  .about__media {
    border-radius: 2.2rem 0.9rem 2.2rem 0.9rem;
    transform: rotate(-1.5deg);
  }

  .hero__image-frame img,
  .about__media img {
    transform: rotate(1.5deg) scale(1.04);
  }

  .hero__image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(11,11,15,0.32));
    pointer-events: none;
  }

  .header {
    position: sticky;
    top: 0;
  }

  .header__wrap {
    padding: 0.75rem 0;
  }

  .header__cta {
    display: none;
  }

  .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11,11,15,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 1.25rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__list {
    display: grid;
    gap: 1rem;
    text-align: center;
  }

  .hero__badges,
  .hero__cards {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__badges {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .hero__badges span,
  .hero__cards span {
    min-height: 3.1rem;
    padding: 0.7rem 0.8rem;
    white-space: normal;
  }

  .hero__badges span:last-child {
    grid-column: 1 / -1;
  }

  .section__inner {
    padding: 3rem 0;
  }

  .section__header {
    max-width: 28rem;
  }

  .section__header h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .metrics__grid,
  .problem__cards,
  .audience__grid,
  .cases__grid,
  .testimonials__grid,
  .solution__pilares,
  .services__grid,
  .plans__grid,
  .difference__compare,
  .accordion {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .metric-card,
  .card,
  .panel,
  .service-card,
  .case-card,
  .testimonial-card,
  .plan-card,
  .difference__panel,
  .accordion__item {
    width: min(100%, 24rem);
  }

  .card,
  .case-card,
  .testimonial-card {
    border-radius: 1.4rem 0.7rem 1.4rem 0.7rem;
  }

  .problem__cards .card:nth-child(even),
  .audience__grid .card:nth-child(odd),
  .cases__grid .case-card:nth-child(even) {
    background: linear-gradient(135deg, rgba(217,164,65,0.12), rgba(255,255,255,0.04));
    border-color: rgba(217,164,65,0.16);
  }

  .service-card,
  .plan-card,
  .panel,
  .difference__panel {
    text-align: left;
  }

  .timeline {
    justify-items: center;
  }

  .timeline__item {
    width: min(100%, 24rem);
    text-align: center;
    justify-items: center;
  }

  .about__stats {
    width: 100%;
  }

  .about__stats div,
  .contact__details div {
    text-align: center;
  }

  .cta-strong {
    text-align: center;
  }

  .accordion__button {
    text-align: center;
  }

  .footer__grid,
  .cta-strong__wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
    padding-inline: 1rem;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    min-width: 0;
    height: 3.35rem;
    padding: 0 0.95rem;
    font-size: 0.78rem;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 4.85rem;
    width: 3rem;
    height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto;
    animation: none !important;
    transition: none !important;
  }
}
