/* ==========================================================
   BREADCRUMB GLOBAL
========================================================== */

.vt-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb li::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.vt-breadcrumb nav,
.vt-breadcrumb .block,
.vt-breadcrumb .content {
  margin: 0;
}

.vt-breadcrumb ol,
.vt-breadcrumb ul,
.vt-breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .4rem 0;
  list-style: none;
}

.vt-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: .88rem;
  font-weight: 520;
}

.vt-breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.vt-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vt-breadcrumb li:last-child {
  color: var(--color-primary-dark);
  font-weight: 650;
}

/* Si hay hero, se usa el breadcrumb integrado */
body:has(.vt-hero) .vt-breadcrumb--global {
  display: none;
}

/* ==========================================================
   HERO
========================================================== */

.vt-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #eef6fc;
}

.vt-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vt-hero__media article,
.vt-hero__media .media,
.vt-hero__media .field,
.vt-hero__media .field__item,
.vt-hero__media picture,
.vt-hero__media picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.vt-hero__media picture img {
  object-fit: cover;
  object-position: center center;
}

.vt-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.86) 23%,
      rgba(255,255,255,.55) 44%,
      rgba(255,255,255,.14) 70%,
      rgba(255,255,255,0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,.05) 0%,
      rgba(255,255,255,0) 55%,
      rgba(255,255,255,.38) 100%
    );
}

.vt-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.vt-hero__breadcrumb {
  width: 100%;
  margin-top: calc(clamp(4.5rem, 6vw, 6.25rem) * -0.45);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vt-hero__breadcrumb nav,
.vt-hero__breadcrumb .block,
.vt-hero__breadcrumb .content {
  margin: 0;
}

.vt-hero__breadcrumb ol,
.vt-hero__breadcrumb ul,
.vt-hero__breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vt-hero__breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  color: rgba(6, 43, 79, .72);
  font-size: .86rem;
  font-weight: 560;
}

.vt-hero__breadcrumb a {
  color: rgba(6, 43, 79, .72);
  text-decoration: none;
}

.vt-hero__breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vt-hero__breadcrumb li:last-child {
  color: var(--color-primary-dark);
  font-weight: 650;
}

.vt-hero__inner {
  max-width: 620px;
  color: var(--color-primary-dark);
  margin-top: auto;
  margin-bottom: auto;
}

.vt-hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vt-hero__title {
  margin: 0 0 1.75rem;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(3.7rem, 5.45vw, 6.15rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.055em;
}

.vt-hero__text {
  max-width: 410px;
  color: var(--color-primary-dark);
  font-size: clamp(1.62rem, 2.12vw, 1.95rem);
  line-height: 1.25;
  font-weight: 420;
}

.vt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 54px;
  margin-top: 2rem;
  padding: 0 1.45rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-size: .96rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17,53,85,.16);
}

.vt-button::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .82rem;
}

.vt-button:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================
   HERO VARIANTES
========================================================== */

.vt-hero--principal {
  min-height: 560px;
}

.vt-hero--principal .vt-hero__eyebrow {
  display: none;
}

.vt-hero--seccion {
  min-height: 380px !important;
}

.vt-hero--seccion .vt-hero__content {
  padding-top: clamp(3rem, 4.5vw, 4.25rem);
  padding-bottom: clamp(3rem, 5vw, 4.25rem);
}

.vt-hero--seccion .vt-hero__breadcrumb {
  margin-top: -2.85rem;  
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vt-hero--seccion .vt-hero__inner {
  max-width: 700px;
}

.vt-hero--seccion .vt-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 680;
}

.vt-hero--seccion .vt-hero__text {
  max-width: 560px;
  font-size: 1.05rem;
}

.vt-hero--seccion .vt-hero__overlay {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--hero-bg, #fff) 98%, transparent) 0%,
      color-mix(in srgb, var(--hero-bg, #fff) 96%, transparent) 14%,
      color-mix(in srgb, var(--hero-bg, #fff) 92%, transparent) 28%,
      color-mix(in srgb, var(--hero-bg, #fff) 78%, transparent) 42%,
      color-mix(in srgb, var(--hero-bg, #fff) 42%, transparent) 56%,
      color-mix(in srgb, var(--hero-bg, #fff) 8%, transparent) 72%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--hero-bg, #fff) 2%, transparent) 0%,
      transparent 60%,
      color-mix(in srgb, var(--hero-bg, #fff) 22%, transparent) 100%
    );
}


.vt-hero--interior {
  min-height: 310px;
}

.vt-hero--interior .vt-hero__content {
  padding-top: clamp(2.75rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.vt-hero--interior .vt-hero__breadcrumb {
  margin-top: -2.45rem; 
  margin-bottom: clamp(1.8rem, 3vw, 2.5rem);
}

.vt-hero--interior .vt-hero__inner {
  max-width: 760px;
}

.vt-hero--interior .vt-hero__title {
  font-size: clamp(2.25rem, 4vw, 3.9rem);
  font-weight: 680;
}

.vt-hero--interior .vt-hero__text {
  max-width: 620px;
  font-size: 1.02rem;
}

.vt-hero--interior .vt-hero__overlay {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--hero-bg) 98%, transparent) 0%,
      color-mix(in srgb, var(--hero-bg) 96%, transparent) 14%,
      color-mix(in srgb, var(--hero-bg) 92%, transparent) 28%,
      color-mix(in srgb, var(--hero-bg) 78%, transparent) 42%,
      color-mix(in srgb, var(--hero-bg) 42%, transparent) 56%,
      color-mix(in srgb, var(--hero-bg) 8%, transparent) 72%,
      transparent 100%
    );
}

/* HERO SIMPLE / SIN IMAGEN */

.vt-hero--simple {
  min-height: auto;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.vt-hero--simple .vt-hero__content {
  min-height: auto;
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.vt-hero--simple .vt-hero__breadcrumb {
  margin-top: 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vt-hero--simple .vt-hero__inner {
  max-width: 920px;
  margin: 0;
   padding-top: clamp(1.5rem, 3.5vw, 3rem);
}

.vt-hero--simple .vt-hero__eyebrow {
  margin-bottom: 1rem;
}

.vt-hero--simple .vt-hero__title {
  max-width: 900px;
  margin-bottom: 1.25rem;
  color: var(--color-primary-dark);
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: .95;
  font-weight: 680;
  letter-spacing: -.06em;
}

.vt-hero--simple .vt-hero__text {
  max-width: 760px;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  font-weight: 420;
}

/* Breadcrumb dentro del hero simple: estilo página sin imagen */
.vt-hero--simple .vt-hero__breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
  padding: 0;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.vt-hero--simple .vt-hero__breadcrumb > * {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.vt-hero--simple .vt-hero__breadcrumb nav,
.vt-hero--simple .vt-hero__breadcrumb .block,
.vt-hero--simple .vt-hero__breadcrumb .content {
  margin: 0;
}

.vt-hero--simple .vt-hero__breadcrumb ol,
.vt-hero--simple .vt-hero__breadcrumb ul,
.vt-hero--simple .vt-hero__breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .4rem 0;
  list-style: none;
}

.vt-hero--simple .vt-hero__breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: .88rem;
  font-weight: 520;
}

.vt-hero--simple .vt-hero__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.vt-hero--simple .vt-hero__breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vt-hero--simple .vt-hero__breadcrumb li:last-child {
  color: var(--color-primary-dark);
  font-weight: 650;
}

.vt-hero--simple .vt-hero__breadcrumb .breadcrumb li + li::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ==========================================================
   HERO COLOURS
========================================================== */

.vt-hero {
  --hero-bg: #ffffff;
}

.vt-hero--corporate {
  --hero-bg: var(--hero-corporate);
}

.vt-hero--grey {
  --hero-bg: var(--hero-grey);
}

.vt-hero--cream {
  --hero-bg: var(--hero-cream);
}

.vt-hero--sage {
  --hero-bg: var(--hero-sage);
}

.vt-hero--lavender {
  --hero-bg: var(--hero-lavender);
}

.vt-hero--sand {
  --hero-bg: var(--hero-sand);
}

.vt-hero--ice {
  --hero-bg: var(--hero-ice);
}

.vt-hero--rose {
  --hero-bg: var(--hero-rose);
}

.vt-hero--mint {
  --hero-bg: var(--hero-mint);
}

.vt-hero--stone {
  --hero-bg: var(--hero-stone);
}

/* ==========================================================
   HERO RESPONSIVE
========================================================== */

@media (max-width: 900px) {
  .vt-breadcrumb,
  .vt-hero__breadcrumb {
    display: none;
  }

  .vt-hero--principal {
    min-height: 590px !important;
  }

  .vt-hero--seccion {
    min-height: 320px !important;
  }

  .vt-hero--interior {
    min-height: 300px !important;
  }

  .vt-hero--principal .vt-hero__media,
  .vt-hero--seccion .vt-hero__media,
  .vt-hero--interior .vt-hero__media {
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}

@media (min-width: 701px) and (max-width: 900px) {

  .vt-breadcrumb,
  .vt-hero__breadcrumb {
    display: none;
  }

  /* ===== HERO PRINCIPAL ===== */

  .vt-hero--principal {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    overflow: visible;
    border-radius: 0;
    background: var(--hero-bg, #eef5fb);
  }

  .vt-hero--principal .vt-hero__overlay {
    display: none;
  }

  .vt-hero--principal .vt-hero__content {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 0.9rem;
    background: var(--hero-bg, #eef5fb);
  }

  .vt-hero--principal .vt-hero__title {
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: .95;
    letter-spacing: -.06em;
  }

  .vt-hero--principal .vt-hero__text {
    max-width: 440px;
    font-size: clamp(1.5rem, 2.7vw, 1.75rem);
    line-height: 1.4;
  }

  .vt-hero--principal .vt-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .vt-hero--principal .vt-hero__media picture,
  .vt-hero--principal .vt-hero__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* ===== HERO SECCIÓN E INTERIOR ===== */

  .vt-hero--seccion,
  .vt-hero--interior {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    overflow: visible;
    border-radius: 0;
    background: var(--hero-bg, #fff);
  }

  .vt-hero--seccion .vt-hero__overlay,
  .vt-hero--interior .vt-hero__overlay {
    display: none;
  }

  .vt-hero--seccion .vt-hero__content,
  .vt-hero--interior .vt-hero__content {
    min-height: auto;
    padding: 3rem 2rem;
    background: var(--hero-bg, #fff);
  }

  .vt-hero--seccion .vt-hero__title,
  .vt-hero--interior .vt-hero__title {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1.05;
  }

  .vt-hero--seccion .vt-hero__text,
  .vt-hero--interior .vt-hero__text {
    max-width: 650px;
    font-size: 1.05rem;
  }

  .vt-hero--seccion .vt-hero__media,
  .vt-hero--interior .vt-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .vt-hero--seccion .vt-hero__media picture,
  .vt-hero--seccion .vt-hero__media img,
  .vt-hero--interior .vt-hero__media picture,
  .vt-hero--interior .vt-hero__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@media (max-width: 700px) {
  .vt-breadcrumb,
  .vt-hero__breadcrumb {
    display: none;
  }

  .vt-hero {
    align-items: flex-start;
    background: #f4f8fc;
  }

  .vt-hero__media picture img {
    object-position: center center;
  }

  .vt-hero--principal {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    overflow: visible;
    border-radius: 0;
    background: var(--hero-bg, #eef5fb);
  }

  .vt-hero--principal .vt-hero__overlay {
    display: none;
  }

  .vt-hero--principal .vt-hero__content {
    min-height: auto;
    padding-top: 2.35rem;
    padding-bottom: 0.9rem;
    background: var(--hero-bg, #eef5fb);
  }

  .vt-hero--principal .vt-hero__inner {
    max-width: 100%;
    margin: 0;
  }

  .vt-hero--principal .vt-hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2.55rem, 11vw, 3.35rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .vt-hero--principal .vt-hero__text {
    max-width: 380px;
    font-size: clamp(1.45rem, 5vw, 1.7rem);;
    line-height: 1.35;
  }

  .vt-hero--principal .vt-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .vt-hero--principal .vt-hero__media article,
  .vt-hero--principal .vt-hero__media .media,
  .vt-hero--principal .vt-hero__media .field,
  .vt-hero--principal .vt-hero__media .field__item,
  .vt-hero--principal .vt-hero__media picture,
  .vt-hero--principal .vt-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .vt-hero--principal .vt-hero__media picture,
  .vt-hero--principal .vt-hero__media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
  }

  .vt-hero--seccion .vt-hero__media,
  .vt-hero--interior .vt-hero__media {
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .vt-hero--seccion {
    min-height: auto !important;
    background: var(--hero-bg);
  }

  .vt-hero--seccion .vt-hero__media {
    position: relative;
    inset: auto;

    width: 100vw;
    height: auto;

    margin-left: calc(50% - 50vw);
  }

  .vt-hero--seccion .vt-hero__media picture,
  .vt-hero--seccion .vt-hero__media img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
  }

  .vt-hero--seccion .vt-hero__overlay {
    display: none;
  }

  .vt-hero--seccion .vt-hero__content {
    min-height: auto;

    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .vt-hero--seccion .vt-hero__inner {
    max-width: 100%;
  }

  .vt-hero--seccion .vt-hero__title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    margin-bottom: 1rem;
  }

  .vt-hero--seccion .vt-hero__text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .vt-hero--interior {
    min-height: auto !important;
    background: var(--hero-bg);
  }

  .vt-hero--interior .vt-hero__media {
    position: relative;
    inset: auto;

    width: 100vw;

    margin-left: calc(50% - 50vw);
  }

  .vt-hero--interior .vt-hero__media picture,
  .vt-hero--interior .vt-hero__media img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
  }

  .vt-hero--interior .vt-hero__overlay {
    display: none;
  }

  .vt-hero--interior .vt-hero__content {
    min-height: auto;

    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .vt-hero--interior .vt-hero__title {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .vt-hero--interior .vt-hero__text {
    max-width: 100%;
    line-height: 1.65;
  }


  .vt-hero--simple {
    min-height: auto !important;
    border-radius: 0;
    background: #fff;
  }

  .vt-hero--simple .vt-hero__content {
    padding-top: 2rem;
    padding-bottom: 2.75rem;
  }

  .vt-hero--simple .vt-hero__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1;
  }

  .vt-hero--simple .vt-hero__text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .vt-button {
    min-height: 50px;
    margin-top: 1.45rem;
    padding-inline: 1.15rem;
    font-size: .9rem;
  }

/* Organización imagen y texto de lhero en movil */
  .vt-hero--seccion,
  .vt-hero--interior {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
    overflow: visible;
    border-radius: 0;
    background: var(--hero-bg, #fff);
  }

  .vt-hero--seccion .vt-hero__overlay,
  .vt-hero--interior .vt-hero__overlay {
    display: none;
  }

  .vt-hero--seccion .vt-hero__content,
  .vt-hero--interior .vt-hero__content {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
    background: var(--hero-bg, #fff);
  }

  .vt-hero--seccion .vt-hero__inner,
  .vt-hero--interior .vt-hero__inner {
    max-width: 100%;
    margin: 0;
  }

  .vt-hero--seccion .vt-hero__title,
  .vt-hero--interior .vt-hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .vt-hero--seccion .vt-hero__text,
  .vt-hero--interior .vt-hero__text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .vt-hero--seccion .vt-hero__media,
  .vt-hero--interior .vt-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .vt-hero--seccion .vt-hero__media article,
  .vt-hero--seccion .vt-hero__media .media,
  .vt-hero--seccion .vt-hero__media .field,
  .vt-hero--seccion .vt-hero__media .field__item,
  .vt-hero--seccion .vt-hero__media picture,
  .vt-hero--seccion .vt-hero__media img,
  .vt-hero--interior .vt-hero__media article,
  .vt-hero--interior .vt-hero__media .media,
  .vt-hero--interior .vt-hero__media .field,
  .vt-hero--interior .vt-hero__media .field__item,
  .vt-hero--interior .vt-hero__media picture,
  .vt-hero--interior .vt-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .vt-hero--seccion .vt-hero__media picture,
  .vt-hero--seccion .vt-hero__media img,
  .vt-hero--interior .vt-hero__media picture,
  .vt-hero--interior .vt-hero__media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

}
