/* =========================
   ISRADOGS - Styles (FINAL CLEAN)
   Hero premium + Fade carousel + Responsive + Mobile Hamburger
========================= */

/* =========================
   Theme
========================= */
:root {
    --glass-background: rgba(27, 27, 27, 0.15);
    --hero-overlay: 0.0;

    /* Colores logo Isradogs */
    --negro: #1b1b1b;
    --blanco: #faf7f3;
    --rosa: #ed066b;
    --morado: #710297;
    --amarillo: #eff923;
    --azul: #0296db;
    --verde: #5dd517;
    --anaranjado: #e16009;

    /* WhatsApp (glow) */
    --wa-g1: #25D366;
    --wa-g2: #075E54;
    --wa-g3: #128C7E;
    --wa-dark: #000;
}

/* =========================
   Reset
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--negro);
    color: var(--blanco);
}

p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* =========================
   Navbar
========================= */
header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    /* No queremos bloquear el hero con el header */
    pointer-events: none;

    padding: 12px 16px;
}

.navbar {
    pointer-events: auto;
    /* habilita clicks dentro del navbar */

    background: var(--glass-background);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 999px;
    padding: 15px 30px;

    width: min(1200px, 100%);
    margin: 0 auto;

    overflow: hidden;
    transition: transform 0.35s ease;
}

.navbar--hidden {
  transform: translateY(-140%);
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    margin-top: -6px;
    margin-bottom: -6px;
    width: auto;
    display: block;
    padding-left: 10px;
    object-fit: contain;
    transition: transform 180ms ease, filter 180ms ease;
}

.logo:hover .logo-img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.brand-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-family: "Playfair Display", serif;
    font-weight: 700;
    /* negritas */
    letter-spacing: 0.14em;
    text-transform: uppercase;

    font-size: 22px;
    color: rgba(255, 255, 255, 0.92);

    pointer-events: none;
    /* para que no estorbe clicks */
    user-select: none;
}

/* Links (desktop) */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.95;
    font-family: "Poppins", sans-serif;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* ===== Hamburguesa ===== */
.nav-toggle {
    display: none;
    /* oculto en desktop */
    pointer-events: auto;

    width: 46px;
    height: 46px;
    padding: 0;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;

    /* layout interno (3 líneas) */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    /* 👈 líneas más juntas */
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);

    margin: 0;
    transform-origin: center;
    transition: transform 200ms ease, opacity 150ms ease;
}

/* =========================
   Hero
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;

    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

/* Overlay premium (vignette + gradientes) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(1200px 600px at 20% 80%, rgba(0, 0, 0, calc(var(--hero-overlay) + 0.10)), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, calc(var(--hero-overlay) + 0.10)), rgba(0, 0, 0, calc(var(--hero-overlay) - 0.10)) 35%, rgba(0, 0, 0, calc(var(--hero-overlay) + 0.20)));
}

/* =========================
   Slides (Fade + micro-zoom)
========================= */
.slides.is-fade {
    position: absolute;
    inset: 0;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.03);
    transition: opacity 700ms ease, transform 1400ms ease;
    will-change: opacity, transform;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* =========================
   Captions
========================= */
.captions {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.caption {
    position: absolute;
    inset: 0;

    width: min(1200px, 100%);
    margin: 0 auto;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 0 30px 9vh 30px;
    /* igual que el navbar en desktop */
    text-align: left;

    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease, transform 600ms ease;
}

/* =========================
   Desktop refinement (Hero alignment)
========================= */
@media (min-width: 1025px) {

  /* Mantener todo abajo */
  .caption {
    align-items: flex-end;
  }

  /* Centrar verticalmente el bloque derecho respecto al H1 */
  .caption-row {
    display: flex;
    align-items: center;
  }

  .caption-row p {
    font-size: 20px;
    line-height: 1.6;
  }

}

.caption.is-active {
    opacity: 1;
    transform: translateY(0);
}

.caption h1 {
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin-bottom: 14px;
    max-width: 520px;
}

/* Desktop: título izquierda, texto+botón derecha */
.caption-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    margin-left: auto;
}

.caption-row p {
    text-align: right;
    padding-left: 0;
    max-width: 520px;
    margin: 0;
}

/* HERO */
.caption h1 {
  font-family: "Playfair Display", serif;
}

/* Fix tipográfico: evita choque entre líneas en "Guardia y protección" */
.captions .caption:nth-child(2) h1 {
  line-height: 1.06;      /* más aire entre renglones */
  letter-spacing: -0.02em; /* un pelín menos apretado (opcional pero ayuda) */
}

/* Ajuste de pesos para que se sienta elegante */
.caption-row p {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

/* CTA BAND */
.cta-text h2 {
  font-family: "Playfair Display", serif;
}

.cta-text p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

/* =========================
   CTA principal (form)
========================= */
.btn-primary {
    pointer-events: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;

    background: linear-gradient(90deg, var(--rosa), var(--morado));
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

/* =========================
   WhatsApp CTA (glow border animado)
========================= */
.btn-wa {
    pointer-events: auto;

    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);

    isolation: isolate;
    transform: translateZ(0);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-wa>* {
    position: relative;
    z-index: 2;
}

.btn-wa__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.btn-wa__icon svg {
    width: 18px;
    height: 18px;
}

/* Glow del borde */
.btn-wa::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: 0;

    background: linear-gradient(45deg,
            var(--wa-g1),
            var(--wa-dark),
            var(--wa-g1),
            var(--wa-dark),
            var(--wa-g2),
            var(--wa-g3));
    background-size: 600% 600%;
    animation: waGlow 18s linear infinite;

    filter: blur(8px);
    opacity: 0.75;

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    padding: 4px;
}

.btn-wa::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.btn-wa:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-wa:hover::before {
    opacity: 1;
}

.btn-wa:active {
    transform: scale(0.99);
}

.btn-wa:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 4px;
}

@keyframes waGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 400% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-wa::before {
        animation: none !important;
    }
}

/* =========================
   Carousel Buttons
========================= */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.95);
    z-index: 5;

    width: 76px;
    height: 76px;

    background: transparent;
    border: 0;
    box-shadow: none;

    cursor: pointer;
    transition: transform 180ms ease;
}

.carousel-btn.prev {
    left: 18px;
}

.carousel-btn.next {
    right: 18px;
}

.carousel-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    /* background: linear-gradient(90deg, var(--rosa), var(--morado)); */
    background: transparent;
    opacity: 0;
    z-index: -1;
    transition: opacity 180ms ease;
}

.carousel-btn .icon {
    display: block;
    font-size: 46px;
    line-height: 1;
    opacity: 0.85;
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.95);
    transition: opacity 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.06);
    /* background: rgba(0, 0, 0, 0.35); */
    /* background: rgba(255,255,255,0.10);; */
    border-radius: 999px;
}

.carousel-btn:hover::after {
    /* opacity: 0.95;  */
    opacity: 0;
}

.carousel-btn:hover .icon {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.carousel-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 4px;
}

/* =========================
   Dots (líneas)
========================= */
.dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 5;

    display: flex;
    gap: 12px;
    align-items: center;

    opacity: 0.85;
}

.dot {
    width: 34px;
    height: 3px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
}

.dot.is-active {
    background: rgba(255, 255, 255, 0.92);
}

/* =========================
   Sections (placeholder)
========================= */

section.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

section.section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.section-alt {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Cards simples */
.services-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card p {
    text-align: left;
    opacity: 0.92;
}

/* Form simple */
.contact-form {
    margin: 28px auto 0 auto;
    max-width: 720px;
    display: grid;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.35);
    color: var(--blanco);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

/* =========================
   Footer
========================= */
footer.footer {
    background-color: #1f2933;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* =========================
   Responsive
========================= */

/* Tablets */
@media (max-width: 900px) {
    .hero {
        min-height: 100svh;
    }

    header {
        padding: 10px 12px;
    }

    .navbar {
        padding: 12px 16px;
        border-radius: 22px;
    }

    .logo-img {
        height: 38px;
    }

    .caption {
        padding: 0 6vw 11vh 6vw;
    }

    .carousel-btn {
        width: 64px;
        height: 64px;
    }

    .carousel-btn .icon {
        font-size: 40px;
    }

    .dots {
        bottom: 20px;
        gap: 10px;
    }

    .dot {
        width: 28px;
        height: 3px;
    }
}

/* INTERMEDIO: centrado y en columna hasta que haya espacio */
@media (max-width: 1024px) and (min-width: 601px) {
    .caption {
        justify-content: flex-end;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 16px 12vh 16px;
        /* parecido a tu navbar en tamaños medios */
        gap: 14px;
    }

    .caption h1 {
        text-align: center;
        margin-bottom: 0;
    }

    .caption-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        /* aquí sí permitimos wrap */
        gap: 12px;
    }

    .caption-row p {
        text-align: center;
        max-width: 52ch;
    }
}

/* Mobile */
@media (max-width: 1100px) {
    .navbar {
        overflow: visible;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    /* Dropdown */
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;

        display: none;
        flex-direction: column;
        gap: 10px;

        padding: 14px;
        border-radius: 18px;

        background: rgba(27, 27, 27, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.10);

        z-index: 50;
    }

    .nav-links.is-open {
        display: flex;
    }

    /* X animation */
    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 10px 12px;
        border-radius: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    /* Móvil: layout vertical (título arriba, texto + botón abajo) */
    .caption {
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        /* ✅ centra el bloque completo */
        gap: 14px;
        text-align: center;
        padding: 0 7vw 12vh 7vw;
    }

    .caption h1 {
        text-align: center;
    }

    .caption-row {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ✅ centra párrafo y botón */
        gap: 12px;
    }

    .caption-row p {
        text-align: center;
        margin-left: 0;
        /* ✅ ya no lo empuja a la derecha */
        padding-left: 0;
    }

    .btn-wa {
        margin-left: 0;
    }

    .carousel-btn {
        width: 52px;
        height: 52px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-btn .icon {
        font-size: 34px;
    }

    .dots {
        bottom: 16px;
        gap: 8px;
    }

    .dot {
        width: 22px;
        height: 3px;
    }
}

@media (max-width: 380px) {
    .caption {
        padding: 0 6vw 17vh 6vw;
    }

    .btn-wa {
        padding: 11px 14px;
        font-size: 14px;
    }
}


/* =========================
   Base layout helpers (matches Hero style)
========================= */
.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section h2 {
    font-family: "Playfair Display", serif;
    letter-spacing: -0.02em;
}

.section p {
    opacity: 0.92;
}

/* =========================
   Trust strip
========================= */
.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    padding-bottom: 14px;
}

.trust-strip__inner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    padding: 16px 18px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trust-item {
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-kicker {
    display: block;
    font-size: 12px;
    opacity: 0.78;
    margin-bottom: 4px;
}

.trust-item strong {
    font-size: 14px;
    opacity: 0.95;
}

/* =========================
   Servicios (sin cards)
========================= */
.services-list {
    margin: 22px auto 0 auto;
    padding: 0;
    list-style: none;

    display: grid;
    gap: 12px;

    max-width: 860px;
}

.services-list li {
    padding: 14px 16px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);

    line-height: 1.45;
}

.services-list strong {
    color: rgba(255, 255, 255, 0.94);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

/* =========================
   Método (3 pasos)
========================= */
.steps {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step-card {
    padding: 18px 18px 16px 18px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.18em;

    padding: 8px 10px;
    border-radius: 999px;

    background: linear-gradient(90deg, rgba(237, 6, 107, 0.25), rgba(113, 2, 151, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.10);

    margin-bottom: 10px;
}

.step-card h3 {
    margin-bottom: 6px;
}

.step-card p {
    text-align: left;
    margin: 0;
}

/* =========================
   Testimonios
========================= */
.testimonials {
    margin-top: 24px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.t-card {
    padding: 18px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.t-stars {
    letter-spacing: 0.12em;
    opacity: 0.92;
    margin-bottom: 10px;
}

.t-quote {
    text-align: left;
    line-height: 1.55;
    margin: 0 0 12px 0;
}

.t-meta {
    font-size: 13px;
    opacity: 0.85;
}

.t-marquee{
  margin-top: 24px;
  position: relative;
  overflow: hidden;

  /* Difuminado real (moderno) */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* fallback suave para browsers raros: dos velos laterales */
.t-marquee::before,
.t-marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 80px;
  pointer-events:none;
  z-index: 2;
  /* mismo color del fondo base */
  background: linear-gradient(90deg, rgba(27,27,27,1), rgba(27,27,27,0));
}
.t-marquee::after{
  right:0;
  transform: scaleX(-1);
}
.t-marquee::before{
  left:0;
}

/* la pista que se mueve */
.t-track{
  display: flex;
  gap: 14px;
  align-items: stretch;
  width: max-content; /* clave para que mida por contenido */
  will-change: transform;

  /* JS setea --t-dur dinámico; fallback 30s */
  animation: t-marquee var(--t-dur, 30s) linear infinite;
}

/* tarjeta: fija un ancho “premium” para lectura */
.t-track .t-card{
  width: 360px;          /* ajusta a gusto */
  flex: 0 0 auto;
}

/* Movimiento izquierda -> derecha */
@keyframes t-marquee{
  from { transform: translateX(0%); }
  to   { transform: translateX(-50%); }
}

/* Pausa al hover (opcional, se siente pro) */
@media (hover:hover){
  .t-marquee:hover .t-track{ animation-play-state: paused; }
}

/* Accesibilidad: respeta reduced motion */
@media (prefers-reduced-motion: reduce){
  .t-track{ animation: none !important; }
}

/* =========================
   FAQ
========================= */
.faq{
  margin-top: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;

  display: grid;
  gap: 10px;
}

.faq details{
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

/* --- Scroll reveal (stagger) --- */
.faq-reveal{
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 650ms cubic-bezier(.2,.9,.2,1),
    opacity 650ms cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

.faq-reveal.is-inview{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .faq-reveal{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.faq summary{
  cursor: pointer;
  padding: 16px 16px;

  font-weight: 700;
  list-style: none;
}

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

.faq summary::after{
  content: "＋";
  float: right;
  opacity: 0.8;
  transform: translateY(-1px);
}

.faq details[open] summary::after{ content:"－"; }

/* --- Answer open/close (smooth + elegant) --- */
.faq-body{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms cubic-bezier(.2,.9,.2,1);
}

.faq-body__inner{
  overflow: hidden;

  padding: 0 16px 16px 16px;
  opacity: 0;
  line-height: 1.55;
  transform: translateY(-6px);
  transition:
    opacity 380ms ease,
    transform 420ms cubic-bezier(.2,.9,.2,1);
}

.faq details[open] .faq-body{ grid-template-rows: 1fr; }

.faq details[open] .faq-body__inner{
  opacity: 0.92;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .faq-body{ transition: none !important; }
  .faq-body__inner{
    transition: none !important;
    opacity: 0.92;
    transform: none;
  }
}
/* =========================
   CTA band (cierre)
========================= */
.cta-band {
    position: relative;
    overflow: hidden;

    padding: 58px 0;

    /* quitamos el degradado directo: ahora el fondo será el carrusel de fotos */
    background: rgba(255, 255, 255, 0.02);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Capa de “velo” para que el texto siga siendo legible encima de las fotos */
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.05);
    /* background:
        radial-gradient(800px 260px at 20% 50%, rgba(237, 6, 107, 0.20), transparent 55%),
        radial-gradient(800px 260px at 80% 50%, rgba(113, 2, 151, 0.22), transparent 55%),
        linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.30)); */
    pointer-events: none;
}

/* =========================
   CTA background carousel (no interactivo)
========================= */
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cta-bg__track {
    position: absolute;
    inset: 0;

    display: flex;
    height: 100%;
    width: max-content;

    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;

    /* velocidad constante */
    animation: none;
}

.cta-bg__track img {
    height: 100%;
    width: auto;

    /* para que “llene” sin deformar */
    object-fit: cover;

    /* feel cinematográfico */
    filter: saturate(0.95) contrast(1.05) brightness(0.90);
}

/* Difuminado lateral (como el marquee de testimonios) */
.cta-bg {
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

@keyframes cta-marquee {
    from { transform: translateX(0%); }
    to   { transform: translateX(-50%); }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .cta-bg__track { animation: none !important; }
}


.cta-band__inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    border-radius: 22px;
    padding: 22px;

    /* Fondo opaco elegante */
    background: rgba(27, 27, 27, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.10);

    /* quitamos glass */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.cta-text h2 {
    margin-bottom: 6px;
}

.cta-text p {
    text-align: left;
    margin: 0;
    max-width: 60ch;
}

/* =========================
   Contact inline link
========================= */
.contact-inline {
    margin-top: 14px;
    text-align: center;
    opacity: 0.9;
}

.link-wa {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================
   Responsive (new sections only)
========================= */
@media (max-width: 900px) {
    .trust-strip__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .cta-band__inner {
    flex-direction: column;
    align-items: center;   
    text-align: center;    
  }

  .cta-text p {
    text-align: center;    
  }
}

@media (max-width: 600px) {
    .trust-strip {
        margin-top: -26px;
    }
}


/* =========================
   Trust (Ferrari-like big cards + scroll reveal)
   (Only affects .trust-strip section)
========================= */

.trust-strip{
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: 28px 0 20px 0;
}

.trust-wrap{
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-card{
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow: 0 26px 90px rgba(0,0,0,0.42);
  isolation: isolate;
}

.trust-card__bg{
  position: absolute;
  inset: 0;
  z-index: 0;

  /* Ferrari-like: image feel without assets */
  background:
    radial-gradient(900px 320px at 20% 20%, color-mix(in srgb, var(--a1) 35%, transparent), transparent 55%),
    radial-gradient(900px 360px at 80% 70%, color-mix(in srgb, var(--a2) 35%, transparent), transparent 60%),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.45) 100%
    );
  transform: scale(1.04);
  transition: transform 900ms ease;
}

.trust-card::after{
  content:"";
  position:absolute;
  /* filter: brightness(1.22) contrast(1.05); */
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.38), transparent 45%),
    radial-gradient(900px 360px at 40% 0%, rgba(0,0,0,0.20), transparent 60%);
  pointer-events:none;
}

.trust-card__content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px 26px 22px 26px;

  display: grid;
  align-content: end;
  gap: 10px;

  max-width: 70ch;
}

.trust-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
}

.trust-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.trust-text{
  text-align: left;
  margin: 0;
  opacity: 0.90;
  line-height: 1.55;
  max-width: 52ch;
}

/* Hover micro-feel */
.trust-card:hover .trust-card__bg{ transform: scale(1.08); }
.trust-card:hover{
  border-color: rgba(255,255,255,0.18);
}

/* ===== Scroll reveal ===== */
.reveal{
  opacity: 0;
  transform: translateX(-42px);
  transition:
    opacity 1100ms ease,
    transform 1200ms cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal--from-right{ transform: translateX(42px); }

.reveal .trust-card__content{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms ease, transform 1000ms ease;
  transition-delay: calc(var(--d, 0ms) + 120ms);
  will-change: opacity, transform;
}

.reveal.is-inview{
  opacity: 1;
  transform: translateX(0);
}

.reveal.is-inview .trust-card__content{
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal .trust-card__content, .trust-card__bg{
    transition: none !important;
    transform: none !important;
  }
  .reveal{ opacity: 1 !important; }
  .reveal .trust-card__content{ opacity: 1 !important; }
}

/* Responsive: 1 per row on mobile */
@media (max-width: 820px){
  .trust-grid{ grid-template-columns: 1fr; }
  .trust-card{ min-height: 280px; border-radius: 24px; }
}


/* =========================
   Trust strip - full-screen grid
========================= */
.trust-strip{
  margin-top: 0 !important;
  padding: 0 !important;
  height: 10vh;
}

.trust-wrap{
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.trust-grid{
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.trust-card{
  border-radius: 0;
  min-height: 0;
  border: 0;
  box-shadow: none;
}

.trust-card__bg{
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.trust-card::after{
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.28) 75%
    );
}

.trust-card__content{
  max-width: 54ch;
  padding: 34px 34px 30px 34px;
}

.trust-eyebrow{ opacity: 0.85; }

.trust-title{
  font-size: clamp(26px, 2.6vw, 44px);
}

.trust-text{
  font-size: 15px;
  opacity: 0.92;
}

@media (hover:hover){
  .trust-card:hover .trust-card__bg{
    filter: brightness(1.08) contrast(1.08);
  }
}

/* Mobile: 1 by 1, each card is one screen */
@media (max-width: 820px){
  .trust-strip{ height: auto; }

  .trust-grid{
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .trust-card{
    height: 100svh;
  }

  .trust-card__content{
    padding: 30px 22px 28px 22px;
  }
}

/* Desktop separators */
@media (min-width: 821px){
  .trust-card{
    outline: 1px solid rgba(255,255,255,0.08);
    outline-offset: -1px;
  }
}

/* ===== FIX: Trust full-screen real (2x2) ===== */
.trust-strip{
  height: 120vh;          /* <-- ajusta aquí: 100vh, 120vh, 140vh */
  padding: 0 !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 5;
  background: #0b0b0b;    /* importante para que NO se vea lo de atrás */
}

.trust-wrap{
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
}

.trust-grid{
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; /* <- clave: 2 filas que reparten el alto */
  gap: 0;
}

.trust-card{
  height: 100%;
  min-height: 0 !important; /* <- clave: mata el min-height que impide crecer */
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Mobile: 1 por pantalla */
@media (max-width: 820px){
  .trust-strip{ height: auto; }
  .trust-grid{
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .trust-card{
    height: 100svh;  /* <- cada tarjeta ocupa una pantalla */
  }
}

/* =========================
   Cards minimalistas (solo texto)
========================= */

.t-track{
  align-items: center;   /* para que todo se vea alineado */
}

/* Quitar marco */
.t-track .t-card{
  width: 420px;          /* ajusta a gusto */
  flex: 0 0 auto;

  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 22px;       /* deja aire horizontal */
}

/* Tipografía (solo texto, más premium) */
.t-card .t-quote{
  color: #cfcfcf;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.t-card .t-meta{
  margin-top: 10px;
  font-size: 14px;
  color: #9a9a9a;
}

/* Si quieres quitar las estrellas por completo */
.t-card .t-stars{
  --rating: 5;
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
}

/* fondo: 5 estrellas “apagadas” */
.t-card .t-stars::before{
  content: "★★★★★";
  color: rgba(255,255,255,0.25);
}

/* frente: estrellas “encendidas” recortadas según rating */
.t-card .t-stars::after{
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc((var(--rating) / 5) * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: rgba(255,255,255,0.7);
}

/* Línea divisoria con extremos difuminados:
   la ponemos ENTRE tarjetas usando pseudo-elemento */
.t-track .t-card{
  position: relative;
}

.t-track .t-card:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;          /* cae en el gap visual */
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  opacity: 0.55;
}

/* Opcional: una “neblina” horizontal en la línea para que no se vea tan dura */
.t-track .t-card:not(:last-child)::after{
  filter: blur(0.2px);
}

/* =========================
   Testimonios – Editorial
========================= */

.testimonials-editorial {
  padding: 0;
}

.testimonials-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 28px;
  align-items: center;
}

.testimonials-aside{
  display: flex;
  justify-content: center;
}

/* Lado izquierdo */
.testimonials-aside h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.testimonials-aside p {
  max-width: 46ch;
  opacity: 0.9;
  line-height: 1.55;
}

.testimonials-inner {
  max-width: 520px;
  text-align: center;
}

.testimonials-nav {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
}

.testimonials-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.testimonials-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.testimonials-btn:active {
  transform: translateY(0);
}

.testimonials-icon {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

/* Rail */
.testimonials-rail {
  outline: none !important;              /* quita el marco */
  border-radius: 0 !important;           /* sin contenedor redondeado */
  background: transparent !important;    /* que no “pinte” */
  margin-right: 0 !important;            /* elimina el “rompe padding” si lo tienes */
  padding-right: 0 !important;           /* elimina el “rompe padding” si lo tienes */
  overflow: hidden;
  box-shadow: none !important;
}

.testimonials-track {
  display: flex;
  gap: 16px;
  padding: 0 !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: transparent !important;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar {
  display: none;
}

/* Card */
.testimonial-card {
  position: relative;
  flex: 0 0 520px;
  height: clamp(320px, 55vw, 460px);
  border-radius: 22px;
  overflow: hidden;

  background-size: cover;
  background-position: center;

  scroll-snap-align: start;
  box-shadow:none !important;
  touch-action: pan-x;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.25) 70%,
      rgba(0,0,0,0.50) 100%
    ),
    radial-gradient(
      900px 420px at 40% 10%,
      rgba(0,0,0,0.18),
      transparent 60%
    );
}

.testimonial-content {
  position: absolute;
   left: 0;
  right: 0;
  bottom: 24px;
  padding: 0 24px;
  background: none;
  box-shadow: none;
  border: none;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 14px;
  max-height: 100%;

  /* Reveal behavior: hidden by default, slides up on hover (desktop) or tap (mobile) */
  will-change: transform, opacity;
  transform: translateY(70%);
  opacity: 0;
  filter: blur(4px);
  transition:
    transform 520ms cubic-bezier(.22,.65,.18,1),
    opacity 400ms ease,
    filter 400ms ease;
}


.testimonial-card.is-open .testimonial-content {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}

/* Desktop: reveal on hover */
@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover .testimonial-content {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Mobile/Touch: reveal on tap (JS adds .is-open) */
.testimonial-card.is-open .testimonial-content {
  transform: translateY(0);
}

/* =========================
   Testimonial Hint (tap/hover)
========================= */
.testimonial-hint{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  z-index: 5;
  pointer-events: none;

  display: grid;
  place-items: center;

  opacity: 0.95;
  transform: translateY(0);
}

/* tu icono (png/svg) */
.testimonial-hint img{
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

/* ondas */
.testimonial-hint::before,
.testimonial-hint::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset;
  opacity: 0;
  transform: scale(0.65);
}

/* animación principal (2 ondas alternadas) */
.testimonial-hint::before{
  animation: hintWave 1.6s ease-out 0.15s 3 forwards;
}
.testimonial-hint::after{
  animation: hintWave 1.6s ease-out 0.55s 3 forwards;
}

/* el icono también “respira” un poco */
.testimonial-hint{
  animation: hintBreath 1.6s ease-in-out 0s 3 forwards;
}

@keyframes hintWave{
  0%   { opacity: 0; transform: scale(0.65); }
  15%  { opacity: 0.65; }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes hintBreath{
  0%   { transform: translateY(0); opacity: .95; }
  50%  { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; } /* se apaga solo al final */
}

/* Si el usuario ya reveló el texto (hover desktop o .is-open mobile), ocultamos hint */
.testimonial-card:hover .testimonial-hint,
.testimonial-card.is-open .testimonial-hint{
  opacity: 0 !important;
  transform: scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

/* Accesibilidad: reduce motion -> sin animación */
@media (prefers-reduced-motion: reduce){
  .testimonial-hint,
  .testimonial-hint::before,
  .testimonial-hint::after{
    animation: none !important;
    opacity: 0 !important;
  }
}


.testimonial-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 22ch;
  display: inline-block;
  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.testimonial-meta {
  margin-top: 10px;
  padding-left: 6px;
}

.testimonial-quote,
.testimonial-meta {
  transform: translateY(12px);
  opacity: 0;
  transition: all 400ms ease 120ms;
}

.testimonial-card:hover .testimonial-quote,
.testimonial-card:hover .testimonial-meta,
.testimonial-card.is-open .testimonial-quote,
.testimonial-card.is-open .testimonial-meta {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-meta {
  font-family: "Poppins", sans-serif;
}

.testimonial-meta strong {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.testimonial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.testimonial-meta {
  font-size: 13px;
  opacity: 0.88;
  white-space: nowrap;
}

/* Estrellas tipo badge */
/* Estrellas tipo badge */
.testimonial-stars {
  --rating: 5;
  --padX: 14px;      /* padding horizontal */
  --padY: 10px;      /* padding vertical */

  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;

  padding: var(--padY) var(--padX);
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testimonial-stars::before {
  content: "★★★★★";
  color: rgba(255, 255, 255, 0.28);
}

.testimonial-stars::after {
  content: "★★★★★";
  position: absolute;
  left: var(--padX);
  top: var(--padY);
  width: calc((var(--rating) / 5) * 100%);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 980px) {
  .testimonials-wrap {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px){
  .testimonial-card{
    height: clamp(380px, 48vw, 440px);
  }
}

@media (min-width: 700px) and (max-width: 1100px){
  .testimonial-stars{
    --padX: 16px;      /* un poco más de aire en tablet */
    letter-spacing: 1.8px;
  }
}

/* =========================
   Testimonios: full width real (contenido también)
========================= */

section.section.testimonials-editorial{
  max-width: none !important;
  margin: 0 !important;
  padding: 72px 0 !important;
}

.testimonials-wrap{
  width: 100%;
  margin: 0;
  padding: 0 28px; /* ajusta: 16px, 24px, 32px */
}

/* =========================
   Testimonios – responsive fino (tablet / mobile)
========================= */

/* Tablet/intermedias: mejorar centrado visual del texto dentro de las cards */
@media (min-width: 700px) and (max-width: 1100px){
  .testimonial-content{
    justify-items: center;     /* centra el contenido dentro del grid */
    text-align: center;
  }

  .testimonial-quote{
    max-width: 28ch;           /* un poco más ancho para que no “se cargue” a un lado */
  }

  .testimonial-bottom{
    width: 100%;
  }

  .testimonial-meta{
    text-align: right;
  }
}

/* Mobile + Tablet: carrusel en 1 columna, y controles centrados abajo */
@media (max-width: 980px){
  .testimonials-wrap{
    grid-template-columns: 1fr;   /* ya lo tienes, lo reforzamos */
    gap: 16px;
  }

  .testimonials-aside{
    text-align: center;           /* título + texto centrados */
    display: flex;
    justify-content: center;
  }

  .testimonials-inner{
    max-width: 680px;
  }

  .testimonials-nav{
    justify-content: center;      /* botones centrados */
    margin-top: 12px;
  }

  /* el carrusel se siente más “NU” al ras */
  .testimonials-track{
    padding: 0;
  }
}

/* Mobile: mejorar lectura de la cita */
@media (max-width: 520px){
  .testimonial-quote{
    font-size: clamp(16px, 4.6vw, 20px);
    line-height: 1.18;     /* más aire */
    max-width: 26ch;       /* un poquito más ancho para que no “rompa” raro */
  }

  .testimonial-content{
    padding: 18px;         /* un poco menos de padding para ganar área útil */
    gap: 12px;
  }

  .testimonial-meta{
    font-size: 12px;
  }
}

/* =========================
   PATCH FINAL – Estrellas sin pegado (tablet safe)
   Pegar AL FINAL del CSS
========================= */
.testimonials-editorial .testimonial-stars{
  line-height: 1;          /* evita offsets raros */
}

.testimonials-editorial .testimonial-stars::after{
  /* quitamos el width % que causa el pegado */
  width: auto !important;
  white-space: nowrap;

  /* recortamos por porcentaje real de 5 estrellas (20% c/u) */
  clip-path: inset(0 calc((5 - var(--rating)) * 20%) 0 0);
}

/* =========================
   PATCH FINAL – Lectura mobile
========================= */
@media (max-width: 520px){
  .testimonials-editorial .testimonial-quote{
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.22;     /* más legible que 1.08 */
    max-width: 32ch;       /* mejora el wrap */
    letter-spacing: -0.005em;
  }

  .testimonials-editorial .testimonial-content{
    padding: 16px;         /* más área útil de foto */
    gap: 10px;
  }

  .testimonials-editorial .testimonial-card{
    height: 360px;         /* evita que el texto domine tanto */
  }
}

/* =========================
   PATCH – Testimonial cards vertical (sin deformación)
   Pegar AL FINAL del CSS
========================= */

.testimonials-editorial .testimonials-track{
  align-items: stretch; /* asegura alturas consistentes en el carrusel */
}

.testimonials-editorial .testimonial-card{
  /* Mantiene forma vertical en cualquier pantalla */
  flex: 0 0 clamp(280px, 34vw, 440px);
  aspect-ratio: 3 / 4;
  height: auto !important; /* override a heights anteriores */
}

/* Desktop: un poco más de aire para lucir tarjetas verticales */
@media (min-width: 981px){
  section.section.testimonials-editorial{
    padding: 88px 0 !important; /* sube ligeramente la altura de la sección */
  }
}

/* Mobile/Tablet: una card por vista, más amigable para pantallas chicas */
@media (max-width: 980px){
  .testimonials-editorial .testimonial-card{
    flex-basis: min(86vw, 380px);
    scroll-snap-align: center;
  }

  .testimonials-editorial .testimonials-track{
    padding-inline: 6vw; /* centra visualmente la tarjeta */
  }
}

/* =========================
   PATCH – Control de tamaño de texto (desktop)
   Pegar AL FINAL del CSS
========================= */

/* Base: limita crecimiento del texto en pantallas grandes */
.testimonials-editorial .testimonial-quote{
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.12;
}

/* Mobile: deja tu ajuste actual (no lo tocamos) */
@media (max-width: 520px){
  .testimonials-editorial .testimonial-quote{
    font-size: clamp(15px, 4.2vw, 18px);
  }
}

/* =========================
   PATCH – Hover grow (tarjeta)
   Pegar AL FINAL del CSS
========================= */

.testimonials-editorial .testimonial-card{
  transition: transform 180ms ease, filter 180ms ease;
  will-change: transform;
}

@media (hover: hover){
  .testimonials-editorial .testimonial-card:hover{
    transform: scale(1.03);
    z-index: 2;
    filter: brightness(1.03);
  }
}

@media (prefers-reduced-motion: reduce){
  .testimonials-editorial .testimonial-card{
    transition: none !important;
  }
}

/* =========================
   PATCH – Hover sin recorte (sin tocar el layout)
   Mantiene overflow:hidden pero crea “aire” interno
========================= */

:root{
  --t-hover-pad: 18px; /* 16–22px recomendado */
}

/* El rail recorta (lo dejamos), pero le damos padding para que el scale quepa */
.testimonials-editorial .testimonials-rail{
  overflow: hidden;                 /* (lo mantienes) */
  padding: var(--t-hover-pad) !important;
}

/* Compensamos el padding para que visualmente TODO quede donde estaba */
.testimonials-editorial .testimonials-track{
  padding: var(--t-hover-pad) !important;
  margin: calc(-1 * var(--t-hover-pad)) !important;
}

/* Asegura que la tarjeta hover quede por encima de sus vecinas */
.testimonials-editorial .testimonial-card{
  position: relative;
  z-index: 1;
}

@media (hover: hover){
  .testimonials-editorial .testimonial-card:hover{
    z-index: 5;
  }
}

/* Quitar estrellas de testimonios */
.testimonials-editorial .testimonial-stars{
  display: none !important;
}

/* =========================
   PATCH – Testimonios: padding lateral + sección menos oscura
   Pegar AL FINAL del CSS
========================= */

/* 1) Evita que testimonial-meta se pegue al borde (desktop y general) */
.testimonials-editorial .testimonial-content{
  padding: clamp(14px, 2.2vw, 22px);
  padding-bottom: clamp(12px, 4vw, 22px); /* conserva tu bottom */
}

/* Si quieres todavía más aire SOLO para el meta (opcional, pero ayuda) */
.testimonials-editorial .testimonial-meta{
  padding-right: 2px;
}

/* =========================
   Social CTA - Testimonios
========================= */

.testimonials-social{
  margin-top: 50px;
  padding: 40px 20px 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonials-social__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonials-social__text{
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}

.testimonials-social__icons{
  display: flex;
  gap: 18px;
}

.testimonials-social__icons a{
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transition: all .3s ease;
}

.testimonials-social__icons img{
  width: 20px;
  height: 20px;
  filter: invert(1);
  opacity: 0.8;
  transition: all .3s ease;
}

.testimonials-social__icons a:hover{
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.testimonials-social__icons a:hover img{
  opacity: 1;
}

/* =========================
   Social CTA - Colores reales hover
========================= */

.testimonials-social__icons a{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transition: all .35s ease;
}

.testimonials-social__icons img{
  width: 20px;
  height: 20px;
  filter: invert(1);
  transition: all .35s ease;
}

/* Facebook */
.testimonials-social__icons a:nth-child(1):hover{
  background: #1877F2;
}

/* Instagram (degradado real) */
.testimonials-social__icons a:nth-child(2):hover{
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);
}

/* TikTok */
.testimonials-social__icons a:nth-child(3):hover{
  background: #000;
  box-shadow: 0 0 0 2px #25F4EE inset,
              0 0 0 4px #FE2C55 inset;
}

.testimonials-social__icons a:hover{
  transform: translateY(-4px) scale(1.05);
}

/* =========================
   SOCIAL ICONS - ORIGINAL COLORS
========================= */

.testimonials-social__icons a {
  color: unset;        /* elimina herencia rara */
  filter: none;        /* elimina filtros */
}

.testimonials-social__icons svg {
  filter: none;
}

/* Colores oficiales */
.testimonials-social__icons a.facebook svg {
  color: #1877F2;
}

.testimonials-social__icons a.instagram svg {
  color: #E4405F;
}

.testimonials-social__icons a.tiktok svg {
  color: #ffffff; /* TikTok es blanco sobre fondo oscuro */
}

/* =========================
   FIX: Íconos con colores originales (PNG <img>)
   Pegar AL FINAL del CSS
========================= */

.testimonials-social__icons img{
  filter: none !important;
  opacity: 1 !important;
}

.testimonials-social__icons a:hover img{
  filter: none !important;
  opacity: 1 !important;
}

/* =========================
   Testimonios Social - Centrado en móvil
========================= */

@media (max-width: 768px){

  .testimonials-social__inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .testimonials-social__text{
    text-align: center;
  }

  .testimonials-social__icons{
    justify-content: center;
  }
}