:root {
  --green: #98c60f;
  --green-bright: #a9db0e;
  --green-dark: #759a08;
  --black: #050505;
  --charcoal: #111311;
  --gray-900: #1a1d1a;
  --gray-700: #454b45;
  --gray-500: #747b74;
  --gray-200: #e7eae5;
  --gray-100: #f4f6f2;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--black);
  border-top: 8px solid var(--green);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 196px;
  height: auto;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.4) 100%),
    url("assets/capa-academia.svg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255, 255, 255, 0.14) 6px 8px);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 92px 0 112px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--black);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--green-bright);
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.carousel-arrow:focus-visible,
.carousel-dot:focus-visible,
.floating-whatsapp:focus-visible {
  outline: 4px solid rgba(152, 198, 15, 0.38);
  outline-offset: 4px;
}

.button-primary {
  color: var(--black);
  background: var(--green-bright);
  box-shadow: 0 14px 36px rgba(152, 198, 15, 0.26);
}

.button-primary:hover {
  background: #b6e92a;
}

.gallery-section,
.process-section {
  padding: 100px 0;
}

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

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.benefits-intro h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-heading p:last-child,
.benefits-intro p:last-child {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.carousel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: var(--green-bright);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-arrow:hover {
  background: #b7ea2d;
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow span {
  display: block;
  margin-top: -5px;
  font-size: 3rem;
  line-height: 1;
}

.carousel-arrow-left {
  left: -29px;
}

.carousel-arrow-right {
  right: -29px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd4cc;
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.carousel-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--green-dark);
}

.benefits-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(135deg, #addf14 0%, #92c30c 100%);
}

.benefits-texture {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.16) 50%, transparent 51%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 16px);
}

.benefits-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.benefits-intro {
  align-self: center;
  padding-right: 22px;
}

.benefits-intro h2 {
  color: var(--black);
}

.benefits-intro p:last-child {
  color: rgba(0, 0, 0, 0.74);
  font-weight: 500;
}

.benefit-card {
  padding: 38px 30px 36px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(53, 70, 0, 0.14);
}

.benefit-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon svg rect {
  fill: none;
}

.benefit-card h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 900;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--gray-700);
}

.process-section {
  background: var(--gray-100);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-item {
  padding: 34px;
  border-top: 5px solid var(--green);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(22, 27, 19, 0.08);
}

.process-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 2.5rem;
  font-weight: 900;
}

.process-item h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 900;
}

.process-item p {
  margin-bottom: 0;
  color: var(--gray-700);
}

.final-cta {
  padding: 76px 0;
  color: var(--white);
  background: var(--black);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.final-cta h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.button-light {
  flex: 0 0 auto;
  color: var(--black);
  background: var(--green-bright);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0b0c0b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 150px;
  height: auto;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.27);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

@media (max-width: 1050px) {
  .benefits-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-intro {
    grid-column: 1 / -1;
    max-width: 760px;
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 96px;
    justify-content: center;
  }

  .brand-logo {
    width: 172px;
  }

  .hero {
    min-height: 610px;
    background-position: 60% center;
  }

  .hero-content {
    padding: 76px 0 92px;
  }

  .gallery-section,
  .process-section,
  .benefits-section {
    padding: 76px 0;
  }

  .carousel-arrow {
    width: 48px;
    height: 48px;
  }

  .carousel-arrow-left {
    left: 12px;
  }

  .carousel-arrow-right {
    right: 12px;
  }

  .carousel-slide figcaption {
    right: 16px;
    bottom: 14px;
  }

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

  .final-cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.65rem);
  }

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

  .button {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .carousel-slide img {
    aspect-ratio: 4 / 3;
  }

  .carousel-slide figcaption {
    display: none;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 30px 26px;
  }

  .final-cta {
    padding: 62px 0;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

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