/* LUMORA Coffee Academy */

body { overflow-x: hidden; }

.to-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.to-container {
  width: calc(100% - 112px);
  max-width: 1180px;
  margin: 0 auto;
}

.to-eyebrow {
  display: block;
  margin-bottom: clamp(18px, 2vw, 28px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracota);
}

.to-sep {
  width: 40px;
  height: 1px;
  margin: 24px 0;
  background: var(--terracota);
}

.to-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .22s var(--ease-out), border-color .22s, background .22s, color .22s, opacity .22s;
}

.to-btn:hover { transform: translateY(-1px); }
.to-btn--primary { background: var(--terracota); color: var(--bg); border-color: var(--terracota); }
.to-btn--ghost { background: transparent; color: var(--text); border-color: rgba(240,237,232,.22); }
.to-btn--ghost:hover { border-color: rgba(240,237,232,.52); }
.to-btn--small { min-height: 38px; padding: 10px 14px; font-size: 12px; }
.to-sistema .to-btn--ghost,
.to-cursos .to-btn--ghost,
.to-negocios .to-btn--ghost,
.to-certificado .to-btn--ghost {
  color: var(--ivory-text);
  border-color: rgba(26,18,8,.22);
}

.to-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--ann-height, 0px) + 120px) 0 72px;
  background: var(--bg);
  color: var(--text);
}

.to-hero__video,
.to-cinematic__video,
.to-personalizados__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.to-hero__video { opacity: .38; filter: grayscale(38%) contrast(1.08); }
.to-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.62) 45%, rgba(5,5,5,.28) 100%),
    linear-gradient(0deg, rgba(10,10,10,.92) 0%, transparent 44%);
  z-index: 0;
}

.to-hero__glow,
.to-cta-final__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 22% 76%, rgba(196,98,42,.28) 0%, transparent 64%);
}

.to-hero-os {
  position: absolute;
  top: calc(var(--ann-height, 0px) + 88px);
  left: clamp(20px, 5vw, 72px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--text-dim);
}

.to-hero-os span:first-child { color: var(--terracota); }
.to-hero__inner { position: relative; z-index: 2; width: min(720px, 100%); }
.to-hero__headline {
  margin: 0 0 18px;
  font-family: var(--font-main);
  font-size: 84px;
  font-weight: 600;
  line-height: .96;
  letter-spacing: 0;
}

.to-hero__sub {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.to-hero__ctas,
.to-cta-final__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.to-hero__badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.to-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(240,237,232,.16);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.to-geo-badge--active { color: var(--terracota); border-color: rgba(196,98,42,.52); }
.to-geo-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.to-declaration {
  min-height: 66vh;
  display: grid;
  place-items: center;
  padding: clamp(76px, 10vw, 132px) 0;
  background:
    linear-gradient(rgba(196,98,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,98,42,.035) 1px, transparent 1px),
    var(--bg-mid);
  background-size: 44px 44px;
  color: var(--text);
}

.to-declaration__text {
  max-width: 820px;
  margin: 0;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.08;
  text-align: center;
  letter-spacing: 0;
}

.to-declaration__text em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ivory);
}

.to-sistema,
.to-cursos,
.to-negocios,
.to-certificado {
  padding: clamp(72px, 9vw, 118px) 0;
  background: #F8F5F0;
  color: var(--ivory-text);
}

.to-sistema__header,
.to-cursos__header,
.to-negocios__header { max-width: 620px; margin-bottom: clamp(32px, 5vw, 58px); }

.to-sistema__title,
.to-cursos__title,
.to-negocios__headline,
.to-miguel__headline,
.to-certificado__headline,
.to-faq__title {
  margin: 0;
  font-family: var(--font-main);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.to-sistema__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26,18,8,.16);
  border: 1px solid rgba(26,18,8,.16);
}

.to-sistema__card,
.to-curso-card,
.to-negocio-card {
  min-width: 0;
  background: #FCFAF7;
  color: var(--ivory-text);
  border-radius: 0;
  transition: background .32s var(--ease-out), transform .32s var(--ease-out);
}

.to-sistema__card { padding: 0 0 28px; }
.to-sistema__card:hover,
.to-curso-card:hover,
.to-negocio-card:hover { background: #F1ECE5; }

.to-sistema__media {
  height: clamp(210px, 28vw, 340px);
  margin-bottom: 28px;
  overflow: hidden;
  background: var(--bg);
}

.to-sistema__media img,
.to-miguel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(26%) contrast(1.05);
  transition: transform .7s var(--ease-out), filter .7s var(--ease-out);
}

.to-sistema__card:hover img { transform: scale(1.045); filter: grayscale(8%) contrast(1.08); }
.to-sistema__num,
.to-negocio-card__price,
.to-plan-item__price,
.to-curso-card__price {
  font-family: var(--font-mono);
  color: var(--terracota);
}

.to-sistema__num,
.to-sistema__card-title,
.to-sistema__card-text,
.to-sistema__card-link { margin-left: 28px; margin-right: 28px; }

.to-sistema__card-title,
.to-curso-card__name,
.to-negocio-card__name {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.to-sistema__card-text,
.to-curso-card__desc,
.to-negocio-card__text,
.to-negocios__sub,
.to-certificado__text {
  color: #4A4238;
  font-size: 15px;
  line-height: 1.65;
}

.to-sistema__card-link {
  display: inline-block;
  margin-top: 10px;
  color: #5F574E;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-decoration: none;
}

.to-cinematic {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(48px, 7vw, 90px) clamp(22px, 5vw, 72px);
  background: var(--bg-lab);
  color: var(--text);
}

.to-cinematic__video { opacity: .18; filter: grayscale(64%) contrast(1.18); }
.to-cinematic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.5) 60%, rgba(5,5,5,.86) 100%);
}

.to-cinematic__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 48% 58% at 68% 50%, rgba(196,98,42,.18), transparent 68%);
}

.to-cinematic__mark {
  position: absolute;
  top: 6vh;
  right: 5vw;
  font-family: var(--font-mono);
  font-size: 300px;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196,98,42,.20);
}

.to-cinematic__text {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  font-size: 92px;
  font-weight: 600;
  line-height: .96;
  letter-spacing: 0;
}

.to-cinematic__text span { display: block; }
.to-cinematic__text span:last-child { color: var(--text-muted); }

.to-modal-toggle {
  display: inline-flex;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(26,18,8,.18);
}

.to-modal-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5F574E;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.to-modal-btn.active { background: var(--terracota); color: var(--bg); }
.to-cursos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(26,18,8,.16); border: 1px solid rgba(26,18,8,.16); }
.to-curso-card { padding: clamp(24px, 4vw, 40px); }
.to-curso-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.to-curso-card__name { margin: 0; }
.to-curso-card__price { white-space: nowrap; font-size: 18px; }
.to-curso-card__desc { margin: 0 0 22px; }
.to-curso-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; padding-top: 18px; border-top: 1px solid rgba(26,18,8,.12); }
.to-spec { min-width: 0; }
.to-spec__label,
.to-modal-info,
.to-kit-badge,
.to-certificado__badge-mark,
.to-certificado__badge-sub,
.to-miguel__legal {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.to-spec__label { display: block; color: #6B6258; margin-bottom: 5px; }
.to-spec__val { display: block; color: #3F362E; font-family: var(--font-mono); font-size: 12px; }
.to-modal-panel { display: none; }
.to-modal-panel.visible { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.to-modal-info { display: block; color: #6B6258; line-height: 1.55; }
.to-kit-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--terracota); border: 1px solid rgba(196,98,42,.3); padding: 7px 9px; }

.to-personalizados {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 140px) 0;
  background: var(--bg-warm);
  color: var(--text);
}

.to-personalizados__video { opacity: .2; filter: grayscale(50%) contrast(1.12); }
.to-personalizados__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,13,7,.96), rgba(18,13,7,.76), rgba(18,13,7,.5));
}

.to-personalizados__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 78% 50%, rgba(196,98,42,.20), transparent 68%); }
.to-personalizados__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: start;
}

.to-personalizados__headline { margin: 0 0 16px; font-size: 52px; line-height: 1.04; }
.to-personalizados__sub,
.to-miguel__text { color: var(--text-muted); font-size: 15px; line-height: 1.72; }
.to-planes-list { list-style: none; margin: 0; padding: 0; background: rgba(5,5,5,.38); border: 1px solid rgba(240,237,232,.1); }
.to-plan-item { display: flex; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid rgba(240,237,232,.09); }
.to-plan-item:last-child { border-bottom: 0; }
.to-plan-item__name { color: var(--text); font-weight: 600; }
.to-plan-item__price { white-space: nowrap; font-size: 12px; }

.to-negocios { background: #EDEAE5; }
.to-negocios__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 28px; background: rgba(26,18,8,.16); border: 1px solid rgba(26,18,8,.16); }
.to-negocio-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.to-negocio-card__name { margin: 0; }
.to-negocio-card__price { font-size: 13px; }
.to-negocio-card__text { margin: 0; font-size: 14px; }

.to-miguel {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--bg-vault);
  color: var(--text);
}

.to-miguel__media {
  position: absolute;
  inset: 0 0 0 46%;
  opacity: .32;
}

.to-miguel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-vault) 0%, rgba(12,12,12,.4) 55%, rgba(12,12,12,.72) 100%);
}

.to-miguel__inner { position: relative; z-index: 2; max-width: 660px; }
.to-miguel__headline { margin-bottom: 20px; font-size: 96px; line-height: .9; }
.to-miguel__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--separator); color: var(--text-dim); line-height: 1.55; }

.to-certificado { background: #F5F2EE; }
.to-certificado__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.to-certificado__headline { margin-bottom: 16px; }
.to-certificado__badge {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 34px;
  text-align: center;
  background:
    linear-gradient(rgba(196,98,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,98,42,.035) 1px, transparent 1px),
    var(--bg-lab);
  background-size: 34px 34px;
  border: 1px solid rgba(26,18,8,.18);
  color: var(--text);
}

.to-certificado__badge-title { font-family: var(--font-serif); font-size: 26px; font-style: italic; color: var(--ivory); }
.to-certificado__badge-mark { color: var(--terracota); }
.to-certificado__badge-sub { color: var(--text-dim); }

.to-faq {
  padding: clamp(72px, 9vw, 118px) 0;
  background: var(--bg);
  color: var(--text);
}

.to-faq__title { margin-bottom: 34px; }
.to-faq__list { max-width: 800px; border-top: 1px solid var(--separator); }
.to-faq__item { border-bottom: 1px solid var(--separator); }
.to-faq__q {
  width: 100%;
  min-height: 68px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.to-faq__icon { color: var(--terracota); font-family: var(--font-mono); transition: transform .3s var(--ease-out); }
.to-faq__item.open .to-faq__icon { transform: rotate(45deg); }
.to-faq__a {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  transition: max-height .4s var(--ease-out), padding .3s;
}
.to-faq__item.open .to-faq__a { max-height: 320px; padding-bottom: 24px; }

.to-cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 12vw, 150px) 0;
  background: var(--bg-lab);
  color: var(--text);
  text-align: center;
}

.to-cta-final__inner { position: relative; z-index: 2; }
.to-cta-final__headline { margin: 0 0 30px; font-size: 72px; line-height: 1; letter-spacing: 0; }
.to-cta-final__headline span { display: block; }
.to-cta-final__headline span:last-child { color: var(--text-muted); }
.to-cta-final__ctas { justify-content: center; }

.to-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.to-fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .to-sistema__grid,
  .to-negocios__grid { grid-template-columns: repeat(2, 1fr); }
  .to-personalizados__inner,
  .to-certificado__inner { grid-template-columns: 1fr; }
  .to-miguel__media { inset: 0; opacity: .18; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  #cur-dot,
  #cur-ring { display: none; }
  .to-container { width: calc(100% - 40px); }
  .to-hero { min-height: 92svh; padding-top: calc(var(--ann-height, 0px) + 108px); padding-bottom: 44px; }
  .to-hero-os { display: none; }
  .to-hero__inner { width: 100%; max-width: 350px; }
  .to-hero__headline { font-size: 48px; }
  .to-hero__sub { max-width: 330px; font-size: 14px; }
  .to-hero__ctas,
  .to-cta-final__ctas { flex-direction: column; align-items: stretch; }
  .to-btn { width: 100%; }
  .to-declaration { min-height: 56vh; }
  .to-declaration__text { text-align: left; font-size: 36px; }
  .to-sistema__grid,
  .to-cursos__grid,
  .to-negocios__grid { grid-template-columns: 1fr; }
  .to-sistema__media { height: 240px; }
  .to-cinematic { min-height: 100svh; }
  .to-cinematic__mark { top: 8vh; right: 20px; font-size: 132px; }
  .to-cinematic__text { font-size: 52px; }
  .to-modal-toggle { width: 100%; display: grid; grid-template-columns: 1fr; }
  .to-curso-card__specs { grid-template-columns: 1fr; }
  .to-plan-item { flex-direction: column; gap: 6px; }
  .to-certificado__badge { min-height: 260px; }
  .to-faq__q { font-size: 15px; }
}
