:root {
  --bg: #071c1a;
  --bg-2: #0d302b;
  --surface: #102d2a;
  --surface-2: #153c36;
  --card: #ffffff;
  --soft: #f3f8f6;
  --ink: #10201e;
  --text: #31423f;
  --muted: #71817d;
  --line: #d9e5e1;
  --brand: #008a78;
  --brand-2: #00a98f;
  --mint: #55d6bd;
  --glow: rgba(0, 169, 143, 0.32);
  --shadow: 0 28px 80px rgba(3, 25, 23, 0.22);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--soft);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

img,
svg {
  display: block;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 10px 14px 10px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-4px);
}

.brand img {
  width: min(310px, 44vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(16, 32, 30, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-socials,
.social-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: rgba(7, 28, 26, 0.05);
  border: 1px solid rgba(7, 28, 26, 0.12);
  border-radius: 7px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.icon-link:hover {
  background: rgba(0, 169, 143, 0.12);
  transform: translateY(-2px);
}

.icon-link-strong {
  color: #04211d;
  background: var(--mint);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 136px 0 82px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(85, 214, 189, 0.3), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  isolation: isolate;
}

.hero-bg,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.85) contrast(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 28, 26, 0.96), rgba(7, 28, 26, 0.74) 52%, rgba(7, 28, 26, 0.42)),
    linear-gradient(0deg, rgba(7, 28, 26, 0.88), transparent 45%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, black, transparent 84%);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 360px;
  gap: 54px;
  align-items: end;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--mint);
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: currentColor;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.floating-whatsapp,
.signal-card a,
.social-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary,
.floating-whatsapp,
.signal-card a,
.social-buttons a:first-child {
  color: #04211d;
  background: var(--mint);
  box-shadow: 0 18px 44px var(--glow);
}

.btn-primary:hover,
.floating-whatsapp:hover,
.signal-card a:hover,
.social-buttons a:hover {
  transform: translateY(-2px);
}

.btn-secondary,
.social-buttons a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.signal-card {
  position: relative;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(13, 48, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 46px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(85, 214, 189, 0.12);
}

.signal-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.06;
}

.signal-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.signal-card a {
  margin-top: 8px;
}

.stats-band {
  color: #fff;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid div {
  position: relative;
  min-height: 120px;
  padding: 26px 24px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid div::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(85, 214, 189, 0.12), transparent);
  transform: translateX(-120%);
  animation: blockSweep 7s ease-in-out infinite;
}

.stats-grid div:nth-child(2)::after {
  animation-delay: -1.2s;
}

.stats-grid div:nth-child(3)::after {
  animation-delay: -2.4s;
}

.stats-grid div:nth-child(4)::after {
  animation-delay: -3.6s;
}

.stats-grid div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stats-grid strong {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.intro-grid,
.unit-grid,
.mode-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.unit-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 14%, rgba(85, 214, 189, 0.18), transparent 30%),
    linear-gradient(135deg, var(--bg), var(--surface));
}

.unit-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(85, 214, 189, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 214, 189, 0.38) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridFloat 14s linear infinite;
}

.unit-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.unit-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.unit-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.unit-copy h2 {
  color: #fff;
}

.unit-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.72;
}

.address-card {
  margin-top: 30px;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(85, 214, 189, 0.16), transparent),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.address-card span,
.address-card strong {
  display: block;
}

.address-card span {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.address-card strong {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.address-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.address-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  color: #04211d;
  background: var(--mint);
  border-radius: 6px;
  font-weight: 900;
}

.courses-section {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(85, 214, 189, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--surface));
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.courses-section h2,
.courses-section h3 {
  color: #fff;
}

.courses-section .section-head p:last-child {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}

.course-browser {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.course-tab {
  min-height: 54px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 950;
}

.course-tab.is-active {
  color: #04211d;
  background: var(--mint);
}

.course-panel {
  display: none;
  padding: clamp(22px, 4vw, 36px);
}

.course-panel.is-active {
  display: block;
  animation: panelIn 0.32s ease both;
}

.panel-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.panel-intro h3 {
  margin: 10px 0 0;
}

.panel-intro p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(85, 214, 189, 0.1);
  border: 1px solid rgba(85, 214, 189, 0.22);
  border-radius: 999px;
}

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

.course-list span {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  line-height: 1.25;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.course-list span::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.course-list span:hover {
  background: rgba(85, 214, 189, 0.13);
  border-color: rgba(85, 214, 189, 0.34);
  transform: translateY(-2px);
}

.course-list span:hover::after {
  transform: scaleX(1);
}

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

.post-grid article {
  min-height: 145px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.post-grid article:hover {
  background: rgba(85, 214, 189, 0.13);
  transform: translateY(-3px);
}

.post-grid span,
.post-grid strong {
  display: block;
}

.post-grid span {
  margin-bottom: 46px;
  color: var(--mint);
  font-weight: 950;
}

.post-grid strong {
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.mode-section {
  background: #fff;
}

.mode-cards,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mode-card,
.benefit-card,
.lead-form {
  border-radius: var(--radius);
}

.mode-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(85, 214, 189, 0.14), transparent),
    var(--surface);
  box-shadow: 0 18px 50px rgba(8, 40, 36, 0.16);
}

.mode-card::after,
.benefit-card::after {
  position: absolute;
  right: -40%;
  bottom: -50%;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(85, 214, 189, 0.2), transparent 66%);
  transform: scale(0.85);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  opacity: 0.65;
}

.mode-card:hover::after,
.benefit-card:hover::after {
  transform: scale(1.14);
  opacity: 1;
}

.mode-card span {
  display: inline-block;
  margin-bottom: 68px;
  color: var(--mint);
  font-weight: 950;
  text-transform: uppercase;
}

.mode-card h3 {
  color: #fff;
}

.mode-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.62;
}

.benefits-section {
  background: var(--soft);
}

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

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(10, 41, 37, 0.08);
}

.benefit-card span {
  display: block;
  margin-bottom: 68px;
  color: var(--brand);
  font-weight: 950;
}

.benefit-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.2rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(85, 214, 189, 0.18), transparent 28%),
    var(--bg);
}

.contact-section h2 {
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.72;
}

.social-buttons {
  flex-wrap: wrap;
  margin-top: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 169, 143, 0.16);
}

.form-button {
  width: 100%;
}

.footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #041311;
}

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

.footer img {
  width: min(310px, 58vw);
  height: auto;
  filter: brightness(1.2);
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  color: #04211d;
  border-radius: 50%;
  font-size: 0;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.62s ease,
    transform 0.62s ease;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridFloat {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 72px 72px;
  }
}

@keyframes blockSweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
}

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

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

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

  .hero-container,
  .intro-grid,
  .unit-grid,
  .mode-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    max-width: 520px;
  }

  .unit-media,
  .unit-media img {
    min-height: 420px;
  }

  .course-list,
  .post-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    top: 10px;
  }

  .header-inner {
    min-height: 64px;
    padding: 9px 10px 9px 14px;
  }

  .brand img {
    width: min(220px, 58vw);
    max-height: 42px;
  }

  .header-socials {
    gap: 6px;
  }

  .icon-link {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 760px;
    padding: 112px 0 54px;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }

  .hero-actions .btn,
  .floating-whatsapp {
    width: auto;
    min-width: 0;
    height: 54px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 1rem;
  }

  .signal-card {
    display: none;
  }

  .unit-media,
  .unit-media img {
    min-height: 380px;
  }

  .stats-grid,
  .course-list,
  .post-grid,
  .mode-cards,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div,
  .stats-grid div:first-child {
    min-height: 96px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section {
    padding: 62px 0;
  }

  .course-tabs {
    grid-template-columns: 1fr;
  }

  .panel-intro {
    display: grid;
  }

  .course-panel {
    padding: 18px;
  }

  .mode-card,
  .benefit-card {
    min-height: auto;
  }

  .mode-card span,
  .benefit-card span,
  .post-grid span {
    margin-bottom: 32px;
  }

  .footer-inner {
    display: grid;
  }

  .footer {
    padding-bottom: 96px;
  }

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