/* Recovered Ekonatura footer anatomy: closing invitation, brand/note, three groups, legal. */
.ek-footer{background:var(--ek-ink);color:var(--ek-paper);margin-top:80px;padding:0 max(var(--ek-gutter),calc((100vw - 1160px)/2)) 28px}.ek-final-cta{padding:65px 0 55px;border-bottom:1px solid #f4f0e733}.cta-inner{display:grid;grid-template-columns:1.15fr 1fr;gap:10%;align-items:center}.cta-banner__title{font-size:var(--ek-fs-h1);max-width:18ch;line-height:var(--ek-lh-body);}.cta-copy{position:relative;min-height:210px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;align-items:start;border-radius:20px;overflow:hidden;isolation:isolate;background:#536258}.cta-banner__bg{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover}.cta-copy:after{content:'';position:absolute;inset:0;background:#17372d80;z-index:-1}.cta-banner__label{font-size:var(--ek-fs-meta);text-transform:uppercase;letter-spacing:var(--ek-ls-meta);}.cta-banner__button{display:inline-flex;padding:12px 20px;border-radius:99px;background:var(--ek-paper);color:var(--ek-ink);font-size:var(--ek-fs-ui);border:0}.cta-banner__button:hover{background:white;color:var(--ek-ink)}.ek-footer-main{display:grid;grid-template-columns:280px 1fr;gap:8%;padding:55px 0 45px;border-bottom:1px solid #f4f0e72b}.ek-footer-logo{display:block;width:190px;max-width:100%}.ek-footer-logo img{width:100%;height:auto;filter:brightness(0) invert(1);object-fit:contain}.ek-footer-claim{margin-top:20px;max-width:25ch;font-size:var(--ek-fs-body);}.ek-footer-note{margin-top:35px;border-top:1px solid #f4f0e72b;padding-top:20px}.ek-footer-note-eyebrow{font-size:var(--ek-fs-meta);letter-spacing:var(--ek-ls-meta);text-transform:uppercase;color:#c3ccbc}.ek-footer-note p:not(.ek-footer-note-eyebrow){font-size:var(--ek-fs-meta);line-height:var(--ek-lh-compact);}.ek-footer-note-link{margin-top:18px}.ek-footer a:hover{color:#e8b799}.ek-footer-note-link a{border:0}.ek-footer-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) 1.1fr;gap:28px}.ek-footer-col h2{font:700 var(--ek-fs-meta)/var(--ek-lh-compact) var(--ek-font-body);text-transform:uppercase;letter-spacing:var(--ek-ls-meta);margin-bottom:14px;color:var(--ek-paper)}.ek-footer-col-list{display:flex;flex-direction:column;align-items:start;gap:14px;font-size:var(--ek-fs-meta);line-height:var(--ek-lh-body);}.ek-footer-col-list p{margin:0 0 3px}.ek-footer-bottom{padding-top:25px;display:flex;justify-content:space-between;gap:30px}.ek-footer-legal{display:flex;justify-content:space-between;gap:30px;align-items:center;width:100%;font-size:var(--ek-fs-meta);color:#c3ccbc}.ek-footer-legal nav{display:flex;gap:22px;flex-wrap:wrap}.ek-footer-legal span{white-space:normal}
@media(max-width:1000px){.ek-footer-main{grid-template-columns:230px 1fr;gap:40px}.ek-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 25px}.ek-footer-col:last-child{grid-column:1/-1}.ek-footer-col:last-child .ek-footer-col-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.ek-footer-col:last-child .ek-footer-col-list p{grid-column:1/-1}.cta-inner{gap:40px}.cta-banner__title{font-size:var(--ek-fs-h1);}}
@media(max-width:650px){.ek-footer{margin-top:45px;padding-inline:24px}.ek-final-cta{padding:45px 0 35px}.cta-inner{grid-template-columns:1fr;gap:30px}.cta-banner__title{font-size:var(--ek-fs-h1);max-width:15ch}.cta-copy{min-height:190px;padding:25px}.ek-footer-main{grid-template-columns:1fr;gap:40px;padding:35px 0}.ek-footer-brand{display:grid;grid-template-columns:1fr;gap:0}.ek-footer-logo{width:170px}.ek-footer-claim{max-width:none}.ek-footer-note{margin-top:25px;max-width:45ch}.ek-footer-cols{gap:35px 22px}.ek-footer-col h2{margin-bottom:20px}.ek-footer-col-list{font-size:var(--ek-fs-meta);gap:13px}.ek-footer-col:last-child .ek-footer-col-list{display:flex;gap:13px}.ek-footer-legal{flex-direction:column;align-items:start;gap:24px}.ek-footer-legal nav{gap:15px 22px}}
/* The original footer returns as a complete, rounded closing surface. */
.ek-footer{margin:80px 16px 16px;border-radius:30px;padding-inline:max(32px,calc((100vw - 1160px)/2 - 16px));overflow:hidden}.cta-inner{grid-template-columns:1.4fr 1fr;gap:50px}.cta-copy{min-height:150px;background:transparent;border-left:1px solid #f4f0e733;border-radius:0;padding:12px 0 12px 40px;justify-content:center;gap:24px}.cta-copy:after{display:none}.cta-banner__title{font-size:var(--ek-fs-h1);max-width:19ch}
@media(max-width:650px){.ek-footer{margin:45px 10px 10px;padding-inline:24px;border-radius:24px}.cta-inner{grid-template-columns:1fr;gap:24px}.cta-copy{border-left:0;padding:0;min-height:100px;gap:20px}.cta-banner__title{font-size:var(--ek-fs-h1);max-width:18ch}}

/* ======================================================================
   ATO-360 · Footer móvil progresivo + separador grafito + hovers
   ----------------------------------------------------------------------
   R12: el pie móvil conserva el CTA verde y el botón de WhatsApp, pero
   el muro de enlaces se repliega en tres filas grandes (Consultas,
   Explorar, Información) con icono lineal, etiqueta y chevron. Un solo
   grupo abierto a la vez. Ningún enlace ni dato desaparece y ninguno se
   duplica en la misma pantalla. El pie de escritorio no cambia.
   R13: el hover del pie no usa el naranja de marca sobre el verde oscuro.
   R8:  el separador entre el bloque grafito de /problemas/ y el pie verde
   se ajusta al grafito de página, solo en esa ruta.
   ====================================================================== */
.ek-footer-shell{display:flow-root}
body.problem-index .ek-footer-shell{background:var(--ek-graphite)}
.ek-footer a:hover,.ek-footer a:focus-visible{color:#f7f4ec}
.ek-footer-accordion{display:none}
@media(max-width:650px){
  .ek-footer-cols{display:none}
  .ek-footer-note{display:none}
  .ek-footer-main{grid-template-columns:1fr;gap:0;padding:34px 0 10px}
  .ek-footer-brand{gap:0}
  .ek-footer-claim{margin-top:14px;max-width:32ch;font-size:var(--ek-fs-small);}
  .ek-footer-accordion{display:block;padding-top:4px}
  .ek-footer-group{border-top:1px solid #f4f0e726}
  .ek-footer-group-head{margin:0;font:inherit;letter-spacing:normal;}
  .ek-footer-group-toggle{display:flex;align-items:center;gap:14px;width:100%;min-height:66px;padding:15px 0;background:none;border:0;color:var(--ek-paper);font:var(--ek-fw-body) var(--ek-fs-body)/var(--ek-lh-body) var(--ek-font-body);text-align:left;cursor:pointer}
  .ek-footer-group-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f4f0e714;color:#e4e8dc;flex:none}
  .ek-footer-group-icon svg{width:19px;height:19px}
  .ek-footer-group-label{flex:1 1 auto}
  .ek-footer-group-chevron{width:18px;height:18px;flex:none;transition:transform .25s ease}
  .ek-footer-group-toggle[aria-expanded="true"] .ek-footer-group-chevron{transform:rotate(180deg)}
  .ek-footer-group-toggle:focus-visible{outline:2px solid var(--ek-paper);outline-offset:4px;border-radius:14px}
  .ek-footer-group-panel{display:grid;gap:12px;padding:2px 0 24px 54px;font-size:var(--ek-fs-small);}
  .ek-footer-group-panel a{display:inline-flex;align-items:center;min-height:30px;color:#dfe4d6}
  .ek-footer-group-panel a:hover,.ek-footer-group-panel a:focus-visible{color:#f7f4ec}
  /* Legal destinations remain in two columns, styled as quiet links rather
     than oversized buttons. The invisible tap areas remain accessible. */
  .ek-footer-bottom .ek-footer-legal nav{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 24px;
   margin:4px 0 2px;padding:0;width:100%;
  }
  .ek-footer-bottom .ek-footer-legal nav a{
   display:flex;align-items:center;justify-content:flex-start;
   min-height:44px;padding:6px 0;
   border:0;border-radius:0;background:none;color:#dfe4d6;
   font-size:var(--ek-fs-small);line-height:var(--ek-lh-body);text-align:left;
  }
  .ek-footer-bottom .ek-footer-legal nav a:hover,.ek-footer-bottom .ek-footer-legal nav a:focus-visible{
   color:#f7f4ec;text-decoration:underline;text-underline-offset:4px;
  }
  .ek-footer-bottom .ek-footer-legal nav a:focus-visible{outline:2px solid var(--ek-paper);outline-offset:3px;border-radius:3px}
  .ek-footer-group-address{font-size:var(--ek-fs-small);line-height:var(--ek-lh-body);color:#c8d0c0}
  .ek-footer-group-note{display:grid;gap:8px;padding-bottom:6px}
  .ek-footer-group-note p{font-size:var(--ek-fs-small);line-height:var(--ek-lh-compact);color:#c8d0c0}
  .ek-footer-group-note .ek-footer-note-eyebrow{color:#c3ccbc}
  .ek-footer-group-note a{font-size:var(--ek-fs-small);}
  .ek-footer-bottom{padding-top:18px}
}
@media(prefers-reduced-motion:reduce){.ek-footer-group-chevron{transition:none}}

/* CTA hierarchy and quieter vertical rhythm, preserving the footer's layout. */
.cta-banner__title{display:flex;flex-direction:column;gap:4px;line-height:var(--ek-lh-compact)}
.cta-banner__secondary{font:var(--ek-fw-body) var(--ek-fs-body)/var(--ek-lh-body) var(--ek-font-body);color:#f4f0e7c9}
.ek-footer-col-list{line-height:var(--ek-lh-compact)}
@media(max-width:650px){
 .cta-banner__title{gap:2px}
 .cta-banner__primary{font-size:clamp(1.5rem,7vw,2rem);white-space:nowrap;letter-spacing:-.035em}
 .cta-banner__secondary{font-size:var(--ek-fs-small)}
 .ek-footer-bottom .ek-footer-legal{align-items:stretch;gap:10px}
 .ek-footer-bottom .ek-footer-legal nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}
 .ek-footer-bottom .ek-footer-legal nav a{min-height:38px;padding:4px 2px;font-size:10px;line-height:var(--ek-lh-compact);overflow-wrap:normal;word-break:normal}
 .ek-footer-bottom .ek-footer-legal>span{width:100%;padding-top:12px;border-top:1px solid #f4f0e733;text-align:center}
}

/* ATO-497 · Keep the closing invitation on one line when the footer is two-column.
   The small-screen CTA keeps its own fluid type scale. */
@media (min-width:651px){
  .ek-final-cta .cta-banner__title{max-width:none;min-width:0}
  .ek-final-cta .cta-banner__primary{white-space:nowrap;font-size:clamp(1.8rem,3.75vw,3.6rem);letter-spacing:-.035em}
}
