:root{
  --bg:#2a130f;
  --bg2:#4a1f17;
  --paper:#3a1f16;
  --paper2:#2b160f;
  --ink:#f7ecd8;
  --muted:#e2c8a2;
  --gold:#d7a65a;
  --granada-red:#7e1f1f;
  --cypress:#2f5a43;
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family:'Source Serif 4', Georgia, serif;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(215,166,90,.28), transparent 60%),
    radial-gradient(1000px 600px at 10% -10%, rgba(126,31,31,.34), transparent 58%),
    linear-gradient(180deg,var(--bg),var(--bg2) 45%, #1e0f0b);
}
.wrap{max-width:1200px;width:95%;margin:auto;padding:18px}
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.title-row{display:flex;align-items:flex-start;gap:3px}
.h1{
  font-family:'Cinzel', serif;
  font-size:clamp(34px,7vw,56px);
  font-weight:800;
  letter-spacing:.8px;
  background:linear-gradient(145deg,#f9e9c7,#d9a453,#fff0d4);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 0 18px rgba(215,166,90,.28);
}
.small{font-size:15px;color:var(--muted);margin:0}
.granada-claim{margin-top:6px;font-style:italic;color:#f0d8b2}
.story-title{margin:6px 0 10px;font-size:24px;line-height:1.2}
.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.footer-legend{margin-top:14px;padding:12px 14px;border:1px solid rgba(215,166,90,.35);border-radius:12px;background:linear-gradient(180deg,rgba(58,31,22,.72),rgba(43,22,15,.72));color:#f3dfbe}
.footer-legend p{margin:4px 0;line-height:1.45}
.nearest-panel{margin-top:12px;padding:10px;border:1px solid rgba(215,166,90,.3);border-radius:10px;background:rgba(0,0,0,.12)}
.nearest-title{margin:0 0 6px;font-size:18px}
.nearest-info{margin:0 0 8px;color:#f0ddbf;line-height:1.4}
.nearest-actions{display:flex;gap:8px;flex-wrap:wrap}
.pill{padding:8px 12px;border:1px solid rgba(215,166,90,.45);border-radius:999px;background:#2b1712;color:#f1d7b0}
.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-top:4px}
.brand-mark img{width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(215,166,90,.35));border-radius:12px}
.grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:14px}
.card{
  background:linear-gradient(180deg,var(--paper),var(--paper2));
  border:1px solid rgba(215,166,90,.4);
  border-radius:16px;
  padding:12px;
  box-shadow:0 12px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05);
}
#map{height:36vh;min-height:250px;border-radius:14px;overflow:hidden;border:2px solid rgba(215,166,90,.42)}
.story{line-height:1.68;font-size:18px;color:#f7ecd8}
.btns{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.lang-badge{margin:0 0 8px;color:#f0d8b2;font-size:14px}
button{
  border:1px solid #9a6a36;
  background:linear-gradient(145deg,#e2bc76,#b47d3e);
  color:#2a1709;
  padding:10px 12px;border-radius:10px;font-weight:800;cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
button.ghost{
  background:linear-gradient(145deg,#2f5a43,#254a37);
  color:#e9dfce;
  border-color:#5d8d73;
}
.poi{font-size:14px;color:var(--muted)}
input{width:100%;padding:12px;border-radius:10px;border:1px solid rgba(215,166,90,.42);background:#2a1712;color:#f7ecd8;outline:none}
button:focus-visible,input:focus-visible,a:focus-visible{
  outline:3px solid rgba(215,166,90,.95);
  outline-offset:2px;
}
#citySuggestions{display:none !important}
@media (max-width:880px){.grid{grid-template-columns:1fr}.brand-mark img{width:88px;height:88px}}
@media (max-width:480px){
  .title-row{gap:2px;align-items:flex-start}
  .h1{font-size:clamp(30px,10vw,46px);line-height:1.02}
  .brand-mark img{width:78px;height:78px}
}
