@font-face{font-family:'Outfit';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/outfit-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/outfit-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/outfit-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/outfit-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Gelasio';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/gelasio-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Gelasio';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/gelasio-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Gelasio';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/gelasio-latin-600-normal.woff2) format('woff2')}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#F7F7F4;font-family:'Outfit',Helvetica,sans-serif;color:#221F1A}
img{max-width:100%}
a{color:#221F1A;text-decoration:none}a:hover{color:#6B675C}
.ed-root a:focus-visible,.ed-root button:focus-visible,.ed-root input:focus-visible{outline:3px solid #221F1A;outline-offset:3px}
/* cabecera y pie */
.ed-logo{display:block;transition:transform .2s ease}.ed-logo-link:hover .ed-logo{transform:translateY(-2px)}
.ed-mk{display:inline-flex;align-items:center;gap:10px;font-weight:700;padding:4px 0;color:#3D5AD0;text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent;transition:border-color .2s ease}.ed-mk:hover{border-bottom-color:#3D5AD0;color:#3D5AD0}.ed-mk .ar{display:inline-block;transition:transform .2s ease}.ed-mk:hover .ar{transform:translateX(5px)}
.ed-mk-dark,.ed-mk-dark:hover{color:#F2F0E4}.ed-mk-dark:hover{border-bottom-color:#F2F0E4}
.ed-nav{transition:border-color .2s ease}.ed-nav:hover{border-bottom-color:#3D5AD0 !important;color:#221F1A}
.ed-menu{display:contents}
.ed-menu-btn{display:none;width:44px;height:44px;border:1px solid #221F1A;border-radius:999px;background:transparent;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.ed-menu-btn span{display:block;width:18px;height:2px;background:#221F1A;transition:transform .2s ease,opacity .2s ease}
.ed-menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.ed-menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.ed-menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.ed-footer a:hover{color:#FFDE59 !important}
/* formulario */
.ed-input{font-family:inherit;border:1px solid #221F1A;border-radius:12px;padding:14px;font-size:16px;background:#FFFFFF;color:#221F1A;width:100%}
.ed-input:focus{outline:3px solid #221F1A;outline-offset:1px}
.ed-pill{position:relative;cursor:pointer}
.ed-pill input{position:absolute;opacity:0;width:1px;height:1px}
.ed-pill span{display:inline-block;border:1px solid #221F1A;background:#F7F7F4;color:#221F1A;border-radius:999px;padding:12px 18px;font-size:15px;font-weight:600;transition:background .15s ease}
.ed-pill:hover span{background:#E5DFD0}
.ed-pill input:checked+span{background:#3D5AD0;border-color:#3D5AD0;color:#F2F0E4}
.ed-pill input:focus-visible+span{outline:3px solid #221F1A;outline-offset:2px}
.ed-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
[hidden]{display:none !important}
/* filtros de La despensa */
.ed-filter{font-family:inherit;cursor:pointer;border:1px solid #221F1A;background:transparent;color:#221F1A;border-radius:999px;padding:12px 22px;font-size:14px;font-weight:600;transition:background .15s ease}
.ed-filter span{opacity:.6}
.ed-filter:hover{background:#E5DFD0}
.ed-filter[aria-pressed="true"]{background:#3D5AD0;border-color:#3D5AD0;color:#F2F0E4}
.ed-filter[aria-pressed="true"] span{opacity:.75}

/* ---------- tableta ---------- */
@media (max-width:1100px){
  .ed-root [style*="repeat(5, minmax(0, 1fr))"]{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .ed-root [style*="repeat(4, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .ed-root [style*="font-size: 84px"],.ed-root [style*="font-size: 80px"],.ed-root [style*="font-size: 76px"]{font-size:64px !important}
  .ed-header nav{gap:24px !important}
  .ed-header img.ed-logo{width:180px !important}
  .ed-mail{font-size:12px !important}
  .ed-bio .ed-mail{font-size:16px !important}
}
@media (max-width:960px){
  .ed-header nav{gap:18px !important}
}

/* ---------- móvil ---------- */
@media (max-width:820px){
  /* cabecera con menú desplegable */
  .ed-header>div{padding:8px 20px !important;flex-wrap:wrap;gap:0 !important}
  .ed-header img.ed-logo{width:168px !important}
  .ed-header .ed-hi{width:42px;height:42px}
  .ed-header .ed-right{order:2;gap:12px !important}
  .ed-menu-btn{display:flex}
  .ed-menu{display:none;order:3;width:100%;padding:8px 0 16px}
  .ed-menu.is-open{display:block}
  .ed-header nav{flex-direction:column;align-items:flex-start !important;gap:4px !important;width:100%}
  .ed-header nav a{font-size:20px !important;padding:8px 0 !important}

  /* rejillas en una columna */
  .ed-root [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr) !important}
  .ed-root [style*="grid-column"]{grid-column:auto !important}
  .ed-root [style*="repeat(5, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .ed-root [style*="grid-template-columns: 140px 1fr"]{grid-template-columns:minmax(0,1fr) !important;gap:2px 0 !important}
  .ed-root [style*="grid-template-columns: 140px 1fr"]>span:nth-child(odd){margin-top:10px}

  /* márgenes */
  .ed-root [style*="padding: 112px 32px"],.ed-root [style*="padding: 128px 32px"],.ed-root [style*="padding: 120px 32px"],.ed-root [style*="padding: 96px 32px"],.ed-root [style*="padding: 72px 32px"]{padding:56px 20px !important}
  .ed-root [style*="padding: 0 32px"],.ed-root [style*="padding: 0px 32px"]{padding-left:20px !important;padding-right:20px !important}
  .ed-root [style*="padding: 64px 32px"],.ed-root [style*="padding: 56px 32px"]{padding:40px 20px !important}
  .ed-root [style*="padding: 28px 32px"]{padding:24px 20px !important}
  .ed-root [style*="padding: 64px 0"]{padding:40px 0 !important}
  .ed-root article[style*="padding: 48px"],.ed-root article[style*="padding: 56px"],.ed-root article[style*="padding: 36px"]{padding:26px 22px !important}
  .ed-root [style*="padding: 32px;"]{padding:24px !important}
  .ed-form-card{padding:24px 20px !important}
  .ed-case{padding:24px 22px !important}
  .ed-root .ed-faces{display:flex !important;overflow-x:auto;gap:14px !important;padding-bottom:6px;scroll-snap-type:x mandatory}
  .ed-root .ed-person{flex:0 0 120px;scroll-snap-align:start}
  .ed-root .ed-bio[style*="display: grid"]{display:grid}
  .ed-root .ed-bio .ed-mail{white-space:normal;word-break:break-all}
  .ed-root [style*="gap: 56px"]{gap:36px !important}
  .ed-root [style*="row-gap: 56px"]{row-gap:36px !important}

  /* tipografía */
  .ed-root [style*="font-size: 84px"],.ed-root [style*="font-size: 80px"],.ed-root [style*="font-size: 76px"]{font-size:44px !important}
  .ed-root [style*="font-size: 68px"]{font-size:44px !important}
  .ed-root [style*="font-size: 60px"]{font-size:38px !important}
  .ed-root [style*="font-size: 56px"]{font-size:42px !important}
  .ed-root [style*="font-size: 48px"],.ed-root [style*="font-size: 44px"],.ed-root [style*="font-size: 42px"]{font-size:32px !important}
  .ed-root [style*="font-size: 40px"]{font-size:23px !important}
  .ed-root [style*="font-size: 38px"]{font-size:28px !important}
  .ed-root [style*="font-size: 34px"]{font-size:25px !important}
  .ed-root [style*="font-size: 30px"],.ed-root [style*="font-size: 28px"]{font-size:24px !important}
  .ed-root [style*="font-size: 23px"]{font-size:19px !important}
  .ed-root [style*="white-space: nowrap; font-size: clamp"]{white-space:normal !important}

  /* filas que se apilan */
  .ed-root [style*="justify-content: space-between"]{flex-wrap:wrap}
  .ed-footer [style*="justify-content: space-between"]{flex-direction:column;align-items:flex-start !important}
  .ed-footer [style*="justify-content: space-between"]>div:first-child{flex-direction:column;align-items:flex-start !important;gap:14px !important}
  .ed-footer img[aria-hidden="true"]{width:56px !important;height:56px !important}
  .ed-root figure img{max-height:420px}
  .ed-root figure{max-width:440px}
  .ed-root article[data-show="todo"] img{max-width:180px}
  .ed-root .ed-mail{white-space:normal !important;word-break:break-all}
  .ed-root .ed-file{flex-direction:column;align-items:flex-start !important}
  .ed-root .ed-file input{max-width:100% !important}
  .ed-root [style*="min-height: 320px"],.ed-root [style*="min-height: 280px"],.ed-root [style*="min-height: 230px"]{min-height:0 !important}
}
@media (max-width:520px){
  .ed-root [style*="repeat(5, minmax(0, 1fr))"]{grid-template-columns:minmax(0,1fr) !important}
  .ed-root [style*="repeat(5, minmax(0, 1fr))"]>figure{max-width:none}
}
