/* Maria Eugenia — Preguntas frecuentes (me-faq 1.0.0)
   Sistema visual de la guía de estilo: marfil, arena, rosado, tinta y dorado;
   Cormorant Garamond en títulos y Jost en el texto.
   Todas las clases llevan el prefijo mefq- para no chocar con Uncode. */

@font-face{font-family:'MEFQ Cormorant';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'MEFQ Cormorant';font-style:italic;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2')}
@font-face{font-family:'MEFQ Cormorant';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'MEFQ Jost';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/jost-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'MEFQ Jost';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/jost-latin-400-normal.woff2') format('woff2')}

/* Base ------------------------------------------------------------- */
.mefq,.mefq *,.mefq *::before,.mefq *::after{box-sizing:border-box}
.mefq{width:100%;overflow-x:clip;color:#2B2623;font-family:'MEFQ Jost',sans-serif;font-weight:300;font-size:17px;line-height:1.7;-webkit-text-size-adjust:100%;text-size-adjust:100%;text-align:left}
.mefq h1,.mefq h2,.mefq p,.mefq figure{margin:0;padding:0}
.mefq img{max-width:100%}
.mefq-bg-marfil{background:#FAF6F0}
.mefq-bg-arena{background:#F8F1E6}
.mefq-bg-arena-oscuro{background:#F4EBDD}
.mefq-bg-rosado{background:#F1E4DE}
.mefq-bg-blanco{background:#FFFDF9}

/* Si una fila de Uncode/WPBakery tiene overflow oculto, el bloque lateral fijo no se pega */
.row-container:has(.mefq),.uncont:has(.mefq),.uncell:has(.mefq),.wpb_wrapper:has(.mefq),.vc_column-inner:has(.mefq){overflow:visible}

/* Títulos y etiquetas ---------------------------------------------- */
body .mefq .mefq-eyebrow{font-family:'MEFQ Jost',sans-serif;font-size:13px;line-height:1.5;letter-spacing:0.3em;text-transform:uppercase;color:#7A5D2B;font-weight:400}
body .mefq .mefq-h1{font-family:'MEFQ Cormorant',serif;font-weight:300;font-size:clamp(46px,6.2vw,92px);line-height:1.02;letter-spacing:-0.01em;text-transform:none;color:#2B2623}
body .mefq .mefq-h2{font-family:'MEFQ Cormorant',serif;font-weight:300;font-size:clamp(36px,4.4vw,60px);line-height:1.05;letter-spacing:normal;text-transform:none;color:#2B2623}
body .mefq .mefq-h1 em,body .mefq .mefq-h2 em{font-style:italic;font-weight:300}
body .mefq .mefq-nb{white-space:nowrap}
.mefq .mefq-rule{width:56px;height:1px;background:#B8975A;transform-origin:left}
body .mefq .mefq-lead{max-width:600px;color:#4A413B;font-size:18px;line-height:1.7}
body .mefq .mefq-intro{color:#5C534D;font-size:17px;line-height:1.7}
body .mefq .mefq-intro-w{max-width:540px}

/* Botón y atajos --------------------------------------------------- */
.mefq a.mefq-btn{display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:0 40px;background:#2B2623;color:#FAF6F0;text-decoration:none;font-family:'MEFQ Jost',sans-serif;font-size:13px;letter-spacing:0.22em;text-transform:uppercase;font-weight:400;line-height:1.3;border:0;border-radius:0;box-shadow:none;transition:background .25s ease}
.mefq a.mefq-btn:hover,.mefq a.mefq-btn:focus-visible{background:#4A413B;color:#FAF6F0}
.mefq a.mefq-btn svg{flex:none}
.mefq .mefq-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:820px}
.mefq a.mefq-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border:1px solid #CDB68C;background:rgba(255,253,249,0.6);color:#2B2623;text-decoration:none;font-family:'MEFQ Jost',sans-serif;font-size:12px;letter-spacing:0.2em;text-transform:uppercase;font-weight:400;line-height:1.3;transition:background .25s ease,color .25s ease}
.mefq a.mefq-chip:hover,.mefq a.mefq-chip:focus-visible{background:#2B2623;border-color:#2B2623;color:#FAF6F0}

/* Portada ---------------------------------------------------------- */
.mefq.mefq-portada{display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px;padding:130px clamp(24px,6vw,96px) 96px}
.mefq.mefq-portada .mefq-lead{margin-left:auto;margin-right:auto}

/* Sección de preguntas --------------------------------------------- */
.mefq.mefq-sec{display:flex;flex-wrap:wrap;gap:48px clamp(32px,5vw,96px);padding:120px clamp(24px,6vw,96px)}
.mefq .mefq-side{position:sticky;top:40px;align-self:flex-start;flex:1 1 280px;max-width:400px;display:flex;flex-direction:column;gap:22px}
.mefq .mefq-faqs{flex:2 1 420px;min-width:0}

/* Acordeón (details/summary: funciona sin JavaScript) */
.mefq details.mefq-q{border-top:1px solid #E3D5C6;scroll-margin-top:90px}
.mefq details.mefq-q:last-child{border-bottom:1px solid #E3D5C6}
.mefq summary.mefq-qs{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding:26px 0;cursor:pointer;font-family:'MEFQ Cormorant',serif;font-weight:400;font-size:clamp(22px,2.1vw,28px);line-height:1.2;color:#2B2623;background:none;border:0}
.mefq summary.mefq-qs::-webkit-details-marker{display:none}
.mefq summary.mefq-qs::marker{content:""}
.mefq summary.mefq-qs:hover{color:#7A5D2B}
.mefq summary.mefq-qs:focus-visible{outline:2px solid #7A5D2B;outline-offset:4px}
.mefq .mefq-ic{position:relative;flex:none;width:38px;height:38px;border:1px solid #CDB68C;border-radius:50%}
.mefq .mefq-ic::before,.mefq .mefq-ic::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1px;background:#7A5D2B;transform:translate(-50%,-50%);transition:transform .3s ease}
.mefq .mefq-ic::after{transform:translate(-50%,-50%) rotate(90deg)}
.mefq details.mefq-q[open] .mefq-ic::after{transform:translate(-50%,-50%) rotate(0deg)}
.mefq details.mefq-q[open] summary.mefq-qs{color:#7A5D2B}
.mefq .mefq-a{padding:0 64px 32px 0;max-width:720px;color:#5C534D}
.mefq .mefq-a p{margin:0 0 14px;color:#5C534D}
.mefq .mefq-a p:last-child{margin-bottom:0}
.mefq .mefq-a a{color:#7A5D2B;text-decoration:underline;text-underline-offset:3px}
.mefq .mefq-a a:hover{color:#2B2623}
.mefq .mefq-a strong{font-weight:400;color:#2B2623}
.mefq details.mefq-q[open] .mefq-a{animation:mefq-in .35s ease both}

/* Lista con guion dorado */
.mefq .mefq-list{margin:6px 0 14px}
.mefq .mefq-list:last-child{margin-bottom:0}
.mefq .mefq-li{display:flex;gap:18px;align-items:center;padding:11px 0;border-top:1px solid #E8DCC8;color:#2B2623}
.mefq .mefq-li:last-child{border-bottom:1px solid #E8DCC8}
.mefq .mefq-li i{display:block;width:28px;height:1px;background:#B8975A;flex:none}

/* Tabla de precios */
.mefq .mefq-tw{overflow-x:auto;margin:6px 0 4px}
.mefq table.mefq-t{border-collapse:collapse;border-spacing:0;width:100%;min-width:500px;margin:0;font-size:16px;background:none;border:0}
.mefq table.mefq-t th{text-align:left;font-family:'MEFQ Jost',sans-serif;font-size:12px;letter-spacing:0.2em;text-transform:uppercase;color:#7A5D2B;font-weight:400;padding:12px 16px 12px 0;background:none;border:0;border-bottom:1px solid #B8975A}
.mefq table.mefq-t td{padding:16px 16px 16px 0;color:#2B2623;font-weight:400;background:none;border:0;border-bottom:1px solid #E3D5C6}
.mefq table.mefq-t td:first-child{font-family:'MEFQ Cormorant',serif;font-size:23px;line-height:1.15}

/* Cierre ----------------------------------------------------------- */
.mefq.mefq-cta{display:flex;flex-wrap:wrap;align-items:center;gap:64px clamp(32px,5vw,96px);padding:120px clamp(24px,6vw,96px)}
.mefq.mefq-cta:not(.mefq-has-img){justify-content:center}
.mefq .mefq-cta-media{flex:1 1 280px;max-width:460px;min-width:0;margin:0 auto}
.mefq .mefq-cta-media img.mefq-cta-img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 40%}
.mefq .mefq-cta-body{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:26px}
.mefq .mefq-rows{display:flex;flex-direction:column;width:100%;max-width:520px;margin-top:4px}
.mefq .mefq-row{display:flex;gap:24px;border-top:1px solid #DCC8BD;padding:16px 0}
.mefq .mefq-row:last-child{border-bottom:1px solid #DCC8BD}
.mefq .mefq-lab{min-width:110px;font-size:12px;letter-spacing:0.24em;text-transform:uppercase;color:#7A5D2B;font-weight:400;padding-top:4px}
.mefq .mefq-row a{color:#2B2623;text-decoration:underline;text-underline-offset:3px}
.mefq .mefq-row a:hover{color:#7A5D2B}
.mefq .mefq-nota{font-size:14px;color:#5C534D;margin-top:-10px}
.mefq .mefq-nota a{color:#7A5D2B;text-decoration:underline}
.mefq .mefq-nota a:hover{color:#2B2623}

/* Entradas --------------------------------------------------------- */
@keyframes mefq-load{from{opacity:0;transform:translateY(70px)}to{opacity:1;transform:none}}
@keyframes mefq-rise{from{opacity:0;transform:translateY(90px)}to{opacity:1;transform:none}}
@keyframes mefq-left{from{opacity:0;transform:translateX(-150px)}to{opacity:1;transform:none}}
@keyframes mefq-left-m{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:none}}
@keyframes mefq-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes mefq-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.mefq .mefq-hl{animation:mefq-load 1.3s cubic-bezier(.2,.6,.2,1) both}
.mefq .mefq-hl1{animation-delay:.2s}.mefq .mefq-hl2{animation-delay:.5s}.mefq .mefq-hl3{animation-delay:.8s}.mefq .mefq-hl4{animation-delay:1.05s}.mefq .mefq-hl5{animation-delay:1.3s}
@supports (animation-timeline: view()){
.mefq .mefq-rv{animation:mefq-rise ease-out both;animation-timeline:view();animation-range:cover 0% cover 22%}
.mefq .mefq-rv-left{animation-name:mefq-left}
.mefq .mefq-rv-line{animation-name:mefq-line}
}
@media (prefers-reduced-motion:reduce){
.mefq .mefq-hl,.mefq .mefq-rv,.mefq details.mefq-q[open] .mefq-a{animation:none}
}

/* Pantallas medianas y celular ------------------------------------- */
@media (max-width:820px){
.mefq .mefq-side{position:static}
}
@media (max-width:640px){
.mefq.mefq-portada{padding-top:96px;padding-bottom:72px}
.mefq.mefq-sec,.mefq.mefq-cta{padding-top:72px;padding-bottom:72px}
.mefq a.mefq-btn{width:100%;justify-content:center;text-align:center;padding:0 18px;letter-spacing:0.14em;font-size:12px}
.mefq a.mefq-chip{flex:1 1 calc(50% - 6px);justify-content:center;text-align:center;padding:0 12px;letter-spacing:0.14em}
.mefq summary.mefq-qs{padding:22px 0;gap:16px}
.mefq .mefq-ic{width:34px;height:34px}
.mefq .mefq-a{padding-right:0}
.mefq .mefq-cta-media{flex:0 0 100%;max-width:420px;margin:0 auto}
.mefq .mefq-cta-body{flex:1 1 100%}
.mefq .mefq-row{gap:16px}
.mefq .mefq-lab{min-width:96px}
}
@supports (animation-timeline: view()){
@media (max-width:640px){.mefq .mefq-rv-left{animation-name:mefq-left-m}}
}
