/* ==========================================================================
   Елов Дом — design system
   Palette is taken from the logo: forest green, warm orange, cream, deep blue.
   ========================================================================== */

:root {
  --green-900: #173a24;
  --green-800: #1f4d30;
  --green-700: #2a6340;
  --green-600: #357a4f;
  --green-100: #e6efe6;
  --green-50:  #f2f7f1;
  --orange-600: #a8440f;
  --orange-500: #bf5419;
  --orange-100: #fbe6d7;
  --blue-700: #1d4f7c;
  --cream: #fbf7ef;
  --sand:  #f4ede0;
  --ink:   #1f2a24;
  --text:  #36423b;
  --muted: #5f6b64;
  --line:  #e5ddd0;
  --white: #ffffff;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(23, 58, 36, .06), 0 2px 8px rgba(23, 58, 36, .05);
  --shadow:    0 2px 6px rgba(23, 58, 36, .06), 0 12px 32px rgba(23, 58, 36, .09);
  --shadow-lg: 0 8px 24px rgba(23, 58, 36, .10), 0 24px 64px rgba(23, 58, 36, .14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(56px, 8vw, 104px);

  --fs-base: 1.0625rem; /* 17px — comfortable for older readers */
}

/* Larger text mode (toggle in the header) */
html.text-lg { font-size: 112.5%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.65; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

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

/* ---------- Language visibility ---------- */
html:not([lang="en"]) [data-l="en"] { display: none !important; }
html[lang="en"] [data-l="bg"] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  background: var(--orange-500); color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(224, 105, 42, .28);
}
.btn:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn.green { background: var(--green-700); box-shadow: 0 6px 18px rgba(42, 99, 64, .25); }
.btn.green:hover { background: var(--green-800); }
.btn.ghost { background: transparent; color: var(--green-800); border-color: var(--green-700); box-shadow: none; }
.btn.ghost:hover { background: var(--green-700); color: #fff; }
.btn.light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; backdrop-filter: blur(4px); }
.btn.light:hover { background: #fff; color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--green-900); color: #dfe9df; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange-100); }
.topbar-info { display: flex; gap: 24px; align-items: center; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 239, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(23,58,36,.06); }
.header-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--blue-700); }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-600); }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--green-100); color: var(--green-800); }
.main-nav a[aria-current="page"] { background: var(--green-700); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 42px; min-width: 42px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .03em;
  transition: border-color .2s, background .2s;
}
.tool-btn:hover { border-color: var(--green-700); background: var(--green-50); }
.tool-btn[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.header-cta { display: inline-flex; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1101px) { .main-nav .nav-home { display: none; } }
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .topbar .hide-md { display: none; }
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; margin: 0;
    background: var(--cream); padding: 16px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { font-size: 1.15rem; padding: 16px 18px; border-radius: 14px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
  .main-nav .nav-mobile-cta .btn { display: flex; border-radius: 999px; font-size: 1rem; padding: .8em 1.5em; border-bottom-width: 2px; }
  .main-nav .nav-mobile-cta .btn.ghost { border: 2px solid var(--green-700); }
  .header-tools { margin-left: auto; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none; }
@media (max-width: 520px) {
  .topbar { font-size: .82rem; }
  .topbar .container { min-height: 34px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .62rem; }
  .topbar .container { justify-content: center; }
  .topbar-info { gap: 14px; }
  .topbar-hours { display: none !important; }
  .tool-btn.text-size { display: none; }
}

/* ==========================================================================
   Home hero (full-bleed crossfade carousel + EU plaque)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: min(760px, calc(100svh - var(--header-h) - 40px));
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--green-900);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease, transform 7s ease;
  transform: scale(1.06);
}
.hero-slides img.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 38, 24, .86) 0%, rgba(15, 38, 24, .62) 45%, rgba(15, 38, 24, .25) 100%),
    linear-gradient(0deg, rgba(15, 38, 24, .55) 0%, rgba(15, 38, 24, 0) 40%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 7vw, 96px);
}
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 34em; margin-bottom: 1.8em; }
.hero .eyebrow { color: #ffd2b4; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255,255,255,.92); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 20px; height: 20px; color: #ffb58a; flex: none; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 22px; }
.hero-controls .container { display: flex; align-items: center; gap: 10px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.4); transition: background .3s, width .3s; }
.hero-dots button[aria-current="true"] { background: #fff; width: 52px; }
.hero-arrows { display: flex; gap: 8px; margin-left: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(0,0,0,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.round-btn:hover { background: rgba(255,255,255,.2); }
.round-btn svg { width: 20px; height: 20px; }

/* EU funding plaque — must be visible on first view (regulatory requirement) */
.eu-plaque {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 460px; justify-self: end; width: 100%;
}
.eu-plaque img { width: 100%; height: auto; border-radius: 8px; }
.eu-plaque figcaption { font-size: .8rem; color: var(--muted); padding: 10px 4px 2px; line-height: 1.45; text-align: center; }

@media (max-width: 900px) {
  .hero { min-height: 0; display: block; }
  .hero::after { background: linear-gradient(180deg, rgba(15,38,24,.55) 0%, rgba(15,38,24,.85) 100%); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 32px; gap: 28px; }
  .hero .lead { margin-bottom: 1.3em; }
  .hero-facts { display: none; }
  .eu-plaque { justify-self: center; max-width: 520px; }
  .hero-controls { position: static; padding: 0 0 22px; }
}
/* Phones: keep the EU plaque on the first screen */
@media (max-width: 560px) {
  .hero-inner { padding-top: 22px; padding-bottom: 22px; gap: 20px; }
  .hero .eyebrow, .hero .lead { display: none; }
  .hero h1 { font-size: 1.75rem; margin-bottom: .6em; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { min-height: 48px; padding: .6em .8em; font-size: .92rem; white-space: normal; text-align: center; }
  .hero .btn-row .btn svg { display: none; }
  .eu-plaque { padding: 8px; border-radius: 14px; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--green-900); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,38,24,.88) 0%, rgba(15,38,24,.55) 60%, rgba(15,38,24,.35) 100%); }
.page-hero .container { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { color: #fff; max-width: 18em; text-wrap: balance; }
.page-hero .lead { color: rgba(255,255,255,.9); max-width: 38em; margin: 0; }
.page-hero .eyebrow { color: #ffd2b4; }
.breadcrumbs { font-size: .875rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.8); }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }
.breadcrumbs span[aria-hidden] { margin: 0 .5em; opacity: .6; }

/* ==========================================================================
   Sections & layout helpers
   ========================================================================== */
.section { padding: var(--section-y) 0; }
.section.alt { background: #fff; }
.section.sand { background: var(--sand); }
.section.green { background: var(--green-800); color: #e3ece3; }
.section.green h2, .section.green h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split .media { position: relative; }
.split .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split .media.tall img { aspect-ratio: 4 / 5; }
.split.reverse .media { order: 2; }
.media-badge {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--orange-500); color: #fff; padding: 16px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-family: var(--font-head); line-height: 1.2; max-width: 220px;
}
.media-badge strong { display: block; font-size: 1.9rem; }
.media-badge span { font-family: var(--font-body); font-size: .85rem; opacity: .95; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .media-badge { right: 12px; bottom: -16px; }
}

.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a6340' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
@media (max-width: 640px) { .checklist.two-col { grid-template-columns: 1fr; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 18px;
}
.feature .icon.orange { background: var(--orange-100); color: var(--orange-600); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } .feature { padding: 22px 20px; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; } .feature .icon { margin: 0; grid-row: span 2; } }

.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .features.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .features.three { grid-template-columns: 1fr; } }

/* Link cards (home "explore" grid) */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.explore-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.explore-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.explore-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.explore-card:hover .thumb img { transform: scale(1.05); }
.explore-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.explore-card h3 { margin-bottom: .35em; }
.explore-card p { color: var(--muted); font-size: .97rem; margin-bottom: 1.1em; }
.more { margin-top: auto; font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.explore-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 1020px) { .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .explore { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.price-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.price-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.price-card h3 { margin-bottom: .2em; }
.price-card .size { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.price-card .size svg { width: 18px; height: 18px; }
.price-card .amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--green-800); line-height: 1; margin: auto 0 4px; }
.price-card .per { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.price-card .btn { width: 100%; }
.price-tag { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--green-800); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 500; font-size: .92rem;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0));
}
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 150px; gap: 10px; } }

.gallery-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery-strip a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-strip a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gallery-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gallery-strip a:nth-child(n+4) { display: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 20, 14, .94);
  display: none; align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #e7ece8; margin-top: 12px; text-align: center; font-size: .95rem; }
.lightbox .lb-close { position: absolute; top: 14px; right: 14px; }
.lightbox .lb-prev  { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 24px; left: 24px; color: #cdd6cf; font-size: .9rem; }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; transform: none; } .lightbox .lb-prev { left: calc(50% - 56px); } .lightbox .lb-next { right: calc(50% - 56px); } }

/* ==========================================================================
   Quote / highlight / stats
   ========================================================================== */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; color: #fff; font-style: italic; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--orange-500); margin-bottom: 18px; font-style: normal; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 20px; text-align: center; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--green-800); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.note {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--green-50); border: 1px solid var(--green-100); border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.note svg { width: 26px; height: 26px; flex: none; color: var(--green-700); margin-top: 2px; }
.note p { margin: 0; }

.history-card {
  background: var(--sand); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); position: relative;
}
.history-card .year { font-family: var(--font-head); font-size: 3.2rem; color: var(--orange-500); font-weight: 700; line-height: 1; margin-bottom: 10px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green-800); color: #e3ece3; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,105,42,.35), rgba(224,105,42,0) 70%); z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #d6ccb9; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a6340' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text); }
.faq .answer p:last-child { margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

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

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--orange-600); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; min-height: 52px; background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(53,122,79,.15); }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; background: #fff7f6; }
.field .error { display: none; color: #b03a2e; font-size: .85rem; }
.field.invalid .error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip > span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--cream); font-weight: 500; font-size: .95rem; transition: all .2s;
}
.chip input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent.invalid { color: #b03a2e; }
.consent.invalid input { outline: 2px solid #c0392b; outline-offset: 2px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-700); flex: none; }

#formStatus { margin-bottom: 20px; }
.alert { padding: 16px 18px; border-radius: 12px; font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.alert.success { background: var(--green-100); color: var(--green-900); border: 1px solid #c8dcc8; }
.alert.error { background: #fdecea; color: #7b241c; border: 1px solid #f5c6c0; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.info-list .ic svg { width: 24px; height: 24px; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-500); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-900); color: #c9d6cc; padding: clamp(48px, 7vw, 80px) 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffc9a6; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 14px; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand .brand-sub { color: #ffb58a; }
.site-footer .footer-h { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 4px; color: #ffb58a; flex: none; }
.footer-eu { margin-top: 48px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 20px; align-items: center; }
.footer-eu img { width: 150px; border-radius: 6px; background: #fff; flex: none; }
.footer-eu p { margin: 0; font-size: .85rem; color: #aebfb2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9fb2a4; }
.footer-seo { font-size: .85rem; color: #9fb2a4; margin-top: 20px; max-width: 60em; }
.footer-seo strong { color: #c9d6cc; font-weight: 600; }
.footer-seo a, .answer a, .note a, .prose a, .consent a { text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-eu { flex-direction: column; align-items: flex-start; } }

/* Mobile quick-action bar */
.quick-bar { display: none; }
@media (max-width: 760px) {
  .quick-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .quick-bar.show { transform: none; }
  .quick-bar .btn { min-height: 50px; padding: .7em 1em; font-size: .98rem; }
  body { padding-bottom: 76px; }
}

/* Facebook */
.fb-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  padding: 10px 18px; border-radius: 999px; background: #1463d0; color: #fff !important;
  font-weight: 600; text-decoration: none !important; transition: background .2s;
}
.fb-btn:hover { background: #0d4fae; }
.fb-btn svg { width: 20px; height: 20px; }
.btn.fb { background: #1463d0; box-shadow: 0 6px 18px rgba(20,99,208,.25); }
.btn.fb:hover { background: #0d4fae; }
a.tool-btn { text-decoration: none; }
@media (max-width: 1100px) { .topbar .hide-sm { display: none; } }

/* Footer links */
.footer-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.link-btn:hover { color: #ffc9a6; text-decoration: underline; }

/* Cookie consent */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 260;
  max-width: 980px; margin: 0 auto; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent-inner { display: flex; gap: 24px; align-items: center; padding: 20px 24px; }
.consent-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0 0 4px; }
.consent p { margin: 0; font-size: .92rem; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { min-height: 46px; padding: .6em 1.3em; }
@media (max-width: 760px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; }
  .consent-title { font-size: 1rem; margin-bottom: 2px; }
  .consent p { font-size: .84rem; line-height: 1.45; }
  .consent-actions .btn { flex: 1; min-height: 42px; padding: .45em 1em; }
}

/* Review copy only */
.preview-bar { background: #fff3c4; color: #5a4300; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 16px; }
.map-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; text-align: center;
  background: var(--green-50); color: var(--green-800); font-weight: 600; font-size: 1.1rem; text-decoration: underline;
}

/* Toast for form status */
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 56px); transform: translateX(-50%); z-index: 250;
  max-width: min(560px, calc(100% - 32px)); box-shadow: var(--shadow-lg);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Legal / long text pages */
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

@media print {
  .site-header, .topbar, .quick-bar, .site-footer, .hero-controls { display: none !important; }
  .hero, .page-hero { color: #000; }
}
