:root {
  --ink: #10201f;
  --deep: #153f3b;
  --teal: #1f7a73;
  --leaf: #8fbf4d;
  --coral: #e26d5a;
  --gold: #d2a63c;
  --sky: #d9f0f2;
  --paper: #fbfcf8;
  --mist: #eef7f4;
  --line: #cbdad3;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(203, 218, 211, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--deep);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.brand strong {
  color: var(--coral);
  font-size: 1.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 118px);
  padding: 110px 32px 80px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(90deg, rgba(5, 18, 20, 0.86), rgba(15, 48, 43, 0.64), rgba(16, 32, 31, 0.22)),
    url("assets/conocete-mapa.jpeg");
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 26%;
  content: "";
  background: linear-gradient(180deg, rgba(251, 252, 248, 0), var(--paper));
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd36f;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: 5.4rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #c95546;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 96px 32px;
}

.quick-info {
  padding: 0 32px;
  background: var(--paper);
}

.quick-info-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1160px, 100%);
  margin: -38px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-info article {
  display: grid;
  gap: 4px;
  min-height: 96px;
  border-right: 1px solid var(--line);
  padding: 18px;
}

.quick-info article:last-child {
  border-right: 0;
}

.quick-info span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-info strong {
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.35;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.lead-stack {
  display: grid;
  gap: 20px;
  font-size: 1.16rem;
}

.lead-stack p,
.section-heading p,
.day-copy p,
.contact p,
.care-panel p {
  margin: 0;
}

.intro {
  background: var(--paper);
}

.experience {
  background: var(--deep);
  color: var(--white);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: center;
}

.experience-copy {
  display: grid;
  gap: 20px;
}

.experience-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.experience-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
}

.experience-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.experience-gallery .wide {
  grid-column: span 2;
}

.section-heading {
  width: min(790px, 100%);
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.12rem;
}

.pathways {
  background: var(--mist);
}

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

.path-card,
.who-grid article,
.method-list article {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 32, 31, 0.06);
}

.path-card {
  display: grid;
  gap: 14px;
  border-top: 6px solid var(--teal);
}

.path-card.sana {
  border-top-color: var(--leaf);
}

.path-card.conoce {
  border-top-color: var(--teal);
}

.path-card.ama {
  border-top-color: var(--coral);
}

.path-card.celebra {
  border-top-color: var(--gold);
}

.path-number {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.path-subtitle {
  margin: 0;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.path-card p:last-child,
.method-list p,
.who-grid p {
  margin: 0;
}

.flow {
  background: var(--deep);
  color: var(--white);
}

.flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 46px;
  align-items: center;
}

.flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 13px 16px 13px 52px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.flow-list li::before {
  position: absolute;
  left: 16px;
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  color: #ffd36f;
  font-size: 0.8rem;
}

.program {
  background: var(--paper);
}

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.day-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.day-tab.active {
  color: var(--white);
  border-color: var(--deep);
  background: var(--deep);
}

.day-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.day-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.schedule-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.schedule-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.schedule-list time {
  color: var(--teal);
  font-weight: 900;
}

.method {
  background: var(--sky);
}

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

.who {
  background: var(--paper);
}

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

.who-grid article {
  display: grid;
  gap: 12px;
  box-shadow: none;
}

.care {
  background: var(--mist);
}

.care-panel {
  width: min(880px, 100%);
  border-left: 6px solid var(--coral);
  padding: 30px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 32, 31, 0.08);
}

.care-panel h2 {
  margin-bottom: 18px;
}

.place {
  background: var(--paper);
}

.place-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.place-copy {
  display: grid;
  gap: 22px;
}

.place-copy p {
  margin: 0;
  font-size: 1.08rem;
}

.place-facts {
  display: grid;
  gap: 12px;
  border-left: 5px solid var(--gold);
  padding: 4px 0 4px 18px;
}

.place-facts p {
  font-size: 1rem;
}

.text-link {
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
}

.place-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 210px 210px;
  gap: 14px;
}

.place-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(16, 32, 31, 0.12);
}

.place-gallery img:first-child {
  grid-row: 1 / span 2;
}

.toledo-force {
  background: var(--mist);
}

.toledo-force .lead-stack {
  border-left: 5px solid var(--coral);
  padding-left: 24px;
}

.contact {
  background: var(--deep);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 56px;
  align-items: start;
}

.contact h2 {
  margin-bottom: 20px;
}

.price-box {
  display: inline-grid;
  gap: 2px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.08);
}

.price-box span {
  color: #ffd36f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-box strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
}

.price-box small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .quick-info-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-info article:nth-child(2) {
    border-right: 0;
  }

  .quick-info article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .path-grid,
  .who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-columns,
  .flow-panel,
  .day-panel,
  .experience-layout,
  .place-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
    padding: 12px;
  }

  .hero {
    min-height: calc(100svh - 96px);
    padding: 84px 20px 62px;
  }

  h1 {
    font-size: 3.08rem;
  }

  h2 {
    font-size: 2.35rem;
  }

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

  .section {
    padding: 70px 20px;
  }

  .quick-info {
    padding: 0 20px;
  }

  .quick-info-inner {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .quick-info article {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info article:last-child {
    border-bottom: 0;
  }

  .path-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .experience-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .experience-gallery .wide {
    grid-column: auto;
  }

  .place-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .place-gallery img:first-child {
    grid-row: auto;
  }

  .day-panel,
  .contact-form,
  .care-panel {
    padding: 20px;
  }

  .schedule-list li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
}
