* {
  box-sizing: border-box;
}

@font-face {
  font-family: "GillSans";
  src: url("../../fonts/GillSans-01.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GillSans";
  src: url("../../fonts/GillSans-SemiBold-05.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GillSans";
  src: url("../../fonts/GillSans-Bold-02.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #f7f3ef;
  color: #171717;
  font-family:
    "GillSans", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

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

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

button,
input,
select {
  font-family:
    "GillSans", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2 {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
}

h3 {
  font-family:
    "GillSans", "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.5;
}

strong,
b {
  font-weight: 500;
}

.gill-regular {
  font-family: "GillSans", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.gill-semibold {
  font-family: "GillSans", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.gill-bold {
  font-family: "GillSans", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  font-weight: 600;
  font-style: normal;
}

.pt-regular {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

.pt-bold {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
  font-style: normal;
}

.section-kicker {
  color: #a50f0f;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-kicker.light {
  color: #ffd47b;
}

.section-title {
  margin: 10px 0 22px;
  color: #171717;
  font-family: "PT Serif", Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: -1.2px;
}

.section-title.light {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 0;
  height: 4px;
  background: #e4a428;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  min-height: 41px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0.3px;
}

.floating-cta--whatsapp {
  width: 68px;
  height: 68px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  animation: whatsapp-pulse 1.8s ease-in-out infinite;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.floating-cta--whatsapp:hover,
.floating-cta--whatsapp:focus-visible {
  transform: translateY(-2px);
  animation-play-state: paused;
}

.floating-cta--whatsapp img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.student-hero-actions a,
.modular-copy a,
.future a,
.lead-form-box button,
.capital-presets button,
.capital-control,
.capital-stat,
.capital-timeline-card,
.capital-equation,
.capital-equation > div span,
.capital-marker span,
.platform-v2-screen,
.device-top,
.capital-track,
.capital-phase,
.course-progress,
.modular-tag {
  border-radius: 0;
}

@media (max-width: 980px) {
  .section-title {
    font-size: 50px;
    line-height: 52px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  body {
    font-size: 16px;
  }

  main,
  section {
    max-width: 100%;
  }

  .section-title,
  .student-hero h1,
  .life-story-copy h3,
  .program-card h4,
  .program-card a,
  .program-card button {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-kicker {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 2.2px;
  }

  .section-title {
    font-size: 34px;
    line-height: 37px;
    letter-spacing: 0;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    min-height: 39px;
    padding: 0 16px;
    font-size: 14px;
  }

  .floating-cta--whatsapp {
    min-width: 0;
    width: 58px;
    height: 58px;
    padding: 0;
  }
}

@media (max-width: 520px) {
  .section-title {
    font-size: 31px;
    line-height: 34px;
  }
}

/* Mantener ocultas las secciones pendientes aunque tengan display propio. */
[hidden] {
  display: none !important;
}

a[aria-disabled="true"] {
  cursor: default;
}
