@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&display=swap');

/* ============================================================
   VISIT ALEGRETE — Official brand design system
   Deep pampa navy · multicolor brand accents · warm paper
   Display: Cinzel (engraved caps) · Accent: Fraunces italic
   Body/UI: Archivo
   Signature motifs: dashed flight-path · navy wave bands
   ============================================================ */

:root {
  /* Surfaces — warm white paper */
  --paper:      #fbf8f1;
  --paper-2:    #f4efe2;
  --paper-3:    #ece4d2;
  --card:       #ffffff;

  /* Brand navy (from the official guide) */
  --navy:       #14254a;
  --navy-2:     #1d3563;
  --navy-3:     #2c4d86;
  --navy-soft:  #41608f;

  /* Ink */
  --ink:        #18233c;
  --ink-soft:   #45506a;
  --ink-faint:  #8a93a8;

  /* Multicolor brand accents (Visit Alegrete logo) */
  --red:        #d8442f;
  --red-2:      #ec6244;
  --green:      #2f8f5b;
  --green-2:    #43a972;
  --gold:       #efb13a;
  --gold-2:     #f6c763;
  --blue:       #2f7dc4;
  --blue-2:     #4f9bdc;
  --teal:       #14a395;
  --teal-2:     #2bc0b1;

  /* Utility */
  --line:       rgba(20, 37, 74, 0.14);
  --line-soft:  rgba(20, 37, 74, 0.08);
  --shadow:     0 18px 40px -22px rgba(20, 37, 74, 0.45);
  --shadow-lg:  0 34px 80px -34px rgba(20, 37, 74, 0.55);

  --radius:     20px;
  --radius-sm:  13px;

  --header-h:   76px;
  --maxw:       1200px;

  font-family: 'Archivo', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(820px 540px at 8% -6%, rgba(47, 125, 196, 0.08), transparent 60%),
    radial-gradient(760px 620px at 100% 2%, rgba(20, 163, 149, 0.07), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
}
.cinzel, .display-caps {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.serif { font-family: 'Fraunces', Georgia, serif; }
.italic-note { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(58px, 9vw, 116px) 0; position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--navy, .section--green {
  background:
    radial-gradient(760px 520px at 84% -8%, rgba(47, 125, 196, 0.32), transparent 60%),
    radial-gradient(620px 460px at 6% 108%, rgba(20, 163, 149, 0.22), transparent 60%),
    var(--navy);
  color: #eaf0fb;
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--green h1, .section--green h2, .section--green h3, .section--green h4 { color: #fdfdff; }
.section--navy p, .section--green p { color: rgba(225, 233, 248, 0.82); }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.05rem, 4.8vw, 3.25rem); margin: 0.85rem 0 0.65rem; }
.section-head p { font-size: 1.1rem; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Signature: dashed flight-path + plane ---------- */
.flightpath {
  display: block; width: 100%; max-width: 230px; height: 34px; margin: 0 0 6px;
  color: currentColor; opacity: 0.85;
}
.flightpath.center { margin-left: auto; margin-right: auto; }
.flightpath path { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-dasharray: 4 5; }
.flightpath .plane { fill: currentColor; stroke: none; }

/* ---------- Signature: navy wave divider ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 84px); }
.wave--up { transform: rotate(180deg); }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(145deg, var(--navy-3), var(--navy));
  display: grid; place-items: center; color: var(--gold-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 8px 18px -10px rgba(20,37,74,0.7);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .visit {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: 0.84rem; color: var(--navy-soft); margin-bottom: 2px; letter-spacing: 0.01em;
}
.wordmark .alegrete {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.04em; display: inline-flex;
}
.wordmark .alegrete span:nth-child(7n+1) { color: var(--red); }
.wordmark .alegrete span:nth-child(7n+2) { color: var(--gold); }
.wordmark .alegrete span:nth-child(7n+3) { color: var(--green); }
.wordmark .alegrete span:nth-child(7n+4) { color: var(--blue); }
.wordmark .alegrete span:nth-child(7n+5) { color: var(--teal); }
.wordmark .alegrete span:nth-child(7n+6) { color: var(--red-2); }
.wordmark .alegrete span:nth-child(7n+7) { color: var(--navy-3); }
.wordmark.on-dark .visit { color: rgba(225,233,248,0.85); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 248, 241, 0.74);
  backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 248, 241, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -26px rgba(20,37,74,0.7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 11px; border-radius: 9px; font-size: 0.86rem; font-weight: 500;
  color: var(--ink-soft); transition: color .2s, background .2s; white-space: nowrap; position: relative;
}
.nav a:hover { color: var(--navy); background: rgba(47,125,196,0.1); }
.nav a.active { color: var(--navy); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--blue));
}

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; background: var(--paper-3); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-faint);
  padding: 5px 9px; border-radius: 999px; transition: all .2s;
}
.lang-switch button.active { background: var(--navy); color: #fff; }

.burger { display: none; border: 0; background: transparent; cursor: pointer; color: var(--navy); padding: 6px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 14px 24px 22px; display: none; box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-soft); }
.mobile-nav a:hover { background: var(--paper-2); color: var(--navy); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff7ef; box-shadow: 0 16px 30px -14px rgba(216,68,47,0.75); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #eef3fc; box-shadow: 0 16px 30px -16px rgba(20,37,74,0.8); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { background: rgba(47,125,196,0.1); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-wa { background: #25d366; color: #07321a; box-shadow: 0 16px 30px -16px rgba(37,211,102,0.6); }
.btn-wa:hover { background: #34de74; transform: translateY(-2px); }
.on-dark .btn-ghost { border-color: rgba(255,255,255,0.28); color: #eef3fc; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 12px 32px -28px rgba(20,37,74,0.55);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(47,125,196,0.32); }
.card-link { text-decoration: none; color: inherit; }
.card-link h3 { transition: color .25s; }
.card-link:hover h3 { color: var(--red); }
.card-media {
  height: 190px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.85); }
.card-media .ph svg { width: 34px; height: 34px; opacity: 0.7; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.24rem; color: var(--navy); }
.card-body p { margin: 0; font-size: 0.95rem; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(47,125,196,0.13); color: var(--blue);
}
.chip.red   { background: rgba(216,68,47,0.13); color: var(--red); }
.chip.green { background: rgba(47,143,91,0.14); color: var(--green); }
.chip.gold  { background: rgba(239,177,58,0.18); color: #a9760f; }
.chip.teal  { background: rgba(20,163,149,0.14); color: #0d7a6f; }
.chip.navy  { background: rgba(20,37,74,0.1); color: var(--navy); }

.meta { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line); font-size: 0.87rem; color: var(--ink-soft); }
.meta a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); transition: color .2s; }
.meta a:hover { color: var(--red); }
.meta .row { display: inline-flex; align-items: center; gap: 8px; }
.meta svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--blue); }

/* ---------- Hero (immersive photo) ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 10vw, 110px); overflow: hidden;
  color: #f4f7fd;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,37,74,0.34) 0%, rgba(20,37,74,0.12) 38%, rgba(20,37,74,0.82) 100%),
    linear-gradient(95deg, rgba(20,37,74,0.55), transparent 60%);
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  font-family: 'Cinzel', serif; font-weight: 700; color: #fff;
  font-size: clamp(2.9rem, 9vw, 7rem); letter-spacing: 0.03em; line-height: 0.98;
  text-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hero .hero-quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--gold-2); font-size: clamp(1.4rem, 3.4vw, 2.4rem); margin-top: 6px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 600px; color: rgba(244,247,253,0.92); margin-top: 20px; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  color: rgba(244,247,253,0.7); display: grid; place-items: center; gap: 6px;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
/* On narrow/portrait screens a landscape cover image crops heavily; lower the
   hero and stop the Ken Burns zoom so more of the photo stays visible. */
@media (max-width: 640px) {
  .hero { min-height: 68vh; }
  .hero-bg img { animation: none; transform: none; object-position: center 38%; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 58px) 0 58px; overflow: hidden;
  background:
    radial-gradient(800px 440px at 86% -20%, rgba(47,125,196,0.4), transparent 60%),
    radial-gradient(560px 420px at 4% 120%, rgba(20,163,149,0.26), transparent 60%),
    var(--navy);
  color: #eaf0fb;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 0.025em; }
.page-hero .lead { color: rgba(225,233,248,0.86); max-width: 660px; font-size: 1.12rem; margin-top: 16px; }
.page-hero .eyebrow { color: var(--gold-2); }
.breadcrumb { font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(225,233,248,0.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-2); }

/* ---------- Stats ---------- */
.stat { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 32px -28px rgba(20,37,74,0.5); }
.stat .num { font-family: 'Cinzel', serif; font-weight: 700; font-size: 2.3rem; color: var(--red); line-height: 1; }
.stat .lbl { font-size: 0.9rem; color: var(--ink-soft); margin-top: 9px; }
.on-dark .stat, .stat--glass {
  background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
}
.stat--glass .lbl { color: rgba(225,233,248,0.82); }

/* ---------- Map ---------- */
.map-shell { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
#map, .leaflet-map { height: 460px; width: 100%; z-index: 1; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: 'Archivo', sans-serif; margin: 14px 16px; }
.leaflet-popup-content b { font-family: 'Fraunces', serif; color: var(--navy); font-size: 1.05rem; }
.leaflet-popup-content a { color: var(--red); font-weight: 600; }
.pin {
  width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.35); display: grid; place-items: center;
}
.pin span { transform: rotate(45deg); color: #fff; font-size: 13px; line-height: 1; }

/* ---------- Feature list ---------- */
.feature { display: flex; gap: 16px; }
.feature .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: rgba(47,125,196,0.12); color: var(--blue); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.96rem; }

/* ---------- Explore grid (home sections) ---------- */
.explore-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fbf6ea;
  background: linear-gradient(160deg, var(--navy-3), var(--navy));
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.explore-card img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s ease; }
.explore-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,37,74,0.05) 30%, rgba(20,37,74,0.85) 100%); }
.explore-card > *:not(img) { position: relative; z-index: 2; }
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.explore-card:hover img.cover { transform: scale(1.07); }
.explore-card h3 { color: #fff; font-size: 1.5rem; }
.explore-card p { color: rgba(255,255,255,0.86); font-size: 0.92rem; margin: 6px 0 0; }
.explore-card .arrow { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--gold-2); transition: gap .25s; }
.explore-card:hover .arrow { gap: 13px; }
.explore-card .tagico { position: absolute; top: 18px; left: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px); color: #fff; }
.explore-card .tagico svg { width: 21px; height: 21px; }
/* accent stripe variants */
.explore-card.v-red::before,
.explore-card.v-gold::before,
.explore-card.v-green::before,
.explore-card.v-blue::before,
.explore-card.v-teal::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2; }
.explore-card.v-red::before   { background: var(--red); }
.explore-card.v-gold::before  { background: var(--gold); }
.explore-card.v-green::before { background: var(--green); }
.explore-card.v-blue::before  { background: var(--blue); }
.explore-card.v-teal::before  { background: var(--teal); }

/* ---------- Attraction cards (photo-led) ---------- */
.atr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .atr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .atr-grid { grid-template-columns: 1fr; } }
.atr {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line-soft); box-shadow: 0 14px 36px -30px rgba(20,37,74,0.6);
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.atr:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(47,125,196,0.3); }
.atr-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--navy-3), var(--navy)); }
.atr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.atr:hover .atr-media img { transform: scale(1.07); }
.atr-media .cat {
  position: absolute; top: 14px; left: 14px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: #fff; backdrop-filter: blur(4px);
}
.cat.c-cultura { background: rgba(216,68,47,0.92); }
.cat.c-historia { background: rgba(20,37,74,0.92); }
.cat.c-natureza { background: rgba(47,143,91,0.92); }
.cat.c-praca { background: rgba(20,163,149,0.92); }
.cat.c-fe { background: rgba(47,125,196,0.92); }
.cat.c-lazer { background: rgba(239,177,58,0.95); color: #4a3204; }
.atr-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.atr-body h3 { font-size: 1.18rem; color: var(--navy); line-height: 1.15; }
.atr-body p { margin: 0; font-size: 0.92rem; }
.atr-loc { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-faint); }
.atr-loc svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 730px; }
.prose p { font-size: 1.07rem; margin-bottom: 1.25rem; }
.prose strong { color: var(--navy); }
.callout {
  background: var(--paper-2); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px; margin: 26px 0;
}
.callout h4 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 8px; }
.callout h4 svg { width: 20px; height: 20px; color: var(--red); }

/* ---------- Timeline (events) ---------- */
.timeline { position: relative; }
.tl-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-when { font-family: 'Fraunces', serif; color: var(--red); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.tl-when small { display: block; font-family: 'Archivo', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; color: var(--ink-faint); margin-top: 4px; }
.tl-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Table ---------- */
.dist-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dist-table th, .dist-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.dist-table th { background: var(--navy); color: #fff; font-family: 'Archivo'; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.dist-table tr:last-child td { border-bottom: 0; }
.dist-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--red); }
.dist-table tr:hover td { background: rgba(47,125,196,0.05); }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(47,125,196,0.22), transparent 60%),
    var(--navy);
  color: rgba(225,233,248,0.78); padding: 64px 0 30px;
}
.site-footer h4 { color: var(--gold-2); font-family: 'Archivo'; font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.74rem; margin-bottom: 16px; }
.site-footer a { color: rgba(225,233,248,0.78); transition: color .2s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 0.92rem; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(225,233,248,0.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(225,233,248,0.6); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .hero-scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.muted { color: var(--ink-faint); }
.hide { display: none !important; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-bar button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 0.83rem;
  cursor: pointer; transition: all .2s;
}
.filter-bar button:hover { border-color: var(--red); color: var(--red); }
.filter-bar button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.imgframe { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy-3), var(--navy)); position: relative; }
.imgframe img { width: 100%; height: 100%; object-fit: cover; }
.imgframe .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.8); font-style: italic; gap: 8px; flex-direction: column; }
.imgframe--tall { aspect-ratio: 3/4; }

/* Contact band */
.contact-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .contact-band { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-sm); padding: 18px 20px; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.12); color: #fff; flex-shrink: 0; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card .lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(225,233,248,0.6); font-weight: 700; }
.contact-card .val { font-family: 'Fraunces', serif; font-size: 1.15rem; color: #fff; }
