@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/files/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/files/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/files/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/files/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/files/Fraunces_72pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/files/Fraunces_72pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f9f7f2;
  --ink: #1e2949;
  --gold: #dca434;
  --sand: #f3ede1;
  --navy-strong: #111a33;
  --shadow: 0 24px 60px rgba(30, 41, 73, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, rgba(220, 164, 52, 0.15), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(30, 41, 73, 0.12), transparent 50%),
    var(--bg);
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 41, 73, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-tag {
  font-size: 0.9rem;
  color: rgba(30, 41, 73, 0.7);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.nav a:hover {
  border-color: var(--gold);
}

.cta-button {
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(30, 41, 73, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(30, 41, 73, 0.25);
}

.ghost-button {
  border: 1px solid rgba(30, 41, 73, 0.3);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
}

.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(30, 41, 73, 0.6);
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(30, 41, 73, 0.75);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  background: white;
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-metrics strong {
  font-size: 1.2rem;
}

.hero-metrics span {
  display: block;
  color: rgba(30, 41, 73, 0.6);
  font-size: 0.85rem;
  margin-top: 6px;
}

.hero-card {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: float 6s ease-in-out infinite;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.status {
  color: var(--gold);
}

.hero-card-body {
  display: grid;
  gap: 14px;
}

.stat {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--sand);
  border-radius: 14px;
}

.stat.highlight {
  background: var(--ink);
  color: white;
}

.hero-card-footer {
  color: rgba(30, 41, 73, 0.7);
  font-size: 0.95rem;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 110px;
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillars {
  display: grid;
  gap: 16px;
}

.pill {
  background: white;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(30, 41, 73, 0.08);
}

.pill span {
  font-weight: 600;
}

.pill p {
  margin: 8px 0 0;
  color: rgba(30, 41, 73, 0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.module-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.module-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.module-track::-webkit-scrollbar {
  display: none;
}

.module-card {
  scroll-snap-align: start;
}

.carousel-btn {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 20px rgba(30, 41, 73, 0.18);
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: var(--sand);
}

.module-card {
  background: white;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(30, 41, 73, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.benefits {
  background: linear-gradient(135deg, rgba(30, 41, 73, 0.06), rgba(220, 164, 52, 0.08));
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit {
  background: white;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(30, 41, 73, 0.08);
}

.testimonial {
  padding-top: 40px;
}

.testimonial-card {
  background: var(--ink);
  color: white;
  padding: 40px;
  border-radius: 26px;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.testimonial-card span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.about {
  background: linear-gradient(180deg, rgba(30, 41, 73, 0.04), rgba(220, 164, 52, 0.06));
}

.about-copy {
  max-width: 860px;
}

.about-copy h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.about-copy p {
  margin: 0;
  color: rgba(30, 41, 73, 0.78);
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-link {
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-link .fa-arrow-up-right-from-square {
  font-size: 0.8em;
  color: rgba(220, 164, 52, 0.9);
  transition: transform 0.2s ease, color 0.2s ease;
}

.about-link:hover,
.about-link:focus-visible {
  color: var(--navy-strong);
}

.about-link:hover .fa-arrow-up-right-from-square,
.about-link:focus-visible .fa-arrow-up-right-from-square {
  color: var(--gold);
  transform: translateX(1px);
}

.contact {
  background: white;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-info span {
  font-size: 0.85rem;
  color: rgba(30, 41, 73, 0.6);
}

.whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-link img {
  width: 64px;
  height: 64px;
}

.whatsapp-link:hover img {
  opacity: 0.85;
}

.contact-form {
  background: var(--sand);
  padding: 26px;
  border-radius: 20px;
  display: grid;
  gap: 16px;
}

.form-status {
  min-height: 22px;
  font-size: 0.95rem;
  color: rgba(30, 41, 73, 0.75);
}

.contact-form label {
  font-size: 0.9rem;
  display: grid;
  gap: 8px;
}

input,
textarea {
  border: 1px solid rgba(30, 41, 73, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(30, 41, 73, 0.6);
  margin: 0;
}

.footer {
  padding: 18px 0 28px;
  font-size: 0.85rem;
  color: rgba(30, 41, 73, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 54px;
  width: auto;
}

.footer-partner-logo {
  height: 48px;
  width: auto;
}

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

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

  .header-inner {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    padding-top: 60px;
  }

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

  .testimonial-card {
    padding: 28px;
  }

  .cta-button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .module-track {
    grid-auto-columns: minmax(220px, 80%);
  }

  .module-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 12px;
  }

  .brand img {
    height: 48px;
  }

  .brand-tag {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
