:root {
  --green-950: #002c24;
  --green-900: #003b30;
  --green-850: #004638;
  --green-800: #075643;
  --green-700: #0b7352;
  --green-600: #0f8b5a;
  --green-500: #25b86f;
  --green-400: #45c978;
  --green-300: #78e19f;
  --mint: #d9f6e4;
  --paper: #ffffff;
  --paper-soft: #f4f7f5;
  --ink: #10231d;
  --muted: #60726b;
  --line: rgba(16, 35, 29, 0.12);
  --dark-line: rgba(255, 255, 255, 0.14);
  --danger: #c94b4b;
  --success: #17884f;
  --display: "Oswald", Arial, sans-serif;
  --ui: "Quicksand", Arial, sans-serif;
  --max: 1180px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 18px 45px rgba(0, 31, 24, 0.18);
  --shadow-card: 0 12px 28px rgba(0, 31, 24, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--green-950); }
body {
  margin: 0;
  min-width: 320px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 5%, rgba(69, 201, 120, 0.16), transparent 22rem),
    linear-gradient(180deg, var(--green-950), var(--green-900) 42%, #003126 100%);
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { color: var(--green-950); background: var(--green-300); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 24px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 10px 14px; color: var(--green-950); background: #fff; border-radius: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.ambient, .grain { display: none; }
.glass { position: relative; }
.eyebrow { color: var(--green-300); font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-500)); box-shadow: 0 10px 22px rgba(20, 160, 93, .25); }
.button--primary:hover { background: linear-gradient(135deg, var(--green-500), var(--green-400)); }
.button--ghost { color: #fff; border-color: var(--dark-line); background: rgba(255,255,255,.06); }
.button--ghost:hover { border-color: rgba(120,225,159,.65); background: rgba(255,255,255,.1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(0,44,36,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.header-shell { min-height: 72px; display: flex; align-items: center; gap: 14px; }
.brand { width: 178px; flex: 0 0 auto; }
.brand-logo { width: 100%; height: auto; }
.nav { display: none; }
.header-cta { display: inline-flex; min-height: 42px; margin-left: auto; align-items: center; justify-content: center; gap: 9px; padding: 0 13px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-500)); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.header-cta b { display: grid; width: 21px; height: 21px; place-items: center; color: var(--green-800); background: #fff; border-radius: 50%; font-size: 1rem; line-height: 1; }
.header-cta span { display: none; }
.menu-button { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.menu-button svg { width: 27px; height: 27px; }
.mobile-menu { position: fixed; top: 72px; right: 0; bottom: 0; left: 0; z-index: 120; display: none; padding: 18px 18px 96px; background: rgba(0,44,36,.985); overflow-y: auto; }
.mobile-menu.open { display: grid; align-content: start; animation: menuIn .18s ease both; }
.mobile-menu a { min-height: 52px; display: flex; align-items: center; padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; }
.mobile-menu .mobile-cta { justify-content: center; margin-top: 18px; border: 0; border-radius: 14px; color: #fff; background: var(--green-600); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* Home hero */
.home-hero { position: relative; min-height: 580px; overflow: hidden; background: linear-gradient(150deg, rgba(0,42,34,.3), rgba(0,68,54,.2)); }
.home-hero-bg { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(160deg, #083f34 0%, #005342 48%, #00362d 100%); }
.home-hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(148,236,179,.22), transparent 14rem), linear-gradient(180deg, rgba(0,20,16,.02), rgba(0,28,22,.6)); }
.hero-shape { position: absolute; display: block; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(135deg, rgba(123,221,156,.22), rgba(0,48,38,.05)); border-radius: 65% 35% 62% 38% / 58% 35% 65% 42%; }
.hero-shape--one { width: 310px; height: 170px; top: -38px; right: -90px; transform: rotate(23deg); }
.hero-shape--two { width: 270px; height: 150px; right: -85px; bottom: 62px; transform: rotate(-24deg); }
.hero-sun { position: absolute; width: 108px; height: 108px; top: 120px; right: 28px; border-radius: 50%; background: rgba(218,255,221,.34); box-shadow: 0 0 50px rgba(176,246,193,.24); }
.hero-water { position: absolute; right: -5%; bottom: -20px; left: -5%; height: 210px; border-radius: 50% 50% 0 0 / 28% 28% 0 0; background: linear-gradient(180deg, rgba(29,119,87,.56), rgba(0,33,26,.96)); }
.hero-water::before, .hero-water::after { content: ""; position: absolute; right: 10%; left: 10%; height: 1px; background: rgba(255,255,255,.25); }
.hero-water::before { top: 44px; box-shadow: 0 30px rgba(255,255,255,.15), 0 58px rgba(255,255,255,.09); }
.hero-tower { position: absolute; right: 16%; bottom: 142px; width: 18px; height: 150px; background: rgba(1,31,24,.72); box-shadow: 34px 50px 0 -4px rgba(1,31,24,.72); }
.hero-tower::before { content: ""; position: absolute; top: -34px; left: -6px; width: 30px; height: 34px; clip-path: polygon(50% 0,100% 100%,0 100%); background: rgba(1,31,24,.72); }
.home-hero-inner { position: relative; z-index: 2; display: flex; min-height: 580px; flex-direction: column; justify-content: flex-end; padding-top: 68px; padding-bottom: 28px; }
.home-hero-copy { max-width: 600px; }
.home-kicker { display: inline-block; margin-bottom: 10px; color: var(--green-300); font-family: var(--display); font-size: .72rem; letter-spacing: .1em; }
.home-hero h1 { margin: 0; color: #fff; font-family: var(--display); font-size: clamp(3.45rem, 16vw, 6rem); font-weight: 700; line-height: .96; letter-spacing: -.02em; text-shadow: 0 8px 24px rgba(0,0,0,.22); }
.home-hero-copy p { max-width: 480px; margin: 16px 0 22px; color: rgba(255,255,255,.9); font-size: .98rem; line-height: 1.55; }
.home-search { display: grid; grid-template-columns: 26px 1fr 48px; gap: 8px; align-items: center; width: 100%; min-height: 60px; padding: 6px 7px 6px 18px; color: var(--green-800); background: #fff; border-radius: 999px; box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.home-search > span svg { width: 21px; height: 21px; }
.home-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .85rem; font-weight: 600; }
.home-search input::placeholder { color: #819089; }
.home-search button { display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-400)); cursor: pointer; }
.home-search button svg { width: 21px; height: 21px; }
.quick-chips { display: flex; gap: 8px; margin-top: 14px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.quick-chips::-webkit-scrollbar { display: none; }
.quick-chips a { display: inline-flex; flex: 0 0 auto; min-height: 36px; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; background: rgba(0,87,66,.68); font-size: .73rem; font-weight: 700; backdrop-filter: blur(10px); }
.quick-chips svg { width: 16px; height: 16px; }

/* Home sections */
.home-section { padding: 34px 0; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.home-section-head > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.home-section-head > div > span { width: 20px; height: 4px; flex: 0 0 auto; border-radius: 999px; background: var(--green-400); }
.home-section-head h2 { margin: 0; color: #fff; font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-section-head > a { flex: 0 0 auto; color: var(--green-300); font-size: .72rem; font-weight: 700; }
.home-category-scroller, .home-card-scroller { display: flex; gap: 10px; margin-inline: -12px; padding: 2px 12px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-category-scroller::-webkit-scrollbar, .home-card-scroller::-webkit-scrollbar { display: none; }
.home-category-card { position: relative; display: flex; min-width: 142px; min-height: 144px; flex: 0 0 142px; flex-direction: column; align-items: flex-start; padding: 16px; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); scroll-snap-align: start; transition: transform .18s ease; }
.home-category-card:hover { transform: translateY(-3px); }
.home-category-card > span { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 13px; border: 1px solid rgba(14,113,78,.22); border-radius: 15px; color: var(--green-700); background: #f4faf6; }
.home-category-card svg { width: 25px; height: 25px; }
.home-category-card strong { font-size: .92rem; }
.home-category-card small { margin-top: 3px; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.home-category-card b { position: absolute; top: 14px; right: 14px; color: var(--green-600); font-size: .66rem; }

/* Place cards */
.place-card { position: relative; min-width: 278px; flex: 0 0 278px; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 18px; box-shadow: var(--shadow-card); scroll-snap-align: start; }
.place-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8f0eb; }
.place-card-media > img { width: 100%; height: 100%; object-fit: cover; }
.category-chip { position: absolute; top: 11px; left: 11px; z-index: 3; padding: 6px 9px; border-radius: 8px; color: #fff; background: var(--green-600); font-size: .61rem; font-weight: 700; }
.card-favorite { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: rgba(0,42,34,.55); border-radius: 50%; backdrop-filter: blur(8px); }
.card-favorite svg { width: 18px; height: 18px; }
.place-card-body { padding: 14px; }
.place-card h3 { margin: 0 0 4px; font-size: .94rem; line-height: 1.25; }
.place-card h3 a:hover { color: var(--green-700); }
.place-card-category { margin: 0 0 8px; color: var(--muted); font-size: .68rem; }
.place-card-category b { margin: 0 5px; color: #a5b0ab; }
.place-address { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.place-address svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--green-600); }
.place-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 13px; }
.card-primary { display: flex; min-height: 39px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-500)); font-size: .72rem; font-weight: 700; }
.card-call { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(8,98,67,.2); border-radius: 10px; color: var(--green-700); background: #eff8f2; }
.card-call svg { width: 18px; height: 18px; }
.place-art { position: relative; display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #16855e, #004638 60%, #002c24); }
.place-art::before { content: ""; position: absolute; width: 190px; height: 190px; top: -80px; right: -50px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.place-art-orbit { position: absolute; width: 110px; height: 110px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.place-art-lines { position: absolute; right: -5%; bottom: -22px; left: -5%; height: 70px; border-radius: 50% 50% 0 0; background: rgba(0,41,32,.54); }
.place-art-icon { position: absolute; top: 14px; right: 14px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.place-art-icon svg { width: 19px; height: 19px; }
.place-art strong { position: relative; z-index: 2; font-family: var(--display); font-size: 4.2rem; font-weight: 700; letter-spacing: -.08em; }
.place-art small { position: absolute; bottom: 12px; left: 12px; z-index: 2; color: rgba(255,255,255,.7); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.place-art--cabanas { background: linear-gradient(145deg, #5f763e, #255d3d 55%, #00382c); }
.place-art--lugares-turisticos { background: linear-gradient(145deg, #14856e, #08614d 55%, #00382e); }
.place-art--farmacias { background: linear-gradient(145deg, #0b9f65, #08734e 55%, #00382b); }
.place-art--comercios { background: linear-gradient(145deg, #347e54, #07553f 55%, #003429); }

/* City promo */
.city-promo { display: grid; gap: 18px; padding: 22px; border: 1px solid rgba(255,255,255,.32); border-radius: 22px; background: linear-gradient(135deg, rgba(0,77,60,.72), rgba(0,48,39,.96)); overflow: hidden; }
.city-promo-copy { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: start; }
.promo-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(120,225,159,.45); border-radius: 50%; color: var(--green-300); }
.promo-icon svg { width: 27px; height: 27px; }
.city-promo h2 { margin: 0; font-family: var(--display); font-size: 1.45rem; }
.city-promo h3 { margin: 2px 0 10px; color: var(--mint); font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: .04em; }
.city-promo p { margin: 0; color: rgba(255,255,255,.82); font-size: .77rem; line-height: 1.55; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.promo-actions a { padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; font-size: .65rem; font-weight: 700; }
.city-promo-art { position: relative; min-height: 160px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #6ebc8a, #277357 45%, #034333); }
.promo-sun { position: absolute; width: 68px; height: 68px; top: 20px; right: 34px; border-radius: 50%; background: rgba(247,255,221,.72); box-shadow: 0 0 45px rgba(247,255,221,.25); }
.promo-river { position: absolute; right: -10%; bottom: -32px; left: -10%; height: 105px; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, rgba(17,120,89,.68), #00362c); }
.promo-river::after { content: ""; position: absolute; top: 29px; right: 10%; left: 10%; height: 1px; background: rgba(255,255,255,.42); box-shadow: 0 21px rgba(255,255,255,.19); }
.promo-palms { position: absolute; bottom: 48px; left: 28px; width: 7px; height: 54px; background: #064031; box-shadow: 42px 10px 0 -1px #064031, 79px -1px 0 #064031; }
.promo-palms::before { content: ""; position: absolute; width: 48px; height: 21px; top: -12px; left: -21px; border-radius: 50%; background: #07533e; box-shadow: 42px 10px #07533e, 78px -1px #07533e; }

/* Service panels */
.service-grid { display: grid; gap: 12px; }
.service-panel { padding: 17px; color: var(--ink); background: #fff; border-radius: 19px; box-shadow: var(--shadow-card); }
.service-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.service-head > div { display: flex; align-items: center; gap: 8px; }
.service-head > div > span { width: 16px; height: 4px; border-radius: 99px; background: var(--green-500); }
.service-head h2 { margin: 0; font-family: var(--display); font-size: 1.14rem; font-weight: 600; }
.service-head > a { color: var(--green-700); font-size: .66rem; font-weight: 700; }
.current-duty { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 13px; background: var(--paper-soft); border-radius: 15px; }
.current-duty-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(12,133,82,.24); border-radius: 50%; color: var(--green-700); background: #fff; }
.current-duty-icon svg { width: 25px; height: 25px; }
.current-duty strong { display: block; font-size: .86rem; }
.current-duty p { display: flex; gap: 5px; margin: 3px 0; color: var(--muted); font-size: .65rem; }
.current-duty p svg { width: 13px; height: 13px; color: var(--green-600); }
.current-duty small { color: var(--green-700); font-size: .61rem; font-weight: 700; }
.current-duty > a { grid-column: 1 / -1; display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; color: #fff; background: var(--green-600); font-size: .7rem; font-weight: 700; }
.current-duty > a svg { width: 17px; height: 17px; }
.useful-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.useful-grid a { display: grid; min-height: 92px; place-items: center; align-content: center; gap: 8px; color: var(--ink); background: var(--paper-soft); border: 1px solid rgba(12,94,68,.1); border-radius: 14px; text-align: center; }
.useful-grid svg { width: 27px; height: 27px; color: var(--green-700); }
.useful-grid span { font-size: .65rem; font-weight: 700; }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(0,42,34,.35); }
.proof-strip > div { text-align: center; }
.proof-strip strong { display: block; color: var(--green-300); font-family: var(--display); font-size: 1.6rem; }
.proof-strip span { color: rgba(255,255,255,.72); font-size: .57rem; }
.proof-strip > a { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); color: #fff; font-size: .67rem; font-weight: 700; }
.proof-strip svg { width: 15px; height: 15px; }

/* Shared internal pages */
.section { padding: 34px 0; }
.page-hero { padding: 34px 0 12px; }
.page-hero-grid { display: grid; gap: 20px; padding: 27px 22px; border-radius: 24px; background: linear-gradient(135deg, var(--green-800), var(--green-950)); border: 1px solid var(--dark-line); }
.page-hero h1 { margin: 7px 0 12px; font-family: var(--display); font-size: clamp(2.8rem, 14vw, 5rem); font-weight: 700; line-height: 1; }
.page-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); }
.page-hero-symbol { display: grid; width: 92px; height: 92px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; color: var(--green-300); background: rgba(255,255,255,.06); }
.page-hero-symbol svg { width: 42px; height: 42px; }
.page-count { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.page-count strong { color: var(--green-300); font-family: var(--display); font-size: 2.2rem; }
.page-count span { color: rgba(255,255,255,.7); font-size: .72rem; }
.directory-toolbar, .category-search { display: grid; gap: 9px; padding: 10px; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); }
.toolbar-search, .directory-toolbar label, .category-search > div { display: flex; min-height: 47px; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--green-700); background: var(--paper-soft); }
.toolbar-search svg, .directory-toolbar label svg, .category-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.directory-toolbar input, .directory-toolbar select, .category-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.directory-toolbar select { min-width: 0; }
.results-head { display: flex; align-items: baseline; gap: 8px; margin: 25px 0 15px; }
.results-head strong { font-family: var(--display); font-size: 2.4rem; }
.results-head span, .results-head p { color: rgba(255,255,255,.72); }
.results-head p { margin-left: auto; font-size: .75rem; }
.directory-grid { display: grid; grid-template-columns: 1fr; gap: 13px; }
.directory-grid .place-card { min-width: 0; width: 100%; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 26px; }
.pagination a, .pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: #fff; }
.pagination a[aria-current="page"] { color: var(--green-950); background: var(--green-300); border-color: var(--green-300); }
.empty-state { padding: 44px 22px; border: 1px dashed rgba(255,255,255,.22); border-radius: 24px; text-align: center; }
.empty-state span { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 14px; border-radius: 50%; color: var(--green-300); background: rgba(255,255,255,.07); }
.empty-state svg { width: 28px; height: 28px; }
.empty-state h2 { margin: 0 0 7px; font-family: var(--display); font-size: 2rem; }
.empty-state p { margin: 0; color: rgba(255,255,255,.68); }

/* Duty page */
.duty-page-grid { display: grid; gap: 14px; }
.duty-column { padding: 19px; color: var(--ink); background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); }
.duty-column-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.duty-column h2 { margin: 3px 0 0; font-family: var(--display); font-size: 2.5rem; color: var(--ink); }
.duty-column .eyebrow { color: var(--green-700); }
.duty-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 7px rgba(37,184,111,.14); }
.duty-page-list { display: grid; gap: 10px; }
.duty-page-list article { display: grid; grid-template-columns: 46px 1fr; gap: 11px; padding: 13px; background: var(--paper-soft); border-radius: 15px; }
.duty-place-icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--green-700); background: #fff; border: 1px solid rgba(16,139,90,.2); border-radius: 50%; }
.duty-place-icon svg { width: 23px; height: 23px; }
.duty-page-list h3 { margin: 0 0 4px; font-size: .9rem; }
.duty-page-list p { display: flex; gap: 5px; margin: 0; color: var(--muted); font-size: .66rem; }
.duty-page-list p svg { width: 13px; height: 13px; color: var(--green-600); }
.duty-page-list small { color: var(--green-700); font-size: .58rem; }
.duty-page-list .button { grid-column: 1 / -1; margin-top: 3px; }
.duty-page-empty { padding: 35px 18px; color: var(--muted); background: var(--paper-soft); border-radius: 16px; text-align: center; }
.duty-page-empty svg { width: 34px; height: 34px; margin: auto; color: var(--green-600); }
.source-banner { display: flex; gap: 12px; margin-top: 14px; padding: 17px; color: var(--ink); background: #fff; border-radius: 18px; }
.source-banner > span { color: var(--green-600); }
.source-banner svg { width: 23px; height: 23px; }
.source-banner p { margin: 3px 0 0; color: var(--muted); font-size: .68rem; }

/* Detail */
.detail-hero { padding: 34px 0 10px; }
.detail-hero-grid { display: grid; gap: 20px; }
.detail-hero-media { min-height: 300px; overflow: hidden; border-radius: 24px; background: #e8f0eb; }
.detail-hero-media .place-art { min-height: 300px; }
.detail-hero-copy .category-chip { position: static; display: inline-flex; }
.detail-hero-copy h1 { margin: 16px 0 11px; font-family: var(--display); font-size: clamp(3rem, 14vw, 5.5rem); line-height: .98; }
.detail-address { color: var(--green-300); }
.detail-hero-copy > p:not(.detail-address) { color: rgba(255,255,255,.72); }
.detail-actions { display: grid; gap: 9px; margin-top: 20px; }
.detail-info, .source-panel { padding: 20px; color: var(--ink); background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); }
.detail-info .eyebrow, .source-panel .eyebrow { color: var(--green-700); }
.detail-info h2, .source-panel h2 { margin: 7px 0 18px; font-family: var(--display); font-size: 2.1rem; }
.detail-layout { display: grid; gap: 14px; }
.detail-facts { display: grid; gap: 9px; }
.detail-facts > div { padding: 15px; background: var(--paper-soft); border-radius: 14px; }
.detail-facts > div > span { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 11px; border-radius: 12px; color: var(--green-700); background: #fff; }
.detail-facts svg { width: 20px; height: 20px; }
.detail-facts strong { display: block; font-size: .66rem; text-transform: uppercase; }
.detail-facts p { margin: 4px 0 0; color: var(--muted); font-size: .76rem; }
.source-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .73rem; }
.source-row span { color: var(--muted); text-align: right; }
.source-panel > p { color: var(--muted); font-size: .7rem; }

/* Map */
.map-shell { position: relative; min-height: 500px; padding: 7px; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); }
.map { min-height: 485px; border-radius: 17px; overflow: hidden; background: #dfe9e3; }
.map .leaflet-tile { filter: saturate(.55) hue-rotate(45deg) brightness(.95); }
.map-overlay { position: absolute; top: 17px; right: 17px; left: 17px; z-index: 500; padding: 13px; color: var(--ink); background: rgba(255,255,255,.92); border-radius: 14px; box-shadow: var(--shadow-card); }
.map-overlay p { margin: 3px 0 0; color: var(--muted); font-size: .66rem; }
.map-warning { display: flex; gap: 12px; margin-top: 12px; padding: 16px; color: var(--ink); background: #fff; border-radius: 17px; }
.map-warning > svg { width: 23px; height: 23px; color: var(--green-600); }
.map-warning p { margin: 3px 0 0; color: var(--muted); font-size: .68rem; }

/* Forms and text pages */
.form-grid { display: grid; gap: 14px; }
.form-intro, .form-card, .content-card { padding: 20px; color: var(--ink); background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); }
.form-intro .eyebrow, .content-card .eyebrow { color: var(--green-700); }
.form-intro h2 { margin: 7px 0 13px; font-family: var(--display); font-size: 2.3rem; line-height: 1.05; }
.form-intro p { color: var(--muted); }
.form-intro ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.form-intro li { position: relative; padding-left: 18px; font-size: .75rem; }
.form-intro li::before { content: ""; position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.form-card { display: grid; gap: 13px; }
.form-card label { display: grid; gap: 6px; font-size: .71rem; font-weight: 700; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--ink); background: var(--paper-soft); }
.form-row { display: grid; gap: 13px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.success-message { display: flex; gap: 10px; margin-bottom: 12px; padding: 14px; color: var(--green-800); background: #e7f9ee; border-radius: 14px; }
.success-message svg { width: 22px; height: 22px; }
.content-page { min-height: 65vh; padding: 45px 0; }
.content-card h1 { margin: 7px 0 15px; font-family: var(--display); font-size: clamp(3rem, 14vw, 5.3rem); line-height: 1; }
.content-card p { color: var(--muted); line-height: 1.75; }

/* Footer */
.site-footer { padding: 24px 0 92px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-shell { display: grid; gap: 23px; }
.footer-brand .brand-logo { width: 180px; }
.footer-brand p { max-width: 460px; margin: 13px 0; color: rgba(255,255,255,.7); font-size: .75rem; }
.footer-brand .button { width: fit-content; }
.footer-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 15px; }
.footer-columns > div { display: grid; align-content: start; gap: 8px; }
.footer-columns strong { margin-bottom: 3px; color: var(--green-300); font-family: var(--display); font-size: .9rem; }
.footer-columns a { color: rgba(255,255,255,.72); font-size: .67rem; }
.footer-bottom { display: grid; gap: 5px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .6rem; }
.bottom-nav { position: fixed; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; z-index: 90; display: grid; min-height: 66px; grid-template-columns: repeat(5, 1fr); padding: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(0,44,36,.96); box-shadow: 0 14px 35px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.bottom-nav a, .bottom-nav button { display: grid; place-items: center; align-content: center; gap: 2px; padding: 0; border: 0; border-radius: 14px; color: rgba(255,255,255,.68); background: transparent; font-size: .55rem; cursor: pointer; }
.bottom-nav svg { width: 19px; height: 19px; }
.bottom-nav-featured { color: #fff !important; background: var(--green-600) !important; }

@media (min-width: 520px) {
  .header-cta span { display: inline; }
  .home-category-card { min-width: 156px; flex-basis: 156px; }
  .place-card { min-width: 300px; flex-basis: 300px; }
  .service-grid { grid-template-columns: 1.15fr .85fr; }
  .current-duty { grid-template-columns: 48px 1fr auto; }
  .current-duty > a { grid-column: auto; padding: 0 13px; }
  .detail-facts, .form-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(var(--max), calc(100% - 42px)); }
  .brand { width: 198px; }
  .home-hero { min-height: 670px; }
  .home-hero-inner { min-height: 670px; padding-bottom: 48px; }
  .home-hero h1 { font-size: clamp(5rem, 10vw, 7.5rem); }
  .home-search { max-width: 790px; }
  .home-category-scroller { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
  .home-category-card { min-width: 0; width: 100%; flex-basis: auto; }
  .home-card-scroller { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; overflow: visible; }
  .home-card-scroller .place-card { min-width: 0; width: 100%; flex-basis: auto; }
  .city-promo { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .city-promo-art { min-height: 220px; }
  .useful-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-strip { grid-template-columns: repeat(3, 1fr) auto; align-items: center; }
  .proof-strip > a { grid-column: auto; padding: 0 0 0 18px; border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-toolbar { grid-template-columns: 1fr auto auto auto; }
  .toolbar-search { min-width: 280px; }
  .page-hero-grid { grid-template-columns: 1fr auto; align-items: center; padding: 36px; }
  .duty-page-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .detail-hero-media { min-height: 480px; }
  .detail-hero-media .place-art { min-height: 480px; }
  .detail-actions { display: flex; flex-wrap: wrap; }
  .detail-layout { grid-template-columns: 1.2fr .8fr; }
  .form-grid { grid-template-columns: .8fr 1.2fr; }
  .footer-shell { grid-template-columns: .9fr 1.1fr; }
  .footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; }
  .bottom-nav { display: none; }
  .site-footer { padding-bottom: 28px; }
}

@media (min-width: 980px) {
  .nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
  .nav a { position: relative; padding: 25px 0; color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 700; }
  .nav a::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; border-radius: 9px; background: var(--green-400); transform: scaleX(0); transition: transform .18s ease; }
  .nav a:hover, .nav a[aria-current="page"] { color: #fff; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .menu-button { display: none; }
  .header-cta { margin-left: 14px; }
  .home-category-scroller { grid-template-columns: repeat(6, 1fr); }
  .home-card-scroller { grid-template-columns: repeat(4, 1fr); }
  .home-card-scroller .place-card:nth-child(n+5) { display: none; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
}
