@font-face {
  font-family: "Quicksand";
  src: url("../font/Quicksand-VariableFont_wght.woff2") format("woff2");
  font-weight: 480 700;
  font-style: normal;
  font-display: swap;
}


/* 1. Colores y fuente globales */
:root {
  --c-brand: #1d8d8d;
  --c-accent: #f2b636;
  --c-ink: #10222e;
  --c-text: #2b3a42;
  --c-muted: #45565f;
  --c-soft: #5a6a73;
  --c-line: #e3e8eb;
  --c-surface: #fff;
  --shade: 8 20 28;

  --font-base: "Quicksand";

  --yellow: #f2b636;
  --turquoise: var(--c-brand);
  --light-blue: var(--c-brand);
  --white: #fff;
  --black: #000;
}


/* 2. Base */
*, ::before, ::after { box-sizing: border-box; }

body {
  font-family: var(--font-base);
  font-optical-sizing: auto;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    transition: none !important;
    animation: none !important;
  }

  .accordion-content {
    transition: max-height 1ms, opacity 1ms !important;
  }
}

#header {
  --header-gutter: 1.75rem;

  position: relative;
  z-index: 50;
  height: auto;
  min-height: 0;
  margin-bottom: 0;
  overflow-x: clip;
  overflow-y: visible;
}

#header .container,
#header .region-header {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin-inline: 0;
  padding-inline: 0;
  overflow: visible;
}

#slider { clear: both; }

.skip-link.visually-hidden:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.img-fill,
.view-vista-hm-card-blogs .views-field-field-bt-bp-hero-back-1 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 3. Header */
.field--name-field-bt-home-header-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .875rem 1.25rem;
  padding-inline: var(--header-gutter, 1.75rem);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & > .field__item:has(.block-system-branding-block) {
    order: 1;
    margin-right: auto;
    margin-top: 1rem;

    & img {
      display: block;
      height: 3.25rem;
      width: auto;
      max-width: 100%;
    }
  }

  & > .field__item:has(:is(.field--name-field-bt-home-header-descrip-tex, .field--name-field-bt-home-header-correo-mail)) {
    display: flex;
    align-items: center;
    gap: .45em;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;

    &::before {
      content: "";
      flex: none;
      width: 1.1em;
      height: 1.1em;
      background: var(--c-brand);
    }
  }

  & > .field__item:has(.field--name-field-bt-home-header-descrip-tex) {
    order: 2;

    &::before {
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
    }
  }

  & > .field__item:has(.field--name-field-bt-home-header-correo-mail) {
    order: 3;

    &::before {
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    & a {
      color: inherit;
      text-decoration: none;
      transition: color .25s cubic-bezier(.2, .7, .2, 1);

      &:hover { color: var(--c-brand); }
    }
  }

  & > .field__item:has(.field--name-field-bt-home-header-rds-content) {
    order: 4;

    & .field--name-field-bt-home-header-rds-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .25rem;
    }

    & a {
      display: grid;
      place-items: center;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      transition: background-color .25s cubic-bezier(.2, .7, .2, 1);

      &:hover { background: color-mix(in srgb, var(--c-brand) 12%, transparent); }
    }

    & img {
      display: block;
      width: 1.1rem;
      height: 1.1rem;
      object-fit: contain;
    }
  }

  & > .field__item:has(.field--name-field-bt-home-header-btn-bn-link) {
    order: 5;

    & a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .45em;
      padding: .6875rem 1.375rem;
      border: 1.5px solid transparent;
      border-radius: .375rem;
      background: var(--c-accent);
      color: var(--c-ink) !important;
      font-size: .9375rem;
      font-weight: 700;
      letter-spacing: .01em;
      line-height: 1.2;
      text-decoration: none !important;
      white-space: nowrap;
      transition: background-color .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1);

      &:hover {
        background: color-mix(in srgb, var(--c-accent) 92%, #000);
        translate: 0 -2px;
      }
    }
  }

  & > .field__item:has(.block-language) {
    order: 6;
    display: flex;
    align-items: center;

    & .block-language {
      margin: 0 !important;
      padding: 0 !important;
    }

    & ul {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center;
      gap: .375rem;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
    }

    & li {
      display: block !important;
      float: none !important;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
      background: none !important;

      &::marker { content: none; }

      &::before,
      &::after {
        content: none !important;
        display: none !important;
      }
    }

    & .language-link {
      display: grid !important;
      place-items: center;
      width: 2rem;
      height: 2rem;
      padding: 0 !important;
      border-radius: 50%;
      color: transparent !important;
      font-size: 0 !important;
      line-height: 0 !important;
      text-decoration: none !important;
      transition: background-color .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1);

      &:hover {
        background: color-mix(in srgb, var(--c-brand) 12%, transparent);
        translate: 0 -2px;
      }
    }

    & .language-icon {
      display: block !important;
      width: 1.375rem !important;
      height: 1.375rem !important;
      max-width: none;
      margin: 0 !important;
      border-radius: 50% !important;
      object-fit: cover;
      box-shadow: 0 0 0 1px var(--c-line);
      transition: box-shadow .25s cubic-bezier(.2, .7, .2, 1);
    }

    & .language-link:hover .language-icon {
      box-shadow: 0 0 0 2px var(--c-brand);
    }

    & .language-link.is-active .language-icon {
      box-shadow: 0 0 0 2px var(--c-accent);
    }
  }

  & > .field__item:has(:is(.block-tb-megamenu, .tbm, .tb-megamenu)) {
    order: 10;
    display: flow-root;
    flex: 0 0 auto;
    width: calc(100% + 2 * var(--header-gutter, 1.75rem));
    max-width: none;
    margin-inline: calc(-1 * var(--header-gutter, 1.75rem));
    margin-top: .25rem;
    padding-inline: var(--header-gutter, 1.75rem);
    background: var(--c-brand);

    & a:focus-visible { outline-color: #fff; }
  }

  & .visually-hidden:not(:focus-within) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  & :is(.tb-megamenu, .tbm) {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  & :is(.tb-megamenu, .tbm) :is(
    .nav, .nav > li, .nav-collapse, .tbm-collapse,
    .dropdown-menu, .row-fluid, [class*="span"]
  ) {
    float: none;
  }

  & :is(.nav-collapse, .tbm-collapse) {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  & :is(.tb-megamenu-nav, .tbm-nav).level-0 {
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
  }

  & :is(.tb-megamenu-item, .tbm-item).level-1 {
    position: relative;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
  }

  & :is(.tb-megamenu-item, .tbm-item).level-1 > .tbm-link-container {
    display: flex;
    align-items: center;
    border-radius: .375rem;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);
  }

  & :is(.tb-megamenu-item, .tbm-item).level-1 > .tbm-link-container > :is(a, span) {
    display: block;
    padding: .875rem 1rem;
    border: 0;
    background: none;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.4;
    text-decoration: none !important;
  }

  & .tbm-link.no-link.tbm-no-submenu { cursor: default; }

  & :is(.tb-megamenu-item, .tbm-item).level-1:is(.dropdown, .tbm-item--has-dropdown) > .tbm-link-container > :is(a, span) {
    padding-right: .25rem;
    cursor: pointer;
  }

  & .tbm-submenu-toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;

    &::before {
      content: "";
      width: .45em;
      height: .45em;
      border: solid currentColor;
      border-width: 0 2px 2px 0;
      rotate: 45deg;
      translate: 0 -.15em;
      transition: rotate .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1);
    }

    &:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
    }
  }

  & :is(.tb-megamenu-submenu, .tbm-submenu) :is(
    .mega-dropdown-inner, .tb-megamenu-row, .tb-megamenu-column,
    .tb-megamenu-column-inner, .tb-megamenu-subnav, .tb-megamenu-item,
    .tbm-row, .tbm-column, .tbm-column-inner, .tbm-subnav, .tbm-item,
    .tbm-link-container
  ) {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    list-style: none;
  }

  & :is(.tb-megamenu-submenu, .tbm-submenu) .tbm-link-container > :is(a, span) {
    display: block;
    padding: .5625rem .75rem;
    border-radius: .375rem;
    background: none;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), color .25s cubic-bezier(.2, .7, .2, 1);
  }

  @media (width >= 75rem) {
    & :is(.tb-megamenu-button, .btn-navbar, .tbm-button) { display: none !important; }

    & :is(.nav-collapse, .tbm-collapse) {
      display: block !important;
      height: auto !important;
      overflow: visible !important;
    }

    & :is(.tb-megamenu-nav, .tbm-nav).level-0 {
      display: flex;
      flex-wrap: nowrap;
      justify-content: safe center;
      gap: .125rem;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1 > .tbm-link-container {
      & > :is(a, span) {
        padding-inline: .5rem;
        font-size: .9375rem;
        white-space: nowrap;
      }

      &:hover { background: rgb(255 255 255 / .15); }
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(.active, .active-trail) > .tbm-link-container {
      box-shadow: inset 0 -3px var(--c-accent);
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(:hover, :focus-within, .open) .tbm-submenu-toggle::before {
      rotate: 225deg;
      translate: 0 .1em;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1 > :is(.tb-megamenu-submenu, .tbm-submenu) {
      position: absolute !important;
      top: 100%;
      left: 0;
      z-index: 100;
      display: none !important;
      width: 15rem;
      max-width: 90vw;
      margin: 0;
      padding: .375rem;
      border: 0;
      border-radius: .375rem;
      background: var(--c-surface);
      box-shadow: 0 6px 14px rgb(var(--shade) / .12), 0 20px 44px rgb(var(--shade) / .18);
      text-align: left;

      & a:focus-visible { outline-color: var(--c-brand); }
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:last-child > :is(.tb-megamenu-submenu, .tbm-submenu) {
      left: auto;
      right: 0;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(:hover, :focus-within, .open) > :is(.tb-megamenu-submenu, .tbm-submenu) {
      display: block !important;
    }

    & :is(.tb-megamenu-submenu, .tbm-submenu) .tbm-link-container > :is(a, span) {
      color: var(--c-text) !important;
      white-space: normal;

      &:hover {
        background: color-mix(in srgb, var(--c-brand) 10%, transparent);
        color: var(--c-brand) !important;
      }
    }

    & :is(.tb-megamenu-submenu, .tbm-submenu) .tbm-link-container > .active-trail {
      color: var(--c-brand) !important;
      font-weight: 700;
    }
  }

  @media (width >= 90rem) {
    & :is(.tb-megamenu-nav, .tbm-nav).level-0 { gap: .25rem; }

    & :is(.tb-megamenu-item, .tbm-item).level-1 > .tbm-link-container > :is(a, span) {
      padding-inline: 1rem;
      font-size: 1rem;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(.dropdown, .tbm-item--has-dropdown) > .tbm-link-container > :is(a, span) {
      padding-right: .25rem;
    }
  }

  @media (width < 75rem) {
    & :is(.tb-megamenu, .tbm) {
      position: relative;
      display: flex;
      justify-content: flex-end;
    }

    & :is(.tb-megamenu-button, .btn-navbar, .tbm-button) {
      position: relative;
      z-index: 1002;
      display: inline-grid !important;
      place-items: center;
      width: 3rem;
      height: 3rem;
      margin: 0 -.5rem 0 0;
      padding: 0;
      border: 0;
      border-radius: .375rem;
      background: transparent;
      color: #fff;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;

      &:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
      }
    }

    & .tbm-button-container {
      position: relative;
      display: block;
      width: 1.5rem;
      height: 1.125rem;

      & > span {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        margin: 0 !important;
        border-radius: 2px;
        background: currentColor !important;
        opacity: 1 !important;
        rotate: none !important;
        scale: none !important;
        transform: none !important;
        transition: transform .32s cubic-bezier(.2, .7, .2, 1), opacity .32s cubic-bezier(.2, .7, .2, 1) !important;
      }

      & > span:nth-child(1) { top: 0 !important; bottom: auto !important; }
      & > span:is(:nth-child(2), :nth-child(3)) { top: calc(50% - 1px) !important; bottom: auto !important; }
      & > span:nth-child(4) { top: auto !important; bottom: 0 !important; }
    }

    & :is(.tbm--mobile-show .tbm-button, .tbm-button[aria-expanded="true"]) .tbm-button-container {
      & > span:is(:nth-child(1), :nth-child(4)) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
      }

      & > span:nth-child(2) { transform: rotate(45deg) !important; }
      & > span:nth-child(3) { transform: rotate(-45deg) !important; }
    }

    & :is(.tb-megamenu, .tbm)::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgb(var(--shade) / .55);
      opacity: 0;
      visibility: hidden;
      transition: opacity .32s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .32s;
    }

    & :is(.tb-megamenu, .tbm).tbm--mobile-show::after {
      opacity: 1;
      visibility: visible;
      transition: opacity .32s cubic-bezier(.2, .7, .2, 1), visibility 0s;
    }

    & :is(.nav-collapse, .tbm-collapse) {
      position: fixed !important;
      top: 0 !important;
      bottom: 0 !important;
      left: 0 !important;
      right: auto !important;
      z-index: 1000 !important;
      display: block !important;
      width: min(20rem, 85vw) !important;
      height: 100dvh !important;
      max-height: none !important;
      margin: 0 !important;
      padding: calc(1.5rem + env(safe-area-inset-top)) 0 calc(1.5rem + env(safe-area-inset-bottom)) !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
      overscroll-behavior: contain;
      background: var(--c-brand) !important;
      box-shadow: none;
      opacity: 1 !important;
      translate: none !important;
      transform: translateX(-100%) !important;
      visibility: hidden !important;
      transition: transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .32s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .32s !important;

      &::before {
        content: "";
        display: block;
        width: 2.5rem;
        height: 3px;
        margin: .25rem 1.25rem 1rem;
        border-radius: 3px;
        background: var(--c-accent);
      }
    }

    & .nav-collapse.in,
    & .tbm--mobile-show .tbm-collapse {
      transform: none !important;
      visibility: visible !important;
      box-shadow: .5rem 0 2rem rgb(0 0 0 / .3);
      transition: transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .32s cubic-bezier(.2, .7, .2, 1), visibility 0s !important;
    }

    & :is(.tb-megamenu-nav, .tbm-nav).level-0 {
      display: flex !important;
      flex-direction: column;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1 {
      border-bottom: 1px solid rgb(255 255 255 / .12);
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1 > .tbm-link-container {
      justify-content: space-between;
      min-height: 3.25rem;
      border-radius: 0;

      & > :is(a, span) {
        flex: 1;
        padding: .875rem 1.25rem;
        font-size: 1rem;
        white-space: normal;
      }

      &:has(> a):hover { background: rgb(255 255 255 / .08); }
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(.active, .active-trail) > .tbm-link-container {
      background: rgb(255 255 255 / .1);
      box-shadow: inset 4px 0 var(--c-accent);
    }

    & .tbm-submenu-toggle {
      width: 3rem;
      height: 3rem;
      margin-right: .5rem;

      &::before { width: .5em; height: .5em; }
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(
      .open, .is-open,
      :has(> .tbm-link-container > [aria-expanded="true"])
    ) .tbm-submenu-toggle::before {
      rotate: 225deg;
      translate: 0 .1em;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1 > :is(.tb-megamenu-submenu, .tbm-submenu) {
      position: static !important;
      display: none !important;
      width: auto !important;
      margin: 0;
      padding: .375rem 0 .625rem;
      border: 0;
      background: color-mix(in srgb, var(--c-brand) 82%, #000) !important;
      box-shadow: none;
    }

    & :is(.tb-megamenu-item, .tbm-item).level-1:is(
      .open, .is-open,
      :has(> .tbm-link-container > [aria-expanded="true"])
    ) > :is(.tb-megamenu-submenu, .tbm-submenu) {
      display: block !important;
    }

    & :is(.tb-megamenu-submenu, .tbm-submenu) .tbm-link-container > :is(a, span) {
      position: relative;
      padding: .6875rem 1.25rem .6875rem 2.5rem;
      border-radius: 0;
      color: rgb(255 255 255 / .88) !important;
      font-size: .9375rem;

      &::before {
        content: "";
        position: absolute;
        left: 1.5rem;
        top: 50%;
        width: .375rem;
        height: .375rem;
        border-radius: 50%;
        background: rgb(255 255 255 / .45);
        translate: 0 -50%;
      }

      &:hover {
        background: rgb(255 255 255 / .08);
        color: #fff !important;
      }
    }

    & :is(.tb-megamenu-submenu, .tbm-submenu) .tbm-link-container > .active-trail {
      color: var(--c-accent) !important;
      font-weight: 700;

      &::before { background: var(--c-accent); }
    }
  }

  @media (width < 48rem) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo lang book"
      "bar  bar  bar";
    align-items: center;
    gap: .75rem .5rem;

    &::before,
    &::after { content: none; }

    & > .field__item:has(.block-system-branding-block) {
      grid-area: logo;
      margin: 0;
      margin-top: 1rem;

      & img { height: 2.75rem; }
    }

    & > .field__item:has(.field--name-field-bt-home-header-descrip-tex),
    & > .field__item:has(.field--name-field-bt-home-header-rds-content) {
      display: none !important;
    }

    & > .field__item:has(.block-language) {
      grid-area: lang;
      justify-self: center;
      margin-top: 1rem;

      & ul { gap: .125rem; }

      & .language-link {
        width: 1.875rem;
        height: 1.875rem;
      }

      & .language-icon {
        width: 1.25rem !important;
        height: 1.25rem !important;
      }
    }

    & > .field__item:has(.field--name-field-bt-home-header-btn-bn-link) {
      grid-area: book;
      margin-top: 1rem;

      & a {
        padding: .5625rem .875rem;
        font-size: .8125rem;
      }
    }

    & > .field__item:has(:is(.block-tb-megamenu, .tbm, .tb-megamenu)) {
      grid-area: bar;
      margin-top: 0;
    }

    & > .field__item:has(.field--name-field-bt-home-header-correo-mail) {
      grid-area: bar;
      z-index: 1;
      align-self: start;
      justify-self: start;
      height: 3rem;
      max-width: calc(100% - 3.5rem);
      min-width: 0;
      color: #fff;
      font-size: .8125rem;

      &::before { background: #fff; }

      & a {
        overflow: hidden;
        text-overflow: ellipsis;
        color: #fff;

        &:hover {
          color: #fff;
          text-decoration: underline;
        }
      }
    }
  }
}

@media (width < 75rem) {
  html:has(.field--name-field-bt-home-header-content .tbm--mobile-show) {
    overflow: hidden;
  }
}


/* 4. Hero slider */
.paragraph--type--para-tp-home-hero-slider {
  clear: both;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: max(26rem, min(80svh, 44rem));
  padding-block: 2.5rem;
  padding-inline: max(
    clamp(1rem, .413rem + 2.609vw, 2.5rem),
    (100% - 90rem) / 2 + clamp(1rem, .413rem + 2.609vw, 2.5rem)
  );
  margin-top: 0;
  overflow: hidden;
  color: #fff;

  & a:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
  }

  & > .field--name-field-para-tp-hm-hr-slider-back {
    position: absolute;
    inset: 0;
    z-index: -2;

    & :is(.media--type-image, .field--name-field-media-image, .field--name-field-media-image > .field__item) {
      height: 100%;
    }

    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
    }
  }

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg,
        rgb(var(--shade) / .88),
        rgb(var(--shade) / .62) 40%,
        rgb(var(--shade) / .2) 72%,
        rgb(var(--shade) / .05)),
      linear-gradient(
        rgb(var(--shade) / .35),
        rgb(var(--shade) / .15) 45%,
        rgb(var(--shade) / .4));
  }

  & .field--name-field-para-tp-hm-hr-slider-title {
    max-width: 50rem;

    &::before {
      content: "";
      display: block;
      width: 4rem;
      height: 4px;
      margin-bottom: 2rem;
      background: var(--c-accent);
    }

    & h1 {
      margin: 0;
      color: #fff;
      font: 700 clamp(1.9rem, 1.4rem + 2vw, 3.1rem) / 1.2 var(--font-base);
      text-shadow: 0 2px 18px rgb(0 0 0 / .45);
      text-wrap: balance;
    }
  }

  & .field--name-field-para-tp-hm-hr-slider-desc {
    max-width: 50rem;
    margin-top: 1.25rem;
    color: rgb(255 255 255 / .85);
    font-size: .9375rem;
    line-height: 1.85;
    text-wrap: pretty;
  }

  & .field--name-field-para-tp-hm-hr-slider-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100%;
    margin-top: 2rem;

    & > .field__item { flex: 1 1 auto; }

    & > .field__item:first-child a {
      background: var(--c-accent);
      color: var(--c-ink);

      &:hover { background: color-mix(in srgb, var(--c-accent) 92%, #000); }
    }
  }

  & .field--name-field-para-tp-hm-hr-sld-btn-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    padding: .6875rem 1.375rem;
    border: 1.5px solid transparent;
    border-radius: .375rem;
    background: var(--c-brand);
    color: #fff;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1);

    &::after {
      content: "\2192";
      content: "\2192" / "";
      font-weight: 400;
      transition: translate .25s cubic-bezier(.2, .7, .2, 1);
    }

    &:hover {
      background: color-mix(in srgb, var(--c-brand) 76%, #000);
      translate: 0 -2px;

      &::after { translate: .2em 0; }
    }
  }

  @media (width >= 48rem) {
    padding-block: 3.5rem;
  }
}


/* 5. Descripción */
.field--name-field-bt-hm-stn-descript-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: .875rem;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding: 2rem clamp(1rem, .413rem + 2.609vw, 2.5rem);
  text-align: center;

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & > .field__item:first-child { width: 8.5rem; }

  & .field--name-field-bt-hm-stn-descrip-icon img {
    display: block;
    width: 100%;
    height: auto;
  }

  & .field--name-field-bt-hm-stn-descrip-title h2 {
    margin: 0;
    color: var(--c-brand);
    font: 700 clamp(1.2rem, 1rem + .9vw, 1.7rem) / 1.3 var(--font-base);
    text-wrap: balance;
  }

  & .field--name-field-bt-hm-stn-descrip-text p {
    margin: 0;
    color: var(--c-text);
    font-size: .875rem;
    line-height: 1.9;
    text-wrap: pretty;
  }

  & .field--name-field-bt-hm-stn-descrip-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 2rem;
  }

  & .field--name-field-para-hm-stn-desc-dtl-text {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--c-brand);
    font-size: .875rem;
    font-weight: 700;

    &::before {
      content: "";
      flex: none;
      width: 1.25rem;
      height: 1.25rem;
      background: var(--c-accent);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 20 9 6l4.5 7.5L16 9.5 22 20Z'/%3E%3C/svg%3E") center / contain no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 20 9 6l4.5 7.5L16 9.5 22 20Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
  }

  @media (width >= 48rem) {
    grid-template-columns: auto minmax(0, 60rem);
    justify-content: center;
    justify-items: stretch;
    align-items: center;
    column-gap: 3rem;
    padding-block: 2.75rem;
    text-align: left;

    & > .field__item:first-child {
      grid-row: span 3;
      width: 11rem;
    }

    & > .field__item:not(:first-child) { grid-column: 2; }

    & .field--name-field-bt-hm-stn-descrip-details { justify-content: flex-start; }
  }
}


/* 6. Títulos de sección */
:is(
  .field--name-field-bt-hm-section-best-content,
  .field--name-field-bt-home-section-featured-t,
  .field--name-field-bt-hm-sctn-trs-pckg-conten,
  .field--name-field-bt-hm-sctn-trs-trk-content,
  .field--name-field-bt-content-blog
) {
  max-width: 90rem;
  margin-inline: auto;
  padding: 2rem clamp(1rem, .413rem + 2.609vw, 2.5rem);

  & :is(
    .field--name-field-bt-home-section-best-s-tit,
    .field--name-field-bt-hm-section-featrs-title,
    .field--name-field-bt-hm-sctn-trs-pkg-title,
    .field--name-field-bt-hm-sctn-trs-trek-title,
    .field--name-field-bt-hm-section-blog-title
  ) {
    text-align: center;

    & h2 {
      display: inline-block;
      margin: 0;
      padding-bottom: .625rem;
      background: linear-gradient(var(--c-accent) 0 0) center bottom / 110px 3px no-repeat;
      color: var(--c-brand);
      font: 700 clamp(1.4rem, 1.1rem + 1.3vw, 2.15rem) / 1.25 var(--font-base);
      text-wrap: balance;
    }
  }

  & :is(
    .field--name-field-bt-home-section-best-s-des,
    .field--name-field-bt-hm-section-featrs-descr,
    .field--name-field-bt-hm-sctn-tours-pckg-desc,
    .field--name-field-bt-hm-sctn-trs-trek-descp,
    .field--name-field-bt-hm-section-blog-descrip
  ) {
    max-width: 70rem;
    margin: 1.25rem auto 0;
    color: var(--c-text);
    font-size: .9375rem;
    line-height: 1.85;
    text-align: center;

    & p {
      margin: 0;
      text-wrap: pretty;
    }
  }

  @media (width >= 48rem) {
    padding-block: 2.75rem;
  }
}


/* 7. Tarjetas de tours (base compartida) */
:is(
  .view-vista-hm-card-best,
  .view-vista-hm-card-featured-tours,
  .view-vista-hm-card-tour-package,
  .view-vista-hm-card-tours-trekk
) {
  container-type: inline-size;

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & .view-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  & .views-row {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
    padding: 1.125rem;
    overflow: clip;
    border-radius: .75rem;
    background: var(--c-surface);
    box-shadow: 0 2px 6px rgb(var(--shade) / .08), 0 12px 28px rgb(var(--shade) / .12);
    transition: translate .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);

    &:is(:hover, :focus-within) {
      translate: 0 -4px;
      box-shadow: 0 6px 14px rgb(var(--shade) / .12), 0 20px 44px rgb(var(--shade) / .18);

      & .views-field-field-pgtour-thumbnail img { scale: 1.05; }
    }
  }

  & .views-field-field-pgtour-thumbnail {
    overflow: hidden;

    & :is(.field-content, a, .media, .field--name-field-media-image, .field__item) {
      display: block;
      height: 100%;
    }

    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: scale .5s cubic-bezier(.2, .7, .2, 1);
    }
  }

  & .views-field-title {
    text-wrap: balance;

    & a {
      color: var(--c-brand);
      font: 700 1.125rem / 1.25 var(--font-base);
      text-decoration: none;
      transition: color .25s cubic-bezier(.2, .7, .2, 1);

      &:hover { color: color-mix(in srgb, var(--c-brand) 76%, #000); }
    }
  }

  & .field-pgtour-introduction {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--c-muted);
    font-size: .875rem;
    line-height: 1.7;
  }

  & .views-row fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  & .views-row :has(:is(.gr-tour-booking, .views-field-fieldset-1)) {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: .5rem;
    min-width: 0;
  }

  & :is(.gr-tour-booking, .views-field-fieldset-1) { margin-top: auto; }

  & :is(.gr-tour-booking, .views-field-fieldset-1 > .field-content > div) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
    padding-top: .875rem;
    border-top: 1px solid var(--c-line);
  }

  & .field-pgtour-price {
    color: var(--c-soft);
    font-size: .8125rem;
    line-height: 1.35;

    & .price {
      display: block;
      margin-top: .1rem;
      color: var(--c-brand);
      font: 700 1.125rem / 1.15 var(--font-base);
    }
  }

  & .field-pgtour-link-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    padding: .625rem 1.25rem;
    border: 1.5px solid transparent;
    border-radius: .375rem;
    background: var(--c-brand);
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
      background-color .25s cubic-bezier(.2, .7, .2, 1),
      color .25s cubic-bezier(.2, .7, .2, 1),
      border-color .25s cubic-bezier(.2, .7, .2, 1),
      translate .25s cubic-bezier(.2, .7, .2, 1);

    &::after {
      content: "\2192";
      content: "\2192" / "";
      font-weight: 400;
      transition: translate .25s cubic-bezier(.2, .7, .2, 1);
    }

    &:hover {
      background: color-mix(in srgb, var(--c-brand) 76%, #000);
      color: #fff;
      translate: 0 -2px;

      &::after { translate: .2em 0; }
    }
  }

  @media (width >= 48rem) {
    & .view-content { gap: 1.5rem; }
    & .views-field-title a { font-size: 1.25rem; }
    & .field-pgtour-price .price { font-size: 1.25rem; }
  }
}

@container (inline-size >= 36rem) {
  :is(.view-vista-hm-card-best, .view-vista-hm-card-tour-package, .view-vista-hm-card-tours-trekk) .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (inline-size >= 56rem) {
  :is(.view-vista-hm-card-best, .view-vista-hm-card-tour-package, .view-vista-hm-card-tours-trekk) .view-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* 8. Best Sellers: título sobre la foto */
.view-vista-hm-card-best {
  & .field-pgtour-introduction { -webkit-line-clamp: none; }

  & .views-field-field-pgtour-thumbnail {
    position: relative;
    height: 13rem;
    margin: -1.125rem -1.125rem .625rem;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 60%;
      pointer-events: none;
      background: linear-gradient(transparent, rgb(var(--shade) / .72));
    }
  }

  & .views-field-title {
    position: absolute;
    z-index: 1;
    left: 1.125rem;
    right: 1.125rem;
    top: 12.125rem;
    translate: 0 -100%;

    & a {
      color: #fff;
      text-shadow: 0 2px 10px rgb(0 0 0 / .5);

      &:hover { color: var(--c-accent); }
      &:focus-visible { outline-color: #fff; }
    }
  }

  @media (width >= 80rem) {
    & .views-field-field-pgtour-thumbnail { height: 15rem; }
    & .views-field-title { top: 14.125rem; }
  }
}


/* 8b. Best Sellers: badge de la taxonomía sobre la foto */
.view-vista-hm-card-best {
  & .views-field-field-pgtour-tax-paq-tour {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    max-width: calc(100% - 1.5rem);
  }

  & .card-badge-pgtour {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .375rem;
  }

  & .card-badge-pgtour .taxonomy-term {
    --badge-bg: var(--c-accent);
    --badge-ink: var(--c-ink);
    --badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E");

    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .3125rem .6875rem;
    border-radius: 999px;
    background: var(--badge-bg);
    box-shadow: 0 2px 8px rgb(var(--shade) / .25);
    color: var(--badge-ink);
    font: 700 .75rem / 1.2 var(--font-base);
    letter-spacing: .02em;
    white-space: nowrap;

    &::before {
      content: "";
      flex: none;
      width: 1.15em;
      height: 1.15em;
      background: currentColor;
      -webkit-mask: var(--badge-icon) center / contain no-repeat;
              mask: var(--badge-icon) center / contain no-repeat;
    }

    & :is(h2, h2 > a, .field--name-name) {
      display: contents;
      margin: 0;
      color: inherit;
      font: inherit;
      text-decoration: none;
    }

    & a { pointer-events: none; }

    & > .content:not(:has(*)) { display: none; }

    & > .content:has(img) {
      order: -1;
      display: flex;

      & :is(.field, .field__item, .media) { display: contents; }

      & img {
        display: block;
        width: 1.15em;
        height: 1.15em;
        object-fit: contain;
      }
    }

    &:has(> .content img)::before { display: none; }
  }

  & .card-badge-pgtour #taxonomy-term-6 {
    --badge-bg: var(--c-brand);
    --badge-ink: #fff;
    --badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2c2.8.4 5 2.8 5 5.8'/%3E%3C/svg%3E");
  }
}


/* 9. Destacados */
.view-vista-hm-card-featured-tours {
  & .field-pgtour-introduction { -webkit-line-clamp: 2; }

  & :is(
    .views-field-fieldset,
    .views-field-fieldset-1,
    .views-field-fieldset > .field-content,
    .views-field-fieldset-1 > .field-content
  ):empty {
    display: none;
  }

  & .views-row:first-child {
    justify-content: flex-end;
    min-height: 22rem;
    padding: 1.5rem;

    & .field-pgtour-introduction { -webkit-line-clamp: none; }

    & :has(:is(.gr-tour-booking, .views-field-fieldset-1)) { flex-grow: 0; }
    & :is(.gr-tour-booking, .views-field-fieldset-1) { margin-top: 0; }

    & .views-field-field-pgtour-thumbnail {
      position: absolute;
      inset: 0;
      z-index: -1;

      &::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
          rgb(var(--shade) / .05),
          rgb(var(--shade) / .3) 40%,
          rgb(var(--shade) / .9));
      }
    }

    & .views-field-title a {
      font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem);
      text-shadow: 0 2px 12px rgb(0 0 0 / .5);
    }
  }

  & .views-row:not(:first-child) {
    padding-left: calc(min(38%, 15rem) + 1.125rem);

    & .views-field-field-pgtour-thumbnail {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: min(38%, 15rem);
    }
  }
}

@container (inline-size >= 48rem) {
  .view-vista-hm-card-featured-tours .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .view-vista-hm-card-featured-tours .views-row:first-child {
    grid-row: span 2;
  }

  .view-vista-hm-card-featured-tours .view-content:has(> .views-row:nth-child(4)) > .views-row:first-child {
    grid-row: span 3;
  }
}


/* 10. Paquetes */
.view-vista-hm-card-tour-package {
  & .views-field-field-pgtour-thumbnail {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: -1.125rem -1.125rem .625rem;
  }

  & .field-pgtour-link-content a {
    border-color: var(--c-brand);
    background: var(--c-surface);
    color: var(--c-brand);

    &:hover {
      border-color: var(--c-brand);
      background: var(--c-brand);
      color: #fff;
    }
  }

  & :is(.views-field-field-pgtour-duration, .field-pgtour-duration:not(.views-field-field-pgtour-duration *)) {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 1;
    padding: .3125rem .6875rem;
    border-radius: 999px;
    background: rgb(255 255 255 / .92);
    box-shadow: 0 2px 8px rgb(0 0 0 / .12);
    color: var(--c-brand);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
  }
}


/* 11. Trekking */
.view-vista-hm-card-tours-trekk {
  & .field-pgtour-introduction { -webkit-line-clamp: 2; }

  & .views-row {
    justify-content: flex-end;
    min-height: 26rem;
  }

  & .views-row :has(:is(.gr-tour-booking, .views-field-fieldset-1)) { flex-grow: 0; }
  & :is(.gr-tour-booking, .views-field-fieldset-1) { margin-top: 0; }

  & .views-field-field-pgtour-thumbnail {
    position: absolute;
    inset: 0;
    z-index: -1;

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(
        rgb(var(--shade) / .05),
        rgb(var(--shade) / .3) 40%,
        rgb(var(--shade) / .9));
    }
  }

  & .views-field-title a { text-shadow: 0 2px 12px rgb(0 0 0 / .5); }

  @media (width >= 80rem) {
    & .views-row { min-height: 30rem; }
  }
}


/* 11b. Tarjetas con foto de fondo: textos en blanco */
:is(
  .view-vista-hm-card-featured-tours .views-row:first-child,
  .view-vista-hm-card-tours-trekk .views-row
) {
  & a:focus-visible { outline-color: #fff; }

  & .views-field-title a {
    color: #fff;

    &:hover { color: var(--c-accent); }
  }

  & .field-pgtour-introduction { color: rgb(255 255 255 / .88); }

  & :is(.gr-tour-booking, .views-field-fieldset-1 > .field-content > div) {
    border-top-color: rgb(255 255 255 / .28);
  }

  & .field-pgtour-price {
    color: rgb(255 255 255 / .8);

    & .price { color: #fff; }
  }

  & .field-pgtour-link-content a {
    border-color: rgb(255 255 255 / .7);
    background: transparent;
    color: #fff;

    &:hover {
      border-color: #fff;
      background: #fff;
      color: var(--c-brand);
    }
  }
}


/* 12. Blogs (home) */
.view-vista-hm-card-blogs {
  container: blogs / inline-size;

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & .view-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  & .views-row {
    container: card / inline-size;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(7.5rem, 35%) minmax(0, 1fr);
    min-width: 0;
    overflow: clip;
    border-radius: .75rem;
    background: var(--c-surface);
    box-shadow: 0 2px 6px rgb(var(--shade) / .08), 0 12px 28px rgb(var(--shade) / .12);
    transition: translate .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);

    &:is(:hover, :focus-within) {
      translate: 0 -4px;
      box-shadow: 0 6px 14px rgb(var(--shade) / .12), 0 20px 44px rgb(var(--shade) / .18);

      & .views-field-field-bt-bp-hero-back-1 img { scale: 1.05; }
    }
  }

  & .views-field-field-bt-bp-hero-back-1 {
    position: relative;
    min-height: 8.5rem;
    overflow: hidden;

    & .field__label { display: none; }

    & img {
      display: block;
      transition: scale .5s cubic-bezier(.2, .7, .2, 1);
    }
  }

  & .views-field-fieldset {
    display: flex;
    min-width: 0;
    padding: .875rem 1rem;

    & > .field-content {
      display: flex;
      flex: 1;
      min-width: 0;
    }

    & > .field-content > div {
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: .5rem;
      min-width: 0;
    }
  }

  & .views-field-title {
    text-wrap: balance;

    & a {
      color: var(--c-brand);
      font: 700 1rem / 1.3 var(--font-base);
      text-decoration: none;
      transition: color .25s cubic-bezier(.2, .7, .2, 1);

      &:hover { color: color-mix(in srgb, var(--c-brand) 76%, #000); }
    }
  }

  & .field-pgtour-introduction {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--c-muted);
    font-size: .8125rem;
    line-height: 1.65;
  }

  & .views-field-fieldset-1 {
    margin-top: auto;
    padding-top: .25rem;

    & > .field-content { display: block; }
  }

  & .gr-blog-visit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;

    & > .views-field-view-node-1 { margin-left: auto; }
  }

  & :is(
    .views-field-created, .views-field-changed, .views-field-published-at,
    .views-field-uid, .views-field-name
  ) {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    color: var(--c-ink);
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;

    & a {
      color: inherit;
      text-decoration: none;
    }

    &::before {
      content: "";
      flex: none;
      width: 1.15em;
      height: 1.15em;
      background: var(--c-accent);
    }
  }

  & :is(.views-field-created, .views-field-changed, .views-field-published-at)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  & :is(.views-field-uid, .views-field-name)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M6.5 18.5c1.2-2 3.2-3 5.5-3s4.3 1 5.5 3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M6.5 18.5c1.2-2 3.2-3 5.5-3s4.3 1 5.5 3'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  & .views-field-view-node-1 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    padding: .5625rem 1.125rem;
    border-radius: .375rem;
    background: var(--c-brand);
    color: #fff;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1);

    &::after {
      content: "\2192";
      content: "\2192" / "";
      font-weight: 400;
      transition: translate .25s cubic-bezier(.2, .7, .2, 1);
    }

    &:hover {
      background: color-mix(in srgb, var(--c-brand) 76%, #000);
      translate: 0 -2px;

      &::after { translate: .2em 0; }
    }
  }

  & .views-row:first-child {
    display: flex;
    flex-direction: column;

    & .views-field-field-bt-bp-hero-back-1 {
      flex: none;
      aspect-ratio: 16 / 9;
      min-height: 0;
    }

    & .views-field-fieldset { padding: 1.125rem 1.25rem; }

    & .views-field-title a { font-size: 1.125rem; }

    & .field-pgtour-introduction {
      -webkit-line-clamp: 2;
      font-size: .875rem;
    }
  }

  @media (width >= 48rem) {
    & .view-content { gap: 1.5rem; }
    & .views-row:first-child .views-field-title a { font-size: 1.25rem; }
  }

  @container blogs (inline-size >= 56rem) {
    & .view-content {
      grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
      align-items: stretch;
    }

    & .views-row:first-child { grid-row: span 2; }

    & .view-content:not(:has(> .views-row:nth-child(3))) > .views-row:first-child { grid-row: auto; }
    & .view-content:has(> .views-row:nth-child(4)) > .views-row:first-child { grid-row: span 3; }
    & .view-content:has(> .views-row:nth-child(5)) > .views-row:first-child { grid-row: span 4; }

    & .views-row:first-child .views-field-field-bt-bp-hero-back-1 {
      flex: 1 1 auto;
      aspect-ratio: auto;
      min-height: 14rem;
    }
  }

  @container card (inline-size >= 34rem) {
    & .views-row:first-child .views-field-fieldset > .field-content > div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto 1fr;
      gap: .5rem 2rem;

      & > .views-field-title { grid-area: 1 / 1; }
      & > :is(.views-field-field-bt-bp-hero-content-info, .views-field-body, .views-field-nothing) { grid-area: 2 / 1; }

      & > .views-field-fieldset-1 {
        grid-area: 1 / 2 / 3 / 3;
        margin: 0;
        padding: 0;

        & > .field-content { height: 100%; }
      }
    }

    & .views-row:first-child .gr-blog-visit {
      height: 100%;
      justify-content: flex-end;
      align-content: space-between;

      & > .views-field-view-node-1 {
        display: flex;
        flex-basis: 100%;
        justify-content: flex-end;
      }
    }
  }

  @container card (inline-size < 22rem) {
    & .views-row:not(:first-child) {
      grid-template-columns: minmax(0, 1fr);

      & .views-field-field-bt-bp-hero-back-1 {
        aspect-ratio: 16 / 9;
        min-height: 0;
      }
    }
  }
}


/* 13. Blogs (página de artículo) */
.path-node.page-node-type-page-blog {
  --pmt-teal: #26a5b0;
  --pmt-teal-dark: #0e8a96;
  --pmt-orange: #f39c12;
  --pmt-gray: #8a8f98;
  --pmt-border: #e2e4e8;
  background: #fff;
}

.page-node-type-page-blog #contenedor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "hero"
    "crumb"
    "toc"
    "content";
  gap: 1rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

.page-node-type-page-blog #contenido,
.page-node-type-page-blog #contenido > .region-content,
.page-node-type-page-blog #block-perumachupicchutravel-content,
.page-node-type-page-blog .node--type-page-blog,
.page-node-type-page-blog .node--type-page-blog > .node__content {
  display: contents;
}

.page-node-type-page-blog .node--type-page-blog .node__meta { display: none; }

.page-node-type-page-blog .field--name-field-bt-bp-hero-back {
  grid-area: hero;
  position: relative;
  height: 13rem;
  border-radius: 12px;
  overflow: hidden;
}

.page-node-type-page-blog .field--name-field-bt-bp-hero-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}

.page-node-type-page-blog .field--name-field-bt-bp-hero-back article,
.page-node-type-page-blog .field--name-field-bt-bp-hero-back .field__item {
  height: 100%;
}

.page-node-type-page-blog .field--name-field-bt-bp-hero-back img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-node-type-page-blog .field--name-field-bt-bp-hero-title {
  grid-area: hero;
  align-self: end;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 1.25rem;
  pointer-events: none;
}

.page-node-type-page-blog .field--name-field-bt-bp-hero-title h2 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.page-node-type-page-blog #block-perumachupicchutravel-breadcrumbs-2 {
  grid-area: crumb;
  padding-left: .5rem;
}

.page-node-type-page-blog .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  font-weight: 600;
}

.page-node-type-page-blog .breadcrumb li + li::before {
  content: ">";
  color: var(--pmt-orange);
  margin-right: .3rem;
}

.page-node-type-page-blog .breadcrumb a {
  color: var(--pmt-teal-dark);
  text-decoration: none;
}

.page-node-type-page-blog .breadcrumb a:hover { text-decoration: underline; }

.page-node-type-page-blog .breadcrumb li:last-child:not(:has(a)) { color: var(--pmt-gray); }

.page-node-type-page-blog .field--name-field-bt-bp-hero-content-info {
  grid-area: content;
  min-width: 0;
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--pmt-border);
  border-left: 1px solid var(--pmt-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .18);
}

.page-node-type-page-blog #sidebar_right {
  grid-area: toc;
  align-self: stretch;
}

.page-node-type-page-blog .toc-js-container {
  position: static;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .18);
  overflow: hidden;
}

.page-node-type-page-blog .toc-js-container .toc-title {
  padding: .4375rem .75rem;
  background: var(--pmt-teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.page-node-type-page-blog .toc-js-container nav > ul {
  margin: 0;
  padding: 1rem 1.125rem 1.25rem 1.5rem;
  list-style: none;
}

.page-node-type-page-blog .toc-js-container ul ul {
  margin: .625rem 0 0 .25rem;
  padding: 0 0 0 .625rem;
  list-style: none;
  border-left: 2px solid #c9ccd1;
}

.page-node-type-page-blog .toc-js-container li { margin: 0; }

.page-node-type-page-blog .toc-js-container .toc-h3 + .toc-h3 { margin-top: .75rem; }

.page-node-type-page-blog .toc-js-container a {
  text-decoration: none;
  transition: color .2s ease;
}

.page-node-type-page-blog .toc-js-container .toc-h2 > a {
  color: var(--pmt-teal-dark);
  font-size: .875rem;
  font-weight: 700;
}

.page-node-type-page-blog .toc-js-container .toc-h3 > a {
  display: block;
  color: var(--pmt-gray);
  font-size: .8125rem;
  line-height: 1.35;
}

.page-node-type-page-blog .toc-js-container .toc-h3 > a:hover,
.page-node-type-page-blog .toc-js-container .toc-h3.toc-active > a {
  color: var(--pmt-teal-dark);
}

@media (width >= 62rem) {
  .page-node-type-page-blog #contenedor {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "hero    hero"
      "crumb   ."
      "content toc";
    padding-inline: 1.25rem;
    padding-bottom: 3rem;
  }

  .page-node-type-page-blog .field--name-field-bt-bp-hero-back { height: 17.5rem; }

  .page-node-type-page-blog .field--name-field-bt-bp-hero-title { padding: 0 1.5rem 1.5rem; }

  .page-node-type-page-blog .field--name-field-bt-bp-hero-title h2 { font-size: 1.75rem; }

  .page-node-type-page-blog .toc-js-container {
    position: sticky;
    top: 1rem;
  }
}


/* 14. Tour (página de paquete) */
.path-node.page-node-type-package-tour {
  --tour-max: 87.5rem;
  --side-w: clamp(20rem, 31%, 28rem);
  --tour-gap: 2rem;
  background: color-mix(in srgb, var(--c-line) 35%, var(--c-surface));
}

.page-node-type-package-tour #slider {
  & .view-vista-slider-tour .views-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    max-width: var(--tour-max);
    margin: 0 auto;
    padding: 1rem clamp(1rem, .413rem + 2.609vw, 2.5rem) 0;
  }

  & :is(
    .views-field-field-pgtour-slider-image,
    .views-field-field-pgtour-slider-image > .field-content,
    .image-gallery,
    .gallery-grid
  ) {
    display: contents;
  }

  & .gallery-grid > a {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: .375rem;

    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: scale .5s cubic-bezier(.2, .7, .2, 1);
    }

    &:hover img { scale: 1.04; }

    &:focus-visible {
      outline: 2px solid var(--c-brand);
      outline-offset: 3px;
    }
  }

  & .gallery-grid > a:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 10;

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(rgb(var(--shade) / 0) 45%, rgb(var(--shade) / .75));
    }
  }

  & .gallery-grid > a:nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; }
  & .gallery-grid > a:nth-child(3) { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 3; }

  & .gallery-grid > a:nth-child(n+4) { display: none; }

  & .views-field-title {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: end;
    z-index: 1;
    padding: 0 1.25rem 1.25rem;
    pointer-events: none;

    &::before {
      content: "";
      display: block;
      width: 4rem;
      height: 4px;
      margin-bottom: 1rem;
      background: var(--c-accent);
    }

    & a {
      color: #fff;
      font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.25rem) / 1.2 var(--font-base);
      text-decoration: none;
      text-shadow: 0 2px 14px rgb(0 0 0 / .45);
      text-wrap: balance;
    }
  }

  & .tour-duration {
    display: block;
    margin-top: .5rem;
    color: #fff;
    font: 700 .875rem / 1.4 var(--font-base);
    text-shadow: 0 1px 6px rgb(0 0 0 / .45);
  }

  @media (width >= 62rem) {
    & .view-vista-slider-tour .views-row {
      grid-template-columns: minmax(0, 1fr) var(--side-w);
      grid-template-rows: repeat(2, minmax(0, 1fr));
      column-gap: var(--tour-gap);
      row-gap: .75rem;
      height: clamp(23rem, 30vw, 28rem);
    }

    & .gallery-grid > a:nth-child(1) { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; }
    & .gallery-grid > a:nth-child(2) { grid-column: 2; grid-row: 1; aspect-ratio: auto; }
    & .gallery-grid > a:nth-child(3) { grid-column: 2; grid-row: 2; aspect-ratio: auto; }

    & .views-field-title {
      grid-column: 1;
      grid-row: 1 / -1;
      padding: 0 2rem 2rem;
    }
  }
}

.page-node-type-package-tour #contenedor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "content"
    "side";
  gap: 1.5rem;
  align-items: start;
  max-width: var(--tour-max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, .413rem + 2.609vw, 2.5rem) 3rem;

  @media (width >= 62rem) {
    grid-template-columns: minmax(0, 1fr) var(--side-w);
    grid-template-areas: "content side";
    column-gap: var(--tour-gap);
  }
}

.page-node-type-package-tour #sidebar_right {
  grid-area: side;
  min-width: 0;

  @media (width >= 62rem) {
    position: sticky;
    top: 1rem;
    margin-top: 2.5rem;
  }
}

/* Tarjeta de precio (vista_tour_booking) */
.view-vista-tour-booking {
  & .views-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.75rem 2rem;
    border: 1px solid var(--c-line);
    border-radius: .75rem;
    background: var(--c-surface);
    box-shadow: 0 4px 6px rgb(var(--shade) / .1), 0 14px 30px rgb(var(--shade) / .12);
    color: var(--c-text);
    text-align: center;
  }

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & .views-field-delta { display: none; }
  & .views-field:has(> .field-content:empty) { display: none; }

  & .views-field-field-pgtour-price-discount {
    position: absolute;
    top: -1px;
    right: 1.75rem;
    padding: .875rem .75rem .625rem;
    border-radius: 0 0 .625rem .625rem;
    background: var(--c-accent);
    color: var(--c-ink);
    font: 700 1.125rem / 1 var(--font-base);
  }

  & .views-field-title {
    margin: 0 0 1.25rem;
    text-wrap: balance;

    & a {
      color: var(--c-ink);
      font: 700 clamp(1.4rem, 1.1rem + .8vw, 1.75rem) / 1.2 var(--font-base);
      text-decoration: none;
      transition: color .25s cubic-bezier(.2, .7, .2, 1);

      &:hover { color: var(--c-brand); }
    }
  }

  & .views-field-field-pgtour-price-previous {
    width: 100%;
    margin-bottom: -.125rem;
  }

  & .view__field-price-previous {
    color: var(--c-soft);
    font: 700 1.25rem / 1.2 var(--font-base);
    text-decoration: line-through 2px;
    opacity: .5;
  }

  & .views-field-field-pgtour-price { width: 100%; }

  & .view__field-price {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "label price currency"
      ".     unit  .";
    align-items: center;
    column-gap: .875rem;
    width: 100%;
    color: var(--c-brand);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;

    & .price-label {
      grid-area: label;
      justify-self: end;
      letter-spacing: .02em;
    }

    & .price {
      grid-area: price;
      color: var(--c-ink);
      font: 700 clamp(2.5rem, 2rem + 1.4vw, 3rem) / 1 var(--font-base);
      letter-spacing: -.01em;
      text-transform: none;
      white-space: nowrap;
    }

    & .price-currency {
      grid-area: currency;
      justify-self: start;
      align-self: end;
      padding-bottom: .25rem;
      font-size: 1.125rem;
    }

    & .price-unit {
      grid-area: unit;
      margin-top: .375rem;
      color: var(--c-soft);
      font-size: 1rem;
      font-weight: 700;
      text-transform: none;
      opacity: .5;
    }

    &:not(:has(.price-label)) {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .125rem;
    }
  }

  & .views-field-field-pgtour-parag-det-tour {
    width: 100%;
    margin: 1.75rem 0 .5rem;

    & > .field-content {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
  }

  & .paragraph--type--tip-parag-deta-tour {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: .75rem;
    row-gap: .125rem;
    padding: .75rem .875rem;
    border-radius: .375rem;
    background: var(--c-surface);
    box-shadow: 0 3px 8px rgb(var(--shade) / .18);
    text-align: left;

    & :is(
      .field--name-field-tip-parag-deta-tour-conten,
      .taxonomy-term,
      .taxonomy-term > h2,
      .taxonomy-term > h2 > a,
      .taxonomy-term > .content
    ) {
      display: contents;
    }

    & .field--name-field-tax-paq-det-icon {
      grid-column: 1;
      grid-row: 1 / span 2;

      & img {
        display: block;
        width: 2.125rem;
        height: 2.125rem;
        object-fit: contain;
      }
    }

    & .field--name-name {
      grid-column: 2;
      grid-row: 1;
      align-self: end;
      color: var(--c-ink);
      font-size: .8125rem;
      font-weight: 700;
      line-height: 1.2;
      text-transform: uppercase;
    }

    & .field--name-field-tip-parag-det-tour-valor {
      grid-column: 2;
      grid-row: 2;
      align-self: start;
      padding-left: .375rem;
      color: var(--c-ink);
      font-size: .8125rem;
      line-height: 1.3;
    }

    & a {
      color: inherit;
      text-decoration: none;
    }
  }

  & .views-field-fieldset {
    width: 100%;
    margin-top: 1.75rem;
    padding-inline: 1rem;

    & > .field-content { display: block; }
  }

  & .gr__booking-links {
    display: grid;
    gap: .875rem;
  }

  & .web-consult-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: .375rem;
    background: var(--c-brand);
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), translate .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);

    &::after {
      content: "\2192";
      content: "\2192" / "";
      font-weight: 400;
      transition: translate .25s cubic-bezier(.2, .7, .2, 1);
    }

    &:hover {
      background: color-mix(in srgb, var(--c-brand) 76%, #000);
      translate: 0 -2px;
      box-shadow: 0 6px 16px rgb(var(--shade) / .2);

      &::after { translate: .2em 0; }
    }
  }

  & .vw__field-wha-enquire-now .web-consult-button {
    background: var(--c-accent);
    color: var(--c-ink);

    &:hover { background: color-mix(in srgb, var(--c-accent) 92%, #000); }
  }

  @media (width < 36rem) {
    & .views-row { padding-inline: 1.125rem; }
    & .views-field-field-pgtour-parag-det-tour > .field-content { gap: .5rem; }
    & .views-field-fieldset { padding-inline: 0; }
  }
}

.page-node-type-package-tour #contenido {
  grid-area: content;
  min-width: 0;
  color: var(--c-text);

  & a:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
  }

  & > .region-content {
    display: flex;
    flex-direction: column;
  }

  & .node--type-package-tour .node__meta { display: none; }

  & #block-perumachupicchutravel-breadcrumbs-2 {
    order: -1;
    margin-bottom: 1rem;
  }

  & .breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .8125rem;
    font-weight: 600;
  }

  & .breadcrumb a {
    color: var(--c-brand);
    text-decoration: none;

    &:hover { text-decoration: underline; }
  }

  & .breadcrumb li:last-child:not(:has(a)) { color: var(--c-soft); }

  & .field--name-field-pgtour-short-description {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--c-line);
    border-radius: .75rem;
    background: var(--c-surface);
    box-shadow: 0 2px 6px rgb(var(--shade) / .06), 0 10px 24px rgb(var(--shade) / .08);
    font-size: .875rem;
    line-height: 1.85;

    & p {
      margin: 0 0 .75rem;
      text-wrap: pretty;

      &:last-child { margin-bottom: 0; }
    }
  }

  & .entity-ref-tab-formatter-tabs > ul[role="tablist"] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: .125rem;
    margin: 0 0 1.25rem;
    padding: 0 .5rem;
    list-style: none;
    border-radius: .75rem;
    background: var(--c-brand);
    box-shadow: 0 4px 10px rgb(var(--shade) / .12), 0 14px 30px rgb(var(--shade) / .14);
    overflow-x: auto;
    scrollbar-width: none;

    &::-webkit-scrollbar { display: none; }

    & li {
      flex: none;
      margin: 0;
    }
  }

  & .tab-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.125rem .625rem;
    border-bottom: 3px solid transparent;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s cubic-bezier(.2, .7, .2, 1), border-color .25s cubic-bezier(.2, .7, .2, 1);

    & :is(.field, .media, .field__item) {
      margin: 0;
      padding: 0;
    }

    & .field--name-field-tip-parag-tab-icon {
      flex: none;

      & img {
        display: block;
        width: 1.25rem;
        height: 1.25rem;
        object-fit: contain;
        filter: brightness(0) invert(1);
        transition: scale .25s cubic-bezier(.2, .7, .2, 1);
      }
    }

    & .field--name-field-tip-parag-tab-title {
      font-size: .875rem;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: .02em;
    }

    &:hover {
      background: rgb(255 255 255 / .12);

      & .field--name-field-tip-parag-tab-icon img { scale: 1.1; }
    }

    &.is-active {
      border-bottom-color: var(--c-accent);
      background: color-mix(in srgb, var(--c-brand) 82%, #000);
    }

    &:focus-visible {
      outline: 2px solid #fff;
      outline-offset: -4px;
    }

    @media (width < 36rem) {
      gap: .375rem;
      padding-inline: .875rem;
    }
  }

  & [role="tabpanel"] {
    position: relative;
    padding: .5rem 1.5rem 1.5rem;
    border: 1px solid var(--c-line);
    border-radius: .75rem;
    background: var(--c-surface);
    box-shadow: 0 2px 6px rgb(var(--shade) / .06), 0 12px 28px rgb(var(--shade) / .1);
    animation: tour-fade .3s cubic-bezier(.2, .7, .2, 1);

    &:not(:has(*)) { display: none !important; }

    @media (width < 36rem) {
      padding: .5rem 1rem 1.25rem;
    }
  }
}

@keyframes tour-fade {
  from { opacity: 0; translate: 0 6px; }
  to   { opacity: 1; translate: 0 0; }
}


/* 14b. Tarjetas de tarifa por categoría (plantilla de CKEditor) */

.advanced-container:has(> .advanced-column > .advanced-container:first-child > .advanced-column:last-child > .advanced-container):has(> .advanced-column > .accordion) {
  --tf-color: #1b618d;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 1.5rem;

  &:nth-child(6n + 1 of .advanced-container) { --tf-color: #1b618d; }
  &:nth-child(6n + 2 of .advanced-container) { --tf-color: #07847d; }
  &:nth-child(6n + 3 of .advanced-container) { --tf-color: #e99b19; }
  &:nth-child(6n + 4 of .advanced-container) { --tf-color: #c86443; }
  &:nth-child(6n + 5 of .advanced-container) { --tf-color: #14465e; }
  &:nth-child(6n + 6 of .advanced-container) { --tf-color: #667b91; }
}

.advanced-column:has(> .advanced-container:first-child > .advanced-column:last-child > .advanced-container):has(> .accordion) {
  --tf-main: var(--tf-color, var(--c-brand));
  --tf-sky: var(--light-blue, #3fa7b5);
  --tf-head-h: 6rem;
  --tf-tint: color-mix(in srgb, var(--c-brand) 6%, var(--c-surface));
  --tf-ease: cubic-bezier(.2, .7, .2, 1);

  container: tarifa / inline-size;
  position: relative;
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: clip;
  border: 2px solid var(--tf-main);
  border-radius: .875rem;
  background: var(--c-surface);
  box-shadow:
    0 4px 10px color-mix(in srgb, var(--tf-main) 18%, transparent),
    0 14px 32px color-mix(in srgb, var(--tf-main) 24%, transparent);
  color: var(--c-ink);

  & :is(p, h3, ul) { margin: 0; }

  & .advanced-column {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }


  /* ── Cabecera ── */
  & > .advanced-container:first-child {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.25rem;
    min-height: var(--tf-head-h);
    margin: 0;
    padding: 1rem 12.5rem 1rem 1.5rem;
    background: var(--tf-main);
    color: #fff;

    & > .advanced-column:first-child {
      grid-column: 1;

      &::before {
        content: "Categoría";
        display: block;
        margin-bottom: .25rem;
        padding-left: calc(4px + .625rem);
        color: rgb(255 255 255 / .8);
        font-size: .6875rem;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
      }

      & p {
        display: flex;
        align-items: center;
        gap: .625rem;
        font-size: 1.625rem;
        font-weight: 700;
        line-height: 1.1;
        white-space: nowrap;

        &::before {
          content: "";
          flex: none;
          width: 4px;
          height: 1.1em;
          border-radius: 2px;
          background: #fff;
        }
      }
    }

    & > .advanced-column:nth-child(2):not(:last-child) {
      grid-column: 2;
      align-self: end;
      margin-bottom: .1rem;

      & p {
        display: inline-flex;
        align-items: center;
        gap: .4em;
        padding: .3125rem .75rem;
        border-radius: 999px;
        background: #fff;
        color: var(--tf-main);
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        white-space: nowrap;

        &::before {
          content: "";
          flex: none;
          width: 1.15em;
          height: 1.15em;
          background: currentColor;
          -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V5M3 15h18M21 19v-6a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
                  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V5M3 15h18M21 19v-6a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
        }
      }
    }

    & > .advanced-column:last-child {
      grid-column: 3;
      justify-self: end;
      filter: drop-shadow(0 6px 14px rgb(0 0 0 / .2));

      & > .advanced-container {
        position: relative;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas:
          "price cur"
          "price unit";
        align-items: center;
        gap: .125rem .625rem;
        margin: 0;
        padding: .625rem 1.125rem .625rem 1.625rem;
        border-radius: .625rem;
        background: #fff;
        -webkit-mask: radial-gradient(circle at 0 50%, #0000 .5rem, #000 calc(.5rem + .5px));
                mask: radial-gradient(circle at 0 50%, #0000 .5rem, #000 calc(.5rem + .5px));

        &::before {
          content: "";
          position: absolute;
          top: .5rem;
          bottom: .5rem;
          left: .875rem;
          border-left: 2px dashed var(--tf-main);
          opacity: .45;
        }
      }

      & .advanced-column:nth-child(1) { grid-area: price; }
      & .advanced-column:nth-child(2) { grid-area: cur; align-self: end; }
      & .advanced-column:nth-child(3) { grid-area: unit; align-self: start; }

      & .advanced-column:nth-child(1) p {
        color: var(--tf-main);
        font-size: 1.875rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -.01em;
        white-space: nowrap;
      }

      & .advanced-column:nth-child(2) p {
        display: inline-block;
        padding: .125rem .4375rem;
        border-radius: .25rem;
        background: var(--tf-main);
        color: #fff;
        font-size: .6875rem;
        font-weight: 700;
        letter-spacing: .06em;
      }

      & .advanced-column:nth-child(3) p {
        color: var(--c-muted);
        font-size: .75rem;
        font-weight: 600;
        white-space: nowrap;
      }
    }
  }


  /* ── Acordeón ── */
  & > .accordion,
  & .accordion-item {
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  & .accordion-summary {
    --tf-btn-h: 2.5rem;

    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    width: max-content;
    height: var(--tf-btn-h);
    margin:
      calc((var(--tf-head-h) + var(--tf-btn-h)) / -2)
      1.25rem
      calc((var(--tf-head-h) - var(--tf-btn-h)) / 2)
      auto;
    padding: 0 1.25rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    list-style: none;
    cursor: pointer;
    transition:
      background-color .25s var(--tf-ease),
      color .25s var(--tf-ease);

    &::-webkit-details-marker { display: none; }
    &::marker { content: ""; }
    & > * { display: none !important; }

    &::before {
      all: unset;
      content: "Ver detalles";
    }

    &::after {
      all: unset;
      content: "\2192";
      content: "\2192" / "";
      display: inline-block;
      font-weight: 400;
      rotate: 90deg;
      transition: rotate .25s var(--tf-ease);
    }

    &:hover {
      background: #fff;
      color: var(--tf-main);
    }

    &:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 3px;
    }
  }

  & :is(.accordion-summary[aria-expanded="true"], .accordion-item[open] > .accordion-summary:not([aria-expanded])) {
    &::before { content: "Ocultar detalles"; }
    &::after { rotate: -90deg; }
  }

  & .accordion-content {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
  }


  /* ── Títulos de bloque ── */
  & .accordion-content > .advanced-container:first-child > .advanced-column > h3,
  & .accordion-content > .advanced-container:last-child > .advanced-column > p:first-child {
    justify-self: start;
    display: inline-block;
    margin: 0 0 1rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--c-accent);
    color: var(--c-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
  }


  /* ── Bloque 1: Incluye + Hoteles ── */
  & .accordion-content > .advanced-container:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 1.75rem 2.5rem;
    margin: 0;
    padding: 1.75rem 1.75rem 1.5rem;

    & > .advanced-column:first-child {
      & ul {
        display: grid;
        gap: .625rem;
        padding: 0;
        list-style: none;
      }

      & li {
        position: relative;
        padding-left: 1.75rem;
        color: var(--c-ink);
        font-size: .875rem;
        line-height: 1.55;

        &::before {
          content: "\2713";
          content: "\2713" / "";
          position: absolute;
          top: .15em;
          left: 0;
          display: grid;
          place-items: center;
          width: 1.125rem;
          height: 1.125rem;
          border-radius: 50%;
          background: var(--tf-sky);
          color: #fff;
          font-size: .6875rem;
          font-weight: 700;
          line-height: 1;
        }
      }
    }

    & > .advanced-column:last-child {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-content: start;
      column-gap: 1.75rem;
      min-width: 0;
      margin-top: 0;
      padding-top: 0;
      border-top: 0;

      & > h3 {
        grid-column: 1 / -1;
        margin-bottom: .25rem;
      }

      & > .advanced-container { display: contents; }

      & > .advanced-container > .advanced-column {
        display: block;
        width: auto;
        min-width: 0;
        padding: .875rem 0;
        border-bottom: 1px solid var(--c-line);
        border-radius: 0;
        background: none;
        box-shadow: none;
      }

      & > .advanced-container:last-child > .advanced-column {
        padding-bottom: 0;
        border-bottom: 0;
      }

      & > .advanced-container h3 {
        display: flex;
        align-items: center;
        gap: .375rem;
        margin: 0 0 .4375rem;
        color: var(--tf-main);
        font-size: .875rem;
        font-weight: 700;
        line-height: 1.3;

        &::before {
          content: "";
          flex: none;
          width: 1em;
          height: 1em;
          background: var(--tf-main);
          -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
                  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
        }
      }

      & > .advanced-container ul {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .3125rem;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      & > .advanced-container li {
        position: relative;
        display: block;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 1.375rem;
        border: 0;
        color: var(--c-text);
        font-size: .8125rem;
        line-height: 1.4;
        overflow-wrap: break-word;

        &::before {
          content: "";
          position: absolute;
          top: .5em;
          left: .3125rem;
          width: .375rem;
          height: .375rem;
          border-radius: 50%;
          background: var(--tf-main);
        }

        &::after,
        &:not(:last-child)::after {
          content: none !important;
          display: none !important;
        }
      }
    }
  }


  /* ── Bloque 2: Tarifas por ocupación ── */
  & .accordion-content > .advanced-container:last-child {
    margin: 0;
    padding: 1.5rem 1.75rem 1.75rem;
    border-top: 1px solid var(--c-line);
    background: var(--tf-tint);

    /* Fila de tarjetas de precio: 1 a 4 columnas según cuántas haya */
    & .advanced-column > .advanced-container {
      display: grid;
      column-gap: .875rem;
      row-gap: 1rem;
      grid-template-columns: minmax(0, 1fr);
    }

    & .advanced-column > .advanced-container:has(> .advanced-column:nth-child(2)) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    & .advanced-column > .advanced-container:has(> .advanced-column:nth-child(3)) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    & .advanced-column > .advanced-container:has(> .advanced-column:nth-child(4)) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* Cada tarjeta de precio individual (SINGLE / DOUBLE / TRIPLE / GROUP) */
    & .advanced-column > .advanced-container > .advanced-column {
      display: flex;
      flex-direction: column;
      gap: .5rem;
      padding: 1.125rem .875rem 1rem;
      border: 1px solid var(--c-line);
      border-radius: .625rem;
      background: var(--c-surface);
      text-align: center;
    }

    /* SINGLE / DOUBLE / TRIPLE / GROUP (píldora) */
    & .advanced-column > .advanced-container > .advanced-column > p:nth-child(1) {
      display: inline-block;
      justify-self: center;
      padding: .2rem .625rem;
      border-radius: 999px;
      background: color-mix(in srgb, var(--tf-main) 16%, var(--c-surface));
      color: var(--c-ink);
      font-size: .6875rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    /* $ 1,357.00 */
    & .advanced-column > .advanced-container > .advanced-column > p:nth-child(2) {
      color: var(--c-ink);
      font: 700 clamp(1.0625rem, 3cqi, 1.375rem) / 1.15 var(--font-base);
      white-space: nowrap;
    }

    /* Habitación individual... */
    & .advanced-column > .advanced-container > .advanced-column > p:nth-child(3) {
      color: var(--c-muted);
      font-size: .75rem;
      line-height: 1.35;
    }

    /* Envoltorio de cada botón: sin anchos propios del plugin */
    & .advanced-column > .advanced-container > .advanced-column > .advanced-container {
      margin-top: .25rem;

      & > .advanced-column {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
      }
    }

    /* Base del botón: Reservar y Consultar Ahora comparten esto.
       border: 0 anula cualquier borde heredado o por defecto del navegador/editor. */
    & .advanced-column > .advanced-container > .advanced-column > .advanced-container p {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      width: 100%;
      min-height: 2.75rem;
      margin: 0;
      padding: .75rem 1rem;
      border: 0;
      border-radius: .5rem;
      font-size: .875rem;
      font-weight: 700;
      line-height: 1.2;
      text-align: center;
      transition:
        background-color .25s var(--tf-ease),
        translate .25s var(--tf-ease),
        box-shadow .25s var(--tf-ease);

      &::before {
        content: "";
        flex: none;
        width: 1.0625rem;
        height: 1.0625rem;
        background: currentColor;
      }

      /* El enlace cubre todo el botón, no solo el texto */
      & a {
        position: absolute;
        inset: 0;
        color: inherit;
        text-decoration: none;
        border: 0;
        border-radius: inherit;
      }

      &:has(a) { cursor: pointer; }

      &:has(a):hover {
        translate: 0 -2px;
        box-shadow: 0 8px 18px rgb(var(--shade) / .2);
      }

      &:has(a:focus-visible) {
        outline: 2px solid var(--c-ink);
        outline-offset: 2px;
      }
    }

    /* Reservar: primer botón de cada tarjeta → turquesa sólido #1d8d8d + calendario */
    & .advanced-column > .advanced-container > .advanced-column > .advanced-container:first-of-type p {
      background: #1d8d8d;
      color: #fff;

      &::before {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Crect x='13' y='14' width='4' height='4' rx='.5'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Crect x='13' y='14' width='4' height='4' rx='.5'/%3E%3C/svg%3E") center / contain no-repeat;
      }

      &:has(a):hover { background: color-mix(in srgb, #1d8d8d 78%, #000); }
    }

    /* Consultar Ahora: segundo botón de cada tarjeta → amarillo sólido #f2b636 + WhatsApp */
    & .advanced-column > .advanced-container > .advanced-column > .advanced-container:last-of-type p {
      background: #f2b636;
      color: var(--c-ink);

      &::before {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8z'/%3E%3Cpath d='M8.6 7.3c-.2-.5-.4-.5-.6-.5h-.5c-.2 0-.5.1-.7.3-.3.3-1 .9-1 2.3s1 2.7 1.1 2.9c.1.2 2 3.1 4.9 4.3 2.4.9 2.9.8 3.4.7.5-.1 1.7-.7 1.9-1.4.2-.7.2-1.2.2-1.4-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.7.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.5-2.3-1.4-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8z'/%3E%3Cpath d='M8.6 7.3c-.2-.5-.4-.5-.6-.5h-.5c-.2 0-.5.1-.7.3-.3.3-1 .9-1 2.3s1 2.7 1.1 2.9c.1.2 2 3.1 4.9 4.3 2.4.9 2.9.8 3.4.7.5-.1 1.7-.7 1.9-1.4.2-.7.2-1.2.2-1.4-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.7.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.5-2.3-1.4-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
      }

      &:has(a):hover { background: color-mix(in srgb, #f2b636 86%, #000); }
    }
  }


  /* ── Tarjeta angosta (< 736px): todo apilado ── */
  @container tarifa (inline-size < 46rem) {
    & > .advanced-container:first-child {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: .875rem .75rem;
      min-height: 0;
      padding: 1.125rem 1.125rem 1.25rem;

      & > .advanced-column:first-child p {
        font-size: 1.375rem;
        white-space: normal;
      }

      & > .advanced-column:last-child {
        flex-basis: 100%;

        & > .advanced-container { grid-template-columns: auto 1fr; }
        & .advanced-column:nth-child(1) p { font-size: 1.625rem; }
      }
    }

    & .accordion-summary {
      position: static;
      display: flex;
      width: 100%;
      height: auto;
      margin: 0;
      padding: .8125rem 1.25rem;
      border: 0;
      border-top: 1px solid rgb(255 255 255 / .25);
      border-radius: 0;
      background: var(--tf-main);
      color: #fff;

      &:hover {
        background: color-mix(in srgb, var(--tf-main) 80%, #000);
        color: #fff;
      }

      &:focus-visible { outline-offset: -5px; }
    }

    & .accordion-content > .advanced-container:first-child {
      grid-template-columns: minmax(0, 1fr);
      padding: 1.25rem 1.125rem;
    }

    /* Tarifas: 1 columna si solo hay un precio; 2 si hay más de uno */
    & .accordion-content > .advanced-container:last-child {
      padding: 1.25rem 1.125rem .5rem;

      & .advanced-column > .advanced-container {
        grid-template-columns: minmax(0, 1fr);
      }
      & .advanced-column > .advanced-container:has(> .advanced-column:nth-child(2)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
  }

  /* ── Tarjeta muy angosta (< 352px): siempre una sola columna ── */
  @container tarifa (inline-size < 22rem) {
    & .accordion-content > .advanced-container:first-child > .advanced-column:last-child {
      grid-template-columns: minmax(0, 1fr);

      & > .advanced-container:last-child > .advanced-column:first-child {
        padding-bottom: .875rem;
        border-bottom: 1px solid var(--c-line);
      }
    }

    & .accordion-content > .advanced-container:last-child .advanced-column > .advanced-container {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
}


/* 14c. Acordeones (CKEditor Content Groups): modelo itinerario */
.accordion:not(.advanced-column:has(> .advanced-container:first-child > .advanced-column:last-child > .advanced-container) > .accordion) {
  --acc-bg-soft: #f4f7f7;
  --acc-border: #dce5e5;
  --acc-ease: cubic-bezier(.2, .7, .2, 1);

  display: flex;
  flex-direction: column;
  gap: .75rem;

  & .accordion-item {
    position: relative;
    margin: 0;
    padding: 0;
    border: 1px solid var(--acc-border);
    border-radius: 1rem;
    background: var(--acc-bg-soft);
    box-shadow: 0 1px 2px rgb(16 34 46 / .04);
    transition:
      box-shadow .3s ease,
      background-color .3s ease,
      border-color .3s ease;
  }

  & .accordion-summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3.5rem;
    margin: 0;
    padding: .875rem 3.75rem .875rem 1.25rem;
    background: none;
    color: var(--c-ink);
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker { display: none; }
    &::marker { content: ""; }

    & p { margin: 0; }

    &::before {
      all: unset;
      content: none;
    }

    &::after {
      all: unset;
      content: "+";
      content: "+" / "";
      position: absolute;
      top: 50%;
      right: 1rem;
      translate: 0 -50%;
      display: grid;
      place-items: center;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: var(--c-brand);
      color: #fff;
      font-size: 1rem;
      line-height: 1;
      transition: background-color .25s var(--acc-ease);
    }

    &:hover::after {
      background: color-mix(in srgb, var(--c-brand) 76%, #000);
    }

    &:focus-visible {
      outline: 2px solid var(--c-brand);
      outline-offset: -3px;
    }
  }

  & .accordion-item:is(
    :has(> .accordion-summary[aria-expanded="true"]),
    [open]:not(:has(> .accordion-summary[aria-expanded])),
    [data-open="true"]
  ) {
    border-color: color-mix(in srgb, var(--c-brand) 35%, transparent);
    background: #fff;
    box-shadow:
      0 0 0 1.5px color-mix(in srgb, var(--c-brand) 45%, transparent),
      0 0 16px color-mix(in srgb, var(--c-accent) 25%, transparent),
      0 8px 20px rgb(16 34 46 / .08);

    & > .accordion-summary::after {
      content: "×";
      content: "×" / "";
      background: var(--c-accent);
      color: var(--c-ink);
    }

    & > .accordion-summary:hover::after {
      background: color-mix(in srgb, var(--c-accent) 92%, #000);
    }
  }

  & .accordion-content {
    margin: 0;
    padding: 0 1.5rem 0 1.25rem;
    border: 0;
    background: none;
    color: var(--c-text);
    font-size: .9375rem;
    line-height: 1.75;

    & > :first-child { margin-top: 0; }
    & > :last-child { margin-bottom: 0; }

    &::after {
      content: "";
      display: block;
      height: 1.375rem;
    }
  }

  @media (width < 36rem) {
    & .accordion-summary {
      min-height: 3.125rem;
      padding: .75rem 3.125rem .75rem 1rem;

      &::after {
        right: .75rem;
        width: 1.75rem;
        height: 1.75rem;
        font-size: .9375rem;
      }
    }

    & .accordion-content {
      padding: 0 1rem;

      &::after { height: 1.125rem; }
    }
  }
}


/* 15. Call to action */
body:has(#block-perumachupicchutravel-bthomesectioncallaction) { overflow-x: clip; }

#block-perumachupicchutravel-bthomesectioncallaction {
  --cta-gutter: clamp(1rem, .413rem + 2.609vw, 2.5rem);

  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
  gap: .5rem;

  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  margin-block: 2.5rem 3rem;
  min-height: clamp(20rem, 16rem + 10vw, 26rem);

  padding-block: 3rem;
  padding-inline: max(var(--cta-gutter), (100% - 90rem) / 2 + var(--cta-gutter));
  overflow: hidden;
  color: #fff;
  text-align: left;

  & a:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
  }

  & > .field { min-width: 0; }

  & p { margin: 0; }

  & > .field--name-field-bt-home-section-cn-back {
    position: absolute;
    inset: 0;
    z-index: -2;

    & :is(.media, .field--name-field-media-image, .field--name-field-media-image > .field__item) {
      height: 100%;
    }

    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 45%;
      transition: scale 6s cubic-bezier(.2, .7, .2, 1);
    }
  }

  &:hover > .field--name-field-bt-home-section-cn-back img { scale: 1.06; }

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(90deg,
        rgb(var(--shade) / .9),
        rgb(var(--shade) / .7) 38%,
        rgb(var(--shade) / .25) 72%,
        rgb(var(--shade) / .1)),
      linear-gradient(
        rgb(var(--shade) / .25),
        rgb(var(--shade) / 0) 40%,
        rgb(var(--shade) / .35));
  }

  & .field--name-field-bt-hm-section-cn-short-tex {
    & p,
    & strong {
      display: inline-flex;
      align-items: center;
      gap: .625rem;
      color: var(--c-accent);
      font-size: .8125rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    & p::before {
      content: "";
      flex: none;
      width: 2.5rem;
      height: 3px;
      border-radius: 3px;
      background: var(--c-accent);
    }
  }

  & .field--name-field-bt-hm-section-cn-title h2 {
    max-width: 45rem;
    margin: 0;
    color: #fff;
    font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem) / 1.2 var(--font-base);
    text-shadow: 0 2px 16px rgb(0 0 0 / .4);
    text-wrap: balance;
  }

  & .field--name-field-bt-hm-section-cn-short-des p {
    max-width: 45rem;
    margin-top: .25rem;
    color: rgb(255 255 255 / .88);
    font-size: .9375rem;
    line-height: 1.75;
    text-wrap: pretty;
  }

  & .field--name-field-bt-hm-section-cn-btn { margin-top: 1.25rem; }

  & .field--name-field-para-hm-sect-call-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .875rem 1.5rem;
    border-radius: .375rem;
    background: var(--c-accent);
    color: var(--c-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgb(0 0 0 / .25);
    transition:
      background-color .25s cubic-bezier(.2, .7, .2, 1),
      translate .25s cubic-bezier(.2, .7, .2, 1),
      box-shadow .25s cubic-bezier(.2, .7, .2, 1);

    &::before {
      content: "";
      flex: none;
      width: 1.375rem;
      height: 1.375rem;
      background: currentColor;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8z'/%3E%3Cpath d='M8.6 7.3c-.2-.5-.4-.5-.6-.5h-.5c-.2 0-.5.1-.7.3-.3.3-1 .9-1 2.3s1 2.7 1.1 2.9c.1.2 2 3.1 4.9 4.3 2.4.9 2.9.8 3.4.7.5-.1 1.7-.7 1.9-1.4.2-.7.2-1.2.2-1.4-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.7.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.5-2.3-1.4-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8z'/%3E%3Cpath d='M8.6 7.3c-.2-.5-.4-.5-.6-.5h-.5c-.2 0-.5.1-.7.3-.3.3-1 .9-1 2.3s1 2.7 1.1 2.9c.1.2 2 3.1 4.9 4.3 2.4.9 2.9.8 3.4.7.5-.1 1.7-.7 1.9-1.4.2-.7.2-1.2.2-1.4-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.7.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.5-2.3-1.4-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    &:hover {
      background: color-mix(in srgb, var(--c-accent) 92%, #000);
      translate: 0 -2px;
      box-shadow: 0 10px 24px rgb(0 0 0 / .3);
    }
  }

  @media (width < 48rem) {
    padding-block: 2.5rem;

    &::before {
      background:
        linear-gradient(
          rgb(var(--shade) / .55),
          rgb(var(--shade) / .75) 50%,
          rgb(var(--shade) / .88));
    }

    & .field--name-field-bt-hm-section-cn-btn {
      justify-self: stretch;

      & a { width: 100%; }
    }
  }
}


/* 16. Footer */
#footer {
  --c-footer-bg: #078593;
  --c-footer-title: #ffe27a;
  --c-footer-link: #fff;
  --c-footer-wave-light: #4cc0cb;
  --c-footer-wave-dark: #056b77;

  position: relative;
  background: var(--c-footer-bg);
  overflow: hidden;

  & > .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  & a:focus-visible {
    outline: 2px solid var(--c-footer-title);
    outline-offset: 3px;
  }

  @media (width < 37.5rem) {
    &::after {
      content: "";
      position: absolute;
      z-index: 0;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2.75rem;
      pointer-events: none;
      background: var(--c-footer-wave-dark);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 46C70 20 140 70 220 50C300 30 350 14 400 30V100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
              mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 46C70 20 140 70 220 50C300 30 350 14 400 30V100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
    }
  }
}

#block-perumachupicchutravel-footercontent {
  position: relative;

  & > .field--name-field-footer-background {
    position: relative;

    & img {
      display: block;
      width: 100%;
      height: auto;
      max-width: none;
    }

    &::before,
    &::after {
      content: "";
      position: absolute;
      z-index: 2;
      top: -1px;
      left: 0;
      right: 0;
      height: clamp(1rem, .6rem + 2.8vw, 4rem);
      pointer-events: none;
      -webkit-mask-size: 100% 100%;
              mask-size: 100% 100%;
      -webkit-mask-repeat: no-repeat;
              mask-repeat: no-repeat;
    }
  }

  & > .field--name-field-footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr));
    column-gap: clamp(1rem, 2.5vw, 3rem);
    row-gap: 1.25rem;
    width: min(1500px, 84%);
    margin: -14.5vw auto 0;
    padding: 0 0 clamp(2rem, 3.5vw, 4rem);

    & > .field__item:nth-child(1) { grid-column: 1; grid-row: 1; }
    & > .field__item:nth-child(2) { grid-column: 1; grid-row: 2; }

    & > .field__item:nth-child(n+3) {
      grid-row: 1 / span 2;
      padding-top: clamp(.5rem, 1.5vw, 2rem);
    }

    & h3,
    & .field--name-field-footer-sec-link-dest-title {
      margin: 0 0 clamp(.75rem, 1.2vw, 1.4rem);
      color: var(--c-footer-title);
      font-size: clamp(.9rem, 1.05vw, 1.3rem);
      font-weight: 700;
      line-height: 1.2;
      text-transform: uppercase;
      text-shadow: 0 1px 3px rgb(var(--shade) / .6);
    }

    & .field--type-link .field__item {
      margin: 0 0 clamp(.35rem, .6vw, .7rem);
    }

    & .field--type-link a {
      display: inline-block;
      color: var(--c-footer-link);
      font-size: clamp(.85rem, .95vw, 1.15rem);
      line-height: 1.35;
      text-decoration: none;
      text-shadow: 0 1px 3px rgb(var(--shade) / .6);
      transition: color .2s ease;

      &::first-letter { text-transform: uppercase; }

      &:is(:hover, :focus-visible) { color: var(--c-footer-title); }
    }
  }

  @media (width < 64rem) {
    & > .field--name-field-footer-content {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.75rem 1.5rem;
      width: 90%;
      margin-top: -12vw;

      & > .field__item:is(:nth-child(1), :nth-child(2)) {
        grid-column: 1 / -1;
        grid-row: auto;
        display: flex;
        justify-content: center;
      }

      & > .field__item:nth-child(2) {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgb(255 255 255 / .2);
      }

      & > .field__item:nth-child(n+3) {
        grid-row: auto;
        padding-top: 0;
      }
    }
  }

  @media (width < 37.5rem) {
    & > .field--name-field-footer-background {
      height: clamp(2.5rem, 10vw, 3.5rem);

      & img { display: none; }

      &::before { display: none; }

      &::after {
        inset: -1px 0 0;
        height: auto;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V40C330 90 260 20 190 50C120 80 60 90 0 60Z'/%3E%3C/svg%3E");
                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H400V40C330 90 260 20 190 50C120 80 60 90 0 60Z'/%3E%3C/svg%3E");
      }
    }

    & > .field--name-field-footer-content {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem 1rem;
      width: auto;
      margin: 0;
      padding: .5rem 1.25rem calc(3.5rem + env(safe-area-inset-bottom));

      & > .field__item:nth-child(2) { padding-bottom: 1.25rem; }

      & > .field__item:nth-child(7):last-child { grid-column: 1 / -1; }

      & h3,
      & .field--name-field-footer-sec-link-dest-title {
        margin-bottom: .5rem;
        font-size: .8125rem;
        letter-spacing: .03em;
      }

      & .field--type-link .field__item { margin: 0; }

      & .field--type-link a {
        display: flex;
        align-items: center;
        min-height: 2.25rem;
        font-size: .9375rem;
      }
    }
  }
}

#block-footersectionlogo img {
  display: block;
  width: clamp(100px, 9vw, 170px);
  height: auto;

  @media (width < 37.5rem) {
    width: 5.5rem;
  }
}

#block-footersectiondatoscomunica {
  & > .field--name-field-footer-contacto-title { display: none; }

  & .field--name-field-footer-sect-content-comu {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem clamp(1rem, 2vw, 2rem);
    margin-top: .5rem;
  }

  & .paragraph--type--para-home-footer-section-comu {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .4rem;
    align-items: center;
  }

  & .field--name-field-pr-hm-foo-sect-com-icon img {
    display: block;
    width: clamp(12px, .9vw, 16px);
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgb(0 0 0 / .5));
  }

  & h4 {
    margin: 0;
    color: var(--c-footer-title);
    font-size: clamp(.75rem, .8vw, .95rem);
    font-weight: 700;
    text-shadow: 0 1px 2px rgb(var(--shade) / .8), 0 0 8px rgb(var(--shade) / .5);
  }

  & .field--name-field-pr-hm-foo-sect-com-text {
    grid-column: 1 / -1;
    color: var(--c-footer-link);
    font-size: clamp(.85rem, .9vw, 1.05rem);
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: 0 1px 2px rgb(var(--shade) / .8), 0 0 8px rgb(var(--shade) / .5);
  }

  @media (width < 64rem) {
    & .field--name-field-footer-sect-content-comu {
      justify-content: center;
      gap: .75rem 2rem;
      margin-top: .75rem;
    }
  }

  @media (width < 37.5rem) {
    & .field--name-field-pr-hm-foo-sect-com-text { font-size: .9375rem; }
  }
}

/**PAYMENT AND BOOK*/

.block-block-contentd7941882-1e84-4fdb-96ec-23fb50fe2eb4 {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-top: 1rem;
}

.field--name-field-title-pay-method h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d8d8d;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.field--name-field-title-pay-method h3::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #f2a93b;
  flex-shrink: 0;
}

.field--name-field-section-group-method-pay {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.field--name-field-section-group-method-pay > .field__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e4e9ee;
  border-radius: 10px;
  padding: 10px 8px;
  height: 60px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.field--name-field-section-group-method-pay > .field__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #d8e0e8;
}

.field--name-field-section-group-method-pay .paragraph,
.field--name-field-section-group-method-pay .field--name-field-icon-method-pay-support,
.field--name-field-section-group-method-pay article.media,
.field--name-field-section-group-method-pay .field--name-field-media-image,
.field--name-field-section-group-method-pay .field--name-field-media-image .field__item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 0;
  height: auto;
  width: 100%;
}

.field--name-field-section-group-method-pay img {
  max-width: 85%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.field--name-field-title-book-trust h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d8d8d;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid #eaeef2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.field--name-field-title-book-trust h3::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #f2a93b;
  flex-shrink: 0;
}

.field--name-field-section-group-trust-book {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.field--name-field-section-group-trust-book .field__item .paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.field--name-field-section-group-trust-book img {
  width: 32px;
  height: 32px;
}

.field--name-field-text-trust-book {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b3a4a;
}

@media (max-width: 480px) {
  .field--name-field-section-group-method-pay {
    grid-template-columns: repeat(3, 1fr);
  }
  .field--name-field-section-group-method-pay > .field__item {
    height: 80px;
  }
  .field--name-field-section-group-method-pay img {
    max-height: 55px;
  }
  .field--name-field-section-group-trust-book {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}