/* =========================================================
   Marhabo Family Restaurant & Karusel — styles.css
   Green / minimalist palette
   ========================================================= */

:root {
  /* Greens — semantic names kept (--gold* etc.) so legacy selectors continue to work */
  --gold:        #2F855A;   /* primary green */
  --gold-deep:   #1F5A3F;   /* deep forest */
  --gold-soft:   #5BAA84;   /* mid sage */
  --gold-pale:   #F1F7F2;   /* whisper green */
  --amber:       #5A8F73;   /* muted sage (secondary accent) */
  --amber-soft:  #E6EFE9;   /* pale mint */
  --cream:       #FAFBF9;   /* off-white page */
  --white:       #FFFFFF;
  --charcoal:    #162820;   /* deep ink with green tint */
  --ink:         #1F3329;
  --dark-gold:   #33473F;   /* deep muted (replaces dark-gold) */
  --muted:       #6B7C73;   /* gray-green */
  --border:      rgba(47, 133, 90, 0.14);
  --border-dark: rgba(47, 133, 90, 0.28);

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(22, 40, 32, .06);
  --shadow-md: 0 8px 28px rgba(22, 40, 32, .09);
  --shadow-lg: 0 20px 56px rgba(22, 40, 32, .14);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --gutter:    clamp(16px, 4vw, 28px);
  --header-h:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 10vw, 128px) 0; }

.section--about      { background: var(--white); }
.section--playground { background: var(--gold-pale); }
.section--events     { background: var(--white); }
.section--menu       { background: linear-gradient(135deg, #2F855A 0%, #1F5A3F 100%); color: var(--white); }
.section--news       { background: var(--cream); }
.section--contact    { background: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section--menu .eyebrow,
.section--menu .eyebrow { color: var(--gold-soft); }

.section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.section--menu .section__title { color: var(--white); }

.section__subtitle {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 36px 0 18px;
  color: var(--charcoal);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 60ch;
  line-height: 1.7;
}
.section--menu .lead { color: rgba(255,255,255,.92); max-width: 50ch; margin: 0 auto 32px; }

.grid { display: grid; gap: clamp(28px, 5vw, 64px); }
.grid--split   { grid-template-columns: 1fr 1fr; align-items: center; }
.grid--reverse > *:first-child { order: 2; }

@media (max-width: 900px) {
  .grid--split { grid-template-columns: 1fr; }
  .grid--reverse > *:first-child { order: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(31, 90, 63, .22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 90, 63, .28); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.section--menu .btn--primary { background: var(--white); color: var(--gold-deep); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.section--menu .btn--primary:hover { background: var(--gold-pale); }

.btn--xl { padding: 18px 40px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(31, 90, 63, .22);
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--charcoal); }
.brand__text em { font-style: normal; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: clamp(8px, 1.4vw, 20px);
  align-items: center;
}
.nav__list a {
  position: relative;
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink);
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav__list a:hover { color: var(--gold-deep); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: var(--gold-pale);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.lang-switch__btn {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.lang-switch__btn:hover { color: var(--gold-deep); }
.lang-switch__btn.is-active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(31, 90, 63, .18);
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: block; order: 3; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--gutter) 32px;
    margin: 0;
    transform: translateY(-110%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav__list a { font-size: 1.1rem; }
  .lang-switch { order: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--charcoal);
}
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,31,24,.32) 0%, rgba(15,31,24,.78) 100%),
    linear-gradient(120deg, rgba(31,90,63,.45), rgba(15,31,24,.30));
}
.hero__content {
  padding: clamp(80px, 12vh, 140px) 0;
  max-width: 820px;
  animation: hero-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,170,132,.22);
  border: 1px solid rgba(91,170,132,.5);
  color: #C3E5D2;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px var(--gold-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -.01em;
  text-shadow: 0 4px 28px rgba(0,0,0,.4);
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 60ch;
  color: rgba(255,255,255,.92);
  line-height: 1.65;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero__scroll::after {
  content: '';
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translate(-50%, 0);   opacity: 1; }
  100% { transform: translate(-50%, 18px); opacity: 0; }
}

/* ---------- Media placeholders ---------- */
.media-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(47,133,90,.08) 0 12px, rgba(47,133,90,.03) 12px 24px),
    var(--gold-pale);
  border: 1.5px dashed rgba(31, 90, 63, .28);
  border-radius: var(--radius);
  min-height: 220px;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--gold-deep);
}
.media-placeholder--video {
  background-color: #0F1F18;
  color: var(--gold-soft);
  border-color: rgba(91,170,132,.32);
}
.media-placeholder__label {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .8rem;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.media-placeholder--video .media-placeholder__label {
  background: rgba(0,0,0,.5);
  color: var(--gold-soft);
  border-color: rgba(91,170,132,.32);
}
.hero__media .media-placeholder__label { display: none; }

/* ---------- Photo grids ---------- */
.photo-grid {
  display: grid;
  gap: 14px;
  grid-template-areas: "a a" "b c";
  grid-template-rows: 260px 200px;
}
.photo-grid > div { width: 100%; height: 100%; }

.photo-grid--wide {
  margin-top: 48px;
  grid-template-areas: "a a b" "c d b";
  grid-template-columns: 1fr 1fr 1.2fr;
  grid-template-rows: 210px 210px;
}
.photo-grid--events {
  grid-template-areas: "a b" "c c";
  grid-template-rows: 230px 220px;
}

@media (max-width: 700px) {
  .photo-grid, .photo-grid--wide, .photo-grid--events {
    grid-template-areas: "a" "b" "c" "d";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  .photo-grid > div:nth-child(n+5) { display: none; }
}

/* ---------- About feature bullets ---------- */
.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 500;
  color: var(--ink);
}
.check-list__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  display: grid; place-items: center;
  font-size: .82rem;
  font-weight: 700;
  flex: 0 0 30px;
  box-shadow: 0 4px 12px rgba(31, 90, 63, .18);
}

/* ---------- Stat strips ---------- */
.stats-row {
  display: flex;
  gap: clamp(18px, 4vw, 40px);
  flex-wrap: wrap;
  margin-top: 36px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
}
.stat__label { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ---------- Playground zones ---------- */
.zones {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.zone {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.zone:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.zone__icon { font-size: 1.8rem; }

/* ---------- Tariff cards ---------- */
.tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.tariff {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tariff:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tariff__label { font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.tariff__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--charcoal);
}
.tariff__price span { font-size: .82rem; font-family: var(--font-sans); color: var(--muted); font-weight: 500; margin-left: 4px; }
.tariff--featured {
  background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31, 90, 63, .22);
}
.tariff--featured .tariff__label,
.tariff--featured .tariff__price,
.tariff--featured .tariff__price span { color: var(--white); }
.tariff--featured .tariff__price span { color: rgba(255,255,255,.75); }
.tariff__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--gold-soft);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.tariff--free { background: var(--amber-soft); border-color: rgba(31, 90, 63, .15); }
.tariff--free .tariff__price { color: var(--gold-deep); }

/* ---------- Callout ---------- */
.callout {
  margin: 26px 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .96rem;
}
.callout--warn {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  color: var(--ink);
}
.callout__icon { font-size: 1.2rem; line-height: 1.4; flex-shrink: 0; }

/* ---------- Menu / Products section ---------- */
.menu-card {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

/* Products filter tabs */
.products-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 48px 0 32px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-btn:hover,
.filter-btn.is-active {
  background: var(--white);
  color: var(--gold-deep);
  border-color: var(--white);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 0;
}
.product-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
  color: var(--charcoal);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(22, 40, 32, .16);
}
.product-card__img-wrap {
  height: 170px;
  background: linear-gradient(135deg, rgba(91,170,132,.18), rgba(47,133,90,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.product-card__cat--restaurant { background: #E6EFE9; color: #1F5A3F; }
.product-card__cat--playground { background: #DCEBE0; color: #246348; }
.product-card__cat--birthday   { background: #F1F7F2; color: #2F855A; }
.product-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-card__desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.product-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-deep);
}
.product-card__price-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

.products-empty {
  text-align: center;
  color: rgba(255,255,255,.78);
  padding: 40px 0;
  font-size: .98rem;
  display: none;
}
.products-empty.is-visible { display: block; }

/* ---------- News section ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.news-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.news-card__img {
  height: 195px;
  background: linear-gradient(135deg, var(--gold-pale), var(--amber-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__date {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.news-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.35;
}
.news-card__excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.news-card__cta {
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-card__cta svg { transition: transform .2s; }
.news-card:hover .news-card__cta svg { transform: translateX(4px); }

.news-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
  font-size: .98rem;
}

/* ---------- News Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,31,24,.55);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(22,40,32,.22);
  transform: translateY(24px) scale(.97);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal__header {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1.5px solid var(--border);
  display: grid; place-items: center;
  font-size: 1.1rem;
  color: var(--ink);
  transition: background .2s, transform .2s;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: var(--gold-soft); transform: rotate(90deg); }
.modal__img {
  height: 240px;
  margin: 20px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-pale), var(--amber-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 0 28px 32px; }
.modal__date {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.modal__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 16px;
}
.modal__content {
  font-size: .98rem;
  color: var(--ink);
  line-height: 1.75;
}

/* ---------- Contact ---------- */
.contact-block { display: grid; gap: 14px; margin-bottom: 10px; }
.contact-block__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.contact-block__icon { font-size: 1.2rem; line-height: 1.5; flex-shrink: 0; }

.phone-list { display: grid; gap: 6px; }
.phone-list a {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--charcoal);
  transition: color .2s;
}
.phone-list a:hover { color: var(--gold-deep); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s;
}
.socials a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-deep);
  box-shadow: 0 4px 16px rgba(31, 90, 63, .12);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  height: 100%;
  min-height: 440px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  min-height: 440px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.8);
  padding: 32px 0;
  font-size: .9rem;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
}
.site-footer__brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
