:root {
  --copper: #9a4b2c;
  --sand: #d4bc9a;
  --bronze: #b6875b;
  --espresso: #3d271f;
  --mahogany: #52271b;
  --ink: #15100e;
  --white: #ffffff;
  --cream: #f8f3ec;
  --line: rgba(61, 39, 31, 0.14);
  --shadow: 0 24px 70px rgba(21, 16, 14, 0.18);
  --container: 1180px;
  --font-body: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.45;
}

.mobile-join-button {
  display: none;
}

#formulario-contacto {
  scroll-margin-top: 100px;
}

@media (max-width: 767px) {
  .mobile-join-button:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 20;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: calc(100% - 32px);
    min-height: 54px;
    margin-inline: auto;
    padding: 14px 28px;
    border-radius: 99px;
    background: #e7f86c;
    color: #171719;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 28px #0005;
  }

  .mobile-join-button:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 3px;
  }
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--ink);
  background: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(61, 39, 31, 0.96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  color: var(--sand);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(500px, 62svh, 620px);
  padding-top: 100px;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 580px) minmax(340px, 560px) minmax(1rem, 1fr);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--mahogany);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 16, 14, 0.86), rgba(82, 39, 27, 0.6) 48%, rgba(82, 39, 27, 0.2)),
    url("../images/bg-banner.jpg") center / cover;
  animation: heroBgDrift 12s ease-out both;
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding: 0 0 2.8rem;
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero-actions,
.hero-stats {
  opacity: 0;
  transform: translateY(22px);
  animation: heroContentIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .eyebrow {
  animation-delay: 0.12s;
}

.hero h1 {
  animation-delay: 0.24s;
}

.hero-copy {
  animation-delay: 0.36s;
}

.hero-actions {
  animation-delay: 0.48s;
}

.hero-stats {
  animation-delay: 0.6s;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  grid-column: 3;
  align-self: end;
  justify-self: center;
  width: min(57vw, 680px);
  min-width: 390px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateX(36px) scale(0.98);
  animation: heroPortraitIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s forwards;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.country-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.country-eyebrow img {
  width: 34px;
  height: auto;
  border: 1px solid rgba(61, 39, 31, 0.12);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-family: var(--font-body);
  font-size: clamp(2.25rem, 4.25vw, 4.2rem);
  font-weight: 500;
}

h2 {
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.35vw, 3.15rem);
  font-weight: 500;
}

h3 {
  color: var(--espresso);
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.45;
}

.intro-quote {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: var(--white);
}

.intro-quote blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.25;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 16px 40px rgba(212, 188, 154, 0.22);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  gap: 0.9rem;
  max-width: 260px;
  margin-bottom: 0;
  padding: 1.1rem 0 0;
}

.hero-stats div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-stats div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-stats dt {
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.mobile-only {
  display: none;
}

@keyframes heroBgDrift {
  from {
    transform: scale(1.08);
    filter: saturate(0.88);
  }

  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes heroContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPortraitIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-reveal="left"] {
  transform: translateX(-32px);
}

[data-scroll-reveal="right"] {
  transform: translateX(32px);
}

[data-scroll-reveal="scale"] {
  transform: translateY(18px) scale(0.96);
}

[data-scroll-reveal="left"].is-visible,
[data-scroll-reveal="right"].is-visible,
[data-scroll-reveal="scale"].is-visible {
  transform: translate(0) scale(1);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

.section-inner {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.text-link {
  color: var(--sand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-link.dark {
  color: var(--mahogany);
}

.inline-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.inline-arrow-link::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.inline-arrow-link:hover::after {
  transform: translateX(4px) rotate(45deg);
}

.center-link-row {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

#shirly-figueroa {
  padding-block: 0;
}

#shirly-figueroa .about-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

#shirly-figueroa .section-copy {
  max-width: 680px;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 5rem);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.system-manifest {
  padding-top: clamp(7rem, 10vw, 9rem);
}

.system-manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.system-manifest-copy h1 {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}

.system-manifest-copy article + article {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.system-manifest-copy h2 {
  margin-bottom: 0.75rem;
  color: var(--sand);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  text-transform: uppercase;
}

.system-manifest-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.55vw, 1.25rem);
  line-height: 1.62;
}

.system-manifest-media {
  margin: 0;
}

.system-manifest-media img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.28));
}

.media-stack {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #fbf8f3;
  overflow: hidden;
}

#shirly-figueroa .media-stack {
  min-height: clamp(640px, 54vw, 820px);
}

.about-photo {
  width: min(82%, 420px);
  margin-top: 2rem;
  filter: drop-shadow(0 30px 52px rgba(61, 39, 31, 0.24));
}

#shirly-figueroa .about-photo {
  width: min(76%, 560px);
}

.achievement-card {
  position: absolute;
  right: -1px;
  bottom: 2rem;
  max-width: 300px;
  padding: 1.15rem;
  color: var(--white);
  background: rgba(61, 39, 31, 0.94);
  box-shadow: var(--shadow);
}

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

.achievement-card strong {
  margin-bottom: 0.4rem;
  color: var(--sand);
}

.achievement-card span {
  font-size: 0.9rem;
}

.section-copy > p:not(.eyebrow) {
  margin: 1.2rem 0 0;
  color: rgba(61, 39, 31, 0.78);
  font-size: 1.03rem;
  line-height: 1.48;
}

.milestone-grid,
.pillar-grid {
  display: grid;
  gap: 1rem;
}

.milestone-grid {
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.pillar-grid article,
.post-card {
  background: var(--cream);
  border: 1px solid var(--line);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
}

.pillar-grid article {
  padding: 1.25rem;
  border-radius: 38px 0 38px 0;
}

.milestone-grid span,
.pillar-grid span {
  display: block;
  margin-bottom: 1rem;
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.milestone-grid p,
.pillar-grid p {
  margin: 0.65rem 0 0;
  color: rgba(61, 39, 31, 0.72);
  font-size: 0.94rem;
  line-height: 1.42;
}

.milestone-logo {
  width: min(220px, 70%);
  margin-top: 1.25rem;
}

.dark-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 16, 14, 0.9), rgba(61, 39, 31, 0.8)),
    url("../images/bg-section.jpg") center / cover;
}

.light-copy h2,
.light-copy h3 {
  color: var(--white);
}

.light-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.system-brand-panel {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.4rem;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 188, 154, 0.22), transparent 44%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.opportunity-logo {
  width: min(300px, 68vw);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
}

.system-brand-panel p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.42;
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.6rem 0 2rem;
}

.system-steps article {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px 0 38px 0;
  background: rgba(255, 255, 255, 0.07);
}

.system-steps span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.system-steps h3 {
  color: var(--white);
}

.system-steps p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.42;
}

.video-placeholder {
  cursor: pointer;
}

.video-placeholder {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: min(82%, 360px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(21, 16, 14, 0.58);
  backdrop-filter: blur(14px);
}

.video-placeholder strong,
.video-placeholder small {
  display: block;
  text-align: left;
}

.video-placeholder small {
  color: var(--sand);
}

.play-icon {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--mahogany);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2rem;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.split-heading > p {
  max-width: 430px;
  margin: 0;
  color: rgba(61, 39, 31, 0.72);
}

.pillar-grid {
  grid-template-columns: repeat(4, 1fr);
}

.academy {
  background: #fbf8f3;
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.academy-grid article {
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 38px 0 38px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 243, 236, 0.96)),
    url("../images/bg-banner.jpg") center / cover;
}

.academy-grid span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--bronze);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
}

.academy-grid p {
  margin: 0.75rem 0 0;
  color: rgba(61, 39, 31, 0.72);
  font-size: 0.94rem;
  line-height: 1.42;
}

.video-opportunity {
  background: var(--white);
}

.youtube-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.youtube-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.opportunity-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--white);
  background: var(--espresso);
}

.opportunity-cta h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 500;
}

.opportunity-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.42;
}

.testimonials {
  background: #efe5d8;
}

.system-testimonials {
  background: var(--white);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.15rem 0 0;
}

.carousel-button {
  position: relative;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(61, 39, 31, 0.2);
  border-radius: 50%;
  color: var(--espresso);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(61, 39, 31, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel-button-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.carousel-button-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: var(--white);
  border-color: rgba(61, 39, 31, 0.38);
}

.testimonial-carousel {
  --carousel-side-space: clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-auto-columns: calc((100vw - (var(--carousel-side-space) * 2) - 2rem) / 3);
  grid-auto-flow: column;
  gap: 1rem;
  width: 100%;
  max-width: 100vw;
  margin-top: 0.35rem;
  padding: 0 var(--carousel-side-space) 0.9rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--carousel-side-space);
  scroll-snap-type: x mandatory;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.testimonials-two .testimonial-carousel {
  grid-auto-columns: calc((100vw - (var(--carousel-side-space) * 2) - 1rem) / 2);
}

@media (min-width: 681px) {
  .testimonials-two .carousel-controls {
    display: none;
  }
}

.testimonial-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.testimonial-carousel::-webkit-scrollbar {
  height: 10px;
}

.testimonial-carousel::-webkit-scrollbar-track {
  background: rgba(61, 39, 31, 0.1);
}

.testimonial-carousel::-webkit-scrollbar-thumb {
  background: rgba(61, 39, 31, 0.36);
}

.testimonial-carousel:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 6px;
}

.testimonial-slide {
  min-width: 0;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.testimonial-frame {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.testimonial-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  color: var(--espresso);
}

.testimonial-meta span {
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.testimonial-meta strong::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 0.55rem;
  background: var(--sand);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.blog {
  background: var(--white);
}

.blog-heading {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.blog-heading h2 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
}

.blog-carousel-shell {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 3.2rem;
}

.blog-carousel {
  --carousel-side-space: clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-auto-columns: minmax(320px, 44vw);
  grid-auto-flow: column;
  gap: clamp(1.25rem, 2vw, 2rem);
  width: 100%;
  max-width: 100vw;
  padding: 0 var(--carousel-side-space) 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--carousel-side-space);
  scroll-snap-type: x mandatory;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.blog-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.blog-carousel::-webkit-scrollbar {
  height: 10px;
}

.blog-carousel::-webkit-scrollbar-track {
  background: rgba(61, 39, 31, 0.1);
}

.blog-carousel::-webkit-scrollbar-thumb {
  background: rgba(61, 39, 31, 0.36);
}

.blog-carousel:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 6px;
}

.post-card {
  min-width: 0;
  background: transparent;
  border: 0;
  scroll-snap-align: start;
}

.post-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 38px 0 38px 0;
  background: var(--cream);
}

.post-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-media img {
  transform: scale(1.04);
}

.post-card div {
  padding-top: 1.2rem;
}

.post-card span {
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-top: 0.6rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  font-weight: 600;
  line-height: 1.24;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.blog-carousel-controls {
  justify-content: center;
  margin: 1.2rem 0 0;
}

.blog-carousel-controls .carousel-button {
  color: var(--espresso);
  border-color: rgba(61, 39, 31, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.blog-carousel-controls .carousel-button:hover {
  background: var(--white);
  border-color: rgba(61, 39, 31, 0.38);
}

.article-page {
  background: var(--white);
}

.article-hero {
  padding: 8.5rem 0 3rem;
  color: var(--espresso);
  background: var(--cream);
}

.article-hero .text-link {
  display: inline-block;
  margin-bottom: 2rem;
}

.article-hero h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.05;
}

.article-image {
  width: min(calc(100% - 2rem), var(--container));
  max-height: 560px;
  margin: -1rem auto 0;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 46px 0 46px 0;
}

.article-content {
  width: min(calc(100% - 2rem), 780px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
}

.article-content p {
  margin: 0 0 1.25rem;
  color: rgba(61, 39, 31, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-content h2 {
  margin: 2.25rem 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.article-content .btn {
  margin-top: 1rem;
}

.profile-story {
  background: var(--white);
}

.profile-story-grid,
.profile-awards-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.profile-story-media {
  min-height: clamp(520px, 52vw, 700px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 243, 236, 0.56), rgba(212, 188, 154, 0.22)),
    var(--cream);
}

.profile-story-media img {
  width: min(78%, 500px);
  filter: drop-shadow(0 30px 52px rgba(61, 39, 31, 0.22));
}

.profile-story blockquote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--sand);
  color: var(--mahogany);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.profile-awards {
  background:
    linear-gradient(90deg, rgba(21, 16, 14, 0.92), rgba(61, 39, 31, 0.82)),
    url("../images/bg-banner-header.jpg") center / cover;
}

.profile-awards-grid {
  grid-template-columns: 1fr;
}

.award-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: min(100%, 1100px);
  margin: 2rem auto 0;
}

.award-list article {
  display: grid;
  align-content: start;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px 0 38px 0;
  background: rgba(255, 255, 255, 0.07);
}

.award-list span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.award-list h3 {
  color: var(--white);
}

.award-list p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.award-list .youtube-frame {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.profile-gallery {
  background: #fbf8f3;
}

.shirly-gallery {
  column-count: 3;
  column-gap: 0.9rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0.9rem;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(61, 39, 31, 0.1);
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-empty {
  margin: 0;
  padding: 2rem;
  color: rgba(61, 39, 31, 0.72);
  text-align: center;
  border: 1px dashed rgba(61, 39, 31, 0.22);
  background: var(--white);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 16, 14, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.gallery-lightbox-nav {
  top: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-close:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.gallery-lightbox-next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.gallery-lightbox-nav::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.gallery-lightbox-prev::before {
  transform: rotate(-135deg);
}

.gallery-lightbox-next::before {
  transform: rotate(45deg);
}

.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
}

.gallery-lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-grid {
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 460px;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.contact-card img {
  width: 42px;
  height: auto;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.social-icon {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--sand);
  border: 1px solid rgba(212, 188, 154, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-icon:hover {
  color: var(--white);
  border-color: var(--sand);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.social-icon::before,
.social-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.social-icon-instagram::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.social-icon-instagram::after {
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 6px -6px 0 -2px currentColor;
}

.social-icon-facebook::before {
  content: "f";
  position: static;
  color: currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-icon-youtube::before {
  width: 22px;
  height: 15px;
  border-radius: 5px;
  background: currentColor;
}

.social-icon-youtube::after {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--ink);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--espresso);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form label:nth-last-of-type(2),
.contact-form label:nth-last-of-type(3) {
  grid-column: 1 / -1;
}

.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-field {
  grid-column: 1 / -1;
  min-height: 65px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fbf8f3;
}

.contact-form select {
  height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  width: fit-content;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  color: #23513a;
  border-color: rgba(35, 81, 58, 0.22);
  background: #edf8f1;
}

.form-status.is-error {
  color: #7a271a;
  border-color: rgba(122, 39, 26, 0.22);
  background: #fff0ec;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a {
  color: var(--sand);
  font-weight: 800;
}

.back-to-top {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(212, 188, 154, 0.38);
  border-radius: 50%;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--sand);
  background: rgba(255, 255, 255, 0.08);
}

.footer-arrow {
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}

.modal-panel {
  position: relative;
  width: min(920px, 100%);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.modal-video {
  min-height: 52vw;
  max-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  padding: 2rem;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(21, 16, 14, 0.58), rgba(21, 16, 14, 0.78)),
    url("../images/bg-banner.jpg") center / cover;
}

.modal-video p {
  margin: 1rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-video small {
  color: var(--sand);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(61, 39, 31, 0.98);
  }

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

  .site-nav a {
    padding: 0.95rem;
  }

  .hero {
    min-height: 580px;
    padding-top: 100px;
    grid-template-columns: 1rem minmax(0, 1fr) 1rem;
    align-items: end;
  }

  .hero-content {
    grid-column: 2;
    padding-bottom: 14rem;
  }

  .hero-portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(96vw, 500px);
    min-width: 320px;
  }

  .about-grid,
  .opportunity-grid,
  .system-manifest-grid,
  .profile-story-grid,
  .profile-awards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .system-manifest-media {
    max-width: 420px;
    margin-inline: auto;
  }

  .award-list {
    grid-template-columns: 1fr;
  }

  .shirly-gallery {
    column-count: 2;
  }

  #shirly-figueroa .about-grid {
    grid-template-columns: 1fr;
  }

  #shirly-figueroa .section-copy {
    max-width: none;
  }

  .media-stack {
    min-height: 560px;
  }

  #shirly-figueroa .media-stack {
    min-height: 620px;
  }

  .profile-story-media {
    min-height: 560px;
  }

  .milestone-grid,
  .pillar-grid,
  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    grid-auto-columns: calc((100vw - (var(--carousel-side-space) * 2) - 1rem) / 2);
  }

  .blog-carousel {
    grid-auto-columns: calc(72vw - var(--carousel-side-space));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand img {
    width: 150px;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 10.5rem;
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.85rem);
  }

  .hero-stats div {
    flex: 1 1 120px;
    border-right: 0;
  }

  .mobile-only {
    display: block;
  }

  .split-heading,
  .opportunity-cta,
  .footer-grid {
    display: grid;
  }

  .text-link {
    white-space: normal;
  }

  .media-stack {
    min-height: 500px;
  }

  #shirly-figueroa .media-stack {
    min-height: 540px;
  }

  .profile-story-media {
    min-height: 500px;
  }

  #shirly-figueroa .section-copy {
    padding: 3rem 1rem;
  }

  .system-manifest {
    padding-top: 6.5rem;
  }

  .achievement-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .milestone-grid,
  .pillar-grid,
  .academy-grid,
  .blog-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    grid-auto-columns: calc(100vw - (var(--carousel-side-space) * 2));
  }

  .testimonials-two .testimonial-carousel {
    grid-auto-columns: calc(100vw - (var(--carousel-side-space) * 2));
  }

  .blog-carousel {
    grid-auto-columns: calc(100vw - (var(--carousel-side-space) * 2));
  }

  .blog-carousel-controls {
    position: static;
    margin-top: 1rem;
    padding-inline: 1rem;
    justify-content: flex-end;
  }

  .opportunity-cta {
    grid-template-columns: 1fr;
  }

  .shirly-gallery {
    column-count: 1;
  }

  .contact-form label:nth-last-of-type(1),
  .contact-form label:nth-last-of-type(2),
  .contact-form button {
    grid-column: auto;
  }

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

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

  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions,
  .hero-stats,
  .hero-portrait,
  [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
