:root {
  --green:      #1f6b4f;
  --green-deep: #123b2c;
  --green-soft: #e6efe9;
  --terra:      #c65d3b;
  --terra-dark: #a8482c;
  --gold:       #b98a3e;
  --navy:       #1b357e;   /* del logo */
  --cream:      #f7f2e8;
  --cream-2:    #efe7d7;
  --paper:      #fffdf8;
  --ink:        #253029;
  --muted:      #6f7d74;
  --line:       #e7ddcc;
  --shadow:     0 8px 30px rgba(18, 59, 44, 0.08);
  --shadow-lg:  0 18px 50px rgba(18, 59, 44, 0.16);
  --radius:     16px;
  --radius-sm:  10px;
  --maxw:       1180px;
  --display:    'Cormorant Garamond', Georgia, serif;
  --head:       'Playfair Display', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.65; }
body.rtl { font-family: 'Cairo', var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.18; color: var(--green-deep); margin: 0 0 .4em; }
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4 { font-family: 'Cairo', var(--head); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 58px 22px; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

.kicker { display: inline-block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin-bottom: 10px; }
.kicker.light { color: var(--gold); }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-intro { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; padding: 12px 22px; flex-wrap: wrap; }
.brand-logo { height: 46px; width: auto; }
.topbar-tools { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.search-mini { display: flex; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search-mini input { border: 0; background: transparent; padding: 9px 16px; font: inherit; width: 160px; outline: none; }
.search-mini button { border: 0; background: transparent; padding: 9px 12px; cursor: pointer; }
.chip-climate { font-size: .8rem; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.lang-switch { display: flex; gap: 3px; }
.lang-switch a { font-size: .76rem; font-weight: 700; color: var(--muted); padding: 5px 8px; border-radius: 7px; }
.lang-switch a.active { background: var(--green); color: #fff; }
.lang-switch a:hover { text-decoration: none; background: var(--green-soft); }
.lang-switch a.active:hover { background: var(--green); color: #fff; }

.mainnav { background: var(--green-deep); }
.mainnav-inner { display: flex; gap: 2px; padding: 0 22px; flex-wrap: wrap; }
.mainnav a { color: #d9e5de; padding: 13px 16px; font-size: .9rem; font-weight: 500; border-bottom: 3px solid transparent; }
.mainnav a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.06); }
.mainnav a.active { color: #fff; border-bottom-color: var(--gold); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--green-deep); margin-inline-start: auto; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(circle at 50% -10%, #fffdf8, var(--cream) 55%); text-align: center; padding: 56px 0 46px; border-bottom: 1px solid var(--line); }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero-badges span { font-size: .78rem; font-weight: 600; color: var(--green-deep); background: var(--paper); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.hero-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 5.5vw, 4rem); color: var(--green-deep); max-width: 15ch; margin: 0 auto .35em; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 1.08rem; }
.hero-search { display: flex; max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 7px; box-shadow: var(--shadow); gap: 6px; flex-wrap: wrap; }
.hero-search input { flex: 1 1 220px; border: 0; background: transparent; padding: 12px 16px; font: inherit; outline: none; }
.hero-search select { border: 0; background: var(--cream); border-radius: 10px; padding: 0 12px; font: inherit; color: var(--ink); cursor: pointer; outline: none; }
.hero-search button { border: 0; background: var(--terra); color: #fff; padding: 12px 24px; border-radius: 10px; font-weight: 600; cursor: pointer; font: inherit; }
.hero-search button:hover { background: var(--terra-dark); }
.trending { margin-top: 20px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .88rem; }
.trending-label { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; }
.trending a { background: var(--green-soft); color: var(--green-deep); padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.trending a:hover { text-decoration: none; background: #d6e6dd; }

/* ---------- Placeholders por categoría ---------- */
.ph-see    { background: linear-gradient(135deg, #e7d9bd, #9bb49a); }
.ph-eat    { background: linear-gradient(135deg, #e6b893, #c65d3b); }
.ph-sleep  { background: linear-gradient(135deg, #cde0d6, #5f9b84); }
.ph-beach  { background: linear-gradient(135deg, #bfe0e6, #3f90a8); }
.ph-shop   { background: linear-gradient(135deg, #ecd3a0, #b98a3e); }
.ph-practical { background: linear-gradient(135deg, #cfd8d2, #6f8a7e); }
.ph-icon { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 4rem; font-weight: 700; color: rgba(255,255,255,.55); }

/* ---------- Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 158px; gap: 16px; padding-top: 34px; padding-bottom: 8px; }
.mosaic-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: #fff; }
.mosaic-item.big { grid-row: span 2; }
.mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,59,44,.78), transparent 55%); }
.mosaic-cap { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 2; }
.mosaic-cat { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.22); backdrop-filter: blur(3px); padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.mosaic-cap strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.mosaic-item.big .mosaic-cap strong { font-size: 2rem; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.collection { padding: 26px 22px; color: var(--ink); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: background .15s; }
.collection:last-child { border-inline-end: 0; }
.collection:hover { background: var(--green-soft); text-decoration: none; }
.collection-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; margin-bottom: 8px; box-shadow: 0 2px 10px rgba(18,59,44,.08); }
.collection-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-ico-sm { width: 22px; height: 22px; object-fit: cover; border-radius: 5px; vertical-align: middle; display: inline-block; margin-inline-end: 4px; }
.collection h3 { font-family: var(--head); font-size: 1.12rem; margin: 0; }
.collection-count { font-size: .8rem; color: var(--muted); }
.collection-link { font-size: .82rem; font-weight: 700; color: var(--terra); margin-top: 6px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.badge { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-start: 10px; background: rgba(18,59,44,.82); color: #fff; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-star { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px; background: var(--gold); color: #3a2a00; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: .8rem; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-body h3 { font-family: var(--head); font-size: 1.18rem; margin: 0; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--terra); font-weight: 700; }
.card-desc { font-size: .9rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-link { margin-top: auto; font-size: .84rem; font-weight: 700; color: var(--green); }

/* ---------- Route ---------- */
.route { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.route-body { padding: 36px 34px; }
.route-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.route-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.route-step { border-inline-start: 2px solid var(--green-soft); padding-inline-start: 12px; }
.route-n { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--terra); }
.route-step strong { display: block; margin: 2px 0 4px; }
.route-step p { margin: 0; font-size: .86rem; color: var(--muted); }
.route-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.route-meta { font-size: .85rem; color: var(--muted); }
.route-aside { position: relative; min-height: 320px; }
.route-tip { position: absolute; inset-inline: 18px; bottom: 18px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 12px 16px; font-size: .85rem; color: var(--green-deep); box-shadow: var(--shadow); }

/* ---------- Food ---------- */
.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.food-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.food-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.food-media { aspect-ratio: 16 / 9; position: relative; }
.food-media img { width: 100%; height: 100%; object-fit: cover; }
.food-body { padding: 16px 20px 20px; }
.food-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.food-loc { font-size: .78rem; color: var(--muted); }
.food-body h3 { font-family: var(--head); font-size: 1.3rem; margin: 2px 0 6px; }

/* ---------- Map CTA ---------- */
.mapcta { background: linear-gradient(135deg, var(--green-deep), #0d2e22); color: #dfeae4; }
.mapcta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 22px; }
.mapcta-preview { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.08); }
#minimap { height: 320px; width: 100%; background: #0d2e22; }
.mapcta-text h2 { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.mapcta-text p { color: #c3d4cc; margin-bottom: 22px; }
.mapcta-feats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #bcd0c7; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; background: var(--green); color: #fff; padding: 11px 20px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; transition: all .15s; }
.btn:hover { background: var(--green-deep); text-decoration: none; }
.btn-accent { background: var(--terra); }
.btn-accent:hover { background: var(--terra-dark); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--green); color: var(--green); background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 600; white-space: nowrap; }
.btn-outline:hover { background: var(--green); color: #fff; text-decoration: none; }

/* ---------- Breadcrumb / inner pages ---------- */
.main { padding: 36px 22px 60px; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.count-pill { background: var(--green-soft); color: var(--green-deep); font-weight: 700; padding: 2px 12px; border-radius: 999px; font-size: .9rem; }
.link-more { font-weight: 600; }

/* place detail */
.place-hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; box-shadow: var(--shadow); margin-bottom: 26px; position: relative; }
.place-hero img { width: 100%; height: 100%; object-fit: cover; }
.place-hero.placeholder .ph-icon, .place-hero .ph-icon { font-size: 6rem; }
.img-credit { position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 2; background: rgba(18,59,44,.72); color: #fff; font-size: .68rem; padding: 3px 9px; border-radius: 999px; }
.place-main { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.place-text h1 { font-family: var(--display); font-weight: 600; font-size: 2.6rem; margin-top: 4px; }
.place-desc { font-size: 1.06rem; white-space: pre-line; }
.place-info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 20px; box-shadow: var(--shadow); position: sticky; top: 120px; }
.info-row { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.place-map, .full-map { height: 400px; border-radius: var(--radius); margin-top: 30px; box-shadow: var(--shadow); z-index: 1; }
.full-map { height: 560px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 50px 22px 34px; }
.footer-logo { height: 42px; margin-bottom: 14px; }
.footer-about p { color: var(--muted); font-size: .92rem; }
.footer-badge { display: inline-block; margin-top: 10px; font-size: .78rem; color: var(--green); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.footer-col h4 { font-family: var(--head); font-size: 1.05rem; margin-bottom: 14px; color: var(--green-deep); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col li, .footer-col a { color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--green); }
.footer-langs { display: flex; gap: 6px; margin-top: 16px; }
.footer-langs a { font-weight: 700; font-size: .78rem; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; border-radius: 7px; }
.footer-langs a.active { background: var(--green); color: #fff; border-color: var(--green); }
.footer-bottom { background: var(--green-deep); color: #bcd0c7; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 16px 22px; font-size: .84rem; }
.admin-link { color: #9fc0b2; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 22px; }
.notfound h1 { font-family: var(--display); font-size: 6rem; color: var(--gold); margin: 0; }

/* =========================================================
   ADMIN
   ========================================================= */
.admin-body { background: #eef1ee; }
.admin-header { background: var(--green-deep); color: #fff; }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; }
.admin-brand { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.admin-brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; display: grid; place-items: center; font-family: 'Cairo', serif; font-size: 1.2rem; font-weight: 700; }
.brand-mark.sm { width: 34px; height: 34px; font-size: 1rem; }
.admin-tools { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.admin-view-site { color: #bcd6c9; }
.admin-user { color: #e6efe9; }
.admin-main { padding: 30px 22px 60px; max-width: var(--maxw); margin: 0 auto; }
.admin-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.admin-page-head h1 { margin: 0; font-family: var(--head); }
.admin-stats { display: flex; gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 26px; text-align: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--green-deep); font-family: var(--display); font-weight: 700; }
.stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { background: #f6f8f6; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.thumb-cell img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; }
.city-tag { font-size: .74rem; font-weight: 600; text-transform: capitalize; background: var(--green-soft); color: var(--green-deep); padding: 3px 9px; border-radius: 999px; }
.no-thumb { color: var(--line); }
.actions { display: flex; gap: 6px; justify-content: flex-end; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--green); color: var(--green); }
.btn-danger { background: #fff; border: 1px solid #e0b4b4; color: #b23b3b; }
.btn-danger:hover { background: #b23b3b; border-color: #b23b3b; color: #fff; }
.btn-primary { background: var(--terra); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-sm { padding: 5px 10px; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }
.place-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 18px; background: #fff; }
.place-form legend { font-weight: 700; color: var(--green-deep); padding: 0 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.place-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.place-form input, .place-form textarea, .place-form select { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.place-form input:focus, .place-form textarea:focus, .place-form select:focus { outline: 2px solid var(--green-soft); border-color: var(--green); }
.place-form textarea { resize: vertical; }
.place-form label.check { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink); }
.place-form label.check input { width: auto; margin: 0; }
.coord-row { display: flex; gap: 12px; }
.coord-row label { flex: 1; }
.pick-map { height: 260px; border-radius: 8px; margin-top: 6px; z-index: 1; }
.current-img img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.form-actions { display: flex; gap: 12px; margin-top: 10px; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-deep), var(--green)); padding: 20px; }
.login-card { background: #fff; border-radius: 18px; padding: 40px 34px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); text-align: center; }
.login-mark { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; display: grid; place-items: center; font-family: 'Cairo', serif; font-size: 2rem; font-weight: 700; }
.login-card h1 { font-size: 1.4rem; margin-bottom: 20px; font-family: var(--head); }
.login-card label { display: block; text-align: start; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.login-card input { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.alert { background: #fde8e8; color: #b23b3b; border: 1px solid #f3c2c2; padding: 10px 14px; border-radius: 8px; font-size: .88rem; margin-bottom: 16px; }
.back-site { display: inline-block; margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ---------- City switcher (header) ---------- */
.city-switch { display: inline-flex; align-items: center; gap: 7px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 10px; }
.city-dot { width: 12px; height: 12px; border-radius: 999px; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.city-switch select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--green-deep); cursor: pointer; outline: none; padding-inline-end: 2px; }

/* ---------- Mini header (chooser / 404) ---------- */
.mini-header { background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 0; position: sticky; top: 0; z-index: 900; }
.mini-header-inner { display: flex; align-items: center; justify-content: space-between; }
.mini-header .brand-logo { height: 44px; }

/* ---------- City chooser ---------- */
.chooser-hero { background: radial-gradient(circle at 50% -20%, #fffdf8, var(--cream) 60%); text-align: center; padding: 60px 20px 34px; border-bottom: 1px solid var(--line); }
.chooser-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.chooser-hero p { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.city-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; border-top: 4px solid var(--accent); }
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; }
.city-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.city-initial { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.8rem; }
.city-count { font-size: .8rem; color: var(--muted); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; font-weight: 600; }
.city-card h2 { font-family: var(--head); font-size: 1.5rem; margin: 2px 0 0; color: var(--accent-deep); }
.city-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.city-go { font-weight: 700; color: var(--accent); margin-top: 6px; }
.chooser-footer { background: var(--green-deep); color: #bcd0c7; margin-top: 50px; font-size: .84rem; }
.chooser-footer .admin-link { color: #9fc0b2; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .mapcta-inner { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .route-aside { min-height: 200px; }
  .place-main { grid-template-columns: 1fr; }
  .place-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .mosaic-item.big { grid-row: span 1; }
  .route-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* --- Header móvil --- */
  .topbar-inner { flex-wrap: wrap; gap: 12px; }
  .brand-logo { height: 38px; }
  .nav-toggle { display: block; order: 2; margin-inline-start: auto; color: var(--green-deep); }
  .topbar-tools { order: 3; flex-basis: 100%; margin-inline-start: 0; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .chip-climate { display: none; }
  .search-mini { flex: 1 1 auto; }
  .search-mini input { width: 100%; }
  /* La barra de navegación verde se oculta y se despliega con el botón ☰ */
  .mainnav { display: none; }
  body.nav-open .mainnav { display: block; }
  .mainnav-inner { flex-direction: column; padding: 0; }
  .mainnav a { padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.08); border-left: 0; }
  .mainnav a.active { border-bottom-color: rgba(255,255,255,.08); background: rgba(255,255,255,.06); }
}
