/* === SECCIÓN TESTIMONIOS ARUMA EDITORIAL === */
.ed-testimonials {
    padding: 120px 0;
    background: #fdfdfd;
    overflow: hidden;
}

.ed-testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 20px 0 40px;
}

.testimonial-carousel-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: #fff;
    padding: 60px 40px 40px;
    border-radius: 4px; /* Estilo más editorial, menos redondeado */
    border: 1px solid #f0f0f0;
    position: relative;
    scroll-snap-align: start;
    transition: var(--transicion);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--oro);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(161, 129, 107, 0.08);
}

.testimonial-quote {
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: var(--fuente-titulos);
    font-size: 80px;
    color: var(--oro);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars .star {
    color: var(--oro);
    font-size: 14px;
}

.testimonial-text {
    font-family: var(--fuente-cuerpo);
    font-size: 16px;
    line-height: 1.8;
    color: var(--texto-gris);
    font-style: normal;
    margin-bottom: 30px;
}

.testimonial-author {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: var(--texto-oscuro);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: auto;
}

/* NAVEGACIÓN */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-arrow {
    background: none;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-oscuro);
    transition: 0.3s;
}

.testimonial-arrow:hover {
    background: var(--oro);
    border-color: var(--oro);
    color: #fff;
}

.testimonial-arrow svg { width: 24px; height: 24px; }

.testimonial-indicator {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.testimonial-indicator.active {
    background: var(--oro);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .testimonial-card { min-width: calc(85% - 20px); }
    .ed-testimonials { padding: 80px 0; }
}
/* --- ENCABEZADO EDITORIAL ALINEADO --- */
.team-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinea el título y el bloque de texto por arriba */
    margin-bottom: 80px;
    margin-top: 120px;
    gap: 80px;
}

.team-title-col { flex: 1; }

.team-text-col {
    flex: 1;
    background: transparent; /* Eliminamos el fondo para mayor limpieza */
    box-shadow: none;
    padding: 0;
    margin-top: 15px; /* Ajuste fino para alinear visualmente con el H3 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.desc-editorial {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* --- BOTÓN LUXURY (No masivo) --- */
.btn-global-destacado {
    display: inline-block;
    background: transparent;
    color: var(--oro);
    border: 1px solid var(--oro);
    padding: 14px 35px; /* Tamaño más refinado */
    font-size: 0.85rem; /* Letras más pequeñas y elegantes */
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 0; /* Sin bordes redondeados para más autoridad */
    font-family: var(--fuente-titulos);
    font-weight: 400;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-global-destacado:hover {
    background: var(--oro);
    color: #fff;
    box-shadow: 0 10px 20px rgba(161, 129, 107, 0.2);
}

/* --- CONTROLES DEL CAROUSEL --- */
.team-carousel-wrapper { position: relative; padding: 0 0 60px; } /* Espacio para flechas */

.carousel-arrow {
    position: absolute;
    top: 40%; /* Centrado visual respecto a las fotos */
    z-index: 20;
    background: #fff;
    border: 1px solid var(--crema);
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:hover { background: var(--oro); border-color: var(--oro); }
.carousel-arrow:hover svg path { stroke: #fff; }

.profesionales-carousel-v2 {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    align-items: stretch;
    scroll-snap-type: x mandatory;
}
.profesionales-carousel-v2::-webkit-scrollbar { display: none; }

.profesional-card-v2 {
    min-width: 400px;
    max-width: 400px;
    flex: 0 0 400px;
    cursor: pointer;
    background: #fff;
    border-radius: 7px;
    border: 1.2px solid #c7a16b;
    box-shadow: 0 4px 18px 0 rgba(199,161,107,0.10), 0 1px 4px 0 rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: box-shadow 0.3s, transform 0.3s;
}
.profesional-card-v2:hover {
    box-shadow: 0 8px 32px 0 rgba(161,129,107,0.18);
    transform: translateY(-6px) scale(1.03);
}

.profesional-media {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--crema);
    border-radius: 7px 7px 0 0;
}

.profesional-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profesional-card-v2:hover img {
    transform: translateY(-10px) scale(1.05);
}

.profesional-overlay-v2 {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(7px); /* Más borroso */
    background: rgba(255,255,255,0.92);
    border-radius: 7px 7px 0 0;
    transition: opacity 0.32s cubic-bezier(.4,1.6,.6,1);
    z-index: 2;
}
.profesional-card-v2:hover .profesional-overlay-v2 {
    opacity: 1;
    pointer-events: auto;
}
.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0 38px; /* Más padding lateral */
}
.overlay-content p {
    color: var(--texto);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 500;
}
.view-profile {
    display: inline-block;
    background: var(--oro);
    color: var(--blanco-puro);
    border: 1px solid var(--oro);
    padding: 14px 35px;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 0;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.view-profile:hover {
    background: var(--blanco-puro);
    color: var(--oro);
    letter-spacing: 4px;
    box-shadow: 0 10px 25px rgba(161, 129, 107, 0.15);
    border: 1.5px solid var(--oro);
}

.profesional-meta-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255,255,255,0.88);
  border-top: 1.5px solid #c7a16b;
  box-shadow: 0 6px 24px rgba(161,129,107,0.08);
  padding: 22px 0 14px 0;
  text-align: center;
  z-index: 2;
}
.prof-cargo {
  display: block;
  font-size: 1.02rem;
  color: #a1816b;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.prof-nombre {
  font-family: var(--fuente-titulos);
  font-size: 1.25rem;
  color: #222;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

/* --- SECCIÓN MARCAS EDITORIAL --- */


.section-brands-editorial {
    padding: 100px 0;
    background-color: #fbfbfb; /* Un gris casi blanco para diferenciar sutilmente */
    border-top: 1px solid rgba(161, 129, 107, 0.1);
}

.brands-header {
    text-align: center;
    margin-bottom: 30px;
}

.brands-subtitle {
    font-size: 2.1rem;
    font-family: var(--fuente-titulos);
    color: var(--texto);
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* TICKER (CARRUSEL INFINITO) */
.brands-ticker {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Degradados laterales para suavizar la entrada/salida */
.brands-ticker::before,
.brands-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.brands-ticker::before { left: 0; background: linear-gradient(to right, #fbfbfb, transparent); }
.brands-ticker::after { right: 0; background: linear-gradient(to left, #fbfbfb, transparent); }

.brands-ticker-track {
    display: flex;
    width: calc(250px * 14); /* Ajustar según número de marcas */
    animation: scrollTicker 40s linear infinite;
}

.brands-ticker-track span {
    width: 250px;
    font-family: var(--fuente-titulos);
    font-size: 1.7rem;
    color: #bbb; /* Color neutro para no saturar */
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    transition: color 0.4s, text-shadow 0.3s;
    cursor: default;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0 12px;
    padding: 18px 0 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 8px rgba(161,129,107,0.13);
}

.brands-ticker-track span:hover {
    color: var(--oro);
    text-shadow: 0 4px 18px rgba(161,129,107,0.22);
    box-shadow: none;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* Detener al hacer hover para facilitar la lectura */
.brands-ticker:hover .brands-ticker-track {
    animation-play-state: paused;
}

/* BOTÓN DESTACADO GLOBAL */
.btn-global-destacado {
    display: inline-block;
    background: var(--oro);
    color: #fff;
    border: none;
    padding: 18px 44px;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 8px;
    font-family: var(--fuente-titulos);
    font-weight: 500;
    box-shadow: 0 2px 12px 0 rgba(161,129,107,0.08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: none;
}
.btn-global-destacado:hover {
    background: #fff;
    color: var(--oro);
    border: 1.5px solid var(--oro);
    box-shadow: 0 4px 18px 0 rgba(161,129,107,0.13);
}

/* CONTROLES DEL CAROUSEL */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px 0 rgba(161,129,107,0.13);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.3s, background 0.3s;
    outline: none;
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:hover {
    background: var(--oro);
    box-shadow: 0 4px 18px 0 rgba(161,129,107,0.22);
}
.carousel-arrow svg path {
    stroke: var(--oro);
    transition: stroke 0.3s;
}
.carousel-arrow:hover svg path {
    stroke: #fff;
}

/* Ajuste de Títulos */
.titulo-global-imponente {
    font-size: clamp(2.5rem, 6vw, 6rem); /* Se encoge en pantallas chicas */
    line-height: 1;
}

/* Alineación de columnas en móvil */
@media (max-width: 1024px) {
    .team-header-grid {
        flex-direction: column; /* Apila título y descripción */
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .team-title-col, .team-text-col {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .container-aruma {
        padding: 0 25px; /* Menos margen lateral en móvil */
    }
}

/* Ajuste del Carrusel en móvil */
@media (max-width: 768px) {
    .profesional-card-v2 {
        min-width: 280px; /* Tarjetas más angostas en móvil */
    }
    .profesional-media {
        height: 400px; /* Menos altura para que quepa en pantalla */
    }
    .prof-nombre {
        font-size: 1.4rem;
    }
}

.footer-cta-editorial {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 40px;
}

.cta-editorial-text {
    font-family: var(--fuente-titulos);
    font-size: 24px;
    font-style: italic;
    color: var(--texto);
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-aruma-full {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--oro);
    color: var(--blanco) !important;
    font-family: var(--fuente-cuerpo);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--oro);
}

.btn-aruma-full:hover {
    background-color: transparent;
    color: var(--oro) !important;
    letter-spacing: 3px;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .cta-editorial-text {
        font-size: 20px;
        padding: 0 20px;
    }
    .btn-aruma-full {
        width: 90%;
        margin: 0 auto;
    }
}