.cp-home {
  overflow: clip;
  background: #faf8f4;
}
/* =========================================
   BOTÓN PRINCIPAL HERO (AGENDAR ORIENTACIÓN)
========================================= */
.cp-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border-radius: 16px; /* Mantiene la estética de tus otros botones */
  background: var(--cp-color-orange); /* Usa tu color de acento para destacar */
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800; /* Mantiene la jerarquía tipográfica de tu sitio */
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(204, 83, 49, 0.25); /* Sombra naranja basada en tu rgba */
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.cp-btn-main:hover {
  transform: translateY(-3px); /* El mismo efecto de levantarse que usas abajo */
  background: #B54A2B; /* Un tono ligeramente más oscuro al pasar el cursor */
  color: #fff;
  box-shadow: 0 18px 36px rgba(204, 83, 49, 0.4);
}

/* Animación opcional de "Latido" para que nadie pase de largo el botón */
.cp-btn-main {
  animation: cpPulse 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes cpPulse {
  0% { box-shadow: 0 0 0 0 rgba(204, 83, 49, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(204, 83, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 83, 49, 0); }
}

.cp-btn-main:hover {
  animation: none; /* Detiene la animación al poner el cursor encima */
}
/* =========================================
   FORZAR FULL WIDTH REAL EN HOME (ASTRA)
========================================= */
.home .site-content,
.home .site-main,
.home .entry-content,
.home article,
.home .ast-container,
.home .ast-article-single,
.home .content-area,
.home .site-primary-footer-wrap,
.home .site-below-footer-wrap {
  max-width: none !important;
}

.home .site-content .ast-container,
.home .site-main .ast-container {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .entry-content,
.home .post-content,
.home article {
  margin: 0 !important;
  padding: 0 !important;
}

.home .entry-content > .cp-hero,
.home .site-main > .cp-hero,
.home .content-area .cp-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* =========================================
   HERO FULL WIDTH - AJUSTADO
========================================= */
.cp-hero {
  position: relative;
  min-height: clamp(460px, 58vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ddd;
}

.cp-hero__bg {
  position: absolute;
  inset: 0;
}

.cp-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94);
  transform: scale(1.02);
  will-change: transform;
}

.cp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(28, 30, 34, 0.54) 0%,
      rgba(28, 30, 34, 0.40) 22%,
      rgba(28, 30, 34, 0.24) 44%,
      rgba(28, 30, 34, 0.12) 68%,
      rgba(28, 30, 34, 0.04) 100%
    );
}

.cp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 0 72px;
}

.cp-hero__container {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}

.cp-hero__content {
  max-width: 560px;
}

.cp-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cp-hero__title {
  max-width: 8.8ch;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cp-hero__text {
  max-width: 50ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.68;
}

.cp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.cp-btn--primary {
  background: var(--cp-color-teal);
  color: #fff;
  box-shadow: var(--cp-shadow-md);
}

.cp-btn--primary:hover {
  background: var(--cp-color-teal-700);
  color: #fff;
}

.cp-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}

.cp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* =========================================
   ANIMACIÓN SUTIL HERO
========================================= */
.cp-hero__content > * {
  opacity: 0;
  transform: translateY(12px);
}

.cp-hero__content.is-visible > * {
  animation: cpHeroItemIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cp-hero__content.is-visible > *:nth-child(1) { animation-delay: 0.06s; }
.cp-hero__content.is-visible > *:nth-child(2) { animation-delay: 0.14s; }
.cp-hero__content.is-visible > *:nth-child(3) { animation-delay: 0.22s; }
.cp-hero__content.is-visible > *:nth-child(4) { animation-delay: 0.30s; }

@keyframes cpHeroItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .cp-hero {
    min-height: 500px;
  }

  .cp-hero__inner {
    padding: 64px 0 64px;
  }

  .cp-hero__container {
    width: min(100% - 40px, 1320px);
  }

  .cp-hero__title {
    max-width: 9.5ch;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 1.02;
  }

  .cp-hero__text {
    font-size: 0.96rem;
    max-width: 44ch;
  }
}

@media (max-width: 640px) {
  .cp-hero {
    min-height: 460px;
  }

  .cp-hero__inner {
    padding: 56px 0 56px;
  }

  .cp-hero__container {
    width: min(100% - 28px, 1320px);
  }

  .cp-hero__title {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.9rem);
  }

  .cp-hero__text {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .cp-hero__actions {
    flex-direction: column;
  }

  .cp-hero__eyebrow {
    font-size: 0.76rem;
  }
}

/* =========================================
   HOME - ABOUT PREVIEW
========================================= */
.cp-home-about {
  position: relative;
  background: linear-gradient(180deg, #faf8f4 0%, #f5f1ea 100%);
  padding-top: 84px;
  padding-bottom: 92px;
}

.cp-home-about__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.cp-home-about__media {
  position: relative;
}

.cp-home-about__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.cp-home-about__image-wrap::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 96px;
  height: 96px;
  border-top: 3px solid rgba(204, 83, 49, 0.34);
  border-left: 3px solid rgba(204, 83, 49, 0.34);
  border-top-left-radius: 18px;
  z-index: 2;
  pointer-events: none;
}

.cp-home-about__image-wrap::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(245, 158, 29, 0.14);
  z-index: 2;
  pointer-events: none;
}

.cp-home-about__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: center;
}

.cp-home-about__content {
  max-width: 700px;
}

.cp-home-about__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-about__title {
  max-width: 14ch;
  margin-bottom: 18px;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cp-home-about__text {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--cp-color-text);
  font-size: 1rem;
  line-height: 1.78;
}

.cp-home-about__text + .cp-home-about__text {
  margin-top: 16px;
}

.cp-home-about__points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.cp-home-about__point {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(38, 122, 125, 0.08);
}

.cp-home-about__point:first-child {
  border-top: 0;
  padding-top: 0;
}

.cp-home-about__point-line {
  display: block;
  width: 3px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cp-color-teal) 0%, var(--cp-color-gold) 100%);
  margin-top: 2px;
}

.cp-home-about__point h3 {
  margin-bottom: 6px;
  color: var(--cp-color-ink);
  font-size: 1.08rem;
  line-height: 1.3;
}

.cp-home-about__point p {
  margin: 0;
  color: var(--cp-color-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.cp-home-about__actions {
  margin-top: 28px;
}

/* =========================================
   RESPONSIVE - ABOUT PREVIEW
========================================= */
@media (max-width: 1000px) {
  .cp-home-about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cp-home-about__title {
    max-width: 16ch;
  }

  .cp-home-about__content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cp-home-about {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .cp-home-about__title {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cp-home-about__image {
    aspect-ratio: 1 / 1.08;
  }

  .cp-home-about__point {
    grid-template-columns: 12px 1fr;
    gap: 12px;
  }

  .cp-home-about__point-line {
    height: 46px;
  }
}

/* =========================================
   HOME - SERVICES PREVIEW
========================================= */

.cp-home-services {
  background: #fff;
  padding-top: 104px;
  padding-bottom: 112px;
}

/* HEADER */

.cp-home-services__header {
  max-width: 1120px;
  margin-bottom: 66px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.cp-home-services__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-services__title {
  max-width: 17ch;
  margin: 0;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.cp-home-services__text {
  max-width: 58ch;
  margin: 0;
  color: var(--cp-color-text);
  font-size: 1rem;
  line-height: 1.82;
}

/* BLOQUE PRINCIPAL */

.cp-home-services__current {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 68px;
  align-items: start;
}

.cp-home-services__current-media {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  border-radius: 30px;
  background: #f5f1ea;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.cp-home-services__current-image {
  width: 100%;
  max-width: 520px;
  display: block;
  aspect-ratio: 4 / 4.9;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.cp-home-services__current-media:hover .cp-home-services__current-image {
  transform: scale(1.04);
}

.cp-home-services__current-main {
  padding-top: 14px;
}

.cp-home-services__section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cp-color-teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-services__section-label--orange {
  color: var(--cp-color-orange);
}

.cp-home-services__current-main h3,
.cp-home-services__future-intro h3 {
  margin: 0 0 16px;
  color: var(--cp-color-ink);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cp-home-services__section-text {
  margin: 0;
  color: var(--cp-color-muted);
  font-size: 1rem;
  line-height: 1.82;
  max-width: 60ch;
}

/* =========================================
   SERVICIOS ACTUALES — LISTA EDITORIAL ABIERTA
   SIN TARJETAS / SIN LÍNEAS DE TABLA
========================================= */

.cp-home-services__rows {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  max-width: 680px;
  border: 0;
}

.cp-home-services__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cp-home-services__row-number {
  position: relative;
  width: auto;
  height: auto;
  display: block;
  padding-top: 3px;
  border-radius: 0;
  background: transparent;
  color: var(--cp-color-teal);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.cp-home-services__row-number::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--cp-color-teal);
  opacity: 0.45;
}

.cp-home-services__row--orange .cp-home-services__row-number {
  color: var(--cp-color-orange);
}

.cp-home-services__row--orange .cp-home-services__row-number::after {
  background: var(--cp-color-orange);
}

.cp-home-services__row--gold .cp-home-services__row-number {
  color: #B87408;
}

.cp-home-services__row--gold .cp-home-services__row-number::after {
  background: var(--cp-color-gold);
}

.cp-home-services__row-content {
  max-width: 62ch;
  padding: 0;
}

.cp-home-services__row-content h4 {
  margin: 0 0 8px;
  color: var(--cp-color-ink);
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

.cp-home-services__row-content p {
  margin: 0;
  color: var(--cp-color-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

/* CTA */

.cp-home-services__actions {
  margin-top: 38px;
  padding-left: 76px;
}

.cp-home-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--cp-color-teal);
  color: #fff;
  border: 1px solid var(--cp-color-teal);
  box-shadow: 0 14px 28px rgba(38, 122, 125, 0.18);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.cp-home-services__cta:hover {
  transform: translateY(-2px);
  background: var(--cp-color-teal-700);
  border-color: var(--cp-color-teal-700);
  color: #fff;
  box-shadow: 0 18px 34px rgba(38, 122, 125, 0.24);
}

.cp-home-services__cta-arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.22s ease;
}

.cp-home-services__cta:hover .cp-home-services__cta-arrow {
  transform: translateX(3px);
}


/* =========================================
   HOME - METHODOLOGY
========================================= */

.cp-home-method {
  background: linear-gradient(180deg, #f7f3ec 0%, #fcfaf6 100%);
  padding-top: 92px;
  padding-bottom: 96px;
}

.cp-home-method__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.cp-home-method__intro {
  max-width: 520px;
}

.cp-home-method__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-method__title {
  max-width: 12ch;
  margin-bottom: 18px;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cp-home-method__text {
  max-width: 54ch;
  margin-bottom: 0;
  color: var(--cp-color-text);
  font-size: 1rem;
  line-height: 1.76;
}

.cp-home-method__list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(38, 122, 125, 0.10);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.cp-home-method__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-bottom: 1px solid rgba(38, 122, 125, 0.08);
  transition: background-color var(--cp-transition-base);
}

.cp-home-method__item:last-child {
  border-bottom: 0;
}

.cp-home-method__item:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cp-home-method__item-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cp-color-teal);
  background: rgba(38, 122, 125, 0.04);
  border-right: 1px solid rgba(38, 122, 125, 0.08);
}

.cp-home-method__item--orange .cp-home-method__item-number {
  color: var(--cp-color-orange);
  background: rgba(204, 83, 49, 0.04);
  border-right-color: rgba(204, 83, 49, 0.08);
}

.cp-home-method__item--gold .cp-home-method__item-number {
  color: #B87408;
  background: rgba(245, 158, 29, 0.08);
  border-right-color: rgba(245, 158, 29, 0.10);
}

.cp-home-method__item-body {
  position: relative;
  padding: 28px 30px 28px;
}

.cp-home-method__item-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 88px;
  height: 4px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
  background: var(--cp-color-teal);
}

.cp-home-method__item--orange .cp-home-method__item-body::before {
  background: var(--cp-color-orange);
}

.cp-home-method__item--gold .cp-home-method__item-body::before {
  background: var(--cp-color-gold);
}

.cp-home-method__item-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cp-color-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-method__item--orange .cp-home-method__item-label {
  color: var(--cp-color-orange);
}

.cp-home-method__item--gold .cp-home-method__item-label {
  color: #B87408;
}

.cp-home-method__item-body h3 {
  margin-bottom: 10px;
  color: var(--cp-color-ink);
  font-size: 1.16rem;
  line-height: 1.3;
}

.cp-home-method__item-body p {
  margin: 0;
  color: var(--cp-color-muted);
  font-size: 0.97rem;
  line-height: 1.72;
}


.cp-method-reveal {
  opacity: 0;
  transform: translateX(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-method-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.cp-method-reveal:nth-child(1) {
  transition-delay: 0.06s;
}

.cp-method-reveal:nth-child(2) {
  transition-delay: 0.14s;
}

.cp-method-reveal:nth-child(3) {
  transition-delay: 0.22s;
}

/* =========================================
   RESPONSIVE - METHODOLOGY
========================================= */
@media (max-width: 1100px) {
  .cp-home-method__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cp-home-method__intro {
    max-width: 100%;
  }

  .cp-home-method__title {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .cp-home-method {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .cp-home-method__title {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cp-home-method__item {
    grid-template-columns: 68px 1fr;
  }

  .cp-home-method__item-number {
    padding-top: 24px;
    font-size: 1rem;
  }

  .cp-home-method__item-body {
    padding: 24px 20px 20px;
  }

  .cp-home-method__item-body::before {
    left: 20px;
    width: 72px;
  }

  .cp-home-method__item-body h3 {
    font-size: 1.08rem;
  }

  .cp-home-method__item-body p {
    font-size: 0.95rem;
  }
}

/* =========================================
   IMAGE MOTION - ABOUT + SERVICES
========================================= */

/* base */
.cp-home-about__image-wrap,
.cp-home-services__current-media {
  overflow: hidden;
}

.cp-home-about__image,
.cp-home-services__current-image {
  transform: scale(1.02);
  transform-origin: center center;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}

/* reveal distinto para im��genes */
.cp-home-about__media.cp-reveal,
.cp-home-services__current-media.cp-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-home-about__media.cp-reveal.is-visible,
.cp-home-services__current-media.cp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* hover sutil */
.cp-home-about__image-wrap:hover .cp-home-about__image,
.cp-home-services__current-media:hover .cp-home-services__current-image {
  transform: scale(1.05) translateY(-2px);
}

/* micro profundidad en wrappers */
.cp-home-about__image-wrap,
.cp-home-services__current-image {
  transition:
    box-shadow 0.4s ease,
    border-radius 0.4s ease;
}

.cp-home-about__image-wrap:hover,
.cp-home-services__current-media:hover .cp-home-services__current-image {
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.10);
}

/* decoraciones con movimiento muy leve */
.cp-home-about__image-wrap::before,
.cp-home-about__image-wrap::after {
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}

.cp-home-about__image-wrap:hover::before {
  transform: translate(-4px, -4px);
}

.cp-home-about__image-wrap:hover::after {
  transform: translate(4px, 4px);
}

/* responsive: menos movimiento en m��vil */
@media (max-width: 768px) {
  .cp-home-about__image,
  .cp-home-services__current-image {
    transition:
      transform 0.6s ease,
      filter 0.35s ease;
  }

  .cp-home-about__image-wrap:hover .cp-home-about__image,
  .cp-home-services__current-media:hover .cp-home-services__current-image {
    transform: scale(1.03);
  }
}


/* =========================================
   HOME - FINAL CTA / CONTACT PREVIEW
========================================= */
.cp-home-contact {
  background: linear-gradient(180deg, #f8f4ed 0%, #fdfbf8 100%);
  padding-top: 96px;
  padding-bottom: 108px;
}

.cp-home-contact__box {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 64px;
  align-items: stretch;
  padding: 42px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(38, 122, 125, 0.10);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.cp-home-contact__content {
  max-width: 700px;
}

.cp-home-contact__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-contact__title {
  max-width: 15ch;
  margin-bottom: 22px;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cp-home-contact__text {
  max-width: 62ch;
  margin: 0;
  color: var(--cp-color-text);
  font-size: 1rem;
  line-height: 1.84;
}

.cp-home-contact__text + .cp-home-contact__text {
  margin-top: 18px;
}

.cp-home-contact__panel {
  display: flex;
  align-items: stretch;
}

.cp-home-contact__panel-inner {
  width: 100%;
  padding: 30px 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  border: 1px solid rgba(38, 122, 125, 0.10);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.cp-home-contact__panel-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cp-color-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-contact__panel-inner h3 {
  margin-bottom: 18px;
  color: var(--cp-color-ink);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.cp-home-contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cp-home-contact__list li {
  position: relative;
  padding-left: 18px;
  color: var(--cp-color-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.cp-home-contact__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cp-color-gold);
  transform: translateY(-50%);
}

.cp-home-contact__button {
  margin-top: 26px;
}

/* responsive */
@media (max-width: 1100px) {
  .cp-home-contact__box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cp-home-contact__title {
    max-width: 17ch;
  }
}

@media (max-width: 640px) {
  .cp-home-contact {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .cp-home-contact__box {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .cp-home-contact__title {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cp-home-contact__panel-inner {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .cp-home-contact__button {
    width: 100%;
  }
}

/* =========================================
   HOME - FINAL CTA
========================================= */
.cp-home-final-cta {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
}

.cp-home-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 29, 0.16) 0, transparent 24%),
    radial-gradient(circle at bottom left, rgba(38, 122, 125, 0.10) 0, transparent 22%);
  pointer-events: none;
}

.cp-home-final-cta__inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 84px 0;
}

.cp-home-final-cta__content {
  max-width: 640px;
}

.cp-home-final-cta__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-final-cta__title {
  max-width: 11ch;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cp-home-final-cta__text {
  max-width: 50ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
  line-height: 1.82;
}

.cp-home-final-cta__button {
  margin-top: 30px;
  min-width: 220px;
  min-height: 56px;
  font-size: 1rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

/* responsive */
@media (max-width: 900px) {
  .cp-home-final-cta,
  .cp-home-final-cta__inner {
    min-height: 440px;
  }

  .cp-home-final-cta__inner {
    width: min(100% - 44px, 1320px);
    padding: 64px 0;
  }

  .cp-home-final-cta__title {
    max-width: 12ch;
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .cp-home-final-cta__text {
    max-width: 42ch;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .cp-home-final-cta,
  .cp-home-final-cta__inner {
    min-height: 380px;
  }

  .cp-home-final-cta__inner {
    width: min(100% - 28px, 1320px);
    padding: 46px 0;
  }

  .cp-home-final-cta__title {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .cp-home-final-cta__text {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .cp-home-final-cta__button {
    width: 100%;
  }
}
/* =========================================
   HOME - TESTIMONIALS
========================================= */
.cp-home-testimonials {
  background: linear-gradient(180deg, #faf7f2 0%, #ffffff 100%);
  padding-top: 96px;
  padding-bottom: 104px;
  overflow: hidden;
}

.cp-home-testimonials__shell {
  position: relative;
  padding: 52px 0 18px;
  border-top: 1px solid rgba(38, 122, 125, 0.10);
}

.cp-home-testimonials__header {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.cp-home-testimonials__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cp-color-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-home-testimonials__title {
  max-width: 13ch;
  margin: 0 auto 20px;
  color: var(--cp-color-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cp-home-testimonials__text {
  max-width: 64ch;
  margin: 0 auto;
  color: var(--cp-color-text);
  font-size: 1rem;
  line-height: 1.84;
}

.cp-home-testimonials__river {
  display: grid;
  gap: 18px;
}

.cp-home-testimonials__row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 7%,
    rgba(0, 0, 0, 1) 93%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 7%,
    rgba(0, 0, 0, 1) 93%,
    transparent 100%
  );
}

.cp-home-testimonials__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding: 10px 0;
}

.cp-home-testimonials__row--forward .cp-home-testimonials__track {
  animation: cpTestimonialsForward 54s linear infinite;
}

.cp-home-testimonials__row--reverse .cp-home-testimonials__track {
  animation: cpTestimonialsReverse 58s linear infinite;
}

.cp-home-testimonials__row:hover .cp-home-testimonials__track {
  animation-play-state: paused;
}

.cp-home-testimonials__card {
  position: relative;
  width: min(360px, 74vw);
  min-height: 215px;
  padding: 28px 26px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf9 0%, #fbf7f1 100%);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform var(--cp-transition-base),
    box-shadow var(--cp-transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cp-home-testimonials__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 84px;
  height: 4px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
  background: rgba(38, 122, 125, 0.80);
}

.cp-home-testimonials__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cp-home-testimonials__quote-mark {
  margin-bottom: 8px;
  color: rgba(204, 83, 49, 0.55);
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
}

.cp-home-testimonials__quote {
  margin: 0 0 22px;
  color: var(--cp-color-text);
  font-size: 1.03rem;
  line-height: 1.88;
  font-family: Georgia, "Times New Roman", serif;
}

.cp-home-testimonials__name {
  margin: 0;
  color: var(--cp-color-ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes cpTestimonialsForward {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

@keyframes cpTestimonialsReverse {
  from {
    transform: translateX(calc(-50% - 10px));
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-home-testimonials__row--forward .cp-home-testimonials__track,
  .cp-home-testimonials__row--reverse .cp-home-testimonials__track {
    animation: none;
  }
}

@media (max-width: 640px) {
  .cp-home-testimonials {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .cp-home-testimonials__shell {
    padding-top: 40px;
  }

  .cp-home-testimonials__title {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cp-home-testimonials__card {
    width: min(320px, 86vw);
    min-height: 200px;
    padding: 24px 20px 20px;
    border-radius: 20px;
  }

  .cp-home-testimonials__card::before {
    left: 20px;
    width: 70px;
  }

  .cp-home-testimonials__quote {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .cp-home-testimonials__name {
    font-size: 0.84rem;
  }
}

/* =========================================
   REVEAL SUTIL — SERVICES / TESTIMONIALS / CTA
========================================= */

.cp-reveal-soft {
  --cp-reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
  transition:
    opacity 0.82s ease,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.82s ease;
  transition-delay: var(--cp-reveal-delay);
}

.cp-reveal-soft--left {
  transform: translateX(-24px);
}

.cp-reveal-soft--scale {
  transform: translateY(18px) scale(0.985);
}

.cp-reveal-soft.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* un poco más de profundidad cuando aparecen */
.cp-home-services__future.cp-reveal-soft.is-visible,
.cp-home-final-cta__content.cp-reveal-soft.is-visible {
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

/* CTA: micro lift elegante */
.cp-home-final-cta__button,
.cp-home-contact__button {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.cp-home-final-cta__button:hover,
.cp-home-contact__button:hover {
  transform: translateY(-2px);
}

/* accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .cp-reveal-soft,
  .cp-reveal-soft--left,
  .cp-reveal-soft--scale {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* correcciones para que todo sea responsive
/* =========================================================
   RESPONSIVE MASTER OVERRIDES — CASA PUENTES HOME
   Pegar al FINAL del CSS
========================================================= */

/* Seguridad global */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.cp-home,
.cp-home * {
  box-sizing: border-box;
}

.cp-home {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .cp-home {
    overflow-x: hidden;
  }
}

.cp-home img {
  max-width: 100%;
  height: auto;
}

/* Contenedores fluidos */
.cp-container,
.cp-hero__container,
.cp-home-final-cta__inner {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}

/* Botones: comportamiento estable */
.cp-btn-main,
.cp-btn--primary,
.cp-btn--ghost,
.cp-home-services__cta,
.cp-home-final-cta__button,
.cp-home-contact__button {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

/* Evita que textos largos rompan layout */
.cp-hero__title,
.cp-home-about__title,
.cp-home-services__title,
.cp-home-method__title,
.cp-home-contact__title,
.cp-home-final-cta__title,
.cp-home-testimonials__title,
.cp-home-services__row-content h4,
.cp-home-method__item-body h3,
.cp-home-contact__panel-inner h3 {
  overflow-wrap: balance;
  word-break: normal;
}

/* Full width más seguro en Astra */
.home .entry-content > .cp-hero,
.home .site-main > .cp-hero,
.home .content-area .cp-hero,
.cp-home-final-cta {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =========================================================
   <= 1200px — Notebook / tablet horizontal
========================================================= */

@media (max-width: 1200px) {
  .cp-home-about,
  .cp-home-services,
  .cp-home-method,
  .cp-home-contact,
  .cp-home-testimonials {
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .cp-home-about__grid,
  .cp-home-services__current,
  .cp-home-method__grid,
  .cp-home-contact__box {
    gap: 48px;
  }

  .cp-home-services__header {
    gap: 36px;
    margin-bottom: 52px;
  }

  .cp-home-services__current-image {
    max-width: none;
  }

  .cp-home-services__actions {
    padding-left: 76px;
  }
}

/* =========================================================
   <= 1024px — Tablet
========================================================= */

@media (max-width: 1024px) {
  .cp-container,
  .cp-hero__container,
  .cp-home-final-cta__inner {
    width: min(1320px, calc(100% - 48px));
  }

  .cp-hero {
    min-height: clamp(500px, 62vh, 620px);
  }

  .cp-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(28, 30, 34, 0.64) 0%,
        rgba(28, 30, 34, 0.48) 38%,
        rgba(28, 30, 34, 0.24) 72%,
        rgba(28, 30, 34, 0.12) 100%
      );
  }

  .cp-home-about__grid,
  .cp-home-services__current,
  .cp-home-method__grid,
  .cp-home-contact__box {
    grid-template-columns: 1fr;
  }

  .cp-home-services__header {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: 860px;
  }

  .cp-home-services__title,
  .cp-home-about__title,
  .cp-home-method__title,
  .cp-home-contact__title {
    max-width: 18ch;
  }

  .cp-home-services__current-media,
  .cp-home-about__image-wrap {
    max-width: 620px;
  }

  .cp-home-services__current-main {
    padding-top: 0;
  }

  .cp-home-services__rows {
    max-width: 100%;
  }

  .cp-home-services__actions {
    padding-left: 76px;
  }

  .cp-home-contact__content {
    max-width: 100%;
  }

  .cp-home-contact__panel {
    width: 100%;
  }

  .cp-home-final-cta,
  .cp-home-final-cta__inner {
    min-height: 460px;
  }
}

/* =========================================================
   <= 900px — Tablet vertical / móvil grande
========================================================= */

@media (max-width: 900px) {
  .cp-container,
  .cp-hero__container,
  .cp-home-final-cta__inner {
    width: min(1320px, calc(100% - 40px));
  }

  .cp-hero {
    min-height: 520px;
  }

  .cp-hero__inner {
    padding: 64px 0;
  }

  .cp-hero__content {
    max-width: 620px;
  }

  .cp-hero__title {
    max-width: 10ch;
    font-size: clamp(2.15rem, 7vw, 3.7rem);
  }

  .cp-hero__text {
    max-width: 48ch;
  }

  .cp-home-about,
  .cp-home-services,
  .cp-home-method,
  .cp-home-contact,
  .cp-home-testimonials {
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .cp-home-about__grid,
  .cp-home-services__current,
  .cp-home-method__grid,
  .cp-home-contact__box {
    gap: 36px;
  }

  .cp-home-services__header {
    margin-bottom: 44px;
  }

  .cp-home-contact__box {
    padding: 34px;
    border-radius: 28px;
  }

  .cp-home-final-cta__inner {
    padding: 64px 0;
  }

  .cp-home-final-cta__title {
    max-width: 13ch;
  }

  .cp-home-testimonials__shell {
    padding-top: 44px;
  }

  .cp-home-testimonials__row {
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 5%,
      #000 95%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 5%,
      #000 95%,
      transparent 100%
    );
  }
}

/* =========================================================
   <= 768px — Móvil horizontal / tablet pequeña
========================================================= */

@media (max-width: 768px) {
  .cp-hero {
    min-height: 500px;
  }

  .cp-hero__bg-image {
    object-position: center center;
    transform: scale(1.01);
  }

  .cp-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(28, 30, 34, 0.72) 0%,
        rgba(28, 30, 34, 0.58) 48%,
        rgba(28, 30, 34, 0.38) 100%
      );
  }

  .cp-home-about__image-wrap,
  .cp-home-services__current-media {
    border-radius: 24px;
  }

  .cp-home-about__image {
    aspect-ratio: 4 / 4.4;
  }

  .cp-home-services__current-image {
    aspect-ratio: 4 / 3.8;
  }

  .cp-home-services__row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .cp-home-services__actions {
    padding-left: 66px;
  }

  .cp-home-method__item {
    grid-template-columns: 76px 1fr;
  }

  .cp-home-method__item-body {
    padding: 26px 24px 24px;
  }

  .cp-home-contact__box {
    padding: 30px 26px;
  }

  .cp-home-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(28, 30, 34, 0.28);
    pointer-events: none;
  }

  .cp-home-final-cta::after {
    z-index: 1;
  }

  .cp-home-final-cta__content {
    position: relative;
    z-index: 2;
  }

  /* En táctil se reduce el hover para evitar saltos visuales */
  .cp-home-about__image-wrap:hover .cp-home-about__image,
  .cp-home-services__current-media:hover .cp-home-services__current-image,
  .cp-home-testimonials__card:hover,
  .cp-btn-main:hover,
  .cp-home-services__cta:hover,
  .cp-home-final-cta__button:hover,
  .cp-home-contact__button:hover {
    transform: none;
  }
}

/* =========================================================
   <= 640px — Móvil estándar
========================================================= */

@media (max-width: 640px) {
  .cp-container,
  .cp-hero__container,
  .cp-home-final-cta__inner {
    width: min(1320px, calc(100% - 28px));
  }

  .cp-hero {
    min-height: 500px;
    align-items: flex-end;
  }

  .cp-hero__inner {
    padding: 52px 0 56px;
  }

  .cp-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(28, 30, 34, 0.22) 0%,
        rgba(28, 30, 34, 0.48) 42%,
        rgba(28, 30, 34, 0.76) 100%
      );
  }

  .cp-hero__content {
    max-width: 100%;
  }

  .cp-hero__eyebrow,
  .cp-home-about__eyebrow,
  .cp-home-services__eyebrow,
  .cp-home-services__section-label,
  .cp-home-method__eyebrow,
  .cp-home-contact__eyebrow,
  .cp-home-contact__panel-label,
  .cp-home-final-cta__eyebrow,
  .cp-home-testimonials__eyebrow {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .cp-hero__title {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .cp-hero__text {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.66;
  }

  .cp-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cp-hero__actions a,
  .cp-btn-main,
  .cp-btn--primary,
  .cp-btn--ghost {
    width: 100%;
  }

  .cp-btn-main {
    min-height: 54px;
    padding-inline: 22px;
    border-radius: 14px;
    font-size: 0.98rem;
  }

  .cp-home-about,
  .cp-home-services,
  .cp-home-method,
  .cp-home-contact,
  .cp-home-testimonials {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .cp-home-about__grid,
  .cp-home-services__current,
  .cp-home-method__grid,
  .cp-home-contact__box {
    gap: 30px;
  }

  .cp-home-about__title,
  .cp-home-services__title,
  .cp-home-method__title,
  .cp-home-contact__title,
  .cp-home-testimonials__title {
    max-width: none;
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .cp-home-about__text,
  .cp-home-services__text,
  .cp-home-services__section-text,
  .cp-home-method__text,
  .cp-home-contact__text,
  .cp-home-testimonials__text {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .cp-home-about__image-wrap::before {
    top: 16px;
    left: 16px;
    width: 72px;
    height: 72px;
  }

  .cp-home-about__image-wrap::after {
    right: 16px;
    bottom: 16px;
    width: 92px;
    height: 92px;
  }

  .cp-home-about__image {
    aspect-ratio: 1 / 1.05;
  }

  .cp-home-about__point {
    grid-template-columns: 12px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .cp-home-about__point h3 {
    font-size: 1.02rem;
  }

  .cp-home-about__point p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cp-home-services__header {
    margin-bottom: 36px;
  }

  .cp-home-services__current-media {
    border-radius: 22px;
  }

  .cp-home-services__current-image {
    aspect-ratio: 1 / 0.9;
    object-position: center center;
  }

  .cp-home-services__rows {
    gap: 26px;
    margin-top: 32px;
  }

  .cp-home-services__row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .cp-home-services__row-number {
    font-size: 0.84rem;
  }

  .cp-home-services__row-number::after {
    width: 22px;
    height: 3px;
    margin-top: 10px;
  }

  .cp-home-services__row-content h4 {
    font-size: 1.08rem;
  }

  .cp-home-services__row-content p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cp-home-services__actions {
    padding-left: 56px;
    margin-top: 32px;
  }

  .cp-home-services__cta {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  .cp-home-method__list {
    border-radius: 22px;
  }

  .cp-home-method__item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .cp-home-method__item-number {
    padding-top: 24px;
    font-size: 0.96rem;
  }

  .cp-home-method__item-body {
    padding: 24px 18px 20px;
  }

  .cp-home-method__item-body::before {
    left: 18px;
    width: 66px;
  }

  .cp-home-method__item-label {
    font-size: 0.72rem;
  }

  .cp-home-method__item-body h3 {
    font-size: 1.04rem;
  }

  .cp-home-method__item-body p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cp-home-contact__box {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .cp-home-contact__panel-inner {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .cp-home-contact__panel-inner h3 {
    font-size: clamp(1.28rem, 6vw, 1.65rem);
  }

  .cp-home-contact__list li {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cp-home-contact__button {
    width: 100%;
  }

  .cp-home-final-cta,
  .cp-home-final-cta__inner {
    min-height: 420px;
  }

  .cp-home-final-cta__inner {
    padding: 52px 0;
    align-items: center;
  }

  .cp-home-final-cta__title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  .cp-home-final-cta__text {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .cp-home-final-cta__button {
    width: 100%;
    min-width: 0;
  }

  .cp-home-testimonials__shell {
    padding-top: 36px;
  }

  .cp-home-testimonials__river {
    gap: 14px;
  }

  .cp-home-testimonials__track {
    gap: 14px;
  }

  .cp-home-testimonials__card {
    width: min(320px, 86vw);
    min-height: 198px;
    padding: 24px 20px 20px;
    border-radius: 20px;
  }

  .cp-home-testimonials__quote-mark {
    font-size: 2.35rem;
  }

  .cp-home-testimonials__quote {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .cp-home-testimonials__name {
    font-size: 0.78rem;
  }
}

/* =========================================================
   <= 480px — Móvil pequeño
========================================================= */

@media (max-width: 480px) {
  .cp-container,
  .cp-hero__container,
  .cp-home-final-cta__inner {
    width: min(1320px, calc(100% - 24px));
  }

  .cp-hero {
    min-height: 480px;
  }

  .cp-hero__inner {
    padding: 46px 0 50px;
  }

  .cp-hero__title {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .cp-home-about,
  .cp-home-services,
  .cp-home-method,
  .cp-home-contact,
  .cp-home-testimonials {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .cp-home-about__title,
  .cp-home-services__title,
  .cp-home-method__title,
  .cp-home-contact__title,
  .cp-home-testimonials__title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .cp-home-services__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cp-home-services__row-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
  }

  .cp-home-services__row-number::after {
    width: 28px;
    margin-top: 0;
  }

  .cp-home-services__actions {
    padding-left: 0;
  }

  .cp-home-method__item {
    grid-template-columns: 1fr;
  }

  .cp-home-method__item-number {
    justify-content: flex-start;
    padding: 18px 20px 0;
    border-right: 0;
    background: transparent;
  }

  .cp-home-method__item-body {
    padding: 16px 20px 22px;
  }

  .cp-home-method__item-body::before {
    left: 20px;
    width: 64px;
  }

  .cp-home-contact__box {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .cp-home-contact__panel-inner {
    padding: 22px 16px;
  }

  .cp-home-final-cta,
  .cp-home-final-cta__inner {
    min-height: 400px;
  }

  .cp-home-testimonials__row {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .cp-home-testimonials__card {
    width: min(300px, 88vw);
  }
}

/* =========================================================
   <= 380px — Móviles muy angostos
========================================================= */

@media (max-width: 380px) {
  .cp-container,
  .cp-hero__container,
  .cp-home-final-cta__inner {
    width: min(1320px, calc(100% - 20px));
  }

  .cp-hero__title,
  .cp-home-final-cta__title {
    font-size: clamp(1.75rem, 10.5vw, 2.35rem);
  }

  .cp-hero__text,
  .cp-home-about__text,
  .cp-home-services__text,
  .cp-home-services__section-text,
  .cp-home-method__text,
  .cp-home-contact__text,
  .cp-home-testimonials__text {
    font-size: 0.92rem;
  }

  .cp-btn-main,
  .cp-home-services__cta,
  .cp-home-final-cta__button,
  .cp-home-contact__button {
    min-height: 50px;
    padding-inline: 16px;
    font-size: 0.94rem;
  }

  .cp-home-testimonials__card {
    width: min(280px, 90vw);
  }
}

/* =========================================================
   Dispositivos táctiles: menos animación y mejor rendimiento
========================================================= */

@media (hover: none) and (pointer: coarse) {
  .cp-btn-main {
    animation: none;
  }

  .cp-home-testimonials__row:hover .cp-home-testimonials__track {
    animation-play-state: running;
  }

  .cp-home-about__image,
  .cp-home-services__current-image,
  .cp-home-testimonials__card,
  .cp-btn-main,
  .cp-home-services__cta,
  .cp-home-final-cta__button,
  .cp-home-contact__button {
    transition-duration: 0.25s;
  }
}

/* =========================================================
   Accesibilidad: usuarios con reducción de movimiento
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .cp-btn-main,
  .cp-hero__content.is-visible > *,
  .cp-method-reveal,
  .cp-reveal-soft,
  .cp-home-testimonials__track,
  .cp-home-about__image,
  .cp-home-services__current-image {
    animation: none !important;
    transition: none !important;
  }

  .cp-hero__content > *,
  .cp-method-reveal,
  .cp-reveal-soft {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}