:root {
  --bg: #efefef;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --line: rgba(33, 33, 33, 0.08);
  --text: #181818;
  --muted: #717171;
  --accent: #d8d8d8;
  --accent-2: #f4f4f4;
  --dark: #161616;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
  color: var(--text);
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, h1, h2, h3 { margin: 0; }

.container { width: var(--container); margin: 0 auto; }
.site-shell { min-height: 100vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(250, 250, 250, 0.84);
  border-bottom: 1px solid rgba(22, 22, 22, 0.05);
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
}
.brand img { width: 182px; }
.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.45rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.25s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }

@media (min-width: 981px) {
  .site-nav .portal-nav-link {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
}
.button-dark { background: var(--dark); color: white; }
.button-whatsapp { background: var(--whatsapp-btn-bg, var(--dark)); color: var(--whatsapp-btn-text, white); }
.button-portal {
  background: rgba(255,255,255,0.78);
  border-color: rgba(22,22,22,0.12);
  color: var(--text);
}
.button-portal.is-active {
  background: rgba(22,22,22,0.08);
  border-color: rgba(22,22,22,0.16);
}
.button-light {
  background: rgba(255,255,255,0.74);
  border-color: rgba(22,22,22,0.08);
}

.nav-cta-group {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(22,22,22,0.08);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--dark);
}

.hero,
.section { padding: 4.5rem 0; }

.hero#inicio {
  padding-top: 3rem;
}

.hero-grid,
.two-column-section,
.info-grid,
.human-grid,
.feature-grid,
.process-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid > *,
.two-column-section > *,
.info-grid > *,
.human-grid > *,
.feature-grid > *,
.process-grid > *,
.footer-grid > * {
  min-width: 0;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}
.hero#inicio .hero-grid {
  max-width: 1100px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.hero-copy {
  width: 100%;
  max-width: 42rem;
}
.hero#inicio .hero-copy {
  max-width: 39rem;
}
.two-column-section {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.human-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-grid,
.process-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  max-width: 11ch;
}
.hero-copy h1 span { color: #6f6f6f; }

.eyebrow,
.mini-label,
.process-number {
  display: inline-block;
  color: #707070;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 700;
}

.lead,
.section-heading p,
.hero-card-copy p,
.hero-highlights span,
.human-card p,
.feature-copy p,
.brand-panel p,
.info-panel p,
.schedule-list span,
.contact-list a,
.footer-brand p,
.footer-grid p,
.footer-links a {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}
.hero-copy > .lead { width: 100%; max-width: 58ch; margin-top: 1.35rem; }

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero-actions {
  width: 100%;
  max-width: 42rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
  width: 100%;
  max-width: 42rem;
  align-items: stretch;
}
.hero-highlights article,
.human-card,
.feature-card,
.info-panel,
.brand-panel,
.cta-box,
.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-highlights article,
.human-card,
.info-panel,
.process-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}
.hero-highlights article {
  height: 100%;
}
.hero-highlights strong,
.human-card h3,
.feature-copy h3,
.info-panel h3,
.dark-card a,
.footer-grid h3 {
  display: block;
  margin-bottom: 0.45rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding-bottom: 7.5rem;
}
.hero#inicio .hero-visual {
  min-height: auto;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
}
.hero-main-card,
.hero-floating-card,
.cta-box,
.brand-panel,
.feature-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.glass-card,
.cta-box,
.brand-panel,
.feature-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
}
.hero-main-card {
  padding: 1rem;
  max-width: 450px;
}
.hero#inicio .hero-main-card {
  width: min(100%, 430px);
  margin-inline: auto;
}
.hero-beta {
  padding-top: 3rem;
}
.beta-hero-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: min(100%, 1160px);
  margin-inline: auto;
  border-radius: 40px;
  padding: 1.25rem;
  border: 1px solid rgba(114, 154, 255, 0.2);
  background:
    radial-gradient(circle at 12% 16%, rgba(66, 118, 255, 0.28), rgba(66, 118, 255, 0) 28%),
    radial-gradient(circle at 84% 18%, rgba(78, 234, 255, 0.18), rgba(78, 234, 255, 0) 26%),
    linear-gradient(140deg, #07101f 0%, #09172a 45%, #060912 100%);
  box-shadow: 0 36px 90px rgba(5, 9, 18, 0.34);
}
.beta-hero-shell::before,
.beta-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.beta-hero-shell::before {
  background:
    linear-gradient(118deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 28%),
    repeating-linear-gradient(116deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 74px);
  opacity: 0.42;
}
.beta-hero-shell::after {
  inset: auto auto -32% 56%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(61, 116, 255, 0.22) 0%, rgba(61, 116, 255, 0) 72%);
  filter: blur(8px);
}
.beta-hero-head {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.15rem 0.2rem 1.2rem;
}
.beta-hero-head-copy {
  max-width: 36rem;
}
.beta-hero-headline {
  margin-top: 0.55rem;
  color: rgba(222, 230, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.6;
}
.beta-hero-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  padding-top: 0.1rem;
}
.beta-hero-kicker,
.beta-hero-counter {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(190, 208, 255, 0.88);
}
.beta-hero-viewport {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(12, 21, 39, 0.94), rgba(6, 12, 24, 0.92));
  border: 1px solid rgba(153, 181, 255, 0.1);
  transition: height 0.45s ease;
}
.beta-hero-slide {
  position: relative;
  grid-area: 1 / 1;
  padding: 0;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.988);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}
.beta-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.beta-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(2.25rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.beta-hero-copy {
  width: 100%;
  max-width: 40rem;
  padding: clamp(0.5rem, 1vw, 0.95rem) 0;
  position: relative;
  z-index: 2;
}
.beta-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 164, 255, 0.18);
  background: rgba(255,255,255,0.05);
  color: rgba(228, 236, 255, 0.84);
}
.beta-hero-eyebrow::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5af2ff, #3d74ff);
  box-shadow: 0 0 18px rgba(90, 242, 255, 0.55);
}
.beta-hero-copy h1 {
  max-width: 11ch;
  margin-top: 1.15rem;
  color: #f5f8ff;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
  text-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.beta-hero-copy .lead {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: rgba(214, 223, 244, 0.82);
  font-size: 1.05rem;
  line-height: 1.82;
}
.beta-hero-actions {
  max-width: 42rem;
  margin-top: 1.65rem;
}
.beta-hero-actions .button-dark {
  border: 0;
  background: linear-gradient(135deg, #4ef0ff, #3e74ff);
  color: #07101f;
  box-shadow: 0 18px 40px rgba(64, 117, 255, 0.28);
}
.beta-hero-actions .button-light {
  border-color: rgba(141, 170, 255, 0.2);
  background: rgba(255,255,255,0.06);
  color: #ecf3ff;
}
.beta-hero-actions .button:hover {
  box-shadow: 0 18px 34px rgba(7, 16, 31, 0.32);
}
.beta-hero-highlights {
  margin-top: 1.9rem;
  max-width: 100%;
}
.beta-hero-highlights article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 168, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(4, 10, 20, 0.72);
  box-shadow: none;
}
.beta-hero-highlight-number {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: rgba(118, 203, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.beta-hero-highlights strong {
  color: #f0f5ff;
}
.beta-hero-highlights span:last-child {
  color: rgba(204, 214, 236, 0.74);
}
.beta-hero-visual {
  min-height: auto;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  position: relative;
}
.beta-hero-stage {
  position: relative;
  width: min(100%, 460px);
  padding: 2rem 1rem 2.35rem;
}
.beta-hero-stage-glow,
.beta-hero-stage-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.beta-hero-stage-glow {
  inset: 11% 4% auto 18%;
  height: 66%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(84, 135, 255, 0.36) 0%, rgba(84, 135, 255, 0) 70%);
  filter: blur(18px);
}
.beta-hero-stage-grid {
  inset: 8% 10% 10% 10%;
  border-radius: 34px;
  border: 1px solid rgba(148, 175, 255, 0.12);
  background:
    linear-gradient(rgba(112, 155, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 155, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.85));
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.85));
}
.beta-hero-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 1rem;
  border-radius: 32px;
  border: 1px solid rgba(164, 191, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    rgba(7, 13, 26, 0.7);
  box-shadow: 0 28px 55px rgba(2, 5, 11, 0.34);
}
.beta-hero-media-frame {
  position: relative;
  aspect-ratio: 4 / 5.1;
  border-radius: 24px;
}
.beta-hero-media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(8,12,24,0) 0%, rgba(8,12,24,0.38) 100%);
  pointer-events: none;
}
.beta-hero-media,
.beta-hero-media-frame img,
.beta-hero-media-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.media-asset-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.media-asset-fallback,
.media-asset-stack video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.media-asset-fallback {
  z-index: 0;
  transition: opacity 0.28s ease;
}
.media-asset-stack video {
  z-index: 1;
  background: transparent;
}
.media-asset-stack.is-ready .media-asset-fallback {
  opacity: 0;
  pointer-events: none;
}
.media-asset-stack.is-error video {
  opacity: 0;
  pointer-events: none;
}
.beta-hero-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.beta-hero-dots {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  padding-top: 1rem;
}
.beta-hero-dot {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 86px;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(133, 165, 255, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  color: #eff4ff;
  font: inherit;
  appearance: none;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.beta-hero-dot:hover,
.beta-hero-dot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(87, 142, 255, 0.34);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(7, 16, 31, 0.24);
  outline: none;
}
.beta-hero-dot.is-active {
  transform: translateY(-2px);
  border-color: rgba(87, 142, 255, 0.46);
  background: linear-gradient(135deg, rgba(84, 135, 255, 0.22), rgba(255,255,255,0.08));
  box-shadow: 0 18px 34px rgba(7, 16, 31, 0.28);
}
.beta-hero-dot-index {
  color: rgba(117, 209, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.beta-hero-dot-thumb {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}
.beta-hero-dot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.beta-hero-dot-copy {
  min-width: 0;
}
.beta-hero-dot-kicker {
  display: block;
  color: rgba(171, 193, 247, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.beta-hero-dot-title {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #f4f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.beta-hero-arrow {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(141, 170, 255, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #f4f8ff;
  font: inherit;
  appearance: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.beta-hero-arrow:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4ef0ff, #3e74ff);
  color: #07101f;
  box-shadow: 0 16px 28px rgba(17,17,17,0.22);
}
.beta-hero-arrow:focus-visible {
  outline: 2px solid rgba(90, 242, 255, 0.75);
  outline-offset: 2px;
}
.beta-hero-arrow span {
  font-size: 1.45rem;
  line-height: 1;
}
.beta-hero-floating-card {
  position: absolute;
  right: 0;
  bottom: 0.9rem;
  z-index: 3;
  width: min(100%, 220px);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 175, 255, 0.18);
  border-radius: 22px;
  background: rgba(6, 13, 25, 0.78);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}
.beta-hero-floating-card strong,
.beta-hero-floating-card span {
  display: block;
}
.beta-hero-floating-card strong {
  margin-top: 0.55rem;
  color: #f0f6ff;
  font-size: 1rem;
}
.beta-hero-floating-card span:last-child {
  margin-top: 0.4rem;
  color: rgba(199, 211, 239, 0.78);
  line-height: 1.55;
  font-size: 0.92rem;
}
.beta-hero-floating-index {
  color: rgba(117, 209, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-card-copy { padding: 1rem 0.5rem 0.35rem; }
.dark-card {
  position: absolute;
  right: -0.75rem;
  bottom: 0;
  transform: translateY(38%);
  max-width: 290px;
  background: #171717;
  color: white;
  padding: 1.4rem;
  z-index: 3;
}
.dark-card .mini-label { color: rgba(255,255,255,0.65); }
.dark-card a {
  font-size: 1.32rem;
  font-weight: 700;
}
.dark-card p { color: rgba(255,255,255,0.72); }

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  background: #f0f0f0;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait { aspect-ratio: 4 / 5.2; }
.portrait-soft { aspect-ratio: 4 / 5; }
.square { aspect-ratio: 1 / 1; }
.wide { aspect-ratio: 4 / 4.2; }
.landscape { aspect-ratio: 16 / 10; }

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin-bottom: 2rem;
}
.compact-heading { margin-bottom: 0; }
.section-heading h2,
.brand-panel h2,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.specialties-layout { align-items: center; }
.hero.hero-beta + .specialties-section {
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}
.specialties-visual .media-frame {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.tag-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(22,22,22,0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.human-cards {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
.human-visuals {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: stretch;
}
.stack-card {
  padding: 0.9rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stack-card.tall {
  grid-row: span 2;
}
.feature-card {
  overflow: hidden;
}
.feature-card .media-frame {
  border-radius: 0;
}
.feature-copy {
  padding: 1.35rem;
}

.brand-panel,
.cta-box {
  padding: 2.2rem;
}
.brand-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.process-grid {
  margin-top: 1.25rem;
}
.process-card h3 { font-size: 1.08rem; }

.info-panel ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.schedule-list li,
.contact-list li {
  display: grid;
  gap: 0.18rem;
}
.schedule-list strong,
.contact-list a,
.info-panel .text-link {
  font-weight: 600;
}
.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--text);
}

.site-footer {
  padding: 0 0 2.8rem;
}
.footer-grid {
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr;
  align-items: start;
  gap: 1.6rem;
  padding-top: 0.5rem;
}
.footer-grid > div {
  padding: 0;
}
.footer-grid-clean {
  border-top: 1px solid rgba(22,22,22,0.06);
  padding-top: 2rem;
}
.footer-brand {
  display: grid;
  justify-items: start;
  align-content: start;
}
.footer-brand img {
  width: 180px;
}
.footer-grid p,
.footer-links a {
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
}
.footer-bottom-clean {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(22,22,22,0.06);
  text-align: center;
}
.footer-bottom-clean p {
  color: #8a8a8a;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }



.feature-grid-four {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.featured-portrait {
  aspect-ratio: 4 / 5;
}
.map-embed {
  margin: 0.85rem 0 0.8rem;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(22,22,22,0.08);
  min-height: 200px;
  background: rgba(255,255,255,0.7);
}
.map-embed iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.contact-rich {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
  line-height: 1.68;
}
.contact-rich p {
  margin: 0;
}
.contact-rich a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.review-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.review-card .source {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(22,22,22,0.06);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-card p {
  color: var(--text);
  line-height: 1.65;
}
.review-card .author {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column-section,
  .human-grid,
  .feature-grid,
  .feature-grid-four,
  .review-grid,
  .info-grid,
  .footer-grid,
  .hero-highlights,
  .process-grid,
  .brand-panel {
    grid-template-columns: 1fr 1fr;
  }
  .info-grid article:last-child,
  .footer-grid > :first-child {
    grid-column: span 2;
  }
  .hero-visual { min-height: auto; }
  .dark-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
  .info-grid article:last-child,
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .stack-card.tall { grid-row: auto; }
}

@media (max-width: 560px) {
  .brand img { width: 150px; }
  .hero-copy h1 { font-size: 2.65rem; }
  .section-heading h2,
  .brand-panel h2,
  .cta-box h2 { font-size: 2rem; }
  .button { width: 100%; }
}

@media (max-width: 760px) {
  .footer-grid,
  .footer-grid-clean {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .footer-brand {
    justify-items: center;
    text-align: center;
    padding-bottom: 0.35rem;
  }
  .footer-grid > div {
    padding: 0;
  }
  .footer-bottom-clean {
    margin-top: 1.35rem;
  }
}


@media (max-width: 980px) {
  .beta-hero-shell {
    padding: 1rem;
    border-radius: 34px;
  }
  .beta-hero-head {
    padding-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .beta-hero-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .beta-hero-viewport {
    border-radius: 28px;
  }
  .beta-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
    padding: 1.35rem;
  }
  .beta-hero-copy {
    max-width: 100%;
    padding: 0.25rem 0 0;
  }
  .beta-hero-copy h1 {
    max-width: 12ch;
  }
  .beta-hero-visual {
    width: 100%;
  }
  .beta-hero-stage {
    width: min(100%, 520px);
    margin-inline: auto;
    padding-top: 1.2rem;
  }
  .beta-hero-dots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-wrap {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    border: 1px solid rgba(22,22,22,0.08);
    box-shadow: var(--shadow);
    z-index: 110;
  }
  .site-nav.is-open { display: flex; }
  .nav-cta { display: none; }
  .site-nav .portal-nav-link { display: inline-flex; }
}

@media (min-width: 981px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex !important; }
}


/* Ajustes extra mobile */
.lead,
.section-heading p,
.hero-card-copy p,
.hero-highlights span,
.human-card p,
.feature-copy p,
.brand-panel p,
.info-panel p,
.schedule-list span,
.contact-list a,
.footer-grid p,
.footer-links a,
.compact-card p,
.review-card p,
.process-tile p,
.faq-item p,
.accordion-body,
.contact-box p {
  text-wrap: pretty;
  hyphens: auto;
}

.menu-toggle{
  place-items:center;
  flex-shrink:0;
  position:relative;
}
.menu-toggle span{
  position:absolute;
  left:50%;
  top:50%;
  width:18px;
  height:2px;
  margin:0;
  background:var(--dark);
  transition: transform 0.24s ease, opacity 0.2s ease;
  transform-origin: center;
}
.menu-toggle span:first-child{
  transform: translate(-50%, calc(-50% - 2.5px));
}
.menu-toggle span:last-child{
  transform: translate(-50%, calc(-50% + 2.5px));
}
.menu-toggle.is-open span:first-child{
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-toggle.is-open span:last-child{
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 760px) {
  .hero-beta {
    padding-top: 2.35rem;
  }
  .beta-hero-shell {
    padding: 0.8rem;
    border-radius: 28px;
  }
  .beta-hero-head-actions {
    gap: 0.65rem;
  }
  .beta-hero-viewport {
    border-radius: 22px;
  }
  .beta-hero-grid {
    gap: 1.4rem;
    padding: 1rem;
  }
  .beta-hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
    max-width: 100%;
  }
  .beta-hero-copy .lead {
    max-width: 100%;
    font-size: 1rem;
  }
  .beta-hero-actions {
    display: grid;
    gap: 0.8rem;
  }
  .beta-hero-actions .button {
    width: 100%;
  }
  .beta-hero-dots {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .beta-hero-dot {
    grid-template-columns: auto 52px minmax(0, 1fr);
    min-height: 78px;
    padding: 0.75rem 0.8rem;
  }
  .beta-hero-dot-thumb {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .beta-hero-stage {
    padding: 0.7rem 0 1.7rem;
  }
  .beta-hero-floating-card {
    right: 0.25rem;
    bottom: 0;
  }
  .hero,
  .section { padding: 3.35rem 0; }

  .hero#inicio {
    padding-top: 2.6rem;
  }

  .hero-grid,
  .two-column-section,
  .human-grid,
  .feature-grid,
  .feature-grid-four,
  .review-grid,
  .info-grid,
  .process-grid,
  .brand-panel,
  .hero-highlights {
    grid-template-columns: 1fr !important;
  }

  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero-copy,
  .section-heading,
  .brand-panel,
  .cta-box,
  .page-intro-box {
    text-align: left;
  }

  .hero-copy .lead,
  .section-heading p,
  .brand-panel p,
  .cta-box p,
  .human-card p,
  .feature-copy p,
  .compact-card p,
  .review-card p,
  .faq-item p,
  .process-tile p,
  .contact-box p,
  .info-panel p {
    text-align: justify;
    text-justify: inter-word;
  }

  .hero-main-card,
  .feature-card,
  .stack-card,
  .visual-card,
  .page-intro-visual,
  .ba-card,
  .ba-feature-card {
    margin-inline: auto;
  }

  .human-visuals,
  .specialties-visual,
  .page-intro-visual-wrap {
    justify-content: center !important;
  }

  .specialties-layout .section-heading {
    order: 1;
    margin-bottom: 0;
  }

  .specialties-layout .specialties-visual {
    order: 2;
    margin-top: 0.35rem;
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 142px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .site-nav {
    top: calc(100% + 0.35rem);
    border-radius: 20px;
    padding: 1rem;
  }

  .info-grid,
  .contact-strip {
    grid-template-columns: 1fr !important;
  }

  .info-grid article,
  .contact-strip article {
    width: 100%;
    max-width: 100%;
  }

  .cta-actions {
    display: grid;
    gap: 0.85rem;
  }

  [data-mobile-featured-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem;
  }

  [data-mobile-featured-grid] .feature-copy {
    padding: 1rem 0.9rem;
  }

  [data-mobile-featured-grid] .feature-copy h3 {
    font-size: 1rem;
  }

  [data-mobile-featured-grid] .feature-copy p {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .beta-hero-shell {
    border-radius: 24px;
  }
  .beta-hero-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .beta-hero-headline {
    font-size: 0.88rem;
  }
  .beta-hero-kicker,
  .beta-hero-counter {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }
  .beta-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }
  .beta-hero-arrow {
    width: 42px;
    height: 42px;
  }
  .beta-hero-media-frame {
    aspect-ratio: 4 / 5;
  }
  .beta-hero-floating-card {
    position: static;
    width: 100%;
    margin-top: 0.85rem;
  }
  .beta-hero-dot {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
  }
  .beta-hero-dot-thumb {
    display: none;
  }
}


.hero-visual-mobile,
.human-visual-mobile {
  display: none;
}



/* Correcciones visuales v7 */
@media (min-width: 981px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }
  .nav-wrap.nav-wrap-no-cta {
    grid-template-columns: auto 1fr;
  }
  .nav-wrap.nav-wrap-no-cta .site-nav {
    justify-self: end;
    justify-content: flex-end !important;
  }
  .menu-toggle {
    display: none !important;
  }
  .site-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .nav-cta {
    display: inline-flex !important;
    justify-self: end;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid !important;
  }
  .nav-cta {
    display: none !important;
  }
  .site-nav {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    display: block !important;
  }
  .hero-copy,
  .hero-copy > *,
  .hero-visual-mobile,
  .hero-main-card,
  .human-visual-mobile,
  .human-visual-mobile .stack-card {
    max-width: 100%;
  }
  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }
  .hero-visual {
    display: none !important;
  }
  .hero-visual-mobile {
    display: block;
    margin: 1.15rem auto 0;
    max-width: 360px;
    width: 100%;
  }
  .hero-visual-mobile .hero-main-card {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-highlights {
    grid-template-columns: 1fr !important;
    margin-top: 1.15rem !important;
  }
  .hero-highlights article {
    width: 100%;
  }
  .hero-actions {
    gap: 0.8rem;
  }
  .hero-actions .button {
    width: 100%;
  }

  .human-visuals {
    display: none !important;
  }
  .human-visual-mobile {
    display: block;
    margin: 1rem auto 1.15rem;
    max-width: 420px;
    width: 100%;
  }
  .human-visual-mobile .stack-card {
    margin: 0 auto;
    width: 100%;
  }
  .human-cards {
    margin-top: 0;
  }

  .footer-grid-clean {
    grid-template-columns: 1fr !important;
  }

  /* v24: hero home móvil más visual sin tocar header ni otras páginas */
  .hero#inicio .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero#inicio .hero-copy .eyebrow { order: 1; }
  .hero#inicio .hero-copy h1 { order: 2; }
  .hero#inicio .hero-copy .hero-visual-mobile {
    order: 3;
    display: block;
    margin: 1.1rem auto 0.95rem;
    max-width: 100%;
    width: 100%;
  }
  .hero#inicio .hero-copy > .lead {
    order: 4;
    margin-top: 0;
  }
  .hero#inicio .hero-copy .hero-actions { order: 5; }
  .hero#inicio .hero-copy .hero-highlights { order: 6; }
  .specialties-section .tag-list { justify-content: center; }

  .hero#inicio .hero-visual-mobile .hero-main-card {
    max-width: 100%;
    padding: 0.75rem;
  }

  .hero#inicio .hero-visual-mobile .media-frame.portrait {
    aspect-ratio: 16 / 10;
  }

  .hero#inicio .hero-card-copy {
    padding: 0.8rem 0.35rem 0.15rem;
  }
}


/* Patch v13: icono hamburguesa mobile más cerrado, sin tocar layout */
@media (max-width: 980px) {
  .menu-toggle span {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px;
    transform-origin: center !important;
  }

  .menu-toggle span:first-child {
    top: calc(50% - 3px) !important;
    transform: translateX(-50%) !important;
  }

  .menu-toggle span:last-child {
    top: calc(50% + 3px) !important;
    transform: translateX(-50%) !important;
  }

  .menu-toggle.is-open span:first-child {
    top: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .menu-toggle.is-open span:last-child {
    top: 50% !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }
}

/* Slider builder */
.hero.hero-beta {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.25rem);
  background: transparent;
}

.hero-builder {
  --hero-slider-height: 500px;
  --hero-slider-height-mobile: 432px;
  --hero-slider-gap-desktop: 20px;
  --hero-slider-gap-mobile: 16px;
  --hero-slider-padding-desktop: 50px;
  --hero-slider-padding-mobile: 50px;
  --hero-slider-nav-color: #ffffff;
  --hero-slider-duration: 600ms;
  position: relative;
  width: 100%;
  min-width: 0;
  color: #f5f9ff;
  border-radius: 32px;
  overflow: hidden;
  touch-action: pan-y;
  border: 1px solid rgba(22, 22, 22, 0.06);
  background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
  box-shadow: var(--shadow);
}

.hero-builder.is-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-radius: 0;
  border-inline: 0;
  box-shadow: none;
}

.hero-builder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.48), transparent 18% 82%, rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(22, 22, 22, 0.05));
  pointer-events: none;
  z-index: 1;
}

.hero-builder-progress {
  position: absolute;
  inset: 18px 18px auto;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 22, 22, 0.08);
  z-index: 6;
}

.hero-builder-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(22, 22, 22, 0.92), rgba(95, 95, 95, 0.9));
  box-shadow: 0 0 18px rgba(22, 22, 22, 0.18);
}

.hero-builder-viewport {
  position: relative;
  min-height: var(--hero-slider-height);
  height: var(--hero-slider-height);
}

.hero-builder-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(5.5%, 0, 0) scale(0.985);
  transition:
    opacity var(--hero-slider-duration) ease,
    transform var(--hero-slider-duration) ease,
    visibility 0s linear var(--hero-slider-duration);
}

.hero-builder-slide.is-before {
  transform: translate3d(-5.5%, 0, 0) scale(0.985);
}

.hero-builder-slide.is-after {
  transform: translate3d(5.5%, 0, 0) scale(0.985);
}

.hero-builder-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.hero-builder[data-transition-effect="fade"] .hero-builder-slide,
.hero-builder[data-transition-effect="fade"] .hero-builder-slide.is-before,
.hero-builder[data-transition-effect="fade"] .hero-builder-slide.is-after {
  transform: none;
}

.hero-builder-slide-media,
.hero-builder-slide-link,
.hero-builder-backdrop,
.hero-builder-inner {
  position: absolute;
  inset: 0;
}

.hero-builder-slide-media {
  overflow: hidden;
}

.hero-builder-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slide-image-overlay-bg, transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-builder-bg-media,
.hero-builder-slide-media img,
.hero-builder-slide-media .media-asset-stack,
.hero-builder-slide-media .media-asset-stack video,
.hero-builder-slide-media .media-asset-fallback {
  width: 100%;
  height: 100%;
}

.hero-builder-bg-media,
.hero-builder-slide-media img,
.hero-builder-slide-media .media-asset-stack video,
.hero-builder-slide-media .media-asset-fallback {
  object-fit: cover;
}

.hero-builder-slide-media.fit-contain .hero-builder-bg-media,
.hero-builder-slide-media.fit-contain img,
.hero-builder-slide-media.fit-contain .media-asset-stack video,
.hero-builder-slide-media.fit-contain .media-asset-fallback {
  object-fit: contain;
  background: rgba(5, 10, 18, 0.82);
}

.hero-builder-slide.effect-zoom .hero-builder-bg-media,
.hero-builder-slide.effect-zoom .hero-builder-slide-media img,
.hero-builder-slide.effect-zoom .hero-builder-slide-media .media-asset-stack video,
.hero-builder-slide.effect-zoom .hero-builder-slide-media .media-asset-fallback {
  transition: transform calc(var(--hero-slider-duration) * 2.3) ease;
}

.hero-builder-slide.effect-zoom.is-active .hero-builder-bg-media,
.hero-builder-slide.effect-zoom.is-active .hero-builder-slide-media img,
.hero-builder-slide.effect-zoom.is-active .hero-builder-slide-media .media-asset-stack video,
.hero-builder-slide.effect-zoom.is-active .hero-builder-slide-media .media-asset-fallback {
  transform: scale(1.04);
}

.hero-builder-slide-link {
  z-index: 2;
}

.hero-builder-backdrop {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.04), transparent 22%);
  z-index: 2;
  pointer-events: none;
}

.hero-builder-inner {
  z-index: 3;
  display: grid;
  align-items: center;
  padding: clamp(34px, 4vw, 52px) var(--hero-slider-padding-desktop);
}

.hero-builder-slide.layout-right .hero-builder-inner {
  justify-items: end;
}

.hero-builder-slide.layout-center .hero-builder-inner {
  justify-items: center;
}

.hero-builder-slide.layout-top .hero-builder-inner {
  align-items: start;
}

.hero-builder-slide.layout-bottom .hero-builder-inner {
  align-items: end;
}

.hero-builder-content {
  position: relative;
  display: grid;
  gap: var(--hero-slider-gap-desktop);
  width: min(100%, 640px);
  padding: clamp(18px, 2vw, 24px);
  z-index: 4;
}

.hero-builder-slide.layout-center .hero-builder-content {
  justify-items: center;
  text-align: center;
}

.hero-builder-slide.layout-right .hero-builder-content {
  justify-items: end;
  text-align: right;
}

.hero-builder-content.has-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--slide-panel-bg, rgba(22, 22, 22, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-builder-content > * {
  position: relative;
  z-index: 1;
}

.hero-builder-content-media {
  width: clamp(120px, calc(var(--slide-media-size, 36) * 1vw + 110px), 360px);
}

.hero-builder-content-media-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  box-shadow: 0 22px 36px rgba(4, 12, 25, 0.34);
}

.hero-builder-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 247, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-builder-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.32);
}

.hero-builder-title {
  margin: 0;
  max-width: 12ch;
  color: var(--slide-title-color, #ffffff);
  font-size: clamp(2.1rem, calc(var(--slide-title-size, 56) * 1px), 5.5rem);
  font-weight: var(--slide-title-weight, 700);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
  text-shadow: 0 12px 36px rgba(5, 14, 24, 0.42);
}

.hero-builder-slide.layout-center .hero-builder-title,
.hero-builder-slide.layout-top .hero-builder-title,
.hero-builder-slide.layout-bottom .hero-builder-title {
  max-width: 14ch;
}

.hero-builder-text {
  max-width: 52ch;
  color: var(--slide-text-color, #f5f9ff);
  font-size: clamp(1rem, calc(var(--slide-text-size, 21) * 1px), 1.6rem);
  line-height: 1.62;
  text-wrap: pretty;
  opacity: 0.96;
}

.hero-builder-text p:first-child,
.hero-builder-text > *:first-child {
  margin-top: 0;
}

.hero-builder-text p:last-child,
.hero-builder-text > *:last-child {
  margin-bottom: 0;
}

.hero-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-builder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  font-size: clamp(0.92rem, calc(var(--slide-button-size, 14) * 1px), 1.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hero-builder-button.shape-pill {
  border-radius: 999px;
}

.hero-builder-button.shape-rounded {
  border-radius: 18px;
}

.hero-builder-button.shape-square {
  border-radius: 8px;
}

.hero-builder-button.is-filled {
  background: var(--slide-button-color, #ffffff);
  color: var(--slide-button-text-color, #081018);
  box-shadow: 0 16px 28px rgba(5, 12, 22, 0.26);
}

.hero-builder-button.is-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--slide-button-color, #ffffff);
  border-color: var(--slide-button-color, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-builder-button:hover {
  transform: translateY(-1px);
}

.hero-builder-button.is-filled:hover {
  box-shadow: 0 20px 34px rgba(5, 12, 22, 0.32);
}

.hero-builder-button.is-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-builder-arrows {
  position: absolute;
  inset: 50% 24px auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(-50%);
  z-index: 6;
  pointer-events: none;
}

.hero-builder-arrow {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 13, 22, 0.48);
  color: var(--hero-slider-nav-color);
  box-shadow: 0 18px 32px rgba(3, 9, 17, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.hero-builder-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.hero-builder-arrow:hover:not(:disabled) {
  transform: scale(1.03);
  background: rgba(9, 16, 29, 0.72);
}

.hero-builder-arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.hero-builder-pagination {
  position: absolute;
  inset: auto 22px 22px;
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  z-index: 6;
}

.hero-builder-page {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(8, 14, 24, 0.46);
  color: rgba(245, 249, 255, 0.88);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.hero-builder-page:hover,
.hero-builder-page.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(10, 18, 32, 0.8);
}

.hero-builder-page-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-builder-page.is-active .hero-builder-page-bullet {
  background: var(--hero-slider-nav-color);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.26);
}

.hero-builder-page-number {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-builder-page-thumb {
  width: 70px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-builder-page-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-builder-page-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  text-align: left;
}

.hero-builder-page-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
}

.hero-builder-page-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-builder[data-pagination-style="bullets"] .hero-builder-page {
  width: 18px;
  min-width: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-builder[data-pagination-style="bullets"] .hero-builder-page-thumb,
.hero-builder[data-pagination-style="bullets"] .hero-builder-page-copy,
.hero-builder[data-pagination-style="bullets"] .hero-builder-page-number {
  display: none;
}

.hero-builder[data-pagination-style="bullets"] .hero-builder-page-bullet {
  width: 12px;
  height: 12px;
}

.hero-builder[data-pagination-style="numbers"] .hero-builder-page-thumb,
.hero-builder[data-pagination-style="numbers"] .hero-builder-page-copy,
.hero-builder[data-pagination-style="numbers"] .hero-builder-page-bullet {
  display: none;
}

.hero-builder[data-pagination-style="numbers"] .hero-builder-page {
  min-width: 48px;
  justify-content: center;
}

.hero-builder[data-pagination-style="thumbnails"] .hero-builder-page-bullet,
.hero-builder[data-pagination-style="thumbnails"] .hero-builder-page-number {
  display: none;
}

.hero-builder[data-show-arrows="0"] .hero-builder-arrows {
  display: none;
}

.hero-builder[data-show-pagination="0"] .hero-builder-pagination {
  display: none;
}

@media (max-width: 1180px) {
  .hero-builder-pagination {
    gap: 0.65rem;
  }

  .hero-builder[data-pagination-style="thumbnails"] .hero-builder-page-copy {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-builder-viewport {
    min-height: var(--hero-slider-height-mobile);
    height: var(--hero-slider-height-mobile);
  }

  .hero-builder-inner {
    padding: 28px var(--hero-slider-padding-mobile) 92px;
  }

  .hero-builder-content {
    width: min(100%, 560px);
    gap: var(--hero-slider-gap-mobile);
  }

  .hero-builder-title {
    font-size: clamp(2rem, calc(var(--slide-title-size, 56) * 0.78px), 4.1rem);
  }

  .hero-builder-text {
    font-size: clamp(0.98rem, calc(var(--slide-text-size, 21) * 0.9px), 1.3rem);
  }

  .hero-builder-arrows {
    inset-inline: 16px;
  }

  .hero-builder-pagination {
    inset-inline: 16px;
    bottom: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-builder[data-show-arrows-mobile="0"] .hero-builder-arrows {
    display: none;
  }

  .hero-builder[data-show-pagination-mobile="0"] .hero-builder-pagination {
    display: none;
  }

  .hero-builder[data-show-arrows-mobile="1"] .hero-builder-arrows {
    display: flex;
  }

  .hero-builder[data-show-pagination-mobile="1"] .hero-builder-pagination {
    display: flex;
  }
}

@media (max-width: 760px) {
  .hero-builder {
    border-radius: 26px;
  }

  .hero-builder-content {
    width: 100%;
    padding: 18px;
  }

  .hero-builder-content-media {
    width: clamp(108px, calc(var(--slide-media-size, 36) * 0.9vw + 96px), 240px);
  }

  .hero-builder-title {
    max-width: 14ch;
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 0.98;
  }

  .hero-builder-text {
    max-width: 32ch;
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .hero-builder-button {
    width: 100%;
  }

  .hero-builder-pagination {
    gap: 0.5rem;
  }

  .hero-builder[data-pagination-style="thumbnails"] .hero-builder-page {
    padding: 0.45rem;
  }

  .hero-builder[data-pagination-style="thumbnails"] .hero-builder-page-thumb {
    width: 56px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .hero-builder-progress {
    inset-inline: 14px;
    top: 14px;
  }

  .hero-builder-inner {
    padding: 24px 16px 82px;
  }

  .hero-builder-content {
    padding: 16px;
  }

  .hero-builder-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hero-builder-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-builder-arrow span {
    font-size: 1.55rem;
  }

  .hero-builder-pagination {
    inset-inline: 12px;
  }

  .hero-builder[data-pagination-style="thumbnails"] .hero-builder-page-copy {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-builder-slide,
  .hero-builder-button,
  .hero-builder-page,
  .hero-builder-arrow,
  .hero-builder-slide.effect-zoom .hero-builder-bg-media,
  .hero-builder-slide.effect-zoom .hero-builder-slide-media img,
  .hero-builder-slide.effect-zoom .hero-builder-slide-media .media-asset-stack video,
  .hero-builder-slide.effect-zoom .hero-builder-slide-media .media-asset-fallback {
    transition: none !important;
  }
}
