/* Beauty Expo 2027 — estilos exclusivos del Index. No modifica site.css ni otras páginas. */
:root {
  --be-ink: #211626;
  --be-navy: #1c172b;
  --be-pink: #f33e83;
  --be-orange: #ff8b47;
  --be-cream: #fff9f6;
  --be-muted: #736974;
  --be-edge: #eee5e9;
  --be-radius: 22px;
  /* Aproximaciones a la marca. Sustituir por los códigos oficiales si los tienes. */
  --bex27-brand-pink: #f20063;
  --bex27-brand-green: #29a031;
}

html {
  scroll-behavior: smooth;
}

.bex27 {
  margin: 0;
  background: #fff;
  color: var(--be-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bex27 *,
.bex27 *::before,
.bex27 *::after {
  box-sizing: border-box;
}

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

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

.bex27 button {
  cursor: pointer;
}

.bex27 p,
.bex27 h1,
.bex27 h2,
.bex27 h3 {
  margin-top: 0;
}

.bex27 p {
  line-height: 1.72;
}

.bex27 img,
.bex27 video {
  max-width: 100%;
}

.bex27 [hidden] {
  display: none !important;
}

.bex27 :focus-visible {
  outline: 3px solid #ff8d4b;
  outline-offset: 3px;
}

.bex27-wrap {
  width: min(1200px, calc(100% - 52px));
  margin: 0 auto;
}

.bex27-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}

.bex27-skip {
  position: absolute;
  transform: translateY(-150%);
  background: #fff;
  z-index: 100;
  padding: 10px;
}

.bex27-skip:focus {
  transform: translateY(0);
}

.bex27-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 15;
  border-bottom: 1px solid #ffffff28;
  background: linear-gradient(to bottom, rgba(16, 9, 23, 0.48), transparent);
}

.bex27-header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bex27-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
}

.bex27-brand img {
  width: 152px;
  max-height: 61px;
  object-fit: contain;
  filter: drop-shadow(0 1px 12px #0006);
}

.bex27-brand > span {
  color: #fff;
  border-left: 1px solid #fff8;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 800;
}

.bex27-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.bex27-nav > a {
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  transition: opacity 0.2s;
}

.bex27-nav > a:hover {
  opacity: 0.72;
}

.bex27-nav .bex27-nav-cta {
  background: #fff;
  color: var(--be-ink);
  padding: 13px 18px;
  border-radius: 30px;
  white-space: nowrap;
}

.bex27-menu-toggle {
  display: none;
  color: #fff;
  border: 1px solid #ffffff7d;
  background: #231725bb;
  border-radius: 9px;
  padding: 7px 12px;
  font-size: 23px;
}

/* ==========================================================
   HERO A+C — FOTO DE PÚBLICO + VIDEO + IDENTIDAD BEAUTY EXPO
   Capas: video 0 / foto 1 / degradado 2 / contenido 3 / pie 4.
   Requiere el bloque de Hero A+C de Index.cshtml.
   ========================================================== */
.bex27-hero {
  min-height: 740px;
  min-height: min(850px, 96svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #170e1c;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bex27-hero-media,
.bex27-hero-tint {
  position: absolute;
  inset: 0;
}

.bex27-hero-media {
  z-index: 0;
}

.bex27-hero-media video,
.bex27-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* La foto se funde gradualmente con el video; no lo tapa a la derecha. */
.bex27-hero-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  height: 100%;
  z-index: 1;
  opacity: 0.91;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    rgba(0, 0, 0, 0.78) 55%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    rgba(0, 0, 0, 0.78) 55%,
    transparent 100%
  );
}

.bex27-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 56%;
  filter: brightness(0.88) saturate(0.86) contrast(1.04);
}
/* Contraste para leer los botones sin oscurecer toda la escena. */
.bex27-hero-tint {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(17, 9, 23, 0.75) 0%,
      rgba(17, 9, 23, 0.6) 32%,
      rgba(17, 9, 23, 0.25) 63%,
      rgba(17, 9, 23, 0.07) 100%
    ),
    linear-gradient(0deg, rgba(17, 9, 23, 0.6), transparent 40%);
}

.bex27-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 175px 0 124px;
}

.bex27-hero-content {
  max-width: 850px;
  min-width: 0;
}

.bex27-hero-kicker {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #f5d5e3;
}

.bex27-hero .bex27-hero-brand-title {
  margin: 0 0 36px;
  max-width: 850px;
  font-size: clamp(64px, 6.5vw, 112px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.bex27-hero .bex27-hero-brand-title .bex27-title-beauty {
  display: block;
  width: fit-content;
  color: var(--bex27-brand-pink);
}

.bex27-hero .bex27-hero-brand-title .bex27-title-second-line {
  display: block;
  white-space: nowrap;
}

.bex27-hero .bex27-hero-brand-title .bex27-title-expo {
  color: var(--bex27-brand-green);
}

.bex27-hero .bex27-hero-brand-title .bex27-title-year {
  color: #fff;
  margin-left: 0.12em;
}
/* Botones reutilizados en otras secciones: mantener clase base. */
.bex27-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 17px 25px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

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

.bex27-btn-primary {
  color: #fff !important;
  background: linear-gradient(105deg, #ff3d86, #fa7748);
  box-shadow: 0 15px 35px #fa43804a;
}

.bex27-btn-outline-light {
  color: #fff !important;
  background: #ffffff18;
  border: 1px solid #ffffff88;
  backdrop-filter: blur(14px);
}

.bex27-btn-white {
  color: var(--be-ink) !important;
  background: #fff;
}

.bex27-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 0;
}

.bex27-hero .bex27-btn-primary {
  background: var(--bex27-brand-pink);
  box-shadow: 0 12px 32px rgba(242, 0, 99, 0.22);
}

.bex27-hero .bex27-btn-outline-light {
  background: rgba(16, 10, 20, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(8px);
}

.bex27-hero-bottom {
  position: absolute;
  z-index: 4;
  bottom: 23px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.bex27-hero-footage {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.76);
}

.bex27-video-control {
  color: #fff;
  background: rgba(18, 11, 25, 0.25);
  border: 1px solid #ffffff80;
  border-radius: 50px;
  font-size: 12px;
  padding: 9px 14px;
}

.bex27-routes {
  background: #fff;
  position: relative;
  z-index: 4;
  box-shadow: 0 20px 50px #23152909;
}

.bex27-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.bex27-route {
  padding: 38px 34px 37px;
  min-height: 193px;
  border-right: 1px solid var(--be-edge);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.bex27-route:first-child {
  border-left: 1px solid var(--be-edge);
}

.bex27-route:hover {
  background: #fff3f8;
}

.bex27-route-number {
  font-size: 10px;
  color: #d43e77;
  letter-spacing: 0.16em;
  font-weight: 850;
}

.bex27-route strong {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 850;
  max-width: 280px;
}

.bex27-route > span:last-child {
  font-size: 12px;
  color: #736873;
  font-weight: 700;
}

.bex27-route b {
  color: var(--be-pink);
  margin-left: 6px;
}

.bex27-section {
  padding: 112px 0;
  scroll-margin-top: 20px;
}

.bex27-kicker {
  display: inline-block;
  color: #d9417b;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 900;
  margin-bottom: 21px;
}

.bex27-kicker-light {
  color: #ffabcc;
}

.bex27-section h2 {
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.052em;
  font-weight: 900;
  margin-bottom: 22px;
}

.bex27-body-lead {
  color: #615661;
  font-size: 18px;
}

.bex27-lines {
  white-space: pre-line;
}

.bex27-story-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 10%;
  align-items: center;
}

.bex27-story-heading {
  max-width: 590px;
}

.bex27-story-note {
  margin-top: 35px;
  border-left: 3px solid var(--be-pink);
  padding-left: 17px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bex27-story-note strong {
  font-size: 13px;
}

.bex27-story-note span {
  color: #8b7c86;
  font-size: 12px;
}

.bex27-story-image {
  height: 490px;
  border-radius: 180px 30px 30px 30px;
  position: relative;
  overflow: hidden;
  background: #f5d5db;
}

.bex27-story-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bex27-image-stamp {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 28px 32px;
  color: #fff;
  background: #ec477fcf;
  backdrop-filter: blur(14px);
  border-radius: 28px 0 0 0;
}

.bex27-image-stamp small {
  display: block;
  letter-spacing: 0.15em;
  font-size: 9px;
  margin-bottom: 8px;
}

.bex27-image-stamp strong {
  font-size: 30px;
  line-height: 0.9;
}

.bex27-evolution {
  background:
    radial-gradient(900px 600px at 100% 0%, #512949, transparent),
    linear-gradient(120deg, #211526, #1b172f);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bex27-evolution-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 9%;
  align-items: center;
}

.bex27-evolution h2 {
  max-width: 650px;
}

.bex27-evolution .bex27-body-lead {
  color: #e4cedf;
  max-width: 650px;
}

.bex27-evolution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.bex27-evolution-tags span {
  padding: 10px 12px;
  border: 1px solid #f5d4e24b;
  border-radius: 100px;
  color: #f7dce7;
  font-weight: 750;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.bex27-evolution-panel {
  background: linear-gradient(135deg, #ffffff17, #ffffff06);
  border: 1px solid #ffffff42;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 30px 90px #0002;
}

.bex27-evolution-panel > small,
.bex27-panel-foot {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffb8d1;
}

.bex27-big-year {
  display: block;
  font-weight: 900;
  font-size: clamp(33px, 3.9vw, 55px);
  letter-spacing: -0.07em;
  margin: 27px 0 20px;
}

.bex27-big-year span {
  color: var(--be-orange);
  padding: 0 8px;
}

.bex27-evolution-panel p {
  color: #e7d5df;
  font-size: 15px;
}

.bex27-panel-foot {
  display: block;
  padding-top: 23px;
  border-top: 1px solid #fff4;
}

.bex27-heading-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10%;
  align-items: end;
  margin-bottom: 45px;
}

.bex27-heading-split h2 {
  margin-bottom: 0;
  max-width: 720px;
}

.bex27-heading-split p {
  font-size: 15px;
  color: #756874;
  margin-bottom: 4px;
}

.bex27-value {
  background: #fff9f8;
}

.bex27-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bex27-value-grid article {
  min-height: 330px;
  border: 1px solid #f3e7eb;
  background: #fff;
  border-radius: 22px;
  padding: 33px;
  box-shadow: 0 15px 30px #30172605;
}

.bex27-value-icon {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d83a7b;
  background: #fff0f4;
  font-size: 32px;
  margin-bottom: 48px;
}

.bex27-value-grid small {
  display: block;
  color: #d7427c;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 850;
  margin-bottom: 15px;
}

.bex27-value-grid h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.bex27-value-grid p {
  color: #746775;
  font-size: 14px;
}

.bex27-testimonials {
  background: #fff;
}

.bex27-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bex27-testimonial-card {
  border-radius: 20px;
  border: 1px solid #eee2e8;
  overflow: hidden;
  background: #fff9fa;
}

.bex27-testimonial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #241729;
}

.bex27-testimonial-video video,
.bex27-testimonial-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  display: block;
}

.bex27-testimonial-info {
  padding: 22px;
}

.bex27-testimonial-info > span {
  color: #db417d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.bex27-testimonial-info h3 {
  font-size: 20px;
  margin: 12px 0 3px;
}

.bex27-testimonial-info small {
  color: #736675;
}

.bex27-testimonial-info p {
  margin-top: 16px;
  color: #6b5967;
  font-size: 14px;
}

.bex27-testimonial-empty {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: #fff6f8;
  border: 1px solid #f2e0e7;
  border-radius: 26px;
  align-items: center;
}

.bex27-empty-visual {
  min-height: 330px;
  height: 100%;
}

.bex27-empty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bex27-testimonial-empty > div:last-child {
  padding: 42px;
}

.bex27-testimonial-empty h3 {
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.bex27-testimonial-empty p {
  color: #7c6877;
}

.bex27-text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 850;
  color: #cb2c72 !important;
  border-bottom: 1px solid #dc83a7;
  padding-bottom: 8px;
  margin-top: 13px;
}

.bex27-spaces {
  background: #f7f3f5;
}

.bex27-space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bex27-space-card {
  padding: 30px;
  min-height: 312px;
  border: 1px solid #e9e0e6;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.bex27-space-featured {
  background: linear-gradient(140deg, #421d3a, #241627);
  color: #fff;
  border-color: transparent;
}

.bex27-space-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d5447e;
  font-weight: 850;
}

.bex27-space-featured .bex27-space-top {
  color: #ffb5d3;
}

.bex27-space-top small {
  font-size: 11px;
  letter-spacing: 0.17em;
}

.bex27-space-top > span {
  font-size: 23px;
}

.bex27-space-card h3 {
  font-size: 35px;
  letter-spacing: -0.045em;
  margin: 25px 0 10px;
}

.bex27-space-card > p {
  font-size: 14px;
  color: #786d78;
}

.bex27-space-featured > p {
  color: #eee0e8;
}

.bex27-space-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: end;
  margin-top: auto;
  border-top: 1px solid #e8dce3;
  padding-top: 21px;
}

.bex27-space-featured .bex27-space-bottom {
  border-color: #ffffff45;
}

.bex27-space-bottom strong {
  display: block;
  font-size: 14px;
}

.bex27-space-bottom small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  color: #968791;
  line-height: 1.4;
}

.bex27-space-featured .bex27-space-bottom small {
  color: #d8b8ca;
}

.bex27-space-link {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  color: #d23b7a !important;
}

.bex27-space-featured .bex27-space-link {
  color: #ffb9d5 !important;
}

.bex27-space-disclaimer {
  color: #7c707a;
  font-size: 12px;
  margin-top: 24px;
}

.bex27-sponsors {
  color: #fff;
  background: linear-gradient(116deg, #bd276a, #e74f80 65%, #fb795d);
}

.bex27-sponsor-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9%;
  align-items: center;
}

.bex27-sponsors h2 {
  max-width: 660px;
}

.bex27-sponsors p {
  color: #ffe6ee;
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 30px;
}

.bex27-sponsor-art {
  aspect-ratio: 1.07;
  border-radius: 42% 42% 20px 20px;
  background: #ffffff19;
  border: 1px solid #ffffff6e;
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.bex27-sponsor-art:before {
  content: "";
  position: absolute;
  border: 1px solid #fff8;
  border-radius: 50%;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -70px;
}

.bex27-sponsor-art > span {
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 800;
}

.bex27-sponsor-art strong {
  font-size: clamp(37px, 5.4vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-top: 25px;
}

.bex27-sponsor-art i {
  font-size: 125px;
  font-style: normal;
  position: absolute;
  bottom: 0;
  right: 30px;
  color: #ffffff60;
}

.bex27-sponsor-art small {
  margin-top: 28px;
  letter-spacing: 0.15em;
  font-size: 11px;
}

.bex27-form-section {
  background: #fffaf8;
}

.bex27-form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 11%;
  align-items: start;
}

.bex27-form-intro {
  position: sticky;
  top: 35px;
  padding-top: 26px;
}

.bex27-form-intro p {
  font-size: 17px;
  color: #776a75;
}

.bex27-form-promise {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 20px 10px;
  margin-top: 35px;
  font-size: 14px;
  align-items: center;
  font-weight: 700;
}

.bex27-form-promise b {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #ffe0ea;
  color: #c02c72;
  font-size: 12px;
}

.bex27-form-card {
  background: #fff;
  border-radius: 25px;
  border: 1px solid #f0e3e7;
  padding: 35px;
  box-shadow: 0 25px 70px #2b14220b;
}

.bex27-interest-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.bex27-interest-selector label {
  position: relative;
  cursor: pointer;
}

.bex27-interest-selector input {
  position: absolute;
  opacity: 0;
}

.bex27-interest-selector span {
  display: block;
  border: 1px solid #e7dce1;
  color: #7b6372;
  text-align: center;
  padding: 16px 10px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
}

.bex27-interest-selector input:checked + span {
  border-color: #d63c7e;
  background: #fff0f6;
  color: #b8286a;
}

.bex27-interest-selector input:focus-visible + span {
  outline: 3px solid #ff8d4b;
  outline-offset: 2px;
}

.bex27-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.bex27-field {
  margin-bottom: 18px;
}

.bex27-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #382b35;
  margin-bottom: 8px;
}

.bex27-field label small {
  font-weight: 400;
}

.bex27-field input,
.bex27-field select,
.bex27-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e5dce2;
  border-radius: 10px;
  color: #2b202a;
  padding: 13px 14px;
  font-size: 13px;
  outline: 0;
  min-height: 45px;
}

.bex27-field input:focus,
.bex27-field select:focus,
.bex27-field textarea:focus {
  border-color: #e45b91;
  box-shadow: 0 0 0 3px #e45b9121;
}

.bex27-field textarea {
  resize: vertical;
}

.bex27-field > span,
.bex27-field-error {
  display: block;
  color: #ad2055;
  font-size: 11px;
  margin-top: 5px;
}

.bex27-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: #6d5c69;
  line-height: 1.6;
  margin: 14px 0;
}

.bex27-consent input {
  accent-color: #d4387c;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bex27-submit {
  width: 100%;
  margin-top: 15px;
  justify-content: space-between;
}

.bex27-privacy-note {
  font-size: 11px;
  color: #93818e;
  text-align: center;
  margin: 13px 0 0;
}

.bex27-errors {
  color: #b32450;
  font-size: 13px;
}

.bex27-errors:empty {
  display: none;
}

.bex27-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.bex27-success {
  padding: 30px;
  border-radius: 16px;
  background: #fff0f6;
  color: #80204b;
}

.bex27-success strong {
  font-size: 25px;
}

.bex27-success p {
  font-size: 14px;
  margin: 12px 0 0;
}

.bex27-legacy {
  background: #f7edf2;
  padding: 80px 0;
}

.bex27-legacy-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.bex27-legacy h2 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.bex27-legacy em {
  color: #cc3478;
  font-style: normal;
}

.bex27-legacy p {
  color: #7e6c7a;
  font-size: 14px;
  max-width: 650px;
  margin: 0;
}

.bex27-legacy .bex27-text-link {
  white-space: nowrap;
}

.bex27-footer {
  background: #1d1727;
  color: #fff;
  padding: 55px 0 26px;
}

.bex27-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 25px;
}

.bex27-footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bex27-footer-inner img {
  width: 155px;
  max-height: 70px;
  object-fit: contain;
  object-position: left;
}

.bex27-footer-inner span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  color: #e8bdce;
}

.bex27-footer-inner > div:nth-child(2) {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.bex27-footer-inner a,
.bex27-footer-inner small {
  font-size: 11px;
  color: #e7d9e0;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1120px) {
  .bex27-nav {
    gap: 12px;
  }

  .bex27-nav > a {
    font-size: 11px;
  }

  .bex27-brand {
    min-width: 140px;
  }

  .bex27-brand img {
    width: 125px;
  }
}

@media (max-width: 930px) {
  .bex27-menu-toggle {
    display: block;
  }

  .bex27-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #25162def;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    backdrop-filter: blur(15px);
  }

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

  .bex27-nav > a {
    padding: 13px 10px;
    font-size: 13px;
    border-bottom: 1px solid #ffffff22;
  }

  .bex27-nav .bex27-nav-cta {
    color: #2e2130;
    text-align: center;
    margin-top: 12px;
  }

  .bex27-story-grid,
  .bex27-evolution-grid,
  .bex27-form-layout {
    gap: 5%;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .bex27-hero-photo {
    width: 78%;
    opacity: 0.78;
  }

  .bex27-hero .bex27-hero-brand-title {
    font-size: clamp(60px, 7vw, 85px);
  }
}

@media (max-width: 700px) {
  .bex27-wrap {
    width: min(100% - 34px, 1200px);
  }

  .bex27-section {
    padding: 75px 0;
  }

  .bex27-header-inner {
    height: 78px;
  }

  .bex27-nav {
    top: 78px;
  }

  .bex27-brand img {
    width: 132px;
  }

  .bex27-hero {
    min-height: 710px;
    min-height: 94svh;
  }
  /* En móviles: usar el video vertical, sin fotografía añadida. */
  .bex27-hero-photo {
    display: none;
  }

  .bex27-hero-grid {
    padding: 155px 0 105px;
  }

  .bex27-hero-content {
    width: 100%;
  }

  .bex27-hero .bex27-hero-brand-title {
    font-size: clamp(46px, 11.5vw, 72px);
    margin-bottom: 30px;
  }

  .bex27-hero-kicker {
    font-size: 10px;
    margin-bottom: 18px;
  }

  .bex27-hero-tint {
    background:
      linear-gradient(90deg, rgba(17, 9, 23, 0.83), rgba(17, 9, 23, 0.49)),
      linear-gradient(0deg, rgba(17, 9, 23, 0.58), transparent 55%);
  }

  .bex27-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 350px;
  }

  .bex27-hero-footage {
    font-size: 9px;
    letter-spacing: 0.07em;
  }

  .bex27-routes-grid,
  .bex27-value-grid,
  .bex27-space-grid,
  .bex27-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .bex27-route {
    padding: 24px;
    min-height: 145px;
    border: 0;
    border-bottom: 1px solid var(--be-edge);
  }

  .bex27-route:first-child {
    border-left: 0;
  }

  .bex27-story-grid,
  .bex27-evolution-grid,
  .bex27-heading-split,
  .bex27-form-layout,
  .bex27-sponsor-grid,
  .bex27-testimonial-empty {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bex27-section h2 {
    font-size: clamp(36px, 8vw, 51px);
  }

  .bex27-story-image {
    height: 350px;
  }

  .bex27-evolution-panel {
    padding: 25px;
  }

  .bex27-heading-split {
    margin-bottom: 32px;
  }

  .bex27-value-grid article {
    min-height: 230px;
  }

  .bex27-value-icon {
    margin-bottom: 20px;
  }
  /* Los testimonios verticales se muestran completos. */
  .bex27-testimonial-video {
    aspect-ratio: 9 / 16;
  }

  .bex27-testimonial-empty > div:last-child {
    padding: 26px;
  }

  .bex27-empty-visual {
    min-height: 210px;
  }

  .bex27-sponsor-art {
    aspect-ratio: 1.3;
  }

  .bex27-form-intro {
    position: static;
  }

  .bex27-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bex27-form-card {
    padding: 23px;
  }

  .bex27-legacy-inner {
    flex-direction: column;
    align-items: start;
  }

  .bex27-footer-inner {
    grid-template-columns: 1fr;
  }

  .bex27-footer-inner > div:nth-child(2) {
    justify-content: start;
  }
}

@media (max-width: 380px) {
  .bex27-hero .bex27-hero-brand-title {
    font-size: 43px;
  }

  .bex27-hero-actions {
    max-width: 100%;
  }

  .bex27-hero-footage {
    max-width: 160px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bex27-btn {
    transition: none;
  }
}
