:root {
  --mod-oliva: #6b6f5e;
  --mod-salvia: #9fa18b;
  --mod-azul: #8b9db1;
  --mod-teja: #8c3e2a;
  --mod-blanco: #f1ebe4;
  --mod-albero: #debc8b;
}

/* Base de marca */
body {
  background-color: var(--mod-blanco);
  color: var(--mod-oliva);
  font-family: "Afacad Flux", Arial, sans-serif;
}

/* Menú lateral */
.vertical_menu_area {
  background-color: var(--mod-blanco) !important;
}

.vertical_menu ul li a {
  color: var(--mod-oliva) !important;
  font-family: "Afacad Flux", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
}

.vertical_menu ul li a:hover,
.vertical_menu ul li.active > a,
.vertical_menu ul li.current-menu-item > a {
  color: var(--mod-teja) !important;
}

/* Portada */
.hero-mod {
  position: relative;
  display: flex;
  min-height: 100vh !important;
  align-items: center;
  overflow: hidden;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.admin-bar .hero-mod {
  min-height: calc(100vh - 32px) !important;
}

.hero-mod::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(50, 53, 44, 0.57) 0%,
    rgba(107, 111, 94, 0.35) 48%,
    rgba(107, 111, 94, 0.15) 100%
  );
}

.hero-mod > .section_inner,
.hero-mod > .full_section_inner,
.hero-mod .section_inner,
.hero-mod .full_section_inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Eje común del contenido */
.hero-mod .vc_column-inner > .wpb_wrapper {
  width: min(760px, calc(100% - 48px));
  margin-right: 0;
  margin-left: clamp(64px, 6vw, 112px);
}

.hero-mod .wpb_text_column,
.hero-mod .wpb_text_column .wpb_wrapper,
.hero-mod .wpb_text_column p {
  margin-left: 0 !important;
  text-align: left !important;
}

/* Línea inglesa: admite el nombre nuevo y el antiguo */
.hero-mod .hero-eyebrow,
.hero-mod .hero-title-en {
  width: 100%;
  max-width: 760px;
  margin: 0 0 18px !important;
}

.hero-mod .hero-eyebrow p,
.hero-mod .hero-title-en p {
  margin: 0 !important;
  color: var(--mod-blanco) !important;
  font-family: "Afacad Flux", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.16em !important;
  word-spacing: normal !important;
  text-transform: uppercase;
  opacity: 0.92;
}

/* Claim principal */
.hero-mod .hero-title {
  max-width: 760px;
  margin: 0 !important;
}

.hero-mod .hero-title h1,
.hero-mod .hero-title p {
  margin: 0 !important;
  color: var(--mod-blanco) !important;
  font-family: "Afacad Flux", Arial, sans-serif !important;
  font-size: clamp(54px, 4.35vw, 84px) !important;
  font-weight: 700 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase;
}

/* Texto introductorio */
.hero-mod .hero-subtitle {
  max-width: 650px;
  margin: 26px 0 0 !important;
}

.hero-mod .hero-subtitle p {
  margin: 0 !important;
  color: var(--mod-blanco) !important;
  font-family: "Afacad Flux", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* Llamadas a la acción */
.hero-mod .hero-actions {
  width: 100%;
  margin: 30px 0 0 !important;
}

.hero-mod .hero-actions .wpb_wrapper,
.hero-mod .hero-actions .wpb_wrapper > p {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start !important;
  margin: 0 !important;
}

.hero-mod .hero-actions a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 160px;
  height: 42px !important;
  min-height: 42px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 1px solid var(--mod-blanco);
  color: var(--mod-blanco) !important;
  background: transparent;
  font-family: "Afacad Flux", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-mod .hero-actions a:first-child {
  border-color: var(--mod-blanco);
  color: var(--mod-oliva) !important;
  background-color: var(--mod-blanco);
}

.hero-mod .hero-actions a:first-child:hover {
  border-color: var(--mod-albero);
  color: var(--mod-oliva) !important;
  background-color: var(--mod-albero);
}

.hero-mod .hero-actions a:last-child:hover {
  border-color: var(--mod-teja);
  color: var(--mod-blanco) !important;
  background-color: var(--mod-teja);
}

/* Tableta */
@media (max-width: 1024px) {
  .hero-mod .vc_column-inner > .wpb_wrapper {
    width: min(700px, calc(100% - 64px));
    margin-left: 48px;
  }

  .hero-mod .hero-title h1,
  .hero-mod .hero-title p {
    font-size: clamp(48px, 6.5vw, 68px) !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .hero-mod {
    min-height: 82vh !important;
    align-items: flex-end;
    background-position: 58% center !important;
  }

  body.admin-bar .hero-mod {
    min-height: calc(82vh - 46px) !important;
  }

  .hero-mod::before {
    background: linear-gradient(
      180deg,
      rgba(50, 53, 44, 0.12) 0%,
      rgba(50, 53, 44, 0.72) 100%
    );
  }

  .hero-mod .vc_column-inner > .wpb_wrapper {
    width: auto;
    margin: 0 24px 54px;
  }

  .hero-mod .hero-eyebrow,
  .hero-mod .hero-title-en {
    margin-bottom: 14px !important;
  }

  .hero-mod .hero-eyebrow p,
  .hero-mod .hero-title-en p {
    font-size: 11px !important;
  }

  .hero-mod .hero-title h1,
  .hero-mod .hero-title p {
    font-size: clamp(39px, 11.5vw, 54px) !important;
    line-height: 0.94 !important;
  }

  .hero-mod .hero-subtitle {
    margin-top: 20px !important;
  }

  .hero-mod .hero-subtitle p {
    font-size: 17px !important;
  }

  .hero-mod .hero-actions {
    margin-top: 24px !important;
  }

  .hero-mod .hero-actions .wpb_wrapper,
  .hero-mod .hero-actions .wpb_wrapper > p {
    gap: 10px;
  }

  .hero-mod .hero-actions a {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}
/* Ajuste óptico del eje izquierdo del hero */
.hero-mod .hero-eyebrow,
.hero-mod .hero-title,
.hero-mod .hero-subtitle,
.hero-mod .hero-actions {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

.hero-mod .hero-title h1,
.hero-mod .hero-title p {
    position: relative;
    left: -4px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

@media (max-width: 767px) {
    .hero-mod .hero-title h1,
    .hero-mod .hero-title p {
        left: -2px;
    }
}