/* ================================================================
   ITALIA.la  ·  v7
   Stile fedele a index.html originale
   Font:    Playfair Display (titoli) + Manrope (body)
   Palette: --primary #2563eb · --secondary #059669 · --accent #d97706
            --dark #1f2937 · --darker #111827 · --light #f9fafb
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-rounded/css/uicons-regular-rounded.css');

/* ── TOKENS ────────────────────────────────────────────── */
:root {
  --primary:       #2563eb;
  --primary-light: #3b82f6;
  --secondary:     #059669;
  --accent:        #d97706;
  --dark:          #1f2937;
  --darker:        #111827;
  --light:         #f9fafb;
  --lighter:       #f3f4f6;
  --gray:          #6b7280;
  --gray-light:    #e5e7eb;

  --radius:  12px;
  --mw:      1400px;
  --hh:      72px;        /* altezza header */
  --bar:     70px;        /* altezza mobile bar */
}

/* ── BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
[hidden] { display: none !important; }

/* ── LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-light);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--mw);
  margin: 0 auto;
}

/* Logo */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--darker);
  text-decoration: none;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo span { color: var(--accent); font-weight: 400; }

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--dark);
  font-weight: 600;
  font-size: .95rem;
  transition: color .3s;
  position: relative;
  padding: 5px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* Search toggle (mobile) */
.search-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--lighter);
  color: var(--dark);
  font-size: 1rem;
  transition: background .2s, color .2s;
  display: none;
}
.search-toggle:hover { background: var(--primary); color: #fff; }

/* Search drawer */
.header-search {
  display: none;
  background: var(--lighter);
  border-top: 1px solid var(--gray-light);
  padding: 12px 20px;
}
.header-search.open { display: block; }
.search-form { display: flex; gap: 10px; max-width: var(--mw); margin: 0 auto; }
.search-input {
  flex: 1;
  padding: .6rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--primary); }
.search-submit {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.25rem;
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .875rem;
  transition: background .2s;
}
.search-submit:hover { background: var(--primary-light); }

/* ── HERO (home) ───────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 100px 0 80px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--lighter) 0%, var(--gray-light) 100%);
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0,0 L100,0 L100,100 L0,100 Z' fill='none' stroke='white' stroke-width='.5' stroke-dasharray='5,5'/></svg>");
  opacity: .3;
}

.home-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  color: var(--darker);
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}
.home-hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: var(--accent);
}
.home-hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  margin-top: 24px;
}

/* Bottone geo */
.geo-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--primary); color: #fff;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem;
  margin-top: 32px;
  box-shadow: 0 4px 20px rgba(37,99,235,.3);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.geo-btn:hover  { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,.35); }
.geo-btn:active { transform: scale(.97); }

.hero-alt {
  margin-top: 14px;
  font-size: .875rem; color: var(--gray);
}
.hero-alt a {
  color: var(--primary); font-weight: 600;
  border-bottom: 1px solid rgba(37,99,235,.25); padding-bottom: 1px;
  transition: border-color .2s;
}
.hero-alt a:hover { border-color: var(--primary); }

/* Stat bar */
.hero-stats {
  display: inline-flex; gap: 0;
  margin-top: 40px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  overflow: hidden;
}
.hs {
  padding: 12px 20px;
  border-right: 1px solid var(--gray-light);
  text-align: center;
}
.hs:last-child { border-right: none; }
.hs-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--darker); line-height: 1;
}
.hs-l {
  font-size: .65rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gray); margin-top: 4px;
}

/* ── STATI LOADING/ERROR ───────────────────────────────── */
.state-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 20px;
  gap: 20px; text-align: center;
}
.spin {
  width: 36px; height: 36px;
  border: 2px solid var(--gray-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: _spin .7s linear infinite;
}
@keyframes _spin { to { transform: rotate(360deg); } }
.state-txt { color: var(--gray); font-size: .9375rem; }

/* ── RISULTATI ─────────────────────────────────────────── */
.results-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  padding: 40px 20px 0;
  max-width: var(--mw); margin: 0 auto;
}
.results-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--darker); letter-spacing: -.02em;
}
.results-sub { font-size: .875rem; color: var(--gray); }

/* ── CARD GRID ─────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px auto;
  max-width: var(--mw);
  padding: 0 20px;
}

/* ── CARD ARTICOLO ─────────────────────────────────────── */
.article-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  border: 1px solid var(--gray-light);
  transition: transform .4s cubic-bezier(.25,.8,.25,1),
              box-shadow .4s cubic-bezier(.25,.8,.25,1),
              border-color .4s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  border-color: var(--primary-light);
}
.article-card:active { transform: scale(.98); transition-duration: .08s; }

/* Badge */
.article-badge {
  position: absolute; top: 15px; right: 15px; z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 20px;
  background: var(--accent); color: #fff;
}
.article-badge--primary { background: var(--primary); }
.article-badge--green   { background: var(--secondary); }

/* Immagine */
.article-image-container {
  height: 220px; overflow: hidden; position: relative;
}
.article-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.article-card:hover .article-image { transform: scale(1.05); }
.article-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dde5f0, #c3d4e8);
  display: flex; align-items: center; justify-content: center;
}

/* Contenuto */
.article-content { padding: 25px; }
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--darker); line-height: 1.3;
  margin-bottom: 12px;
}
.article-excerpt {
  color: var(--gray);
  font-size: .9375rem; line-height: 1.65;
  margin-bottom: 20px;
}

/* Badge comuni piccoli */
.article-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.ab {
  font-size: .7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  color: #fff; text-transform: uppercase; letter-spacing: .05em;
}
.ab--unesco    { background: #1e40af; }
.ab--borghi    { background: #78350f; }
.ab--arancione { background: #b45309; }
.ab--blu       { background: #1d4ed8; }

/* Metadati (regione · km) */
.article-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--gray); margin-bottom: 16px;
}
.article-meta-sep { color: var(--gray-light); }
.article-meta-dist { color: var(--secondary); font-weight: 700; }

/* Link leggi */
.read-more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--primary); font-weight: 600; font-size: .9375rem;
  transition: color .3s, gap .3s;
}
.read-more::after { content: '→'; transition: transform .3s; }
.read-more:hover { color: var(--primary-light); gap: 8px; }
.read-more:hover::after { transform: translateX(3px); }

/* ── FEATURES BAND ─────────────────────────────────────── */
.features-band {
  background: var(--lighter);
  border-top: 1px solid var(--gray-light);
  padding: 48px 20px;
  margin-top: 20px;
}
.features-inner {
  max-width: var(--mw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
@media(min-width: 768px){ .features-inner { grid-template-columns: repeat(4, 1fr); } }

.feat { display: flex; align-items: flex-start; gap: 14px; }
.feat-icon { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.feat-text strong { display: block; font-weight: 700; color: var(--darker); font-size: .9375rem; }
.feat-text span { font-size: .8rem; color: var(--gray); }

/* ── PAGINATION ────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center;
  margin: 60px 0; gap: 8px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: #fff; border: 1px solid var(--gray-light);
  color: var(--dark); border-radius: 8px;
  font-weight: 600; font-family: 'Manrope', sans-serif;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.page-link:hover, .page-link.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.page-link.prev-next { width: auto; padding: 0 15px; }

/* ── DETAIL HERO ───────────────────────────────────────── */
.dh {
  position: relative; overflow: hidden;
  height: 400px;
  background: var(--darker);
}
@media(min-width: 768px){ .dh { height: 480px; } }

.dh-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  transition: transform 12s ease;
}
.dh:hover .dh-bg { transform: scale(1.04); }
.dh-bg--empty { background: linear-gradient(135deg, var(--darker), #374151); }

.dh-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(17,24,39,.85) 100%);
}

/* Breadcrumb */
.dh-bc {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  padding: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), transparent);
}
.bc {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif; font-size: .8rem;
  color: rgba(255,255,255,.65); font-weight: 500;
  max-width: var(--mw); margin: 0 auto;
}
.bc a { color: rgba(255,255,255,.65); transition: color .15s; }
.bc a:hover { color: #fff; }
.bc-sep { color: rgba(255,255,255,.3); }

/* Info bottom */
.dh-bot {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  padding: 30px 20px;
}
.dh-bot-in { max-width: var(--mw); margin: 0 auto; }

/* Badge row */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dh-badge {
  display: inline-flex; align-items: center;
  font-family: 'Manrope', sans-serif; padding: 4px 12px;
  border-radius: 20px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: #fff; cursor: pointer;
  transition: opacity .15s;
}
.dh-badge:hover { opacity: .85; }
.dh-badge--unesco    { background: rgba(30,64,175,.8); }
.dh-badge--borghi    { background: rgba(120,53,15,.8); }
.dh-badge--arancione { background: rgba(180,83,9,.8); }
.dh-badge--blu       { background: rgba(29,78,216,.8); }

.dh-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: 8px;
}
.dh-subtitle {
  font-family: 'Manrope', sans-serif; font-size: 1.05rem;
  color: rgba(255,255,255,.75); line-height: 1.55; max-width: 560px;
  font-style: italic; margin-bottom: 16px;
}
.dh-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dh-tag {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 20px;
  font-family: 'Manrope', sans-serif; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  cursor: pointer; transition: opacity .15s;
}
.dh-tag:hover { opacity: .85; }
.dh-tag--region { background: var(--accent); color: #fff; }
.dh-tag--prov   { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* ── LAYOUT ARTICOLO ───────────────────────────────────── */
.dlayout {
  max-width: var(--mw); margin: 0 auto;
  padding: 50px 20px;
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media(min-width: 960px) {
  .dlayout { grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
}
.dmain { min-width: 0; }
.dside { display: none; flex-direction: column; gap: 20px; }
@media(min-width: 960px){ .dside { display: flex; position: sticky; top: calc(var(--hh) + 20px); } }

/* ── CONTENUTO ─────────────────────────────────────────── */
.art-lead {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--dark);
  border-left: 4px solid var(--accent);
  padding: 20px 20px 20px 24px;
  background: #fef9f0;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 36px;
}
.article-section { margin-bottom: 36px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--darker); margin-bottom: 16px;
  position: relative; padding-bottom: 10px;
}
.section-title::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--accent);
}
.section-content { line-height: 1.8; color: var(--dark); font-size: .9375rem; }
.section-content p { margin-bottom: 18px; }

/* ── SIDEBAR ───────────────────────────────────────────── */
.sc {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  overflow: hidden;
}

/* Booking widget */
.bk { display: block; text-decoration: none; }
.bk-img { height: 140px; overflow: hidden; position: relative; }
.bk-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.bk:hover .bk-img img { transform: scale(1.05); }
.bk-body {
  display: flex; align-items: center; gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb); color: #fff;
}
.bk-body > i { font-size: 1.25rem; flex-shrink: 0; }
.bk-txt strong { display: block; font-size: .875rem; font-weight: 700; }
.bk-txt span   { font-size: .75rem; opacity: .82; }
.bk-cta {
  margin-left: auto; flex-shrink: 0;
  font-size: .73rem; font-weight: 700;
  padding: 5px 12px; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  transition: background .15s;
}
.bk:hover .bk-cta { background: rgba(255,255,255,.3); }

/* GYG strip */
.gyg-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, #7c2d12, #c2410c);
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 15px rgba(180,60,10,.25);
  transition: transform .2s, box-shadow .2s;
  margin: 30px 0;
}
.gyg-strip:hover  { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(180,60,10,.3); }
.gyg-strip > i   { font-size: 1.5rem; flex-shrink: 0; }
.gyg-t strong { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 2px; }
.gyg-t span   { font-size: .8rem; opacity: .85; }
.gyg-arrow { margin-left: auto; font-size: 1rem; }

/* GYG box mobile */
.gyg-mob {
  border: 1px solid var(--gray-light); border-radius: var(--radius);
  overflow: hidden; margin: 24px 0;
}
.gyg-mob-hdr {
  padding: 12px 18px; background: var(--lighter);
  border-bottom: 1px solid var(--gray-light);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gray);
}
.gyg-mob-bd { padding: 16px 18px; }
.sc-lbl {
  padding: 14px 18px 8px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gray);
}
.sc-bd { padding: 8px 18px 18px; }
@media(min-width: 960px){ .gyg-mob { display: none; } }

/* ── MAPPA ─────────────────────────────────────────────── */
.map-sec { margin: 30px 0; }
.map-sec .section-title { margin-bottom: 14px; }
.comune-map {
  width: 100%; height: 270px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  border: 1px solid var(--gray-light);
}
@media(min-width: 600px){ .comune-map { height: 340px; } }

/* ── RELATED ───────────────────────────────────────────── */
.related {
  background: var(--lighter);
  border-top: 1px solid var(--gray-light);
  padding: 60px 0;
}
.rel-in { max-width: var(--mw); margin: 0 auto; padding: 0 20px; }
.rel-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 30px;
}
.rel-hdr h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--darker); letter-spacing: -.02em;
}
.rel-more { font-size: .875rem; font-weight: 700; color: var(--primary); }

/* ── SEARCH / REGION ───────────────────────────────────── */
.spage { max-width: var(--mw); margin: 0 auto; padding: 60px 20px 80px; }
.sp-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--darker); letter-spacing: -.02em;
  margin-bottom: 8px; line-height: 1.2;
}
.sp-h1 em { font-style: italic; color: var(--primary); }
.sp-bc {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: var(--gray); margin-bottom: 12px;
}
.sp-bc a { color: var(--gray); transition: color .15s; }
.sp-bc a:hover { color: var(--primary); }
.sp-form {
  display: flex; gap: 10px; max-width: 520px; margin-bottom: 40px;
}
.sp-count { font-size: .875rem; color: var(--gray); margin-bottom: 0; }
.sp-empty {
  text-align: center; padding: 80px 20px;
  color: var(--gray); font-size: .9375rem;
}
.sp-empty i { font-size: 2.5rem; color: var(--gray-light); display: block; margin: 0 auto 16px; }

/* ── BOTTONI ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .9375rem;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--darker);
  color: #fff;
  padding: 80px 0 40px;
  margin-top: 80px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  max-width: var(--mw); margin: 0 auto; padding: 0 20px;
}
.footer-column h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 25px; position: relative;
  display: inline-block;
}
.footer-column h3::after {
  content: ''; position: absolute;
  bottom: -8px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}
.footer-column p { color: var(--gray-light); line-height: 1.6; margin-bottom: 20px; font-size: .9rem; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a {
  color: var(--gray-light); font-size: .875rem;
  transition: color .3s, transform .3s; display: inline-block;
}
.footer-column a:hover { color: #fff; transform: translateX(5px); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border-radius: 50%;
  color: #fff; font-size: 1rem;
  transition: background .3s, transform .3s;
}
.social-link:hover { background: var(--primary); transform: translateY(-3px); }

.copyright {
  text-align: center; margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--gray-light); font-size: .875rem;
  max-width: var(--mw); margin: 80px auto 0; padding: 30px 20px 0;
}

/* ── MOBILE TAB BAR ────────────────────────────────────── */
.mob-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(17,24,39,.97);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 4px; border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -2px 20px rgba(0,0,0,.5);
}
@media(max-width: 959px){
  .mob-bar { display: flex; }
  body.has-mob-bar { padding-bottom: var(--bar); }
}
.mb {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px;
  padding: 7px 4px; border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: rgba(255,255,255,.4); cursor: pointer;
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.mb:active { transform: scale(.91); transition-duration: .06s; }
.mb i { font-size: 1.25rem; line-height: 1; display: block; }
.mb--hotel { color: #93c5fd; }
.mb--hotel:hover { background: rgba(147,197,253,.1); }
.mb--tour  { color: #fbbf24; }
.mb--tour:hover  { background: rgba(251,191,36,.1); }
.mb--map   { color: #6ee7b7; }
.mb--map:hover   { background: rgba(110,231,183,.1); }

/* ── MAP OVERLAY ───────────────────────────────────────── */
.map-ovl {
  display: none; position: fixed; inset: 0; z-index: 500;
  flex-direction: column; background: var(--darker);
}
.map-ovl.open { display: flex; }
.map-ovl-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top)) 16px 16px;
  background: #1f2937; border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.map-ovl-title {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .9375rem; color: #fff;
}
.map-ovl-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1rem;
  transition: background .15s;
}
.map-ovl-close:hover { background: rgba(255,255,255,.2); }
#nearby-map { flex: 1; }

/* ── LEAFLET POPUP ─────────────────────────────────────── */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important; padding: 0 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.2) !important;
  border: none !important; overflow: hidden;
}
.leaflet-popup-content { margin: 0 !important; font-family: 'Manrope', sans-serif !important; min-width: 160px; }
.leaflet-popup-tip-container { display: none; }
.pp { padding: 14px 16px; }
.pp-n { font-family: 'Playfair Display', serif; font-weight: 700; font-size: .9375rem; color: var(--darker); margin-bottom: 4px; }
.pp-m { font-size: .75rem; color: var(--gray); margin-bottom: 10px; }
.pp-a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8125rem; font-weight: 700; color: #fff;
  background: var(--primary); padding: 5px 14px;
  border-radius: 8px; transition: background .15s;
}
.pp-a:hover { background: var(--primary-light); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media(max-width: 1024px){
  .dlayout { padding: 40px 20px; }
}
@media(max-width: 768px){
  .header-inner { padding: 12px 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .875rem; }
  .search-toggle { display: flex; }
  .home-hero { padding: 70px 0 50px; }
  .articles-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
  .hero-stats { flex-wrap: wrap; }
  footer { padding: 60px 0 30px; margin-top: 60px; }
  .footer-container { gap: 36px; }
}
@media(max-width: 520px){
  .nav-links { display: none; }
  .search-toggle { display: flex; }
  .home-hero h1 { font-size: 1.8rem; }
  .home-hero p  { font-size: 1rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .hero-stats .hs { padding: 10px 14px; }
}
