/* ============================================================
   sections.css — layout por sección
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.nav__mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border-radius: 11px; letter-spacing: -.02em;
}
.nav__name { display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.02em; }
.nav__name em { font-family: var(--font-mono); font-style: normal; font-weight: 400;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-soft); margin-top: 3px; }
.nav--solid .nav__name { color: var(--ink); }
.nav:not(.nav--solid) .nav__name { color: #fff; }
.nav:not(.nav--solid) .nav__name em { color: rgba(255,255,255,.7); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; opacity: .82; transition: opacity .25s; }
.nav:not(.nav--solid) .nav__links a { color: #fff; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--accent-bright); transform: scaleX(0); transform-origin:left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: currentColor; display: block; }
.nav:not(.nav--solid) .nav__burger { color: #fff; }
.nav--solid .nav__burger { color: var(--ink); }
.nav__mobile { display: none; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy); color: var(--on-dark);
  padding-top: 96px; padding-bottom: 60px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(8,24,42,.94) 0%, rgba(8,24,42,.78) 42%, rgba(8,24,42,.42) 100%),
    radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--accent) 32%, transparent) 0%, transparent 55%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 90px 100%;
  mask-image: linear-gradient(to right, transparent, #000 30%);
}
.hero__content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5.4vw, 76px); color: #fff; margin-top: 22px;
  letter-spacing: -.035em; max-width: 16ch; text-wrap: balance;
}
.hero__role { color: var(--on-dark-soft); font-size: clamp(16px, 1.5vw, 19px); margin-top: 22px; max-width: 46ch; line-height: 1.55; }
.hero__creds { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 13px; }
.hero__creds li { display: flex; align-items: center; gap: 13px; font-size: 15px; color: var(--on-dark); font-weight: 500; }
.hero__creds li svg { color: var(--accent-bright); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__right { position: relative; }
.hero__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__portrait-tag { position: absolute; left: 16px; top: 16px; z-index: 3; }
.hero__portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__badge {
  position: absolute; left: -26px; bottom: 38px; z-index: 4;
  background: var(--surface); color: var(--ink);
  border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 13px;
  box-shadow: 0 24px 50px -22px rgba(8,24,42,.55); border: 1px solid var(--line);
}
.hero__badge-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--accent); letter-spacing: -.03em; }
.hero__badge-txt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); line-height: 1.4; }
.hero__scroll {
  position: absolute; left: var(--pad); bottom: 30px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__scroll-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-bright) 70%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--accent-bright) 60%, transparent);} 70%{box-shadow:0 0 0 12px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

/* ---------------- PROFILE ---------------- */
.profile { background: var(--surface); }
.profile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.profile__title { font-size: clamp(28px, 3.4vw, 46px); margin-top: 22px; max-width: 14ch; }
.profile__lead { color: var(--gray); font-size: 18px; line-height: 1.65; margin-top: 24px; max-width: 44ch; }
.profile__stats { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 120px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent); letter-spacing: -.03em; }
.stat__lbl { display: block; font-size: 12.5px; color: var(--gray); margin-top: 4px; }
.profile__creds { display: flex; flex-direction: column; gap: 0; }
.cred { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cred:first-child { padding-top: 0; }
.cred:last-child { border-bottom: 0; }
.cred__icon { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cred__title { font-size: 18px; letter-spacing: -.02em; }
.cred__sub { color: var(--gray); font-size: 14.5px; margin-top: 5px; }

/* ---------------- RDMAX ---------------- */
.rdmax { background: var(--navy-2); color: var(--on-dark); overflow: hidden; }
.rdmax__title { font-size: clamp(28px, 3.6vw, 50px); color: #fff; }
.rdmax__logo { width: clamp(220px, 30vw, 360px); height: auto; margin-top: 22px; display: block; }
.rdmax__title span { color: var(--accent-bright); }
.rdmax__head-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; margin-top: 22px; }
.rdmax__lead { color: var(--on-dark-soft); font-size: 17px; line-height: 1.6; }
.rdmax__panel {
  margin-top: 54px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.rdmax__panel-head { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rdmax__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.rdmax__panel-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--on-dark-soft); margin-left: 8px; }
.rdmax__status { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #4ade80; letter-spacing: .06em; }
.rdmax__panel-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; }
.rdmax__viewer { min-height: 420px; border-radius: 0 !important; position: relative; overflow: hidden; }
.rdmax__viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rdmax__features { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.08); }
.rdmax__feature { display: flex; gap: 16px; padding: 28px 30px; border-bottom: 1px solid rgba(255,255,255,.07); align-items: flex-start; }
.rdmax__feature:last-child { border-bottom: 0; }
.rdmax__feature-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-bright); }
.rdmax__feature h4 { color: #fff; font-size: 16.5px; letter-spacing: -.02em; }
.rdmax__feature p { color: var(--on-dark-soft); font-size: 14px; margin-top: 5px; line-height: 1.5; }

/* ---------------- COURSE ---------------- */
.course { background: var(--bg); }
.course__intro { text-align: center; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.course__title { font-size: clamp(28px, 3.8vw, 52px); margin-top: 22px; max-width: 20ch; text-wrap: balance; }
.course__title-sub { display: block; font-size: .5em; color: var(--accent); margin-top: 14px; letter-spacing: .02em; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; }
.course__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.course__badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.course__badge svg { color: var(--accent); }
.course__badge--hot { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 75%, transparent); }
.course__badge--hot svg { color: #fff; }
.course__story { position: relative; margin-top: 64px; }
.course__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.course__blocks { display: flex; flex-direction: column; gap: 28px; }
.cblock {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px); position: relative;
  box-shadow: 0 22px 50px -38px rgba(8,24,42,.4);
}
.cblock:nth-child(even) .cblock__index { order: 2; }
.cblock__index { display: flex; align-items: center; gap: 22px; }
.cblock__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 9vw, 120px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); letter-spacing: -.04em; }
.cblock__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.cblock__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.cblock__title { font-size: clamp(22px, 2.4vw, 32px); margin-top: 14px; letter-spacing: -.025em; }
.cblock__body { color: var(--gray); font-size: 16.5px; line-height: 1.6; margin-top: 14px; }
.cblock__metric { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.cblock__metric-v { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--accent); letter-spacing: -.03em; }
.cblock__metric-l { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }

.course__cta { position: relative; margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; }
.course__cta-bg { position: absolute; inset: 0; background:
  radial-gradient(90% 140% at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%); }
.course__cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); }
.course__cta-inner h3 { font-size: clamp(22px, 2.6vw, 36px); color: #fff; max-width: 18ch; letter-spacing: -.025em; }
.course__cta-right { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.course__cta-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.course__cta-btn { padding: 17px 30px; font-size: 16px; }

/* ---------------- GALLERY ---------------- */
.gallery { background: var(--surface); }
.gallery__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 46px; }
.gallery__title { font-size: clamp(28px, 3.6vw, 48px); margin-top: 18px; }
.gallery__lead { color: var(--gray); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 18px; grid-auto-flow: dense; }
.gcard { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; background: #05080d; }
.gcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .6s var(--ease); }
.gcard:hover .gcard__img { transform: scale(1.04); }
.gcard--tall { grid-row: span 2; }
.gcard--wide { grid-column: span 2; }
.gcard__meta { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 20px;
  background: linear-gradient(to top, rgba(8,24,42,.92), rgba(8,24,42,.2) 70%, transparent);
  transform: translateY(8px); opacity: .92; transition: transform .4s var(--ease), opacity .4s; }
.gcard:hover .gcard__meta { transform: none; opacity: 1; }
.gcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.gcard__tags .tag { background: rgba(255,255,255,.16); color: #fff; }
.gcard__name { color: #fff; font-size: 17px; letter-spacing: -.02em; }
.gcard::after { content:""; position:absolute; inset:0; z-index:1; box-shadow: inset 0 0 0 0 var(--accent-bright); transition: box-shadow .35s; pointer-events:none; }
.gcard:hover::after { box-shadow: inset 0 0 0 2px var(--accent-bright); }

/* ---------------- CONTACT ---------------- */
.contact { background: var(--navy-2); color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__title { font-size: clamp(28px, 3.4vw, 46px); color: #fff; margin-top: 20px; max-width: 14ch; }
.contact__lead { color: var(--on-dark-soft); font-size: 17px; line-height: 1.65; margin-top: 22px; max-width: 44ch; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* highlighted course details */
.course-details {
  display: flex; align-items: stretch; gap: 0; margin-top: 32px;
  border: 1px solid color-mix(in srgb, var(--accent-bright) 45%, transparent);
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, transparent), rgba(255,255,255,.02));
}
.course-details__seats {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 22px 24px; background: var(--accent);
  border-right: 1px solid rgba(255,255,255,.15);
}
.course-details__num { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: .9; color: #fff; letter-spacing: -.04em; }
.course-details__num-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); text-align: center; line-height: 1.3; }
.course-details__list { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 22px; }
.cd-item { display: flex; gap: 12px; align-items: flex-start; }
.cd-item__icon { flex: none; color: var(--accent-bright); margin-top: 2px; }
.cd-item p { font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.cd-item p strong { color: #fff; }
.cd-item--bring { padding: 12px; margin: -2px -4px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px dashed color-mix(in srgb, var(--accent-bright) 50%, transparent); }
.cd-item--bring p strong { color: var(--accent-bright); }
.channel { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); transition: border-color .3s, background .3s; }
a.channel:hover { border-color: var(--accent-bright); background: rgba(255,255,255,.03); }
.channel--featured {
  align-items: flex-start;
  border-color: color-mix(in srgb, var(--accent-bright) 55%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 20%, transparent), rgba(255,255,255,.02));
  padding-top: 22px;
}
.channel--featured:hover { border-color: var(--accent-bright); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 28%, transparent), rgba(255,255,255,.04)); }
.channel--featured .channel__icon { background: var(--accent); color: #fff; }
.channel__badge {
  position: absolute; top: -10px; left: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 100px;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 80%, transparent);
}
.channel__hint { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--accent-bright); }
.channel__icon { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent-bright); }
.channel__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.14); }
.wa-direct {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  background: #25d366; color: #04210f; font-weight: 700; font-size: 16px;
  padding: 16px 22px; border-radius: var(--radius);
  letter-spacing: -.01em; margin-top: -2px;
  box-shadow: 0 12px 30px -12px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.wa-direct:hover { transform: translateY(-2px); background: #2ee06f; box-shadow: 0 18px 40px -14px rgba(37,211,102,.7); }
.wa-direct svg { color: #04210f; }

/* Glossary gift call-out */
.gloss-gift {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(108deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 62%, #0a2540) 100%);
  color: #fff; border: 1px solid color-mix(in srgb, var(--accent-bright) 50%, transparent);
  box-shadow: 0 16px 38px -16px color-mix(in srgb, var(--accent) 75%, transparent);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.gloss-gift:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--accent) 85%, transparent); }
.gloss-gift__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 160% at 88% -10%, rgba(255,255,255,.28), transparent 55%);
}
.gloss-gift__icon {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
}
.gloss-gift__body { position: relative; display: flex; flex-direction: column; gap: 3px; }
.gloss-gift__kicker {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.82); font-weight: 500;
}
.gloss-gift__title { font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.gloss-gift__sub { font-size: 12.5px; color: rgba(255,255,255,.78); }
.gloss-gift__arrow {
  position: relative; flex: none; margin-left: auto; color: #fff;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); transition: transform .35s var(--ease), background .3s;
}
.gloss-gift__arrow svg { transform: rotate(-90deg); }
.gloss-gift:hover .gloss-gift__arrow { transform: translateY(-4px); background: rgba(255,255,255,.24); }
.channel strong { display: block; color: #fff; font-size: 15.5px; }
.channel span { color: var(--on-dark-soft); font-size: 13px; }

.contact__form-wrap { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 90px -45px rgba(0,0,0,.6); }
.contact__form-title { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.field em { color: var(--gray-soft); font-weight: 400; font-style: normal; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2);
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact__submit { justify-content: center; margin-top: 6px; }
.contact__submit.is-disabled { opacity: .5; pointer-events: none; }
.contact__note { font-size: 12.5px; color: var(--gray-soft); text-align: center; }
.contact__error { font-size: 13px; color: #d8392b; text-align: center; margin-top: 2px; font-weight: 600; }
.contact__success { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.contact__success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.contact__success h3 { color: var(--ink); font-size: 24px; }
.contact__success p { color: var(--gray); font-size: 16px; max-width: 36ch; }
.contact__success .btn { margin-top: 14px; }

/* ---------------- GLOSARIO ---------------- */
/* Standalone glossary page header */
.subnav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.subnav__inner .nav__brand { margin-right: auto; }
.subnav__inner .nav__name { color: var(--ink); }
.subnav__back {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 100px;
  transition: border-color .3s, color .3s, background .3s;
}
.subnav__back:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.subnav__back-arrow { transition: transform .3s var(--ease); font-size: 16px; }
.subnav__back:hover .subnav__back-arrow { transform: translateX(-3px); }
.gloss-main .glosario { padding-top: clamp(48px, 7vh, 90px); }

.glosario { background: var(--bg); }
.glosario__head { max-width: 820px; }
.glosario__title { font-size: clamp(26px, 3.2vw, 44px); margin-top: 18px; }
.glosario__author { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--gray); font-weight: 500; flex-wrap: wrap; }
.glosario__author-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; }
.glosario__tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 40px 0 26px; flex-wrap: wrap; }
.glosario__search { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 13px 20px; flex: 1; min-width: 260px; color: var(--gray); transition: border-color .25s, box-shadow .25s; }
.glosario__search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--accent); }
.glosario__search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.glosario__clear { border: 0; background: var(--line-2); color: var(--gray); width: 22px; height: 22px; border-radius: 50%; font-size: 16px; line-height: 1; display: grid; place-items: center; }
.glosario__clear:hover { background: var(--accent); color: #fff; }
.glosario__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.glosario__cat { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--gray); transition: all .25s; }
.glosario__cat:hover { border-color: var(--accent); color: var(--accent); }
.glosario__cat.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.glosario__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gterm { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.gterm:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(8,24,42,.4); }
.gterm__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gterm__t { font-size: 16.5px; letter-spacing: -.02em; line-height: 1.25; }
.gterm__cat { flex: none; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 5px; font-weight: 500; background: var(--accent-soft); color: var(--accent); margin-top: 2px; }
.gterm__cat--planos { background: color-mix(in srgb, #155e63 14%, transparent); color: #155e63; }
.gterm__cat--anatomico { background: color-mix(in srgb, #0a2540 12%, transparent); color: var(--navy); }
.gterm__cat--clinico { background: color-mix(in srgb, var(--accent-bright) 16%, transparent); color: var(--accent-bright); }
.gterm__d { color: var(--gray); font-size: 14.5px; line-height: 1.6; }
.glosario__empty { grid-column: 1 / -1; text-align: center; color: var(--gray); padding: 40px; font-size: 16px; }
.glosario__note { margin-top: 28px; font-size: 12.5px; color: var(--gray-soft); font-style: italic; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--navy); color: var(--on-dark); padding-block: 50px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; color: #fff; font-family: var(--font-display); font-size: 16px; }
.footer__brand span { color: var(--on-dark-soft); font-size: 12.5px; font-family: var(--font-mono); letter-spacing: .06em; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 14px; color: var(--on-dark-soft); transition: color .25s; }
.footer__links a:hover { color: #fff; }
.footer__social { display: inline-flex; gap: 10px; align-items: center; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); color: var(--on-dark-soft); transition: color .25s, border-color .25s, background .25s; }
.footer__social a:hover { color: #fff; border-color: var(--accent-bright); background: rgba(255,255,255,.04); }
.footer__legal { font-size: 12px; color: var(--gray-soft); text-align: right; line-height: 1.6; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; flex-direction: column; gap: 4px; padding: 16px var(--pad) 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav__mobile a:not(.btn) { padding: 12px 0; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-2); }
  .nav__mobile .btn { margin-top: 10px; justify-content: center; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__right { max-width: 380px; margin-top: 8px; }
  .hero__badge { left: auto; right: -10px; }
  .profile__grid, .rdmax__head-grid, .rdmax__panel-body, .gallery__head, .contact__grid { grid-template-columns: 1fr; }
  .rdmax__features { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .rdmax__viewer { min-height: 300px; }
  .cblock { grid-template-columns: 1fr; gap: 24px; }
  .cblock:nth-child(even) .cblock__index { order: 0; }
  .cblock__index { gap: 18px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .glosario__grid { grid-template-columns: repeat(2, 1fr); }
  .glosario__tools { flex-direction: column; align-items: stretch; }
  .gcard--wide { grid-column: span 2; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer__brand { justify-content: center; }
  .footer__legal { text-align: center; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .glosario__grid { grid-template-columns: 1fr; }
  .gcard--wide, .gcard--tall { grid-column: auto; grid-row: auto; }
  .hero__badge { display: none; }
  .course__rail { display: none; }
}
