/* ==========================================================================
   Kamaitachi — sistema de diseño de páginas internas
   (topbar, hero de página, catálogo, diálogo, cafetería, eventos, mi lista)
   ========================================================================== */

body.page{background:#F5FAF9;color:var(--ink)}
.page main{display:block}

/* ---------- Topbar ---------- */
.topbar{position:sticky;top:0;z-index:50;background:var(--black);color:var(--white);box-shadow:0 1px 0 rgba(255,255,255,.08)}
.topbar__inner{display:flex;align-items:center;gap:20px;max-width:1280px;margin-inline:auto;padding:10px 16px;min-height:68px}
.topbar__logo{flex:none}
.topbar__logo img{width:auto;height:46px}
.topbar__nav{margin-inline:auto}
.topbar__nav ul{display:flex;gap:4px}
.topbar__nav a{display:block;padding:10px 14px;border-radius:var(--radius-pill);font-weight:500;font-size:15px;text-decoration:none;color:rgba(255,255,255,.88)}
.topbar__nav a:hover{color:var(--white);background:rgba(255,255,255,.08)}
.topbar__nav a[aria-current="page"]{color:var(--black);background:var(--yellow)}
.topbar__list{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:var(--radius-pill);
  background:var(--teal);color:var(--white);font-weight:600;font-size:15px;text-decoration:none}
.topbar__list:hover{background:var(--teal-dark)}
.topbar__list svg{width:20px;height:20px}
.count-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--yellow);color:var(--black);font-size:12px;font-weight:700;line-height:1}
.count-badge[hidden]{display:none}
.menu-toggle--inline{position:static;display:none;background:rgba(255,255,255,.1);backdrop-filter:none;-webkit-backdrop-filter:none}
@media (max-width:1023px){
  .topbar__nav{display:none}
  .topbar__list{margin-left:auto}
  .menu-toggle--inline{display:grid}
  .site-menu{padding-top:96px}
}
@media (max-width:480px){
  .topbar__logo img{height:38px}
  .topbar__list-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .topbar__list{padding:8px 12px}
}
.page .menu-toggle--inline[aria-expanded="true"]{position:relative;z-index:60}
.page .topbar{z-index:60}

/* ---------- Hero de página ---------- */
.page-hero{position:relative;overflow:hidden;background:var(--purple);color:var(--white);padding:56px 0 64px}
.page-hero::after{content:"";position:absolute;right:-60px;bottom:-80px;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,200,21,.35),transparent 65%);pointer-events:none}
.page-hero--teal{background:var(--teal)}
.page-hero--black{background:var(--black)}
.page-hero .container{position:relative;z-index:1;max-width:1280px}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:rgba(255,255,255,.75)}
.breadcrumb li+li::before{content:"/";margin-right:6px;opacity:.6}
.breadcrumb a{text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.page-hero h1{margin-top:12px;font-family:var(--font-display);font-weight:400;font-size:clamp(48px,8vw,96px);line-height:.95;letter-spacing:.01em;text-transform:uppercase}
.page-hero h1 span{color:var(--yellow)}
.page-hero__lead{margin-top:14px;max-width:60ch;font-size:17px;line-height:1.6;color:rgba(255,255,255,.92)}
.page-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}

.section{padding:56px 0}
.section .container,.wrap{max-width:1280px}
.section-title{font-family:var(--font-display);font-weight:400;font-size:clamp(36px,5vw,52px);line-height:1;color:var(--purple);text-transform:uppercase}
.notice{display:flex;gap:10px;align-items:flex-start;margin:0 0 24px;padding:14px 18px;border-radius:var(--radius-sm);background:#FFF6D6;border:1px solid #F2D675;font-size:14px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:600;line-height:1.3;vertical-align:middle}
.badge svg{width:14px;height:14px;fill:currentColor}
.badge--yellow{background:var(--yellow);color:var(--black)}
.badge--teal{background:var(--mint);color:var(--teal-dark)}
.badge--purple{background:#ECE6FA;color:var(--purple)}
.badge--red{background:#FDE7E4;color:#B42318}
.badge--gray{background:#ECEDEE;color:#4A4F55}

.btn svg{width:18px;height:18px;fill:currentColor}
.btn--ghost{background:transparent;color:var(--purple);box-shadow:inset 0 0 0 2px var(--purple)}
.btn--ghost:hover{background:var(--purple);color:var(--white)}
.btn--yellow{background:var(--yellow);color:var(--black)}
.btn--yellow:hover{background:var(--yellow-alt)}
.btn--block{width:100%}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none}
.icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:var(--mint);color:var(--teal-dark);transition:background-color .15s ease,color .15s ease}
.icon-btn svg{width:20px;height:20px;fill:currentColor}
.icon-btn:hover{background:var(--teal);color:var(--white)}
.icon-btn[aria-pressed="true"]{background:var(--purple);color:var(--yellow)}

/* ---------- Catálogo ---------- */
.catalog{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.filters{position:sticky;top:88px;display:flex;flex-direction:column;gap:18px;padding:20px;background:var(--white);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.filters__title{font-weight:600;font-size:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.field legend{font-size:13px;font-weight:600;color:#3B3F45}
.input,.select{width:100%;min-height:44px;padding:10px 14px;border:1.5px solid #D6DADF;border-radius:10px;background:var(--white);font:inherit;font-size:15px;color:var(--ink)}
.input:focus,.select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(45,161,153,.25)}
.search{position:relative}
.search svg{position:absolute;left:14px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:#7A8088;pointer-events:none}
.search .input{padding-left:44px;min-height:52px;font-size:16px;border-radius:var(--radius-pill)}
.filters__reset{align-self:flex-start;padding:0;border:0;background:none;color:var(--purple);font-weight:600;font-size:14px;text-decoration:underline}
.filters-toggle{display:none}
.catalog__bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}
.catalog__count{font-size:14px;color:#4A4F55}
.catalog__sort{display:flex;align-items:center;gap:8px;font-size:14px}
.catalog__sort .select{width:auto;min-height:40px;padding:6px 12px}
.chips-active{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.chips-active button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px;border:0;border-radius:var(--radius-pill);background:#ECE6FA;color:var(--purple);font-size:13px;font-weight:600}
.chips-active svg{width:14px;height:14px}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px}
.product{position:relative;display:flex;flex-direction:column;background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06);transition:box-shadow .2s ease,transform .2s ease}
.product:hover{box-shadow:0 12px 28px -12px rgba(80,45,161,.35);transform:translateY(-2px)}
.product__media{position:relative;display:block;aspect-ratio:3/4;background:var(--mint);border:0;padding:0;cursor:pointer;width:100%}
.product__media img{width:100%;height:100%;object-fit:contain}
.product__media .badge{position:absolute;left:10px;top:10px}
.product__body{display:flex;flex-direction:column;gap:6px;flex:1;padding:14px 16px 16px}
.product__meta{font-size:12px;font-weight:500;color:#5E646B;text-transform:uppercase;letter-spacing:.04em}
.product h3{font-size:16px;font-weight:600;line-height:1.3}
.product h3 button{all:unset;cursor:pointer}
.product h3 button:hover{color:var(--purple)}
.product h3 button:focus-visible{outline:var(--focus);outline-offset:2px}
.product__price{margin-top:auto;padding-top:6px;font-size:18px;font-weight:700;color:var(--purple)}
.product__price s{margin-left:6px;font-size:13px;font-weight:400;color:#8A9096}
.product__actions{display:flex;gap:8px;align-items:center;margin-top:10px}
.product__actions .btn{flex:1;min-height:44px;padding:8px 12px;font-size:14px}
.product--agotado .product__media img{opacity:.55;filter:grayscale(.6)}
.catalog__more{display:flex;justify-content:center;margin-top:28px}
.catalog__empty{padding:48px 24px;background:var(--white);border-radius:var(--radius);text-align:center}
.catalog__empty p+p{margin-top:12px}
.skeleton{aspect-ratio:3/5;border-radius:var(--radius);background:linear-gradient(90deg,#EEF3F2 25%,#F7FAFA 50%,#EEF3F2 75%);background-size:200% 100%;animation:shimmer 1.4s infinite}
@keyframes shimmer{to{background-position:-200% 0}}

@media (max-width:1023px){
  .catalog{grid-template-columns:1fr}
  .filters-toggle{display:inline-flex}
  .filters{position:fixed;inset:auto 0 0 0;top:auto;z-index:70;max-height:85vh;overflow-y:auto;border-radius:20px 20px 0 0;
    transform:translateY(105%);transition:transform .25s ease;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .filters.is-open{transform:none}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
}
.filters__head{display:flex;align-items:center;justify-content:space-between}
.filters__close{display:none!important}
@media (max-width:1023px){.filters__close{display:inline-grid!important}}
.scrim{position:fixed;inset:0;z-index:65;background:rgba(0,0,0,.45)}
.scrim[hidden]{display:none}
@media (max-width:480px){
  .product__body{padding:12px}
  .product h3{font-size:14px}
  .product__actions .btn{font-size:13px;padding:8px}
  .product__actions .btn svg{display:none}
}

/* ---------- Diálogo de detalle ---------- */
.dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:0;border:0;border-radius:20px;background:var(--white);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.dialog::backdrop{background:rgba(12,13,14,.6)}
.dialog__close{position:absolute;right:12px;top:12px;z-index:2;background:var(--white)}
.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.detail__media{background:var(--mint);display:grid;place-items:center;padding:24px}
.detail__media img{max-height:70vh;width:auto;object-fit:contain}
.detail__body{display:flex;flex-direction:column;gap:12px;padding:32px 28px}
.detail h2{font-family:var(--font-body);font-size:26px;font-weight:700;line-height:1.2;color:var(--ink)}
.detail__price{font-size:28px;font-weight:700;color:var(--purple)}
.detail__specs{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14px}
.detail__specs dt{font-weight:600;color:#5E646B}
.detail__specs dd{margin:0}
.detail__desc{font-size:15px;line-height:1.65;color:#33373C}
.detail__actions{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.detail__share{font-size:13px;color:#5E646B}
@media (max-width:767px){
  .dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}
  .detail{grid-template-columns:1fr}
  .detail__media img{max-height:42vh}
  .detail__body{padding:22px 18px 32px}
}

/* ---------- Toast ---------- */
.toast{position:fixed;left:50%;bottom:24px;z-index:90;display:flex;gap:14px;align-items:center;max-width:calc(100vw - 32px);padding:12px 14px 12px 18px;
  border-radius:var(--radius-pill);background:var(--ink);color:var(--white);font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.3);
  transform:translate(-50%,150%);transition:transform .25s ease}
.toast.is-visible{transform:translate(-50%,0)}
.toast a{color:var(--yellow);font-weight:600;white-space:nowrap}

/* ---------- Cafetería ---------- */
body.menu-page{background:#FBF7EE}
.menu-nav{position:sticky;top:68px;z-index:20;background:#FBF7EE;border-bottom:1px solid #EADFC8}
.menu-nav ul{display:flex;gap:8px;overflow-x:auto;max-width:1280px;margin-inline:auto;padding:12px 16px;scrollbar-width:none}
.menu-nav ul::-webkit-scrollbar{display:none}
.menu-nav a{display:block;white-space:nowrap;padding:8px 16px;border-radius:var(--radius-pill);background:var(--white);border:1px solid #E3D7BD;font-size:14px;font-weight:600;text-decoration:none;color:#1E4D49}
.menu-nav a:hover{background:var(--teal);border-color:var(--teal);color:var(--white)}
.menu-body{max-width:1280px;margin-inline:auto;padding:32px 16px 64px;display:flex;flex-direction:column;gap:56px}
.menu-body section{scroll-margin-top:140px}
.menu-featured{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:32px;padding:28px;border-radius:28px;background:var(--teal);color:var(--white)}
.menu-featured img{width:100%;border-radius:20px}
.menu-featured h2{margin-top:12px;font-family:var(--font-display);font-weight:400;font-size:clamp(48px,7vw,84px);line-height:.95;text-transform:uppercase}
.menu-featured p{margin-top:12px;font-size:17px;line-height:1.6;max-width:42ch}
.menu-featured__price{display:inline-block;margin-top:20px!important;padding:8px 22px;border-radius:var(--radius-pill);background:#123F3C;font-size:28px!important;font-weight:700}
.menu-cat__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin-bottom:20px}
.menu-cat__head h2{font-family:var(--font-display);font-weight:400;font-size:clamp(38px,5vw,56px);line-height:1;color:#174A46;text-transform:uppercase}
.menu-cat__head p{flex-basis:100%;color:#4F5A58}
.menu-cat__head .menu-cat__price{flex-basis:auto;font-weight:700;color:var(--purple)}
.dish-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.dish{display:flex;flex-direction:column;background:var(--white);border-radius:20px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.dish img{width:100%;aspect-ratio:4/3;object-fit:cover}
.dish__body{display:flex;flex-direction:column;gap:8px;flex:1;padding:16px 18px 18px}
.dish h3{font-size:20px;font-weight:700;color:#174A46}
.dish p{font-size:14px;line-height:1.55;color:#4F5A58}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips li{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:var(--radius-pill);background:var(--mint);font-size:13px;color:#1E4D49}
.allergen{display:inline-block;width:16px;height:16px;vertical-align:-2px;margin-left:4px;color:#C2410C;fill:currentColor}
.dish__foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto!important;padding-top:8px}
.dish__units{padding:3px 12px;border-radius:var(--radius-pill);background:#F59E2B;color:var(--white);font-size:13px;font-weight:700}
.dish__price{margin-left:auto;font-size:22px;font-weight:700;color:#174A46}
.drink-block{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:24px 28px;background:var(--white);border-radius:20px}
.drink-block img{width:auto;max-height:240px}
.price-list li{display:flex;align-items:baseline;gap:8px;padding:9px 0;border-bottom:1px dashed #E0D6C2;font-size:16px}
.price-list li:last-child{border-bottom:0}
.price-list__name{flex:1;display:flex;flex-direction:column}
.price-list__name small{font-size:13px;color:#4F5A58}
.price-list__price{font-weight:700;color:#174A46;white-space:nowrap}
.menu-notes{display:grid;gap:10px;padding:24px 28px;border-radius:20px;background:#E2F6F5;color:#174A46}
.menu-notes__allergen{display:flex;gap:8px;align-items:center;font-size:14px}
.menu-notes__allergen svg{width:18px;height:18px;color:#C2410C;fill:currentColor}
@media (max-width:767px){
  .menu-featured{grid-template-columns:1fr;padding:18px}
  .drink-block{grid-template-columns:1fr;padding:18px}
  .drink-block img{display:none}
}

/* ---------- Eventos ---------- */
.ev-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.ev-filters button{min-height:40px;padding:8px 16px;border:1.5px solid #D6DADF;border-radius:var(--radius-pill);background:var(--white);font-size:14px;font-weight:600;color:#33373C}
.ev-filters button[aria-pressed="true"]{background:var(--purple);border-color:var(--purple);color:var(--white)}
.ev-section+.ev-section{margin-top:64px}
.ev-section .section-title{margin-bottom:24px}
.ev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.ev{display:flex;flex-direction:column;background:var(--white);border-radius:20px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06);scroll-margin-top:96px}
.ev:target{box-shadow:0 0 0 4px var(--yellow)}
.ev__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--purple)}
.ev__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ev__ph{display:grid;place-items:center;height:100%;padding:24px;background:linear-gradient(135deg,var(--purple),var(--teal));text-align:center}
.ev__ph span{font-family:var(--font-display);font-size:42px;line-height:1;color:var(--white);text-transform:uppercase}
.ev__date{position:absolute;left:14px;top:14px;display:flex;flex-direction:column;align-items:center;min-width:64px;padding:8px 10px;border-radius:12px;background:var(--white);color:var(--purple);box-shadow:0 4px 12px rgba(0,0,0,.2);text-transform:capitalize}
.ev__date span{font-size:13px;font-weight:600}
.ev__date strong{font-size:22px;line-height:1.1}
.ev__body{display:flex;flex-direction:column;gap:12px;flex:1;padding:20px 22px 22px}
.ev__meta-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ev__cat{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--teal-dark)}
.ev__status:empty{display:none}
.ev h3{font-size:22px;font-weight:700;line-height:1.2;color:var(--purple)}
.ev__meta{display:grid;gap:6px;font-size:14px;color:#3B3F45}
.ev__meta li{display:flex;gap:8px;align-items:flex-start}
.ev__meta svg{flex:none;width:18px;height:18px;margin-top:1px;color:var(--teal);fill:currentColor}
.ev__desc{font-size:14px;line-height:1.6;color:#4A4F55}
.ev__host{font-size:13px;font-weight:600;color:var(--purple)}
.ev__actions{margin-top:auto;padding-top:6px}
.ev__actions .btn{width:100%}
.ev--finalizado .ev__media{filter:grayscale(.8);opacity:.7}
.ev--finalizado .ev__actions{display:none}
.ev-empty{grid-column:1/-1;padding:32px;background:var(--white);border-radius:var(--radius);text-align:center}
.brevo-dialog .brevo-embed{max-width:none;min-height:520px;margin:0}
.brevo-dialog .brevo-embed iframe{height:520px}
.brevo-dialog__body{padding:28px 24px 24px}
.brevo-dialog h2{font-size:22px;font-weight:700;color:var(--purple);margin:0 40px 12px 0}

/* ---------- Mi lista ---------- */
.mylist{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.mylist__items{display:flex;flex-direction:column;gap:12px}
.mylist__row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 16px 12px 12px;background:var(--white);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.mylist__row img{width:72px;height:96px;object-fit:contain;background:var(--mint);border-radius:10px}
.mylist__row h3{font-size:16px;font-weight:600;line-height:1.3}
.mylist__row h3 a{text-decoration:none}
.mylist__row h3 a:hover{color:var(--purple)}
.mylist__row p{font-size:13px;color:#5E646B}
.mylist__row .price{font-weight:700;color:var(--purple);font-size:15px}
.qty{display:inline-flex;align-items:center;gap:4px;margin-top:6px}
.qty button{width:32px;height:32px;border:0;border-radius:50%;background:var(--mint);color:var(--teal-dark);font-weight:700;font-size:16px}
.qty output{min-width:28px;text-align:center;font-weight:600}
.mylist__summary{position:sticky;top:96px;display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--white);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.mylist__summary h2{font-size:20px;font-weight:700}
.mylist__total{display:flex;justify-content:space-between;font-size:18px;font-weight:700}
.mylist__note{font-size:13px;color:#5E646B;line-height:1.5}
.mylist__empty{padding:56px 24px;background:var(--white);border-radius:var(--radius);text-align:center}
.mylist__empty h2{font-size:22px;font-weight:700;color:var(--purple)}
.mylist__empty p{margin:10px auto 22px;max-width:44ch;color:#4A4F55}
.mylist__empty .page-hero__actions{justify-content:center}
@media (max-width:900px){.mylist{grid-template-columns:1fr}.mylist__summary{position:static}}
@media (max-width:480px){.mylist__row{grid-template-columns:56px minmax(0,1fr);}.mylist__row img{width:56px;height:76px}.mylist__row .icon-btn{grid-column:2;justify-self:end;margin-top:-8px}}
.search+.catalog{margin-top:24px}
.inline-icon{display:inline;width:16px;height:16px;vertical-align:-3px}
.filters__apply{display:none}
@media (max-width:1023px){.filters__apply{display:inline-flex}}
.breadcrumb ol{margin:0;padding:0;list-style:none}
.page-hero .btn--ghost{color:var(--white);box-shadow:inset 0 0 0 2px rgba(255,255,255,.85)}
.page-hero .btn--ghost:hover{background:var(--white);color:var(--purple)}
.page-hero--teal .btn--ghost:hover{color:var(--teal-dark)}

/* ==========================================================================
   Entregable 4: legales, FAQs, quiénes somos, contacto, 404
   ========================================================================== */
.page-hero__meta{margin-top:10px;font-size:13px;color:rgba(255,255,255,.7)}
.section--tight{padding-top:0}
.notice[data-borrador]{background:#FFF1F0;border-color:#F4B4AE}
mark{background:#FFE58A;color:inherit;padding:0 3px;border-radius:3px}

/* Legales: índice + texto */
.legal{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:start;max-width:1180px}
.toc{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow-y:auto;padding:18px 18px 18px 20px;background:var(--white);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.toc__title{font-weight:700;font-size:14px;margin-bottom:8px}
.toc ol{margin:0;padding:0;list-style:none;display:grid;gap:2px}
.toc a{display:block;padding:5px 8px;border-radius:8px;font-size:13px;line-height:1.35;text-decoration:none;color:#3B3F45}
.toc a:hover{background:var(--mint);color:var(--teal-dark)}
@media (max-width:900px){.legal{grid-template-columns:1fr;gap:24px}.toc{position:static;max-height:none}}

.prose{max-width:760px;font-size:16px;line-height:1.75;color:#24282C}
.prose--wide{max-width:860px}
.prose>*+*{margin-top:16px}
.prose h2{margin-top:44px;font-family:var(--font-body);font-size:24px;font-weight:700;line-height:1.3;color:var(--purple);scroll-margin-top:96px}
.prose h3{margin-top:28px;font-size:19px;font-weight:700}
.prose ul,.prose ol{padding-left:22px}
.prose ul{list-style:disc}
.prose li+li{margin-top:6px}
.prose li::marker{color:var(--teal)}
.prose a{color:var(--purple);font-weight:600}
.prose strong{color:#111}
.table-wrap{overflow-x:auto;border:1px solid #E3E6E9;border-radius:12px;background:var(--white)}
.prose table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}
.prose th,.prose td{padding:10px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #EEF0F2}
.prose tr:first-child th{background:var(--mint);color:#174A46;font-weight:700}
.prose tr:last-child td{border-bottom:0}
.prose td:first-child{font-weight:600}

/* FAQs */
.faq-wrap{max-width:860px}
.faq-group+.faq-group{margin-top:48px}
.faq-group .section-title{margin-bottom:16px}
.faq{background:var(--white);border-radius:14px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.faq+.faq{margin-top:10px}
.faq summary{position:relative;display:block;padding:18px 56px 18px 20px;font-weight:600;font-size:16px;cursor:pointer;list-style:none;border-radius:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:20px;top:50%;width:12px;height:12px;border-right:2.5px solid var(--purple);border-bottom:2.5px solid var(--purple);transform:translateY(-70%) rotate(45deg);transition:transform .2s ease}
.faq[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq summary:hover{color:var(--purple)}
.faq summary:focus-visible{outline:var(--focus);outline-offset:2px}
.faq__a{padding:0 20px 18px;font-size:15px;line-height:1.7;color:#3B3F45}
.faq__a p+p{margin-top:10px}
.faq__a a{color:var(--purple);font-weight:600}
.cta-box{margin-top:48px;padding:32px;border-radius:20px;background:var(--purple);color:var(--white);text-align:center}
.cta-box h2{font-family:var(--font-display);font-weight:400;font-size:40px;line-height:1;text-transform:uppercase}
.cta-box p{margin:10px 0 20px;opacity:.9}

/* Quiénes somos */
.about-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:center}
.about-hero img{width:260px;border-radius:50%;background:var(--mint)}
.about-kanji{margin-top:18px;font-size:24px;font-weight:600;color:var(--yellow)}
.about-kanji span{font-size:15px;font-weight:500;color:rgba(255,255,255,.85)}
@media (max-width:767px){.about-hero{grid-template-columns:1fr}.about-hero img{width:160px;order:-1}}
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;max-width:1180px}
.about-card{display:flex;flex-direction:column;background:var(--white);border-radius:20px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.about-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.about-card div{display:flex;flex-direction:column;gap:8px;padding:20px 22px 24px}
.about-card h3{font-size:20px;font-weight:700;color:var(--purple)}
.about-card p{font-size:15px;line-height:1.6;color:#3B3F45}
.about-card a{margin-top:auto;font-weight:600;color:var(--teal-dark)}
.prose .values{list-style:none;padding:0;display:grid;gap:12px}
.prose .values li{padding:16px 18px;background:var(--white);border-left:4px solid var(--teal);border-radius:10px}

/* Contacto */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;max-width:1180px}
.contact-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;background:var(--white);border-radius:20px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.contact-card>svg{width:32px;height:32px;color:var(--teal);fill:currentColor}
.contact-card h2{font-size:19px;font-weight:700;color:var(--purple)}
.contact-card p,.contact-card address{font-style:normal;font-size:15px;line-height:1.6}
.contact-card small{color:#5E646B}
.contact-card a:not(.btn){color:var(--purple);font-weight:600}
.contact-card .btn{margin-top:auto}
.contact-card .social{margin-top:auto;gap:8px}
.contact-card--wa{background:var(--teal);color:var(--white)}
.contact-card--wa>svg,.contact-card--wa h2{color:var(--white)}
.contact-card--wa small{color:rgba(255,255,255,.85)}
.contact-card--wa .btn{background:var(--white);color:var(--teal-dark)}
.contact-split{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:start;max-width:1180px}
@media (max-width:900px){.contact-split{grid-template-columns:1fr}}
.map{position:relative;display:grid;place-items:center;min-height:420px;border-radius:20px;overflow:hidden;background:#1d2a5c}
.map__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.map__btn{position:relative;z-index:1}
.map__note{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;font-size:12px;color:rgba(255,255,255,.9);text-align:center}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:2}
.contact-form>p{margin:12px 0 20px;color:#3B3F45}
.brevo-embed--contact{max-width:none;min-height:480px;background:var(--white);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.brevo-embed--contact iframe{height:560px}
.brevo-embed--contact .brevo-embed__placeholder{padding:24px;text-align:center;font-size:15px;color:#3B3F45}
.brevo-embed--contact .brevo-embed__placeholder a{color:var(--purple);font-weight:600}
.contact-form__legal{margin-top:10px;font-size:12px;color:#5E646B}
.contact-form__legal a{color:var(--purple)}

/* 404 */
.error-hero{padding:72px 0 88px;text-align:center}
.error-hero .container{display:flex;flex-direction:column;align-items:center}
.error-hero__code{font-family:var(--font-display);font-size:clamp(110px,22vw,180px);line-height:.85;color:var(--yellow);text-shadow:6px 6px 0 var(--purple-dark)}
.error-hero .page-hero__lead{margin-inline:auto}
.error-hero__search{width:min(520px,100%);margin-top:24px}
.error-hero .page-hero__actions{justify-content:center}
.brevo-embed--contact[data-src=""]{min-height:0}
.brevo-embed--contact[data-src=""] .brevo-embed__placeholder{position:static}
.legal>*{min-width:0}

/* Catálogo vacío */
.coming-soon{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:680px;margin:8px auto 0;padding:48px 28px;background:var(--white);border-radius:24px;box-shadow:0 1px 2px rgba(0,0,0,.06);text-align:center}
.coming-soon__icon{width:56px;height:56px;padding:12px;border-radius:50%;background:var(--mint);color:var(--teal)}
.coming-soon h2{font-family:var(--font-display);font-weight:400;font-size:clamp(32px,5vw,46px);line-height:1.05;color:var(--purple);text-transform:uppercase}
.coming-soon p{max-width:52ch;font-size:16px;line-height:1.65;color:#3B3F45}
.coming-soon__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
