/* Dark-theme body content for pages that must match the homepage's full
   look and feel, not just its header/footer (currently: servicios.html,
   casos.html). Ported verbatim from index.html's real sections
   (.intro-statement, .services-columns, .our-work-*, .proof-* and
   .testimonials, .faq-booking-*) plus a small set of new, visually-matching
   classes (prefixed dc-) for content the homepage doesn't have a ready-made
   component for (a full services list, page hero, breadcrumb). */

body.dark-page {
  background: #0f1011;
  color: #ffffff;
}

body.dark-page .site-wrapper {
  z-index: 1;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

body.dark-page .container {
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ---------- Page hero (reuses the real .intro-statement / .large-heading
   pattern from the homepage's "Con experiencia conectando..." section) ---------- */

.dc-hero {
  padding: 168px 24px 64px;
}

.dc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.48);
  font-family: Ocrastd, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.dc-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.dc-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dc-eyebrow {
  display: block;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.48);
  font-family: Ocrastd, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.intro-statement {
  width: min(100%, 1440px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.intro-statement .large-heading {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  font-family: Lyondisplay, Georgia, sans-serif;
  font-weight: 300;
  line-height: 1em;
  text-wrap: balance;
}

.text-italics {
  font-family: "Lyondisplay App", Georgia, sans-serif;
  font-style: italic;
  font-weight: 300;
}

.intro-statement p {
  max-width: 760px;
  margin-top: 22px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-family: Suisseintl, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  text-align: center;
}

.dc-hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media screen and (min-width: 992px) {
  .intro-statement--wide {
    position: relative;
    left: 50%;
    width: min(calc(100dvw - clamp(120px, 16vw, 280px)), 1420px);
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .intro-statement--wide .large-heading {
    width: 100%;
    max-width: none;
    font-size: clamp(54px, 4.45vw, 86px);
    line-height: 0.98;
    text-wrap: balance;
  }
}

@media screen and (max-width: 767px) {
  .dc-hero {
    padding: 130px 18px 48px;
  }

  .intro-statement,
  .intro-statement p {
    text-align: left;
  }

  .dc-eyebrow,
  .dc-breadcrumb {
    text-align: left;
    justify-content: flex-start;
  }

  .intro-statement .large-heading {
    font-size: clamp(38px, 11vw, 52px);
  }
}

/* ---------- Services accordion (real .services-columns component) ---------- */

.dc-services-wrap {
  padding: 24px 24px 0;
}

.services-columns {
  position: relative;
  width: min(92dvw, 1680px);
  max-width: 1680px;
  margin: 24px auto 0;
  padding: 32px 24px 96px;
}

.services-columns-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-bottom: 52px;
}

.services-columns h3 {
  margin: 0;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
}

.services-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.services-cta:hover {
  background-color: #ffffff;
  color: #0a0a0a;
}

.cta-arrow-icon {
  display: inline-block;
  width: 16px;
  height: 24px;
  margin-left: 8px;
  filter: invert(1);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.services-cta:hover .cta-arrow-icon {
  filter: none;
  transform: translateX(2px);
}

.services-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(64px, 9vw, 180px);
  align-items: start;
}

.services-column {
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: calc(var(--services-column-index, 0) * 140ms);
}

.services-columns.is-visible .services-column {
  opacity: 1;
  transform: translateY(0);
}

.services-column:nth-child(1) { --services-column-index: 0; }
.services-column:nth-child(2) { --services-column-index: 1; }
.services-column:nth-child(3) { --services-column-index: 2; }
.services-column:nth-child(4) { --services-column-index: 3; }

.services-column-title {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
  cursor: default;
  width: 100%;
}

.services-column-arrow {
  display: none;
}

.services-column-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.services-column-description {
  display: none;
}

.services-column-list a {
  color: rgba(255, 255, 255, 0.7);
  display: inline;
  font-size: 15px;
  line-height: 1.4;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  max-width: 220px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.services-column-list a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 991px) {
  .services-columns {
    width: 100%;
    padding: 24px 18px 64px;
  }

  .services-columns-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .services-columns-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-column {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 1;
    transform: none;
  }

  .services-column-title {
    display: grid;
    grid-template-columns: 1fr 24px;
    width: 100%;
    margin: 0;
    align-items: center;
    gap: 18px;
    font-size: clamp(28px, 7vw, 38px);
    cursor: pointer;
  }

  .services-column-arrow {
    display: block;
    justify-self: end;
    width: 16px;
    height: 24px;
    opacity: 0.7;
    transform: rotate(90deg);
    transition: transform 0.25s ease;
    position: relative;
  }

  .services-column-arrow::before,
  .services-column-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
  }

  .services-column-arrow::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
  }

  .services-column-arrow::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
  }

  .services-column.is-open .services-column-arrow::after {
    transform: translate(-50%, -50%) scaleY(0);
  }

  .services-column-list {
    max-height: 0;
    overflow: hidden;
    gap: 12px;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
  }

  .services-column.is-open .services-column-list {
    max-height: 1200px;
    padding-top: 22px;
  }

  .services-column-description {
    display: block;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }

  .services-column-list a {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }
}

/* ---------- Our work grid (real .our-work-* component, reused as-is) ---------- */

.our-work-section {
  padding: 96px 0 104px;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.our-work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  padding: 0 24px;
}

.our-work-eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.48);
  font-family: Ocrastd, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.our-work-title {
  margin: 0;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0;
}

.our-work-copy {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.our-work-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 6vw, 96px);
  margin-top: 8px;
  padding: 0 24px;
}

.our-work-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  max-width: 1080px;
  margin: 0 auto;
  min-height: 0;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  background: transparent;
}

/* Zigzag: odd cases keep image-left/text-right, even cases flip to
   text-left/image-right (mobile always resets to image-first below).
   flex-direction: row-reverse only swaps visual order — unlike CSS
   grid + `order`, it can't reassign which track/column an item's
   width comes from, so every image stays the same fixed size. */
.our-work-card:nth-child(even) {
  flex-direction: row-reverse;
}

.our-work-card-media {
  position: relative;
  flex: 0 0 440px;
  width: 440px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #050505;
}

.our-work-card-media img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96);
  transform: scale(1);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.our-work-card:hover .our-work-card-media img {
  transform: scale(1.02);
  filter: saturate(1);
}

.our-work-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.our-work-tags {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: none;
}

.our-work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: Ocrastd, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.our-work-tags span + span::before {
  content: "\2022";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.28);
}

.our-work-card-footer {
  display: block;
  margin-top: 14px;
}

.our-work-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 300;
  line-height: 0.98;
}

.our-work-card h3 sup {
  font-size: 0.32em;
  line-height: 1;
  vertical-align: super;
}

.our-work-card-copy {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

.our-work-card-cta {
  margin-top: 28px;
  border: 0 !important;
  background-color: #f1ff4e !important;
  color: #111111 !important;
}

.our-work-card-cta .cta-arrow-icon {
  filter: none;
}

.our-work-card-cta:hover {
  background-color: #ffffff !important;
  color: #111111 !important;
}

.our-work-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.our-work-section .services-cta {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.our-work-section .services-cta:hover {
  background: #ffffff;
  color: #111111;
}

@media screen and (max-width: 991px) {
  .our-work-section {
    padding: 64px 0 72px;
  }

  .our-work-header {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 auto 30px;
  }

  .our-work-title {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.98;
  }

  .our-work-copy {
    max-width: none;
    font-size: 14px;
  }

  .our-work-grid {
    gap: 44px;
  }

  .our-work-card {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0;
  }

  .our-work-card:nth-child(even) {
    flex-direction: column;
  }

  .our-work-card-media {
    flex: 0 0 auto;
    width: 100%;
  }

  .our-work-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .our-work-tags span + span::before {
    content: "";
    margin-right: 0;
  }

  .our-work-card h3 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .our-work-card-copy {
    max-width: none;
    font-size: 15px;
  }
}

/* ---------- Testimonials (real .proof-* component, ported verbatim from the
   homepage 2026-09-21: full auto-rotate/drag carousel, not the earlier
   simplified click-to-select version) ---------- */

.testimonials {
  background: #0f1011;
}

.proof-testimonials {
  --proof-image-width: max(520px, 42vw);
  --proof-grid-gap: clamp(34px, 4.6vw, 86px);
  --proof-content-pad-right: clamp(28px, 4vw, 72px);
  --proof-base-gap: clamp(28px, 3.6vw, 64px);
  --proof-track-right-pad: clamp(20px, 3vw, 64px);
  --proof-card-gap: clamp(32px, 2.2vw, 48px);
  /* No .proof-featured image anymore (removed two commits ago) — size
     each card off the viewport directly instead of the old
     leftover-space-after-the-photo formula, so ~1 full card plus a
     peek of its neighbors shows at once, per the goodkarma.agency
     reference. */
  --proof-quote-width: clamp(460px, 56vw, 760px);
  position: relative;
  overflow: hidden;
  margin-top: 42px;
  left: 50%;
  width: 100dvw;
  max-width: 100dvw;
  margin-left: -50dvw;
  margin-right: 0;
  padding: clamp(48px, 5.4vw, 88px) 0 clamp(56px, 6vw, 96px);
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
}

.proof-testimonials-grid {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.proof-slide {
  display: none;
}

.proof-slide.is-active {
  display: grid;
  animation: proofSlideFade 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes proofSlideFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof-featured {
  position: relative;
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-radius: 0 20px 20px 0;
  background: #111111;
  box-sizing: border-box;
}

.proof-featured img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: brightness(0.9) saturate(0.98);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.42s ease,
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.42s ease;
}

.proof-featured.is-switching img {
  opacity: 0;
  transform: scale(1.025);
  filter: brightness(0.76) saturate(0.92);
}

.proof-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 16%,
    rgba(255, 255, 255, 0.18) 44%,
    rgba(255, 255, 255, 0) 72%
  );
  opacity: 0;
  transform: translateX(-120%);
}

.proof-featured.is-switching::before {
  animation: proofImageSweep 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.proof-featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  padding: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.28) 100%
  );
  color: #ffffff;
}

.proof-person {
  display: block;
  min-width: 0;
}

.proof-person strong,
.proof-person span {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.proof-person span {
  color: rgba(255, 255, 255, 0.78);
}

.proof-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(4px, 1vw, 18px) var(--proof-content-pad-right);
  box-sizing: border-box;
}

.proof-kicker {
  display: none;
}

.proof-heading {
  max-width: 620px;
  margin: 0 0 clamp(52px, 5.4vw, 92px);
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(46px, 4.1vw, 78px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.proof-heading-arrow {
  display: inline-block;
  width: clamp(28px, 2.6vw, 46px);
  height: clamp(42px, 3.7vw, 66px);
  margin-left: clamp(12px, 1.2vw, 22px);
  background-image: url("https://cdn.prod.website-files.com/68acbc076b672f730e0c77b9/68acbf05f9c3214369b19570_ArrowRight.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(1);
  opacity: 0.72;
  transform: translateY(0.12em) rotate(90deg);
  transform-origin: center;
}

.proof-quotes {
  display: flex;
  flex-direction: row;
  gap: clamp(28px, 3.6vw, 64px);
  align-items: start;
  width: 100%;
}

.proof-quote {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.proof-quotes > .proof-quote {
  cursor: pointer;
  opacity: 0.68;
  outline: none;
  transform-origin: 50% 100%;
  will-change: opacity, transform;
  transition:
    opacity 0.34s ease,
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.proof-quotes > .proof-quote > * {
  position: relative;
  z-index: 2;
}

.proof-quotes > .proof-quote::before,
.proof-quotes > .proof-quote::after {
  content: "";
  position: absolute;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.proof-quotes > .proof-quote::before {
  inset: -22px -22px -24px 18px;
  border-radius: 999px;
  background:
    radial-gradient(
      ellipse at 20% 48%,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.1) 34%,
      rgba(255, 255, 255, 0) 68%
    );
  filter: blur(18px);
  transform: translateX(-34px) scaleX(0.74) skewX(-8deg);
  transform-origin: left center;
}

.proof-quotes > .proof-quote::after {
  top: 4px;
  bottom: 2px;
  left: 10px;
  width: 112px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(12px);
  transform: translateX(-46px) skewX(-12deg);
}

.proof-quotes > .proof-quote:hover,
.proof-quotes > .proof-quote.is-selected {
  opacity: 1;
}

.proof-quotes > .proof-quote.is-selected {
  transform: translateY(-5px);
}

.proof-quotes > .proof-quote.is-selected::before {
  opacity: 0.08;
  transform: translateX(0) scaleX(1) skewX(-4deg);
}

.proof-quotes > .proof-quote.is-entering::before {
  animation: proofQuoteDragGlow 0.88s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.proof-quotes > .proof-quote.is-entering::after {
  animation: proofQuoteDragStreak 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.proof-quotes > .proof-quote.is-entering .proof-company,
.proof-quotes > .proof-quote.is-entering .proof-quote-body,
.proof-quotes > .proof-quote.is-entering .proof-person {
  animation: proofTextLift 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.proof-quotes > .proof-quote.is-entering .proof-quote-body {
  animation-delay: 0.05s;
}

.proof-quotes > .proof-quote.is-entering .proof-person {
  animation-delay: 0.1s;
}

.proof-quotes > .proof-quote.is-exiting {
  animation: proofQuoteExit 0.3s ease both;
}

.proof-quotes > .proof-quote:focus-visible {
  opacity: 1;
}

.proof-quotes.is-rotating > .proof-quote {
  animation: proofQuoteRotate 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.proof-quotes.is-rotating > .proof-quote:nth-child(2) {
  animation-delay: 0.04s;
}

.proof-quotes.is-rotating > .proof-quote:nth-child(3) {
  animation-delay: 0.08s;
}

@keyframes proofQuoteRotate {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes proofTextLift {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes proofQuoteExit {
  from {
    opacity: 1;
    transform: translateY(-5px) scale(1);
  }

  to {
    opacity: 0.5;
    transform: translateY(5px) scale(0.985);
  }
}

@keyframes proofImageSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes proofQuoteDragGlow {
  0% {
    opacity: 0;
    transform: translateX(-46px) scaleX(0.62) skewX(-12deg);
  }

  38% {
    opacity: 0.28;
  }

  100% {
    opacity: 0.08;
    transform: translateX(0) scaleX(1) skewX(-4deg);
  }
}

@keyframes proofQuoteDragStreak {
  0% {
    opacity: 0;
    transform: translateX(-64px) skewX(-14deg);
  }

  34% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateX(110px) skewX(-8deg);
  }
}

@keyframes proofMobileSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes proofMobileQuoteIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proof-company {
  margin: 0;
  padding-left: 42px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.proof-quote-body {
  position: relative;
  margin: 0;
  padding-left: 42px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.36;
}

.proof-quote-body::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 0;
  color: #f1ff4e;
  font-family: Arial, sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.proof-quote .proof-person {
  margin-top: 18px;
  padding-left: 42px;
}

.proof-quote .proof-person strong,
.proof-quote .proof-person span {
  color: #ffffff;
  overflow-wrap: normal;
  white-space: normal;
}

.proof-quote .proof-person span {
  color: rgba(255, 255, 255, 0.62);
}

@media screen and (min-width: 768px) {
  .proof-testimonials {
    --proof-equal-gap: var(--proof-card-gap);
  }

  .proof-content {
    justify-content: flex-start;
    padding-top: clamp(18px, 3.2vw, 48px);
  }

  .proof-heading {
    margin-bottom: 0;
  }

  .proof-quote {
    width: var(--proof-quote-width);
    min-height: 0;
    flex: 0 0 var(--proof-quote-width);
    justify-content: flex-start;
  }

  .proof-quote .proof-person {
    margin-top: 18px;
  }

  .proof-quotes {
    position: relative;
    width: 100%;
    gap: max(0px, var(--proof-equal-gap));
    /* Center the active (always-first, per the reorder-on-select JS)
       card in the viewport instead of hugging the left edge: pad both
       sides by half the leftover row width so its midpoint lands on
       the row's midpoint, with equal peeking neighbors either side —
       matches the goodkarma.agency reference's "center mode". */
    padding: 18px calc((100% - var(--proof-quote-width)) / 2) 30px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-x;
    cursor: grab;
    z-index: 3;
  }

  .proof-quotes::-webkit-scrollbar {
    display: none;
  }

  .proof-quotes.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
  }

  .proof-quotes.is-dragging .proof-quote {
    pointer-events: none;
  }
}

@media screen and (max-width: 767px) {
  .proof-testimonials {
    margin-top: 28px;
    padding: 40px 0 48px;
    border-radius: 0;
  }

  .proof-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .proof-slide.is-active {
    animation: proofMobileSlideIn 0.68s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .proof-featured {
    width: calc(100% - 36px);
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  }

  .proof-featured img {
    filter: brightness(0.92) saturate(0.98);
    transition:
      opacity 0.46s ease,
      transform 0.82s cubic-bezier(0.2, 0.8, 0.2, 1),
      filter 0.46s ease;
    will-change: opacity, transform;
  }

  .proof-featured-overlay {
    inset: auto 0 0;
    padding: 22px;
  }

  .proof-content {
    align-items: stretch;
    padding: 0 18px;
  }

  .proof-heading {
    max-width: none;
    margin-bottom: 30px;
    font-size: clamp(38px, 10.5vw, 54px);
    line-height: 1;
    text-align: left;
  }

  .proof-heading-arrow {
    width: 16px;
    height: 24px;
    margin-left: 8px;
    opacity: 0.56;
    transform: translateY(0.12em) rotate(90deg);
  }

  .proof-quotes {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }

  .proof-quote {
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.72;
    transition:
      opacity 0.26s ease,
      transform 0.26s ease,
      border-color 0.26s ease;
    -webkit-tap-highlight-color: transparent;
    will-change: transform, opacity;
  }

  .proof-quotes > .proof-quote.is-selected {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .proof-quotes > .proof-quote::before {
    inset: -14px -8px -14px 14px;
  }

  .proof-quotes > .proof-quote::after {
    top: 10px;
    bottom: 10px;
    left: 14px;
    width: 92px;
  }

  .proof-quotes > .proof-quote.is-selected .proof-company,
  .proof-quotes > .proof-quote.is-selected .proof-quote-body,
  .proof-quotes > .proof-quote.is-selected .proof-person strong,
  .proof-quotes > .proof-quote.is-selected .proof-person span {
    color: #ffffff;
  }

  .proof-quotes > .proof-quote:active {
    transform: scale(0.985);
  }

  .proof-quotes.is-rotating > .proof-quote {
    animation: proofMobileQuoteIn 0.54s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .proof-quotes.is-rotating > .proof-quote:nth-child(2) {
    animation-delay: 0.06s;
  }

  .proof-quotes.is-rotating > .proof-quote:nth-child(3) {
    animation-delay: 0.12s;
  }

  .proof-quote-body {
    padding-left: 34px;
    font-size: 18px;
    line-height: 1.42;
  }

  .proof-quote-body::before {
    top: -11px;
    font-size: 46px;
  }

  .proof-company {
    padding-left: 34px;
    font-size: 13px;
  }

  .proof-quote .proof-person {
    padding-left: 34px;
  }

  @media (prefers-reduced-motion: reduce) {
    .proof-slide.is-active,
    .proof-quotes.is-rotating > .proof-quote,
    .proof-heading-arrow,
    .proof-featured.is-switching::before,
    .proof-quotes > .proof-quote.is-entering::before,
    .proof-quotes > .proof-quote.is-entering::after,
    .proof-quotes > .proof-quote.is-entering .proof-company,
    .proof-quotes > .proof-quote.is-entering .proof-quote-body,
    .proof-quotes > .proof-quote.is-entering .proof-person,
    .proof-quotes > .proof-quote.is-exiting {
      animation: none;
    }

    .proof-featured img,
    .proof-quote {
      transition: none;
    }
  }
}

@media screen and (max-width: 479px) {
  .proof-testimonials {
    padding-left: 0;
    padding-right: 0;
  }

  .proof-heading {
    font-size: clamp(36px, 10.8vw, 48px);
  }
}

/* ---------- Closing CTA card (real .faq-booking-card component, standalone) ---------- */

.dc-cta-section {
  padding: clamp(72px, 8vw, 112px) 24px;
  background: #0f1011;
}

.dc-cta-wrap {
  display: flex;
  justify-content: center;
}

.faq-booking-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 460px);
  overflow: hidden;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background-color: #171818;
  background-image: url("/assets/images/booking-call-bg-1200.webp");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 130%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  box-sizing: border-box;
  text-align: left;
}

.faq-booking-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(17, 17, 17, 0.04));
  pointer-events: none;
}

.faq-card-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  min-width: 88px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  overflow: hidden;
}

.faq-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}

.faq-card-title {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: clamp(30px, 4vw, 44px) 0 20px;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.05;
}

.faq-booking-card .services-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 56px;
  border-color: rgba(255, 255, 255, 0.8);
  background: #ffffff;
  color: #111111;
}

.faq-booking-card .services-cta .cta-arrow-icon {
  filter: none;
}

.faq-card-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.faq-card-note a {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.faq-card-note a:hover {
  text-decoration: underline;
}

/* ---------- FAQ list beside the CTA card (real .faq-content component) ---------- */

.dc-cta-wrap.faq-booking-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: start;
}

/* Match the homepage's exact card treatment (tall 4:5 card, sticky while
   the FAQ list scrolls, slight overlap into the section above) instead of
   the shorter, static "standalone" shape .faq-booking-card otherwise has
   on its own on Servicios/Nosotros. */
.dc-cta-wrap.faq-booking-grid .faq-booking-card {
  position: sticky;
  top: 6px;
  align-self: start;
  justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  margin-top: -110px;
  min-height: 540px;
  background-size: 112%;
  animation: faqGradientShift 12s ease-in-out infinite;
}

.dc-cta-wrap.faq-booking-grid .faq-booking-card::before {
  background:
    linear-gradient(18deg, transparent 0 36%, rgba(255, 255, 255, 0.16) 37%, rgba(255, 255, 255, 0.02) 52%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(17, 17, 17, 0.04));
  opacity: 0.7;
  transform: scale(1.05);
  animation: faqGradientWave 9s ease-in-out infinite alternate;
}

.dc-cta-wrap.faq-booking-grid .faq-booking-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%, rgba(17, 17, 17, 0.1));
  background-size: 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0.32;
  pointer-events: none;
}

@keyframes faqGradientShift {
  0% {
    background-position: 46% 48%;
    background-size: 112%;
  }
  50% {
    background-position: 58% 54%;
    background-size: 124%;
  }
  100% {
    background-position: 46% 48%;
    background-size: 112%;
  }
}

@keyframes faqGradientWave {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.08) rotate(0deg);
  }
  100% {
    transform: translate3d(2%, 2%, 0) scale(1.12) rotate(2deg);
  }
}

.faq-content {
  min-width: 0;
  text-align: left;
}

.faq-eyebrow {
  max-width: 720px;
  margin: 0 auto 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.faq-title {
  max-width: 720px;
  margin: 0 auto;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(46px, 5vw, 86px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0;
}

.faq-list {
  margin-top: clamp(34px, 4vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 28px auto 0;
  white-space: nowrap;
}

.faq-tab {
  position: relative;
  min-height: auto;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.faq-tab + .faq-tab::before {
  content: "|";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.28);
}

.faq-tab:hover,
.faq-tab.is-active {
  color: #ffffff;
}

.faq-tabs::-webkit-scrollbar {
  display: none;
}

.faq-item[hidden] {
  display: none;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 24px;
  background-image: url("https://cdn.prod.website-files.com/68acbc076b672f730e0c77b9/68acbf05f9c3214369b19570_ArrowRight.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(1);
  opacity: 0.58;
  transform: rotate(90deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item[open] summary::after {
  opacity: 0.95;
  transform: rotate(-90deg);
}

.faq-item p {
  max-width: 680px;
  margin: -4px 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.55;
}

@media screen and (max-width: 767px) {
  .dc-cta-wrap.faq-booking-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dc-cta-wrap.faq-booking-grid .faq-booking-card {
    position: relative;
    top: auto;
    justify-self: stretch;
    width: 100%;
    margin-top: 0;
    min-height: 500px;
  }

  .faq-title {
    font-size: clamp(38px, 10.8vw, 52px);
    line-height: 1;
  }

  .faq-tabs {
    justify-content: flex-start;
    gap: 0;
    margin-top: 24px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
  }

  .faq-tab {
    flex: 0 0 auto;
    min-height: 32px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .faq-list {
    margin-top: 28px;
  }

  .faq-item summary {
    padding: 17px 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-item p {
    margin: -2px 0 18px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ---------- New: full services list, styled to match the dark system
   (the homepage doesn't have a "list every service with a description"
   component, so this is authored to fit — same fonts/colors/spacing). ---------- */

.dc-list-section {
  padding: clamp(72px, 8vw, 112px) 24px;
  background: #0f1011;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dc-list-head {
  max-width: 1400px;
  margin: 0 auto 48px;
}

.dc-list-head h2 {
  margin: 0;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
}

.dc-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dc-list-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: #0f1011;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dc-list-card:hover {
  background: #17181a;
}

.dc-list-card .dc-eyebrow {
  margin: 0 0 16px;
  text-align: left;
}

.dc-list-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 300;
  line-height: 1.15;
}

.dc-list-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: Suisseintl, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.dc-list-card span {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Ocrastd, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media screen and (max-width: 900px) {
  .dc-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 620px) {
  .dc-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Why-partner accordion (real .why-partner-* component, used on
   the homepage under id="nosotros" — reused as-is for nosotros.html) ---------- */

.why-partner-section {
  padding: clamp(72px, 8vw, 112px) 24px;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.why-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(30px, 4.2vw, 68px);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.why-partner-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.why-partner-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.why-partner-title {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-family: Lyondisplay, Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 300;
  line-height: 1;
  text-align: left;
}

.why-partner-intro {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.48;
  text-align: left;
}

.why-partner-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(18px, 2.2vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why-partner-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.why-partner-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0 0 3px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(14px, 0.98vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.why-partner-item-title::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.56;
  transform: rotate(45deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.why-partner-item p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.42;
  text-align: left;
}

.why-partner-item:not(.is-open) p {
  display: none;
}

.why-partner-item.is-open .why-partner-item-title::after {
  opacity: 0.9;
  transform: rotate(225deg);
}

.why-partner-media {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: #171717;
}

.why-partner-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.98);
}

.why-partner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 20%, rgba(17, 17, 17, 0.08) 100%);
  pointer-events: none;
}

@media screen and (max-width: 900px) {
  .why-partner-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-partner-copy {
    order: 2;
  }

  .why-partner-media {
    order: 1;
    width: 100%;
    justify-self: stretch;
  }
}
