/*
 * Local presentation fixes for the Spanish static version.
 * Keep commercial wording unchanged; adapt layout to longer Spanish labels.
 */
@media (min-width: 1051px) {
  .header > .container {
    max-width: 1460px;
  }

  .header .logo-link,
  .header__row,
  .header__menu .menu__link {
    flex: 0 0 auto;
  }

  .header__menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header__menu .menu__list {
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(14px, 1.25vw, 22px);
    margin-left: clamp(20px, 2.2vw, 34px);
  }

  .header__menu .menu__link {
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
  }

  .header__menu .menu__link > a {
    display: block;
  }

  .header__row {
    gap: 14px;
    margin-left: clamp(14px, 1.5vw, 24px);
  }

  .header__btn {
    padding: 15px 18px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .header__tel {
    gap: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 1051px) and (max-width: 1400px) {
  .header > .container {
    max-width: 100%;
  }

  .header__menu .menu__list {
    gap: 12px;
    margin-left: 20px;
  }

  .header__menu .menu__link {
    font-size: 13px;
  }

  .header__btn {
    padding: 14px 16px;
    font-size: 14px;
  }

  .header__tel {
    font-size: 0;
  }
}

@media (min-width: 1051px) and (max-width: 1150px) {
  .header__menu .menu__list {
    gap: 10px;
    margin-left: 16px;
  }

  .header__row {
    margin-left: 12px;
  }

  .header__btn {
    display: none;
  }
}

/* Balanced footer navigation after removing the public telephone number. */
.footer__head > .container {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer__menu {
  min-width: 0;
}

.footer__head .lang {
  display: none;
}

.footer__menu .menu__list {
  justify-content: center;
  gap: 12px 26px;
  margin: 0;
}

.footer__menu .menu__link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer__row {
  gap: 0;
  margin-left: 0;
}

.footer__row .btn {
  white-space: nowrap;
}

.vowe-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 1051px) and (max-width: 1250px) {
  .footer__head > .container {
    gap: 18px;
  }

  .footer__menu .menu__list {
    gap: 10px 16px;
  }

  .footer__menu .menu__link {
    font-size: 13px;
  }

  .footer__row .btn {
    padding: 14px 18px;
    font-size: 14px;
  }
}

@media (max-width: 1050px) {
  .footer__head > .container {
    grid-template-columns: 136px 1fr auto;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .card-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
  }

  .page-header,
  .content--post,
  .content__thumb,
  .card-slide,
  .card-slide__img,
  .card-slide__img img,
  .card-slide__title {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .content__thumb,
  .card-slide__img,
  .card-slide__img img {
    width: 100% !important;
    height: auto !important;
  }

  .single-post .container,
  .blog .container,
  .archive .container,
  .content--post,
  .page-header {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .single-post .content__thumb,
  .blog .card-slide__img,
  .blog .card-slide__img img {
    display: block !important;
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
  }

  .card-slide__title {
    display: block !important;
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
  }

  .vowe-cookie-notice {
    right: 14px !important;
    left: 14px !important;
    bottom: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    box-sizing: border-box !important;
  }

  .page-header .section__title,
  .breadcrumbs .active,
  .card-slide__title,
  .content--typography p,
  .content--typography li {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    white-space: normal;
  }

  .single-post .page-header {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: flex-start !important;
    column-gap: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .single-post .page-header .breadcrumbs {
    display: none !important;
  }

  .single-post .page-header .section__title {
    display: block !important;
    grid-column: 2 !important;
    min-width: 0 !important;
    width: calc(100vw - 140px) !important;
    max-width: calc(100vw - 140px) !important;
    box-sizing: border-box !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  .single-post .page-header__back {
    grid-column: 1 !important;
  }

  .vowe-cookie-notice__actions {
    width: 100% !important;
    min-width: 0 !important;
  }

  .vowe-cookie-notice__actions .btn,
  .vowe-cookie-notice .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .footer__head > .container {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-direction: column;
  }

  .footer__row {
    margin: 0;
  }
}

/* Shared trust block used on the Spain-focused service pages. */
.vowe-confidence__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.vowe-confidence__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #009bd2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vowe-confidence__head h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.vowe-confidence__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.vowe-confidence__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.vowe-confidence__item {
  min-height: 220px;
  padding: 26px 22px;
  border: 1px solid #dbe9f1;
  border-radius: 22px;
  background: #fff;
}

.vowe-confidence__number {
  display: flex;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #dff6fb;
  color: #008fc6;
  font-size: 12px;
  font-weight: 700;
}

.vowe-confidence__item h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.2;
}

.vowe-confidence__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.vowe-confidence__cta {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: 22px;
  background: #09294c;
  color: #fff;
}

.vowe-confidence__cta p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.vowe-confidence__cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 1199px) {
  .vowe-confidence__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vowe-confidence__head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }

  .vowe-confidence__head h2 {
    font-size: 34px;
  }

  .vowe-confidence__head p {
    font-size: 16px;
  }

  .vowe-confidence__grid {
    grid-template-columns: 1fr;
  }

  .vowe-confidence__item {
    min-height: 0;
    padding: 22px;
  }

  .vowe-confidence__number {
    margin-bottom: 18px;
  }

  .vowe-confidence__cta {
    display: block;
    padding: 24px 22px;
  }

  .vowe-confidence__cta p {
    margin-bottom: 20px;
    font-size: 16px;
  }
}
