.acte-wrap{--acte-main:#94706d;--acte-bg:#e7d5b8;--acte-star:#f2a300;--acte-card:#fff;--acte-text:#202020;font-family:inherit;color:var(--acte-text)}
.acte-heading{margin:0 0 28px;text-align:center;color:var(--acte-main);font-size:clamp(34px,5vw,68px);line-height:1.08;font-weight:400}
.acte-testimonials-area{background:var(--acte-bg);padding:70px 36px 28px}
.acte-carousel{position:relative;display:flex;align-items:center;gap:14px}
.acte-carousel-viewport{width:100%;min-width:0;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:42px 2px 8px}
.acte-carousel-viewport::-webkit-scrollbar{display:none}
.acte-grid{display:flex;flex-wrap:nowrap;gap:18px;width:max-content;min-width:100%}
.acte-grid>.acte-card{flex:0 0 calc((100vw - 210px)/3);width:calc((100vw - 210px)/3);max-width:390px;min-width:280px;scroll-snap-align:start}
.acte-carousel-arrow{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:var(--acte-main);color:#fff;font-size:34px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s,transform .2s;z-index:2}
.acte-carousel-arrow:hover{transform:scale(1.05)}
.acte-carousel-arrow:disabled{opacity:.3;cursor:default;transform:none}
.acte-carousel-dots{display:flex;justify-content:center;gap:8px;min-height:13px;margin-top:18px}
.acte-carousel-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(148,112,109,.32);cursor:pointer}
.acte-carousel-dot.is-active{background:var(--acte-main);transform:scale(1.2)}
.acte-carousel-static .acte-carousel-arrow,.acte-carousel-static .acte-carousel-dots{display:none}
.acte-card{position:relative;display:flex;flex-direction:column;min-height:330px;padding:42px 38px 34px;background:var(--acte-card);box-sizing:border-box}
.acte-avatar{position:absolute;top:-38px;right:26px;width:78px;height:78px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8d8d2;color:var(--acte-main);font-size:32px;font-weight:700;border:4px solid rgba(255,255,255,.75)}
.acte-stars{display:flex;gap:5px;margin-bottom:14px;font-size:33px;line-height:1;color:#d7d7d7}
.acte-stars .is-active{color:var(--acte-star)}
.acte-message{font-size:19px;line-height:1.25;margin-bottom:30px;overflow-wrap:anywhere}
.acte-author{margin-top:auto;text-align:right;font-size:18px}
.acte-load-wrap{text-align:center;padding:30px 0 0}
.acte-load-more,.acte-submit{appearance:none;border:0;border-radius:15px;background:var(--acte-main);color:#fff;padding:13px 23px;font-size:18px;cursor:pointer;transition:transform .2s,opacity .2s}
.acte-load-more:hover,.acte-submit:hover{transform:translateY(-1px)}
.acte-load-more:disabled,.acte-submit:disabled{opacity:.65;cursor:not-allowed}
.acte-empty{flex:1 0 100%;text-align:center;padding:30px;background:#fff;box-sizing:border-box}
.acte-form-section{max-width:760px;margin:65px auto 0;padding:0 20px}
.acte-form-title{text-align:center;color:var(--acte-main);font-size:38px;font-weight:400;margin:0 0 24px}
.acte-form{display:grid;gap:18px}
.acte-field{display:grid;gap:7px}
.acte-field label,.acte-rating-field legend{font-size:15px;font-weight:600;color:var(--acte-main)}
.acte-field input,.acte-field textarea{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:13px;background:#e6dada;padding:17px 20px;color:#332f2f;font:inherit;outline:none}
.acte-field input:focus,.acte-field textarea:focus{border-color:var(--acte-main);box-shadow:0 0 0 2px rgba(148,112,109,.16)}
.acte-field textarea{min-height:190px;resize:vertical}
.acte-rating-field{border:0;padding:0;margin:0}
.acte-rating-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end}
.acte-rating-input input{position:absolute;opacity:0;pointer-events:none}
.acte-rating-input label{font-size:39px;color:#d5d5d5;cursor:pointer;line-height:1;padding-right:5px}
.acte-rating-input input:checked~label,.acte-rating-input label:hover,.acte-rating-input label:hover~label{color:var(--acte-star)}
.acte-submit{justify-self:center;min-width:150px}
.acte-status{text-align:center;min-height:24px;font-weight:600}
.acte-status.is-success{color:#20763a}.acte-status.is-error{color:#a12323}
.acte-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:900px){.acte-grid>.acte-card{flex-basis:calc((100vw - 150px)/2);width:calc((100vw - 150px)/2);max-width:none}.acte-testimonials-area{padding:60px 18px 28px}.acte-carousel{gap:8px}.acte-carousel-arrow{flex-basis:38px;width:38px;height:38px}}
@media(max-width:620px){.acte-grid{gap:14px}.acte-grid>.acte-card{flex-basis:calc(100vw - 76px);width:calc(100vw - 76px);min-width:0;max-width:none}.acte-testimonials-area{padding:48px 8px 24px}.acte-carousel{gap:3px}.acte-carousel-arrow{flex-basis:30px;width:30px;height:30px;font-size:25px}.acte-carousel-viewport{padding-top:42px}.acte-card{min-height:auto;padding:45px 24px 28px}.acte-avatar{right:18px}.acte-message{font-size:17px}.acte-author{font-size:16px}.acte-heading{font-size:38px}.acte-form-title{font-size:30px}}

/* Sección ampliada: entregas + formulario */
.acte-delivery-section{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);gap:64px;align-items:start;padding:78px 4% 54px;background:#fff}
.acte-delivery-content{padding-top:12px}
.acte-delivery-title{margin:0 0 34px;color:var(--acte-main);font-size:clamp(48px,6vw,92px);line-height:.98;font-weight:400;letter-spacing:-2px}
.acte-delivery-text{max-width:900px;font-size:20px;line-height:1.45}
.acte-delivery-text p{margin:0 0 18px}
.acte-delivery-button{display:inline-flex;margin-top:18px;padding:13px 24px;border:2px solid var(--acte-main);border-radius:18px;color:var(--acte-main);font-size:20px;text-decoration:none;transition:.2s ease}
.acte-delivery-button:hover{background:var(--acte-main);color:#fff}
.acte-delivery-phrase{margin-top:52px;text-align:center;color:var(--acte-main);font-size:clamp(42px,5vw,76px);line-height:1;font-weight:400;font-style:italic}
.acte-form-panel{min-width:0}
.acte-form-ornament{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 16px;color:var(--acte-main)}
.acte-form-ornament span{width:30%;height:1px;background:var(--acte-main)}
.acte-form-ornament b{font-size:34px;font-weight:400}
.acte-delivery-section .acte-form-section{max-width:none;margin:0;padding:0}
.acte-delivery-section .acte-form-title{font-size:clamp(32px,3vw,48px);margin-bottom:28px}
.acte-delivery-section .acte-field input,.acte-delivery-section .acte-field textarea{padding:20px 22px;border-radius:14px;font-size:18px}
.acte-delivery-section .acte-field textarea{min-height:230px}
.acte-photo-field input[type=file]{padding:14px;background:#f0e6e6;cursor:pointer}
.acte-file-help{font-size:13px;color:#6f6262}
.acte-avatar{overflow:hidden;background:#fff}
.acte-avatar img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block;background:#fff}

@media(max-width:1050px){.acte-delivery-section{grid-template-columns:1fr;gap:42px;padding:62px 28px}.acte-delivery-content{padding-top:0}.acte-delivery-text{max-width:none}.acte-delivery-phrase{text-align:left;margin-top:34px}.acte-form-panel{max-width:780px;width:100%;margin:auto}}
@media(max-width:620px){.acte-delivery-section{padding:46px 16px 34px}.acte-delivery-title{font-size:44px;letter-spacing:-1px}.acte-delivery-text{font-size:17px}.acte-delivery-phrase{font-size:42px}.acte-delivery-section .acte-field input,.acte-delivery-section .acte-field textarea{font-size:16px;padding:17px}.acte-delivery-section .acte-field textarea{min-height:180px}}


/* Administración frontal y adaptación móvil v1.6 */
.acte-wrap,.acte-wrap *{box-sizing:border-box}
.acte-wrap{width:100%;max-width:100%;overflow:hidden}
.acte-delete-testimonial{position:absolute;top:8px;left:8px;z-index:5;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#a92d2d;color:#fff;font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.acte-delete-testimonial:hover{background:#7f1f1f;transform:scale(1.05)}
.acte-delete-testimonial:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:767px){
  .acte-heading{font-size:clamp(30px,9vw,42px);padding:0 14px;overflow-wrap:anywhere}
  .acte-testimonials-area{padding:42px 10px 22px}
  .acte-carousel{gap:5px}
  .acte-carousel-arrow{flex:0 0 32px;width:32px;height:32px;font-size:25px}
  .acte-carousel-viewport{padding:42px 0 8px}
  .acte-grid{gap:10px}
  .acte-grid>.acte-card{flex:0 0 calc(100vw - 94px);width:calc(100vw - 94px);min-width:0;max-width:100%}
  .acte-card{padding:46px 20px 25px;min-height:300px}
  .acte-avatar{width:68px;height:68px;top:-34px;right:14px}
  .acte-stars{font-size:27px;flex-wrap:wrap}
  .acte-message{font-size:16px;line-height:1.4}
  .acte-author{font-size:15px;overflow-wrap:anywhere}
  .acte-delivery-section{display:block;padding:40px 15px 30px;overflow:hidden}
  .acte-delivery-title{font-size:clamp(36px,11vw,50px);line-height:1.02;letter-spacing:-1px;overflow-wrap:anywhere}
  .acte-delivery-text{font-size:16px;line-height:1.55;overflow-wrap:anywhere}
  .acte-delivery-button{font-size:17px;max-width:100%;text-align:center;justify-content:center}
  .acte-delivery-phrase{font-size:clamp(34px,11vw,48px);overflow-wrap:anywhere}
  .acte-form-panel,.acte-form-section,.acte-form{width:100%;max-width:100%;min-width:0}
  .acte-delivery-section .acte-form-title{font-size:clamp(28px,8vw,38px);overflow-wrap:anywhere}
  .acte-field input,.acte-field textarea,.acte-photo-field input[type=file]{width:100%;max-width:100%;min-width:0}
  .acte-rating-input label{font-size:34px}
  .acte-submit{width:100%;max-width:280px}
}
@media(max-width:380px){
  .acte-grid>.acte-card{flex-basis:calc(100vw - 82px);width:calc(100vw - 82px)}
  .acte-carousel-arrow{flex-basis:28px;width:28px;height:28px}
  .acte-card{padding-left:16px;padding-right:16px}
}

/* Corrección responsive v1.7: carrusel ajustado al contenedor, no al ancho de la pantalla */
.acte-carousel,
.acte-carousel-viewport,
.acte-grid,
.acte-card,
.acte-message,
.acte-author{min-width:0}

/* El ancho de las tarjetas se calcula desde el contenedor de Elementor. */
.acte-grid{width:100%;min-width:100%}
.acte-grid>.acte-card{
  flex:0 0 calc((100% - 36px)/3);
  width:calc((100% - 36px)/3);
  max-width:none;
  min-width:0;
  overflow:hidden;
}
.acte-message,.acte-author{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}

@media(max-width:900px){
  .acte-grid>.acte-card{
    flex-basis:calc((100% - 18px)/2);
    width:calc((100% - 18px)/2);
  }
}

@media(max-width:767px){
  .acte-testimonials-area{padding-left:12px;padding-right:12px}
  .acte-carousel{display:block;width:100%;padding:0 38px}
  .acte-carousel-viewport{width:100%;padding-left:0;padding-right:0;overflow-x:auto;overflow-y:visible}
  .acte-grid{width:100%;min-width:100%;gap:12px}
  .acte-grid>.acte-card{
    flex:0 0 100%;
    width:100%;
    max-width:100%;
  }
  .acte-carousel-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
    width:34px;
    height:34px;
    flex:none;
  }
  .acte-carousel-arrow:hover{transform:translateY(-50%) scale(1.05)}
  .acte-carousel-arrow:disabled{transform:translateY(-50%)}
  .acte-carousel-prev{left:0}
  .acte-carousel-next{right:0}
  .acte-card{padding:48px 18px 26px}
  .acte-delete-testimonial{top:10px;left:10px;width:32px;height:32px;font-size:23px}
  .acte-stars{padding-right:72px;gap:3px;font-size:26px}
  .acte-message{font-size:clamp(15px,4.4vw,18px);line-height:1.42}
  .acte-author{font-size:clamp(14px,4vw,17px);text-align:right}
}

@media(max-width:380px){
  .acte-carousel{padding-left:32px;padding-right:32px}
  .acte-carousel-arrow{width:28px;height:28px}
  .acte-grid>.acte-card{flex-basis:100%;width:100%}
  .acte-card{padding-left:15px;padding-right:15px}
}


/* Corrección v1.8: mostrar la foto completa */
.acte-avatar{padding:0}
.acte-avatar img{max-width:100%;max-height:100%}

@media(min-width:768px){
  .acte-card{padding-top:56px}
}

@media(max-width:767px){
  .acte-card{padding-top:94px}
  .acte-avatar{top:14px;right:14px;width:74px;height:74px;border-width:3px}
  .acte-stars{padding-right:82px}
}

@media(max-width:380px){
  .acte-card{padding-top:88px}
  .acte-avatar{width:66px;height:66px;right:10px;top:10px}
  .acte-stars{padding-right:74px}
}


/* Versión 1.9: foto colocada encima del nombre */
.acte-card .acte-avatar{
  position:relative;
  top:auto;
  right:auto;
  left:auto;
  width:78px;
  height:78px;
  margin:0 auto 12px;
  flex:0 0 78px;
}
.acte-profile{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  padding-top:22px;
}
.acte-profile .acte-author{
  margin-top:0;
  width:100%;
  text-align:center;
}
.acte-card{padding-top:38px}
.acte-stars{padding-right:0}

@media(max-width:767px){
  .acte-card{padding-top:34px}
  .acte-card .acte-avatar{
    position:relative;
    top:auto;
    right:auto;
    width:72px;
    height:72px;
    margin:0 auto 10px;
  }
  .acte-stars{padding-right:0}
  .acte-profile{padding-top:20px}
  .acte-profile .acte-author{text-align:center}
}

@media(max-width:380px){
  .acte-card{padding-top:30px}
  .acte-card .acte-avatar{width:66px;height:66px}
}
