:root{
  color-scheme: dark;
  --bg:#0b0b0b;
  --surface:#171717;
  --surface-2:#242424;
  --text:#f5f5f5;
  --muted:#bdbdbd;
  --line:rgba(255,255,255,.16);
  /* Colores de la armería: negro, rojo y amarillo. */
  --red:#c62828;
  --red-hover:#a91f24;
  --yellow:#ffd43b;
  --yellow-dark:#b99518;
  --photo:#ededed;
  --shadow:0 24px 60px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  background:
    radial-gradient(900px 520px at 85% -8%,rgba(198,40,40,.16),transparent 65%),
    radial-gradient(900px 520px at -10% 40%,rgba(255,212,59,.045),transparent 70%),
    var(--bg);
  color:var(--text);
  font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
button,input,select{font:inherit}
a{color:inherit}
img{max-width:100%}
.container{width:min(1180px,92%);margin-inline:auto}
.muted{color:var(--muted)}
.small{font-size:.8rem}
.hidden{display:none!important}

:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}

.header{
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid var(--line);
  background:rgba(11,11,11,.96);
  backdrop-filter:blur(16px);
}
.header__row{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand__logo{display:block;width:76px;height:44px;flex:none;object-fit:contain;mix-blend-mode:screen}
.brand__name{display:flex;flex-direction:column;font-size:.83rem;font-weight:800;letter-spacing:.18em;line-height:1.15}
.brand__name small{margin-top:4px;color:var(--yellow);font-size:.61rem;font-weight:600;letter-spacing:.28em}
.nav{display:flex;align-items:center;gap:4px}
.nav__link{
  padding:9px 14px;
  color:var(--muted);
  text-decoration:none;
  font-size:.88rem;
  font-weight:600;
  border-radius:6px;
  white-space:nowrap;
  transition:color .2s,background .2s;
}
.nav__link:hover,.nav__link.is-active{color:var(--text);background:rgba(198,40,40,.16)}
.nav__link.is-active{box-shadow:inset 0 -2px var(--yellow)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:20px;
  min-height:48px;padding:11px 20px;
  border:1px solid var(--line);
  border-radius:5px;
  background:transparent;
  color:var(--text);
  font-size:.88rem;
  font-weight:750;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
  transition:transform .2s,background .2s,border-color .2s;
}
.btn:hover{transform:translateY(-2px);border-color:var(--yellow)}
.btn--primary{background:var(--red);border-color:var(--red);color:#ffffff}
.btn--primary:hover{background:var(--red-hover);border-color:var(--red-hover)}
.btn--ghost{background:rgba(255,255,255,.025)}
.btn--disabled,.btn--disabled:hover{color:var(--muted);background:transparent;transform:none;cursor:default}
.textLink{display:inline-flex;align-items:center;gap:14px;color:var(--yellow);font-size:.88rem;font-weight:700;text-decoration:none}
.textLink:hover{text-decoration:underline}
.eyebrow{
  display:flex;align-items:center;gap:12px;
  margin:0 0 20px;
  color:var(--yellow);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.19em;
  text-transform:uppercase;
}
.eyebrow__line{width:28px;height:1px;background:currentColor}

.hero{padding:68px 0 75px;border-bottom:1px solid var(--line)}
.hero__grid{display:grid;grid-template-columns:1fr .96fr;gap:clamp(32px,6vw,88px);align-items:center}
.hero__copy{padding:24px 0}
.hero__title,.section__title,.pageTitle{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  letter-spacing:-.045em;
  line-height:1.04;
}
.hero__title{max-width:700px;margin:0;font-size:clamp(3.4rem,6.2vw,6.4rem)}
.hero__title em{color:var(--yellow);font-style:normal}
.hero__text{max-width:47ch;margin:24px 0 0;color:var(--muted);font-size:1.08rem;line-height:1.75}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero__note{display:flex;gap:10px;align-items:flex-start;margin-top:54px;color:var(--muted);font-size:.78rem;line-height:1.5}
.hero__noteMark{color:var(--yellow)}
.hero__visual{
  position:relative;
  isolation:isolate;
  min-height:510px;
  display:flex;flex-direction:column;justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255,212,59,.22);
  border-radius:8px;
  background:
    linear-gradient(155deg,rgba(0,0,0,.12),rgba(0,0,0,.65)),
    url("../img/local/portada.jpg") center/cover,
    radial-gradient(circle at 50% 45%,#241315 0%,#151011 55%,#0b0b0b 100%);
  box-shadow:var(--shadow);
}

/* Integra el fondo negro del JPG con el panel sin modificar el logo. */
.hero__visualPlaceholder{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;padding:24px 32px;mix-blend-mode:screen}
.hero__logo{display:block;width:min(100%,400px);height:auto;object-fit:contain}
.hero__visual.has-photo .hero__visualPlaceholder{display:none}

.section{padding:78px 0}
.section--alt{background:rgba(255,255,255,.025);border-top:1px solid var(--line)}
.sectionHeading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}
.sectionHeading .eyebrow{margin-bottom:12px}
.section__title{margin:0;font-size:clamp(2.4rem,4vw,4.1rem)}
.categoryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.categoryCard{overflow:hidden;border:1px solid var(--line);background:var(--surface);text-decoration:none;transition:transform .2s,border-color .2s}
.categoryCard:hover{transform:translateY(-4px);border-color:var(--yellow-dark)}
.categoryCard__media{height:235px;padding:12px;background:var(--photo)}
.categoryCard__media img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.categoryCard__body{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:17px 20px 22px}
.categoryCard__body>span:first-child{grid-column:1 / -1;color:var(--yellow);font-size:.65rem;font-weight:800;letter-spacing:.15em}
.categoryCard__body strong{font:400 1.9rem/1.2 Georgia,serif}
.categoryCard__arrow{align-self:end;color:var(--yellow);font-size:1.2rem}
.visitBanner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.visitBanner .eyebrow{margin-bottom:12px}
.visitBanner .muted{margin-bottom:0}

.pageSection{min-height:calc(100vh - 78px);padding-top:65px}
.pageTop{display:flex;align-items:end;justify-content:space-between;gap:28px;flex-wrap:wrap;padding-bottom:27px;border-bottom:1px solid var(--line)}
.pageTop .eyebrow{margin-bottom:12px}
.pageTitle{margin:0;font-size:clamp(3rem,5vw,5rem)}
.pageTop .muted{margin:12px 0 0}
.controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.input,.select{
  min-height:45px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:5px;
  background:#242424;
  color:var(--text);
  color-scheme:dark;
  outline:none;
  font-size:.86rem;
}
.input::placeholder{color:#b5b5b5;opacity:1}
.input:focus,.select:focus{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,212,59,.16)}
.input{width:220px}
.select{max-width:220px;min-width:172px;cursor:pointer}
.select option{background:#242424;color:#f5f5f5}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:26px}
.item{
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--surface);
  cursor:pointer;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.item:hover,.item:focus-visible{transform:translateY(-3px);border-color:var(--yellow-dark);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.item__img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--photo);padding:10px}
.item__body{padding:16px}
.item__name{margin:0 0 10px;font-size:1rem;font-weight:750;line-height:1.4}
.item__meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;color:var(--muted);font-size:.72rem}
.pill{display:inline-block;padding:4px 9px;border:1px solid rgba(255,212,59,.38);border-radius:3px;color:var(--yellow);font-size:.64rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.item__more{display:block;margin-top:18px;padding-top:11px;border-top:1px solid var(--line);color:var(--yellow);font-size:.72rem;font-weight:750}
.emptyState{margin-top:26px;padding:24px;border:1px solid var(--line);background:var(--surface)}

.modal{position:fixed;inset:0;display:grid;place-items:center;z-index:50;padding:20px}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}
.modal__panel{position:relative;width:min(1020px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.modal__close{position:absolute;top:12px;right:12px;z-index:3;width:38px;height:38px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer}
.modal__content{display:grid;grid-template-columns:1fr 1fr}
.modal__media{position:relative;min-height:430px;background:var(--photo)}
.modal__media img{display:block;width:100%;height:100%;max-height:calc(100dvh - 40px);object-fit:contain}
.galleryBtn{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(10,10,10,.9);color:var(--text);font-size:1.7rem;line-height:1;cursor:pointer}
.galleryBtn--left{left:12px}
.galleryBtn--right{right:12px}
.modal__info{padding:clamp(24px,4vw,46px)}
.modal__info .h2{margin:16px 40px 10px 0;font:400 clamp(1.8rem,3vw,2.7rem)/1.1 Georgia,serif}
.modal__info>.muted{line-height:1.7}
.specs{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.specs__title{margin:0 0 12px;font-size:.85rem;letter-spacing:.09em;text-transform:uppercase}
.specs__list{margin:0;padding-left:19px;color:var(--muted);font-size:.9rem}
.specs__list li+li{margin-top:6px}
.modal__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}

.pageIntro{max-width:65ch}
.locationSection{margin-top:44px}
.locationSection+.locationSection{margin-top:64px;padding-top:55px;border-top:1px solid var(--line)}
.locationHeading{display:flex;align-items:center;gap:18px}
.locationHeading .eyebrow{margin:0 0 4px}
.locationNumber{width:56px;height:56px;flex:none;display:grid;place-items:center;border:1px solid var(--yellow-dark);color:var(--yellow);font:400 1.5rem/1 Georgia,serif}
.locationTitle{margin:0;font:400 clamp(1.8rem,3vw,2.6rem)/1.15 Georgia,serif}
.contactGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.panel{border:1px solid var(--line);background:var(--surface);padding:clamp(22px,3vw,34px)}
.panel .h2{margin:0 0 24px;font:400 2rem/1.1 Georgia,serif}
.infoList{display:grid;gap:20px}
.infoItem{display:grid;gap:4px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.infoLabel{color:var(--yellow);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.infoValue{color:var(--text)}
.infoValue--pending{color:var(--muted);font-style:italic}
.contactActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.mapWrap{height:360px;overflow:hidden;border:1px solid var(--line);background:var(--surface-2)}
.mapWrap iframe{display:block;width:100%;height:100%;border:0}
.mapPlaceholder{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;border:1px dashed rgba(255,212,59,.45);background:radial-gradient(circle at center,rgba(255,212,59,.08),transparent 68%),var(--surface-2);text-align:center}
.mapPlaceholder__icon{color:var(--yellow);font:400 3.5rem/1 Georgia,serif}
.mapPlaceholder strong{margin-top:12px;font-size:1rem}
.mapPlaceholder p{max-width:28ch;margin:8px 0 0;color:var(--muted);font-size:.88rem}

.footer{padding:46px 0;border-top:1px solid var(--line);background:#070707}
.footer__grid{display:grid;grid-template-columns:1.5fr .7fr .7fr;gap:35px}
.brand--footer{margin-bottom:14px}
.footer .muted{max-width:45ch;margin:0;font-size:.82rem}
.footer__title{margin:0 0 13px;color:var(--yellow);font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.footer__link{display:block;margin:7px 0;color:var(--muted);font-size:.83rem;text-decoration:none}
.footer__link:hover{color:var(--text)}

@media (max-width:1100px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pageTop{align-items:start}
  .controls{width:100%;justify-content:flex-start}
}
@media (max-width:820px){
  .hero__grid{grid-template-columns:1fr}
  .hero__copy{padding:0}
  .hero__visual{min-height:400px}
  .categoryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .categoryCard:last-child{grid-column:1 / -1}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contactGrid,.modal__content{grid-template-columns:1fr}
  .modal__media{height:330px;min-height:0}
  .modal__media img{max-height:none}
  .footer__grid{grid-template-columns:repeat(2,1fr)}
  .footer__grid>div:first-child{grid-column:1 / -1}
}
@media (max-width:900px){
  .header__row{min-height:0;display:block;padding:12px 0 0}
  .brand__logo{width:66px;height:38px}
  .nav{gap:2px;margin-top:10px;flex-wrap:wrap}
  .nav__link{padding:8px 10px}
}
@media (max-width:600px){
  .hero{padding:48px 0 54px}
  .hero__title{font-size:clamp(3.2rem,14vw,4.6rem)}
  .hero__note{margin-top:30px}
  .hero__visual{min-height:320px}
  .section{padding:55px 0}
  .sectionHeading,.visitBanner{align-items:start;flex-direction:column}
  .categoryGrid{grid-template-columns:1fr}
  .categoryCard:last-child{grid-column:auto}
  .categoryCard__media{height:210px}
  .pageSection{padding-top:45px}
  .controls{display:grid;grid-template-columns:1fr;width:100%}
  .input,.select{width:100%;max-width:none;min-width:0}
  .grid{grid-template-columns:1fr;gap:15px}
  .item__img{aspect-ratio:16/10}
  .modal{padding:8px}
  .modal__panel{max-height:calc(100dvh - 16px)}
  .modal__media{height:230px}
  .modal__info{padding:22px}
  .modal__actions .btn{width:100%}
  .locationSection+.locationSection{margin-top:48px;padding-top:40px}
  .locationNumber{width:46px;height:46px}
  .footer__grid{grid-template-columns:1fr;gap:26px}
  .footer__grid>div:first-child{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
