/* lilijabalaisiene.lt — single stylesheet, no build step.
   Editorial dark-green & gold look. Mobile-first.
   Display font: self-hosted Playfair Display (variable, latin + latin-ext
   for Lithuanian diacritics). Body: system sans.
   JS (js/main.js) only adds .js/.scrolled/.hide/.in classes — everything
   renders fully without it. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cross-page fade (View Transitions API — progressive, ignored elsewhere) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.22s; }
::view-transition-new(root) { animation-duration: 0.3s; }

:root {
  --green-950: #0b241a;
  --green-900: #123828;
  --green-700: #1d5b45;
  --green-600: #2a7258;
  --cream: #faf7f0;
  --cream-2: #f1ebdd;
  --line: #e6dfcf;
  --gold: #c9a35c;
  --gold-deep: #a17c33;
  --gold-soft: #f4ead6;
  --ink: #1f2b26;
  --muted: #5c6b63;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(18, 43, 33, 0.06), 0 2px 8px rgba(18, 43, 33, 0.05);
  --shadow-lg: 0 18px 44px rgba(18, 43, 33, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 18px; }
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.55em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-top: 1.5em; }
h3, .h3 { font-size: 1.18rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

h1 em, h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

p { margin: 0 0 1em; }

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.3em; }

address { font-style: normal; }

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 22px;
}

.narrow { max-width: 780px; }
.center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
}

/* Placeholder marker — findable (search class="ph") but quiet. */
.ph {
  background: var(--gold-soft);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 0.78em;
  color: #7c6224;
  font-style: normal;
}

/* ================= Header ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, transform 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18, 43, 33, 0.1); }
.site-header.hide { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand {
  text-decoration: none;
  line-height: 1.15;
}
.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-900);
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 2px;
}

.nav-toggle { position: absolute; opacity: 0; }

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}
.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
}

.site-nav {
  display: none;
  width: 100%;
  padding-bottom: 14px;
}
.nav-toggle:checked ~ .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.site-nav li { border-bottom: 1px solid var(--line); }
.site-nav a {
  display: block;
  padding: 13px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.site-nav a[aria-current="page"] { color: var(--gold-deep); }

@media (min-width: 1040px) {
  .nav-toggle-label { display: none; }
  .site-nav {
    display: flex !important;
    align-items: center;
    gap: 6px;
    width: auto;
    padding-bottom: 0;
  }
  .site-nav ul {
    display: flex;
    margin: 0;
    gap: 2px;
  }
  .site-nav li { border: 0; }
  .site-nav a {
    padding: 8px 13px;
    position: relative;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .btn-phone { margin-left: 14px; }
}

/* ================= Buttons ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--green-700);
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--sans);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 43, 33, 0.18); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Sheen sweep on solid buttons */
.btn-gold::before, .btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.45) 50%, transparent 72%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-gold:hover::before, .btn-solid:hover::before { animation: sheen 0.9s var(--ease) forwards; }
@keyframes sheen { to { transform: translateX(130%); } }

/* Phone icon ring wiggle */
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(11deg); }
  60% { transform: rotate(-7deg); }
  80% { transform: rotate(4deg); }
}
.btn-phone:hover svg, .btn-gold:hover svg { animation: ring 0.55s ease; }

.btn svg { flex: none; }

.btn-solid {
  background: var(--green-700);
  color: #fff;
}
.btn-solid:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-950);
}
.btn-gold:hover { background: #d9b671; border-color: #d9b671; color: var(--green-950); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-phone,
.site-nav a.btn-phone {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
  white-space: nowrap;
  padding: 12px 20px;
}
.btn-phone:hover,
.site-nav a.btn-phone:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.btn-phone svg { width: 16px; height: 16px; }
.site-nav a.btn-phone::after { display: none; }

/* ================= Breadcrumbs ================= */

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  padding-block: 14px 0;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-700); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: var(--gold); margin-inline: 2px; }

/* ================= Sections ================= */

.section { padding-block: clamp(48px, 8vw, 88px); }
.section-alt { background: var(--cream); }

.page-head {
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(201, 163, 92, 0.14), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 7vw, 72px);
}
.page-head h1 { margin-top: 0; max-width: 20em; }

.lead {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 42em;
}

.section-intro { max-width: 46em; color: var(--muted); font-size: 1.05em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 1.1em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.more-link { margin-top: 1.4em; font-weight: 700; }
.more-link a { text-decoration: none; }
.more-link a:hover { text-decoration: underline; }

/* ================= Hero ================= */

.hero {
  background: linear-gradient(155deg, var(--green-950) 0%, var(--green-900) 55%, var(--green-700) 130%);
  color: var(--cream);
  padding-block: clamp(56px, 9vw, 104px) clamp(96px, 12vw, 150px);
  overflow: hidden;
  position: relative;
}

/* Slowly drifting aurora blobs */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(201, 163, 92, 0.28), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero::after {
  width: 460px;
  height: 460px;
  bottom: -180px;
  left: -130px;
  background: radial-gradient(circle, rgba(42, 114, 88, 0.55), transparent 65%);
  animation: drift-b 27s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-70px, 50px) scale(1.18); } }
@keyframes drift-b { to { transform: translate(60px, -40px) scale(1.12); } }
.hero .wrap { position: relative; z-index: 1; }

/* Entrance choreography (pure CSS — runs on load, no JS needed) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes media-in {
  from { opacity: 0; transform: translateY(46px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.6) translateY(12px); }
  70% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes floaty { to { transform: translateY(-11px); } }

.hero .eyebrow { animation: rise-in 0.7s var(--ease) 0.05s both; }
.hero-text h1 { animation: rise-in 0.85s var(--ease) 0.18s both; }
.hero-text .lead { animation: rise-in 0.85s var(--ease) 0.32s both; }
.hero-actions { animation: rise-in 0.85s var(--ease) 0.46s both; }
.hero-trust { animation: rise-in 0.85s var(--ease) 0.6s both; }
.hero-media { animation: media-in 1s var(--ease) 0.3s both; }
.portrait-frame { animation: floaty 6s ease-in-out 1.8s infinite alternate; }
.hero-badge { animation: pop-in 0.7s var(--ease) 1.05s both; }

.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

.hero-grid {
  display: grid;
  gap: 48px;
}

.hero-text h1 {
  color: #fff;
  margin-top: 0;
  font-size: clamp(2.5rem, 6.5vw, 4.1rem);
}
.hero-text h1 em { color: var(--gold); }

.hero-text .lead { color: rgba(250, 247, 240, 0.85); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block: 1.6em 1.4em;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: rgba(250, 247, 240, 0.85);
  font-size: 0.95rem;
  margin: 0;
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero-trust .ph { background: rgba(201, 163, 92, 0.25); color: var(--gold-soft); }

.hero-media {
  position: relative;
  justify-self: center;
  max-width: 380px;
  width: 100%;
}

.portrait-frame {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 163, 92, 0.65);
  box-shadow:
    0 0 0 10px rgba(201, 163, 92, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.35);
  background: var(--green-700);
}
.portrait-frame img { width: 100%; }

.hero-badge {
  position: absolute;
  left: -10px;
  bottom: 26px;
  background: #fff;
  color: var(--green-900);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 240px;
}
.hero-badge .stars { color: var(--gold-deep); letter-spacing: 2px; }

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .hero-media { justify-self: end; }
}

/* ================= Hero: full-bleed photo variant ================= */

.hero-photo {
  padding-block: clamp(96px, 15vw, 170px) clamp(130px, 18vw, 210px);
}
.hero-photo::before {
  inset: 0;
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(11, 36, 26, 0.55), rgba(11, 36, 26, 0.42) 55%, rgba(11, 36, 26, 0.88));
  animation: none;
  transform: none;
  z-index: 1;
}
.hero-photo::after { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo .wrap { z-index: 2; }
.hero-photo .hero-text {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.hero-photo .lead { margin-inline: auto; }
.hero-photo .eyebrow { justify-content: center; }
.hero-photo .eyebrow::before { display: none; }
.hero-photo .hero-actions { justify-content: center; }
.hero-photo .hero-trust { justify-content: center; }

/* Outlined uppercase "line" button (reference style) */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  color: var(--green-900);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-line:hover {
  background: var(--green-900);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 43, 33, 0.18);
}
.btn-line .arr { transition: transform 0.25s var(--ease); }
.btn-line:hover .arr { transform: translateX(5px); }
.hero-photo .btn-line { color: #fff; }
.hero-photo .btn-line:hover { background: #fff; color: var(--green-950); }
.dark-section .btn-line { color: #fff; }
.dark-section .btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--green-950); }

/* ================= Trust band (flush between hero and next section) ================= */

.feature-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.feature-strip-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 860px) {
  .feature-strip-inner { grid-template-columns: repeat(4, 1fr); }
}
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
  color: var(--green-900);
  padding: 16px 14px;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
@media (max-width: 859px) {
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.feature svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold-deep);
}
.feature strong {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ================= Flat stats row ================= */

.stats-flat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 16px;
  padding-block: clamp(44px, 6vw, 70px);
}
@media (min-width: 860px) {
  .stats-flat { grid-template-columns: repeat(4, 1fr); }
}
.stats-flat .stat-num {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
}
.stats-flat .stat-num em { font-style: normal; color: var(--gold-deep); }

/* ================= Dark split section ================= */

.dark-section {
  background:
    radial-gradient(45% 90% at 95% 5%, rgba(201, 163, 92, 0.15), transparent 60%),
    linear-gradient(150deg, var(--green-950), var(--green-900));
  color: var(--cream);
}
.dark-section h2 { color: #fff; }
.dark-section .eyebrow { color: var(--gold); }
.dark-section .eyebrow::before { background: var(--gold); }
.dark-section .lead { color: rgba(250, 247, 240, 0.78); }
.dark-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 920px) {
  .dark-grid { grid-template-columns: 0.85fr 1.15fr; }
}
.mini-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) {
  .mini-grid { grid-template-columns: 1fr 1fr; }
}
.mini-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3); }
.mini-card svg { width: 25px; height: 25px; color: var(--green-700); }
.mini-card h3 { font-size: 1.02rem; margin: 12px 0 6px; font-family: var(--sans); }
.mini-card h3 a { text-decoration: none; color: var(--green-900); }
.mini-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mini-card:hover h3 a { color: var(--gold-deep); }
.mini-card p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ================= About media (portrait on light bg) ================= */

.about-media {
  position: relative;
  max-width: 340px;
  width: 100%;
  justify-self: center;
}
.about-media .portrait-frame {
  border-color: var(--gold);
  box-shadow: 0 0 0 10px rgba(201, 163, 92, 0.12), var(--shadow-lg);
}
.about-media .hero-badge { animation: none; }

ul.award-list-light { margin-top: 1.2em; }
ul.award-list-light li {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--green-900);
}

/* ================= Stats (overlap card) ================= */

.stats { padding-inline: 22px; }
.stats-card {
  max-width: 1096px;
  margin-inline: auto;
  margin-top: clamp(-72px, -6vw, -56px);
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  padding: clamp(26px, 4vw, 40px);
}
@media (min-width: 860px) {
  .stats-card { grid-template-columns: repeat(4, 1fr); }
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--green-900);
  margin-bottom: 6px;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.stat .ph { font-size: 0.62em; }

.district-banner {
  margin-block: clamp(20px, 4vh, 40px);
}
.district-banner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ================= Cards ================= */

.card-grid {
  display: grid;
  gap: 22px;
  margin-block: 1.6em;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card h3 a, .card .h3 a {
  text-decoration: none;
  color: var(--green-900);
}
.card h3 a::after { content: "  →"; color: var(--gold-deep); font-weight: 400; }
.card h3 a:hover { color: var(--gold-deep); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Listings */
.listing { padding: 0; overflow: hidden; position: relative; }
.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--green-950, #0b241a);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  box-shadow: 0 4px 14px rgba(18, 43, 33, 0.25);
}
.listing-img { display: block; overflow: hidden; }
.listing-img img { transition: transform 0.5s var(--ease, ease); width: 100%; }
.listing:hover .listing-img img { transform: scale(1.045); }
.listing .h3 { margin-bottom: 0.35em; }
.listing > img, .listing > a > img {
  border-radius: 0;
  transition: transform 0.5s ease;
}
.listing:hover > img { transform: scale(1.045); }
.listing-body { padding: 18px 22px 22px; }
.listing-meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5em; }
.listing-price {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-900);
  margin: 0;
}
.listing .btn-line {
  margin: 16px 22px 22px;
  font-size: 0.7rem;
  padding: 10px 18px;
}
.listing-body + .btn-line { margin-top: 0; }

.reviews-grid .testimonial { break-inside: avoid; }
@media (min-width: 960px) {
  .reviews-grid { columns: 3; column-gap: 22px; display: block; }
  .reviews-grid .testimonial { display: inline-block; width: 100%; margin-bottom: 22px; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .reviews-grid { columns: 2; column-gap: 20px; display: block; }
  .reviews-grid .testimonial { display: inline-block; width: 100%; margin-bottom: 20px; }
}

/* Testimonials */
.testimonial {
  position: relative;
  font-style: italic;
  padding-top: 30px;
  overflow: hidden;
}
.testimonial::before {
  content: "\201E";
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}
.testimonial > * { position: relative; z-index: 1; }
.testimonial .stars {
  color: var(--gold-deep);
  letter-spacing: 3px;
  font-style: normal;
  display: block;
  margin-bottom: 0.6em;
  font-size: 0.95rem;
}
.testimonial footer {
  margin-top: 1em;
  font-style: normal;
  font-weight: 700;
  color: var(--green-900);
}
.testimonial footer::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

/* ================= About / awards ================= */

.about-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}

.awards {
  background: linear-gradient(160deg, var(--green-950), var(--green-900));
  color: var(--cream);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.awards h3 {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-top: 0;
}
.award-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.award-list li {
  background: rgba(201, 163, 92, 0.16);
  border: 1px solid rgba(201, 163, 92, 0.45);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.88rem;
  font-weight: 600;
}
.award-note { font-size: 0.88rem; color: rgba(250, 247, 240, 0.7); margin: 0; }

.highlight-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin-block: 1.4em;
}
.highlight-box p:last-child { margin-bottom: 0; }

/* Personal signature */
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--green-900);
  margin-top: 0.6em;
}
.signature::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0.5em;
}

.about-media {
  position: relative;
  max-width: 360px;
  width: 100%;
  justify-self: center;
}
.about-media .portrait-frame {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(201, 163, 92, 0.12), var(--shadow-lg);
}

/* ================= Lists ================= */

.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 0.6em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23a17c33" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 11px no-repeat;
}

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 1em;
  min-height: 34px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: -14px;
  width: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }

/* ================= District cards ================= */

.district-grid {
  display: grid;
  gap: 20px;
  margin-top: 1.8em;
}
@media (min-width: 560px) { .district-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .district-grid { grid-template-columns: repeat(3, 1fr); } }

.district-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.district-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.district-card img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.district-card:hover img { transform: scale(1.05); }
.district-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}
.district-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0;
  color: var(--green-900);
}
.district-card p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.district-card .arrow {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.district-card:hover .arrow {
  background: var(--gold);
  color: var(--green-950);
  transform: translateX(3px);
}

.type-switch { margin-top: 1.4em; }
.type-switch a.current {
  background: var(--green-900);
  color: var(--gold);
  border-color: var(--green-900);
}

/* Pill links (services hub, footer fallback) */
.district-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.2em;
}
.district-links a {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.district-links a:hover {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--gold);
  transform: translateY(-2px);
}

.rounded-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ================= Articles ================= */

.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -0.4em;
}
.article-hero { margin-top: clamp(20px, 4vh, 36px); }
.article-hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.article-body { font-size: 1.04rem; }
.article-body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  margin-top: 1.8em;
}
.article-body p, .article-body li { line-height: 1.75; }
.article-body .lead { font-size: 1.15rem; color: var(--muted); }
.article-note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.post-card { padding: 0; overflow: hidden; }
.post-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: 0.5em;
}
.post-card h2 a { text-decoration: none; color: var(--green-900); }
.post-card h2 a:hover { color: var(--gold-deep); }

.byline-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  object-fit: cover;
}
.author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 2.5em;
}
.author-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--gold);
}
.author-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.3em;
}
.author-bio { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.9em; }
.author-cta { margin: 0; }
.author-cta .btn-line { font-size: 0.72rem; padding: 9px 16px; }
@media (max-width: 560px) {
  .author-card { flex-direction: column; }
}

/* ================= FAQ ================= */

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--green-900);
  list-style: none;
  position: relative;
  padding-right: 34px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-deep);
  font-size: 1.15rem;
  line-height: 26px;
  text-align: center;
  transition: transform 0.25s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details[open] summary { margin-bottom: 0.6em; }
details p:last-child { margin-bottom: 0; }

/* ================= Forms ================= */

form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 13px 16px;
  min-height: 50px;
  border: 1.5px solid #cdc4ad;
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form textarea { min-height: 130px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(201, 163, 92, 0.2);
}
.form-consent { font-size: 0.85rem; color: var(--muted); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 38px);
}

/* ================= Contact page ================= */

.contact-grid {
  display: grid;
  gap: 44px;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.contact-info h2 { margin-top: 0; }
.contact-info address p, .contact-info > p { margin-bottom: 1.1em; }

/* ================= CTA strip ================= */

.cta-strip {
  background:
    radial-gradient(50% 100% at 90% 0%, rgba(201, 163, 92, 0.2), transparent 60%),
    linear-gradient(150deg, var(--green-950), var(--green-900));
  color: var(--cream);
  padding-block: clamp(52px, 8vw, 84px);
}
.cta-strip h2 {
  color: #fff;
  margin-top: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
}
.cta-strip h2 em { color: var(--gold); }
.cta-strip p { color: rgba(250, 247, 240, 0.82); margin-bottom: 0; }
.cta-inner {
  display: grid;
  gap: 28px;
}
@media (min-width: 880px) {
  .cta-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
  .cta-actions { justify-self: end; }
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

/* ================= Footer ================= */

.site-footer {
  background: var(--green-950);
  color: rgba(250, 247, 240, 0.85);
  padding-block: clamp(48px, 7vw, 72px) 0;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.footer-heading {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 1.1em;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 0.8fr; }
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { text-decoration: none; opacity: 0.9; }
.footer-links a:hover { text-decoration: underline; opacity: 1; }
.site-footer .hours { font-size: 0.9rem; }
.footer-map {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}
.footer-map-link {
  margin-top: 8px;
  font-size: 0.85rem;
}
.footer-map-link a { text-decoration: none; }
.footer-map-link a:hover { text-decoration: underline; }
.site-footer .ph { background: rgba(201, 163, 92, 0.2); color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-block: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ================= Mobile call bar ================= */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--green-950);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  padding-bottom: env(safe-area-inset-bottom);
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.call-bar a svg { width: 17px; height: 17px; flex: none; }
.call-bar .cb-phone { background: var(--gold); color: var(--green-950); }
.call-bar .cb-msg { background: var(--green-900); color: #fff; }

@media (max-width: 1039px) {
  body { padding-bottom: 64px; }
}
@media (min-width: 1040px) {
  .call-bar { display: none; }
}

/* ================= Legal ================= */

.legal h2 { font-size: 1.3rem; }

/* ================= Award marquee ribbon ================= */

.ribbon {
  overflow: hidden;
  background: var(--green-950);
  border-block: 1px solid rgba(201, 163, 92, 0.3);
  padding-block: 16px;
}
.ribbon-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: ribbon 32s linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  display: flex;
  align-items: center;
  gap: 56px;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.84rem;
  white-space: nowrap;
}
.ribbon-track i { font-style: normal; opacity: 0.5; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ================= Scroll-reveal (JS adds .js + .in) ================= */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    filter 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.from-left { transform: translateX(-44px); }
.js .reveal.from-right { transform: translateX(44px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Eyebrow rule line draws itself in */
.js .eyebrow.reveal::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.25s;
}
.js .eyebrow.reveal.in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
