/* Creekside Developments */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2-variations"), url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2-variations"), url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --orange: #e8791d;
  --orange-deep: #c4600c;
  --orange-soft: #fdf0e3;
  --ink: #1d221e;
  --ink-2: #4a524c;
  --ink-3: #7a827c;
  --forest: #26392c;
  --forest-2: #34503d;
  --sand: #f6f2ea;
  --stone: #e7e0d3;
  --line: #e4ddd0;
  --white: #ffffff;
  --sold: #9a3b2f;
  --soon: #b7871f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(29, 34, 30, 0.06), 0 8px 24px rgba(29, 34, 30, 0.08);
  --shadow-lg: 0 18px 50px rgba(29, 34, 30, 0.18);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 0.8rem; display: inline-block; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; font: 600 0.98rem/1 var(--body); padding: 0.95em 1.4em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); color: var(--white); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--forest-2); color: var(--white); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font: 700 1.22rem/1 var(--body); letter-spacing: 0.06em; color: var(--orange); }
.logo-text span { font: 500 0.62rem/1 var(--body); letter-spacing: 0.42em; color: var(--ink-2); margin-top: 5px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--orange-deep); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.header-phone svg { width: 16px; height: 16px; color: var(--orange); }
.header-cta .btn { padding: 0.75em 1.15em; font-size: 0.9rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .header-phone span { display: none; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav, .header-cta { display: none; }
  .site-header.open .main-nav { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: var(--white); padding: 12px 20px 8px; border-bottom: 1px solid var(--line); margin: 0; }
  .site-header.open .main-nav a { padding: 12px 8px; font-size: 1.05rem; }
  .site-header.open .header-cta { display: flex; position: absolute; top: calc(74px + 260px); left: 0; right: 0; background: var(--white); padding: 4px 20px 20px; border-bottom: 1px solid var(--line); }
  .header-phone span { display: inline; }
}

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--forest); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 22, 0.15) 0%, rgba(20, 28, 22, 0.35) 45%, rgba(20, 28, 22, 0.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 140px 0 70px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.hero-facts div { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.97rem; }
.hero-facts svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }

/* Sections */
.section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: rgba(255, 255, 255, 0.86); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 10px 0 0; }

/* Page header (inner pages) */
.page-hero { background: var(--sand); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { margin-bottom: 0; }

/* Property cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.prop-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.prop-card .media { position: relative; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.prop-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .media img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; box-shadow: var(--shadow); }
.badge.soon { background: var(--soon); color: var(--white); }
.badge.sold { background: var(--sold); color: var(--white); }
.badge.acres { left: auto; right: 14px; background: rgba(29, 34, 30, 0.78); color: var(--white); box-shadow: none; }
.prop-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prop-card .loc { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.prop-card h3 { font-size: 1.16rem; margin-bottom: 16px; }
.prop-card .prices { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-main { font: 700 1.35rem/1 var(--body); }
.price-sub { font-size: 0.85rem; color: var(--ink-3); margin-top: 4px; }
.price-monthly { text-align: right; }
.price-monthly strong { color: var(--orange-deep); font-size: 1.12rem; }
.empty-state { padding: 40px; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--sand) 25%, var(--stone) 50%, var(--sand) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 360px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); font: 700 1.05rem/1 var(--body); margin-bottom: 18px; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.steps-long { display: grid; gap: 20px; max-width: 820px; counter-reset: step; }
.steps-long .step { display: grid; grid-template-columns: 56px 1fr; gap: 6px 22px; padding: 30px; }
.steps-long .step::before { grid-row: span 2; margin: 0; width: 52px; height: 52px; font-size: 1.2rem; }
.steps-long .step h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.steps-long .step p { font-size: 1rem; }

/* Feature rows */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature svg { width: 34px; height: 34px; color: var(--orange); margin-bottom: 16px; }
.feature h3 { font-size: 1.22rem; }
.feature p { color: inherit; opacity: 0.9; margin: 0; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--stone); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* CTA band */
.cta-band { background: var(--orange); color: var(--white); border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--white); color: var(--orange-deep); border-color: var(--white); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 38px 28px; } }

/* Map page */
.map-layout { display: grid; grid-template-columns: 440px 1fr; height: calc(100vh - 74px); min-height: 560px; }
.map-sidebar { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--white); }
.map-sidebar-head { padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.map-sidebar-head h1 { font-size: 1.7rem; margin-bottom: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font: 500 0.86rem/1 var(--body); padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.map-list { overflow-y: auto; padding: 14px; display: grid; gap: 12px; align-content: start; flex: 1; }
.list-item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
.list-item:hover, .list-item.active { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); color: var(--ink); }
.list-item img, .list-item .ph { width: 112px; height: 88px; object-fit: cover; border-radius: 7px; background: var(--stone); }
.list-item .t { font-weight: 600; font-size: 0.95rem; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item .m { font-size: 0.82rem; color: var(--ink-3); }
.list-item .p { font-size: 0.92rem; margin-top: 6px; }
.list-item .p strong { font-weight: 700; }
.list-item .p span { color: var(--orange-deep); font-weight: 600; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--orange); }
.status-dot.soon { background: var(--soon); }
.status-dot.sold { background: var(--sold); }
#map { width: 100%; height: 100%; background: #dfe6dc; }
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; grid-template-rows: 46vh auto; height: auto; }
  .map-layout #map { grid-row: 1; height: 46vh; }
  .map-sidebar { grid-row: 2; border-right: 0; }
  .map-list { overflow: visible; }
}

/* Leaflet custom pins and popups */
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); border: 3px solid var(--white); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); transition: transform 0.15s; }
.pin.soon { background: var(--soon); }
.pin.sold { background: var(--sold); }
.pin.active-pin { transform: rotate(-45deg) scale(1.25); background: var(--forest); }
.leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 250px !important; font-family: var(--body); }
.popup img { width: 100%; height: 140px; object-fit: cover; background: var(--stone); }
.popup .pb { padding: 12px 14px 14px; }
.popup .pt { font-weight: 600; font-size: 0.95rem; line-height: 1.3; margin-bottom: 4px; color: var(--ink); }
.popup .pm { font-size: 0.8rem; color: var(--ink-3); margin-bottom: 8px; }
.popup .pp { font-size: 0.92rem; color: var(--ink); }
.popup a.btn { margin-top: 10px; padding: 0.7em 1em; font-size: 0.86rem; color: var(--white); }

/* Property page */
.crumbs { font-size: 0.88rem; color: var(--ink-3); padding: 22px 0 8px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }
.prop-title { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; margin: 6px 0 24px; }
.prop-title h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 0 0 8px; max-width: 28ch; }
.prop-title .loc { color: var(--ink-2); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.tag.status { background: var(--orange-soft); color: var(--orange-deep); }
.tag.status.soon { background: #f7edd5; color: #8a6413; }
.tag.status.sold { background: #f5e0dc; color: var(--sold); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(520px, 60vw); border-radius: var(--radius); overflow: hidden; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; background: var(--stone); position: relative; overflow: hidden; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; inset: 0; background: rgba(20, 28, 22, 0.55); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 78vw; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n + 4) { display: none; }
}

.prop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; margin: 44px 0 90px; align-items: start; }
.prop-layout > aside { position: sticky; top: 98px; }
@media (max-width: 980px) { .prop-layout { grid-template-columns: 1fr; } .prop-layout > aside { position: static; order: -1; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.facts div { background: var(--white); padding: 18px 20px; }
.facts dt { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.02rem; word-break: break-word; }
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.prop-section { margin-bottom: 44px; }
.prop-section h2 { font-size: 1.6rem; margin-bottom: 16px; }
.prop-desc p { color: var(--ink-2); font-size: 1.04rem; }
.detail-group { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.detail-group summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.detail-group summary::-webkit-details-marker { display: none; }
.detail-group summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--orange-deep); }
.detail-group[open] summary::after { content: "\2212"; }
.detail-group dl { margin: 0; padding: 0 22px 10px; }
.detail-group dl div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.96rem; }
.detail-group dt { color: var(--ink-3); font-weight: 500; }
.detail-group dd { margin: 0; white-space: pre-line; }
@media (max-width: 560px) { .detail-group dl div { grid-template-columns: 1fr; gap: 2px; } }
.prop-map { height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.disclaimer { font-size: 0.86rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; }

.buy-box { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; background: var(--white); }
.buy-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); padding: 6px; gap: 6px; }
.buy-tabs button { font: 600 0.93rem/1 var(--body); border: 0; padding: 12px; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.buy-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.buy-panel { padding: 26px; }
.buy-panel[hidden] { display: none; }
.big-price { font: 700 2.3rem/1 var(--body); letter-spacing: -0.02em; }
.big-price small { font-size: 1rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.was { color: var(--ink-3); text-decoration: line-through; font-size: 0.95rem; margin-top: 6px; }
.buy-lines { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.buy-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.buy-lines li span:first-child { color: var(--ink-2); }
.buy-lines li strong { font-weight: 600; }
.buy-lines li.total { font-weight: 700; }
.buy-lines li.total span:first-child { color: var(--ink); }
.buy-note { font-size: 0.85rem; color: var(--ink-3); margin: 14px 0 0; }
.buy-contact { padding: 18px 26px; border-top: 1px solid var(--line); background: var(--sand); font-size: 0.92rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy-contact a { font-weight: 600; color: var(--ink); text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(12, 16, 13, 0.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }

/* Content pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--white); }
.contact-card svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 16px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-2); margin-bottom: 16px; }
.contact-card a.big { font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-card a.big:hover { color: var(--orange-deep); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pay-card { border-radius: 18px; padding: 40px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.pay-card.primary { background: var(--forest); color: rgba(255, 255, 255, 0.86); border-color: var(--forest); }
.pay-card.primary h2 { color: var(--white); }
.pay-card h2 { font-size: 1.7rem; }
.pay-card ul { padding-left: 1.2em; margin: 0 0 26px; }
.pay-card li { margin-bottom: 6px; }
.pay-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .pay-grid { grid-template-columns: 1fr; } .pay-card { padding: 30px; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 72px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--body); color: var(--white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo-text span { color: rgba(255, 255, 255, 0.6); }
.footer-about { margin-top: 18px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.social a:hover { background: var(--orange); }
.social svg { width: 18px; height: 18px; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { min-height: 600px; }
  .hero .wrap { padding: 120px 0 48px; }
}
.logo img { height: 48px; width: auto; }
.site-footer .logo img { height: 44px; }
@media (max-width: 520px) { .logo img { height: 40px; } }
