/* --------------------------------------------------------------------------
 * Activity template: Private groups / Grupos privados
 * -------------------------------------------------------------------------- */

.ek-private-groups-page {
  background: var(--ek-bg, #F2EBE4);
  color: var(--ek-deep, #16130F);
}

.ek-private-groups-hero {
  padding-top: 50px;
  padding-bottom: 30px;
}

.ek-private-groups-hero .ek-activity-breadcrumb {
  margin-bottom: 22px;
}

.ek-private-groups-hero>.ek-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
}

.ek-private-groups-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.15vw, 3rem);
  font-weight: 700;
  line-height: 1.02;
}

.ek-private-groups-hero h1 em {
  color: var(--ek-coral);
  font-weight: 400;
}

.ek-private-groups-hero__lead {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ek-private-groups-hero__intro {
  max-width: 650px;
  margin: 7px 0 0;
  color: rgb(30 27 24 / 72%);
  font-size: 15px;
  line-height: 1.65;
}

.ek-private-groups-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ek-private-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ek-private-button:hover {
  transform: translateY(-1px);
}

.ek-private-button--coral {
  background: var(--ek-coral);
  color: #fff;
}

.ek-private-button--coral:hover {
  background: var(--ek-teal);
  color: var(--ek-cream);
}

.ek-private-button--teal {
  background: var(--ek-teal);
  color: #fff;
}

.ek-private-button--teal:hover {
  background: var(--ek-deep);
  color: #fff;
}

.ek-private-button--outline {
  border-color: rgb(22 19 15 / 24%);
  background: transparent;
  color: var(--ek-deep);
}

.ek-private-button--outline:hover {
  border-color: var(--ek-deep);
  background: var(--ek-deep);
  color: var(--ek-cream);
}

.ek-private-features {
  padding-top: 0;
  padding-bottom: 45px;
}

.ek-private-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ek-private-feature-card {
  min-height: 172px;
  border: 1px solid rgb(223 211 199 / 72%);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 20px 40px -30px rgb(0 0 0 / 35%);
}

.ek-private-feature-card__icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: rgb(245 131 122 / 14%);
  color: var(--ek-coral);
}

.ek-private-feature-card h2 {
  margin: 15px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 600;
}

.ek-private-feature-card p {
  margin: 7px 0 0;
  color: rgb(30 27 24 / 70%);
  font-size: 13px;
  line-height: 1.58;
}

.ek-private-ideas {
  scroll-margin-top: 120px;
}

.ek-private-ideas .ek-activity-section-heading h2,
.ek-private-types .ek-activity-section-heading h2,
.ek-private-process .ek-activity-section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.3rem);
  font-weight: 700;
}

.ek-private-ideas .ek-activity-section-heading p,
.ek-private-types .ek-activity-section-heading p,
.ek-private-process .ek-activity-section-heading p {
  max-width: 760px;
  margin-top: 11px;
  color: rgb(30 27 24 / 68%);
  font-size: 15px;
  line-height: 1.6;
}

.ek-private-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ek-private-trip-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(223 211 199 / 72%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 40px -30px rgb(0 0 0 / 35%);
  transition: transform .35s ease, box-shadow .35s ease;
}

.ek-private-trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px -32px rgb(0 0 0 / 40%);
}

.ek-private-trip-card.is-filtered-out {
  display: none;
}

.ek-private-trip-card__media {
  position: relative;
  display: block;
  height: 214px;
  overflow: hidden;
  background: var(--ek-deep);
}

.ek-private-trip-card__media img,
.ek-private-trip-card__media>.ek-home-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ek-private-trip-card__media img {
  object-fit: cover;
  transition: transform 1.1s ease;
}

.ek-private-trip-card:hover .ek-private-trip-card__media img {
  transform: scale(1.045);
}

.ek-private-trip-card__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  padding: 7px 13px;
  color: var(--ek-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ek-private-trip-card__head {
  min-height: 72px;
  padding: 15px 15px 11px;
  display: flex;
  flex-direction: column;
}

/* Keep private-group titles centered within their existing row-matched header space. */
.ek-private-trip-card__head > h3 {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
}

.ek-private-trip-card__head h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.08;
}

.ek-private-trip-card__head h3 a {
  color: inherit;
  text-decoration: none;
  font-size: 19px;
  font-family: 'Playfair Display';
  font-weight: 700;
}

.ek-private-trip-card__head p {
  margin: 4px 0 0;
  color: rgb(30 27 24 / 58%);
  font-size: 12px;
  line-height: 1.35;
}

.ek-private-trip-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 15px 15px;
}

.ek-private-trip-card__price-row strong {
  display: block;
  margin-top: 2px;
  color: var(--ek-deep);
  font-family: "Poppins Regular", Georgia, serif;
  font-size: 21px;
  line-height: 1.05;
}

.ek-private-trip-card__details {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-top: 1px solid rgb(223 211 199 / 60%);
  padding: 15px;
}

.ek-private-trip-card__desc {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: rgb(30 27 24 / 76%);
  font-size: 13px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ek-private-trip-card__action {
  margin-top: auto;
  border-top: 1px solid rgb(223 211 199 / 60%);
  padding-top: 14px;
}

.ek-private-trip-card__adapt {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ek-coral);
  padding: 13px 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color .2s ease;
}

.ek-private-trip-card__adapt:hover {
  background: var(--ek-deep);
}

.ek-private-ideas-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  border-top: 1px solid rgb(223 211 199 / 72%);
  border-bottom: 1px solid rgb(223 211 199 / 72%);
  padding: 22px 0;
}

.ek-private-ideas-cta h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.ek-private-ideas-cta p {
  margin: 5px 0 0;
  color: rgb(30 27 24 / 64%);
  font-size: 13px;
}

.ek-private-types {
  padding-top: 50px;
  padding-bottom: 50px;
}

.ek-private-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 24px;
}

.ek-private-types__grid article {
  border: 1px solid rgb(223 211 199 / 72%);
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 20px 40px -32px rgb(0 0 0 / 30%);
}

.ek-private-types__grid h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.ek-private-types__grid p {
  margin: 7px 0 0;
  color: rgb(30 27 24 / 70%);
  font-size: 13px;
  line-height: 1.58;
}

.ek-private-process {
  background: #fff;
  padding: 50px 0 50px;
}

.ek-private-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ek-private-process__grid li {
  min-height: 180px;
  border: 1px solid rgb(223 211 199 / 72%);
  border-radius: 22px;
  background: var(--ek-bg, #F2EBE4);
  padding: 20px;
}

.ek-private-process__grid li>span {
  color: var(--ek-coral);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.ek-private-process__grid h3 {
  margin: 12px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.ek-private-process__grid p {
  margin: 8px 0 0;
  color: rgb(30 27 24 / 70%);
  font-size: 13px;
  line-height: 1.58;
}

.ek-private-trust {
  padding-top: 50px;
  padding-bottom: 50px;
}

.ek-private-trust>h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 1.85rem);
}

.ek-private-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ek-private-trust__grid article {
  display: flex;
  gap: 12px;
  border-top: 1px solid rgb(223 211 199 / 76%);
  padding-top: 15px;
}

.ek-private-trust__grid article>span {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--ek-coral);
}

.ek-private-trust__grid h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.ek-private-trust__grid p {
  margin: 5px 0 0;
  color: rgb(30 27 24 / 65%);
  font-size: 13px;
  line-height: 1.55;
}

.ek-private-form-section {
  scroll-margin-top: 110px;
  padding-bottom: 45px;
}

.ek-private-form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  border-radius: 26px;
  background: var(--ek-deep);
  padding: 38px;
  color: var(--ek-cream);
  align-items: center;
}

.ek-private-form-section__copy {
  padding: 4px 0;
}

.ek-private-form-section__copy h2 {
  max-width: 470px;
  margin: 0;
  color: var(--ek-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.2rem);
  line-height: 1.08;
  margin-top: 10px;
}

.ek-private-form-section__copy p {
  max-width: 520px;
  margin: 15px 0 0;
  color: rgb(255 250 246 / 80%);
  font-size: 13.5px;
  line-height: 1.6;
}

.ek-private-form-section__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.ek-private-form-section__contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgb(255 250 246 / 26%);
  border-radius: 999px;
  padding: 10px 18px;
  color: rgb(255 250 246 / 92%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.ek-private-form-section__contacts a:hover {
  border-color: rgb(255 250 246 / 64%);
  color: #fff;
}

.ek-private-form-section__form {
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  color: var(--ek-deep);
}

.ek-private-form-missing {
  border: 1px dashed rgb(22 19 15 / 20%);
  border-radius: 14px;
  padding: 24px;
  color: rgb(30 27 24 / 62%);
  font-size: 13px;
  line-height: 1.55;
}

.ek-private-cf7-form .ek-private-selection {
  margin: 0 0 16px;
  border-radius: 8px;
  background: var(--ek-sand, #E9DFD5);
  padding: 11px 12px;
  color: var(--ek-deep);
  font-size: 12px;
}

.ek-private-cf7-form .ek-private-selection strong {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ek-private-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ek-private-cf7-form label {
  display: block;
  margin: 0;
}

.ek-private-cf7-label {
  display: block;
  margin: 0 0 6px;
  color: rgb(30 27 24 / 67%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ek-private-cf7-form input[type="text"],
.ek-private-cf7-form input[type="email"],
.ek-private-cf7-form input[type="tel"],
.ek-private-cf7-form input[type="number"],
.ek-private-cf7-form textarea {
  width: 100%;
  border: 1px solid rgb(223 211 199 / 95%);
  border-radius: 10px;
  background: var(--ek-bg, #F2EBE4);
  padding: 9px 11px;
  color: var(--ek-deep);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ek-private-cf7-form textarea {
  height: 60px;
  resize: vertical;
}

.ek-private-cf7-form input:focus,
.ek-private-cf7-form textarea:focus {
  border-color: var(--ek-teal) !important;
  box-shadow: 0 0 0 2px rgb(62 151 151 / 10%) !important;
  background-color: var(--ek-bg, #F2EBE4) !important;
}

.ek-private-cf7-form input::placeholder,
.ek-private-cf7-form textarea::placeholder {
  color: rgb(30 27 24 / 42%) !important;
  opacity: 1;
}

.ek-private-cf7-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 10px;
}

.ek-private-cf7-submit {
  position: relative;
  margin-top: 18px;
}

.ek-private-cf7-submit .wpcf7-submit,
.ek-private-form-section .wpcf7-form .wpcf7-submit {
  width: 100%;
  min-height: 42px;
  appearance: none;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: var(--ek-coral) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(50% + 112px) 50% !important;
  color: #fff !important;
  padding: 0 54px 0 28px !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none !important;
}

.ek-private-cf7-submit .wpcf7-submit:hover,
.ek-private-form-section .wpcf7-form .wpcf7-submit:hover {
  background-color: var(--ek-deep) !important;
}

.ek-private-cf7-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 14px;
  margin: 0;
  transform: translateY(-50%);
}

.ek-private-cf7-privacy {
  margin: 10px 0 0;
  margin-bottom: 0 !important;
  color: rgb(30 27 24 / 42%);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.ek-private-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgb(223 211 199 / 65%);
  border-radius: 22px;
  background: var(--ek-sand, #E9DFD5);
  padding: 19px 30px;
}

.ek-private-bottom__inner p {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.ek-private-bottom__inner a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(22 19 15 / 22%);
  border-radius: 999px;
  background: #fff;
  padding: 11px 18px;
  color: var(--ek-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  justify-content: center;
  text-transform: uppercase;
}

.ek-private-bottom__inner a:hover {
  border-color: var(--ek-deep);
  background: var(--ek-deep);
  color: var(--ek-cream);
}

@media (max-width: 991px) {
  .ek-private-features__grid,
  .ek-private-trip-grid,
  .ek-private-types__grid,
  .ek-private-trust__grid,
  .ek-private-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ek-private-form-section__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ek-private-features__grid,
  .ek-private-trip-grid,
  .ek-private-types__grid,
  .ek-private-process__grid,
  .ek-private-trust__grid,
  .ek-private-cf7-grid {
    grid-template-columns: 1fr;
  }

  .ek-private-ideas-cta,
  .ek-private-bottom__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .ek-private-ideas-cta .ek-private-button,
  .ek-private-bottom__inner a {
    width: 100%;
  }

  .ek-private-form-section__inner {
    padding: 24px 18px;
    gap:30px;
  }

  .term-viajes-para-los-grupos-organizados .ek-private-form-section__form {
            padding: 25px 16px;
        margin: 0 -18px -25px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
  }
}

/* Additional route variant; the private-groups card structure stays unchanged. */
.ek-private-trip-card__route {
  margin: auto 0 0;
  padding-top: 14px;
}
.ek-private-trip-card__route span { min-width: 0; }
