:root {
  --ink: #172033;
  --muted: #596277;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #dce2ee;
  --orange: #f28a00;
  --orange-dark: #c46700;
  --blue: #0756b8;
  --blue-dark: #06346d;
  --green: #25a36a;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible,
.site-header.is-open .main-nav a:hover,
.site-header.is-open .main-nav a:focus-visible {
  background: var(--soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-content: end;
  padding: 132px clamp(18px, 4vw, 56px) 28px;
  color: var(--paper);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 17, 32, 0.88) 0%, rgba(9, 17, 32, 0.58) 48%, rgba(9, 17, 32, 0.12) 100%),
    linear-gradient(0deg, rgba(9, 17, 32, 0.72) 0%, rgba(9, 17, 32, 0.08) 46%);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: clamp(28px, 7vw, 84px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #ffbd48;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
}

.button-primary {
  color: var(--paper);
  background: var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-dark);
}

.button-secondary {
  color: var(--paper);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.contact .button-secondary {
  color: var(--blue);
  border-color: var(--line);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-facts article {
  min-height: 112px;
  padding: 20px;
  background: rgba(9, 17, 32, 0.45);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 1.05rem;
}

.hero-facts span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(760px, 100%);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  background: var(--paper);
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p {
  margin: 0;
}

.why {
  background: var(--soft);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.benefit-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.benefit-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 950;
}

.benefit-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.benefit-card p {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 110px;
}

.method-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.method-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.method-list {
  display: grid;
  gap: 18px;
}

.method-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.method-list img {
  width: 100%;
  height: 174px;
  object-fit: cover;
  border-radius: 8px;
}

.method-list h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.method-list p {
  color: var(--muted);
}

.programs,
.pricing {
  background: var(--soft);
}

.program-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.program-card,
.price-panel,
.levels-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.program-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 28px;
}

.program-card.featured {
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-color: transparent;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f0ff;
  font-size: 0.8rem;
  font-weight: 900;
}

.featured .tag {
  color: #2b2108;
  background: #ffce72;
}

.program-card h3,
.activity-card h3,
.levels-grid h3,
.price-panel h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.program-card p,
.activity-card p,
.levels-grid p,
.price-panel p {
  color: var(--muted);
}

.featured p,
.featured dd {
  color: rgba(255, 255, 255, 0.82);
}

.program-card a {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.program-card dl {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
}

.program-card dt {
  color: #ffce72;
  font-weight: 900;
}

.program-card dd {
  margin: 4px 0 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.activity-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card div {
  padding: 22px;
}

.projects {
  background: var(--soft);
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.project-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.project-card.large {
  grid-row: span 2;
  grid-template-rows: minmax(360px, 1fr) auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.project-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.project-card p {
  color: var(--muted);
}

.tools {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
}

.tools-copy {
  position: sticky;
  top: 110px;
}

.tools-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.tools-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.tool-grid span {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 950;
}

.tool-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.levels {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(6, 52, 109, 0.94), rgba(23, 32, 51, 0.95)),
    url("assets/aula-yedai.jpg") center / cover;
}

.levels .section-heading h2 {
  color: var(--paper);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.levels-grid article {
  min-height: 260px;
  padding: 28px;
  color: var(--ink);
}

.levels-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 900;
}

.founder {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.founder-media {
  justify-self: center;
}

.founder-media img {
  width: min(360px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid var(--soft);
  box-shadow: var(--shadow);
}

.founder-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.founder-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.price-panel {
  padding: 28px;
}

.price-panel img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 18px;
}

.price-panel.strong {
  color: var(--paper);
  background: var(--blue-dark);
  border-color: transparent;
}

.price-panel.strong p,
.price-panel.strong li {
  color: rgba(255, 255, 255, 0.82);
}

.price {
  margin: 16px 0;
  color: var(--paper);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 950;
  line-height: 1;
}

.price span {
  font-size: 1.05rem;
  font-weight: 800;
}

.price-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 22px 0 0;
  color: var(--muted);
}

.reviews {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.96), rgba(6, 52, 109, 0.92)),
    url("assets/ninos-verano.jpg") center / cover;
}

.reviews h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.rating-box {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.rating-box strong {
  font-size: 1.35rem;
}

.rating-box span {
  color: rgba(255, 255, 255, 0.78);
}

.rating-box a {
  justify-self: start;
  margin-top: 8px;
  color: #ffce72;
  font-weight: 950;
  text-underline-offset: 4px;
}

.review-grid {
  display: grid;
  gap: 16px;
}

.review-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.review-grid p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 750;
}

.review-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.map-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
  text-underline-offset: 4px;
}

.map-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: none;
  padding: 13px 18px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(37, 163, 106, 0.35);
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .intro,
  .method,
  .tools,
  .founder,
  .reviews,
  .contact,
  .program-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .activity-grid,
  .levels-grid,
  .benefit-grid,
  .project-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-copy,
  .tools-copy {
    position: static;
  }

  .project-card.large {
    grid-row: span 1;
    grid-template-rows: 210px 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 94vh;
    padding: 108px 16px 18px;
  }

  h1 {
    max-width: 9ch;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .benefit-grid,
  .activity-grid,
  .project-showcase,
  .tool-grid,
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts article {
    min-height: auto;
    padding: 16px;
  }

  .section {
    padding: 58px 16px;
  }

  .program-card,
  .benefit-card,
  .price-panel,
  .levels-grid article {
    min-height: auto;
    padding: 22px;
  }

  .method-list article {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .method-list img {
    height: 190px;
  }

  .activity-card {
    grid-template-rows: 190px 1fr;
  }

  .project-card,
  .project-card.large {
    min-height: auto;
    grid-template-rows: 190px 1fr;
  }

  .project-card div {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .floating-call {
    display: inline-flex;
  }
}
