/* ============================================================
   Friedemann Richter Garten- und Landschaftsbau
   Shared site styles — Premium-Natur, "tief verwurzelt"
   ============================================================ */

:root {
  /* Green (brand) */
  --primary: #0c4a3e;
  --primary-2: #015d52;
  --primary-hover: #0a3d33;
  --sage: #b4d3a1;
  --sage-soft: #e8f1e0;
  --green-bright: #4e8d5b;

  /* Warm accent */
  --accent: #c8932f;
  --accent-hover: #ad7c22;
  --accent-soft: #f5ead2;
  --earth: #8a6d4b;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-subtle: #f4f7f1;
  --bg-dark: #0c2a22;
  --bg-darker: #071c17;

  /* Text */
  --text: #1a221e;
  --text-muted: #5c6660;
  --text-subtle: #8b948e;
  --on-dark: #eef3ea;
  --on-dark-muted: #a9c1b3;

  /* UI */
  --border: #e2e8dd;
  --border-strong: #cdd6c6;
  --divider: rgba(12, 42, 34, 0.1);

  --shadow-soft: 0 18px 48px rgba(12, 42, 34, 0.12);
  --shadow-card: 0 10px 30px rgba(12, 42, 34, 0.08);
  --shadow-lift: 0 28px 60px rgba(12, 42, 34, 0.20);

  --gradient-hero: linear-gradient(180deg, rgba(7,28,23,0.10) 0%, rgba(7,28,23,0.38) 52%, rgba(7,28,23,0.86) 100%);
  --gradient-green: linear-gradient(135deg, #0c2a22 0%, #015d52 100%);

  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Open Sans', system-ui, sans-serif;
  --display: 'Bebas Neue', 'Open Sans', sans-serif;

  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2,.6,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { text-wrap: pretty; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 48px, 1480px); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, 820px); margin-inline: auto; }

section { position: relative; }
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section-sm { padding: clamp(48px, 6vw, 84px) 0; }
.bg-subtle { background: var(--bg-subtle); }
.bg-dark { background: var(--bg-dark); color: var(--on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }

/* Eyebrow */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--sage); display: inline-block; }
.bg-dark .eyebrow { color: var(--sage); }
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-muted); line-height: 1.7; }
.bg-dark .lead { color: var(--on-dark-muted); }

.section-head { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  padding: 15px 30px; border-radius: 2px; cursor: pointer; border: 2px solid transparent;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  letter-spacing: .01em; white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-gold { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(200,147,47,.28); }
.btn-gold:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(200,147,47,.36); }
.btn-green { background: var(--primary); color: #fff; }
.btn-green:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.10); transform: translateY(-2px); }
.btn-outline-green { border-color: var(--border-strong); color: var(--primary); }
.btn-outline-green:hover { border-color: var(--primary); background: var(--sage-soft); transform: translateY(-2px); }
.btn-text { color: var(--green-bright); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.btn-text .arrow { transition: transform .35s var(--ease); }
.btn-text:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header .container-wide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 46px; width: auto; transition: opacity .3s; }
.brand .tree-light { position: absolute; opacity: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 900; font-size: 1.18rem; letter-spacing: .02em; color: var(--primary); transition: color .3s; }
.brand-sub { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; transition: color .3s; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; font-size: .94rem; padding: 10px 16px; color: var(--text); position: relative;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover, .nav a.active { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--primary); font-size: .95rem; transition: color .3s; }
.header-phone svg { width: 17px; height: 17px; }

/* transparent-over-hero state */
.site-header.transparent { background: transparent; }
.site-header.transparent .nav a,
.site-header.transparent .brand-name { color: #fff; }
.site-header.transparent .brand-sub { color: rgba(255,255,255,.7); }
.site-header.transparent .header-phone { color: #fff; }
.site-header.transparent .nav a:hover, .site-header.transparent .nav a.active { color: #fff; }
.site-header.transparent .brand .tree-dark { opacity: 0; }
.site-header.transparent .brand .tree-light { opacity: 1; }
.site-header.transparent .menu-toggle span { background: #fff; }

/* scrolled state (solid) */
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 24px rgba(12,42,34,.08); height: 72px; backdrop-filter: blur(8px); }
.site-header.scrolled .nav a, .site-header.scrolled .brand-name { color: var(--text); }
.site-header.scrolled .brand-sub { color: var(--text-muted); }
.site-header.scrolled .header-phone { color: var(--primary); }
.site-header.scrolled .brand .tree-dark { opacity: 1; }
.site-header.scrolled .brand .tree-light { opacity: 0; }
.site-header.scrolled .menu-toggle span { background: var(--primary); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--primary); display: block; transition: transform .35s var(--ease), opacity .25s; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-dark);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: #fff; font-weight: 700; padding: 10px;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:nth-child(1){ transition-delay: .12s;} .mobile-menu a:nth-child(2){ transition-delay: .18s;}
.mobile-menu a:nth-child(3){ transition-delay: .24s;} .mobile-menu a:nth-child(4){ transition-delay: .30s;}
.mobile-menu a:nth-child(5){ transition-delay: .36s;}
.mobile-menu .mm-cta { margin-top: 24px; transition-delay: .42s; }
.mobile-menu .mm-phone { font-family: var(--sans); font-size: 1.1rem; color: var(--sage); margin-top: 8px; transition-delay: .48s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--gradient-hero); }
.hero .hero-bg::after { background:
  linear-gradient(180deg, rgba(7,28,23,0.32) 0%, rgba(7,28,23,0.52) 45%, rgba(7,28,23,0.90) 100%),
  linear-gradient(90deg, rgba(7,28,23,0.62) 0%, rgba(7,28,23,0.14) 55%, rgba(7,28,23,0) 82%); }
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(70px, 11vh, 130px); padding-top: 140px; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 26px; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 56ch; margin-bottom: 38px; font-size: clamp(1.1rem,1.6vw,1.4rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.kenburns img { animation: kenburns 26s ease-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.16) translate(-1.5%, -2%); } }

/* page hero (subpages) */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.page-hero .hero-bg img { height: 116%; }
.page-hero-inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vh, 80px); padding-top: 150px; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.9); max-width: 56ch; margin-top: 20px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.75); margin-bottom: 22px; font-weight: 600; letter-spacing: .04em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translate(-50%,0);} 35%{opacity:1;} 70%{opacity:0; transform: translate(-50%,11px);} 100%{opacity:0;} }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 14px 30px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--divider); }
.bg-dark .stat + .stat::before { background: rgba(180,211,161,.22); }
.stat .num { font-family: var(--display); font-size: clamp(3rem, 5.5vw, 4.8rem); line-height: .9; color: var(--primary); letter-spacing: .01em; }
.bg-dark .stat .num { color: var(--sage); }
.stat .label { font-size: .92rem; color: var(--text-muted); margin-top: 8px; font-weight: 600; }
.bg-dark .stat .label { color: var(--on-dark-muted); }

/* ---------- Service tiles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 3px; min-height: 280px; display: flex; align-items: flex-end; color: #fff; grid-column: span 2; }
.tile.wide { grid-column: span 3; }
.tile.tall { grid-row: span 2; min-height: 480px; }
.tile.full { grid-column: 1 / -1; min-height: 300px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: 0; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,23,0) 28%, rgba(7,28,23,.82) 100%); z-index: 1; transition: background .5s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(7,28,23,.1) 10%, rgba(7,28,23,.88) 100%); }
.tile-body { position: relative; z-index: 2; padding: 28px; }
.tile-body h3 { color: #fff; margin-bottom: 6px; }
.tile-body p { color: rgba(255,255,255,.82); font-size: .92rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .5s; }
.tile-body .more { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: .86rem; color: var(--sage); margin-top: 12px; }
.tile:hover .tile-body p { max-height: 80px; opacity: 1; margin-top: 8px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--sage); }
.value-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary); }
.value-card .ic svg { width: 25px; height: 25px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: .96rem; }

/* project card */
.proj-card { position: relative; overflow: hidden; border-radius: 4px; display: block; color: #fff; min-height: 440px; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,23,0) 30%, rgba(7,28,23,.85) 100%); transition: background .5s; }
.proj-card:hover img { transform: scale(1.06); }
.proj-card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 34px; }
.proj-card-body .loc { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.proj-card-body h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }
.proj-card .open-cue { position: absolute; top: 26px; right: 26px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.proj-card:hover .open-cue { opacity: 1; transform: none; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; border-radius: 4px; }
.split-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.split-body .eyebrow { margin-bottom: 18px; }
.split-body h2 { margin-bottom: 18px; }
.split-body p + p { margin-top: 14px; }
.split-body .btn-text { margin-top: 24px; }

.media-mask img { clip-path: inset(0 0 0 0); }

/* number badge for service sections */
.svc-no { font-family: var(--display); font-size: 1.5rem; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 10px; }

/* feature list */
.feat-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: .98rem; }
.feat-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green-bright); margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--gradient-green); color: #fff; text-align: center; }
.cta-band .tree-wm { position: absolute; right: -40px; bottom: -60px; width: 360px; opacity: .07; z-index: 0; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20ch; margin: 0 auto 18px; }
.cta-band p { color: var(--on-dark-muted); max-width: 52ch; margin: 0 auto 32px; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-darker); color: var(--on-dark-muted); padding-top: 76px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { height: 76px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: .94rem; color: var(--on-dark-muted); transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.footer-badge { font-size: .72rem; font-weight: 700; padding: 8px 13px; border: 1px solid rgba(180,211,161,.3); border-radius: 3px; color: var(--sage); line-height: 1.3; }
.footer-bottom { border-top: 1px solid rgba(180,211,161,.16); padding: 26px 0 40px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-trust { color: var(--text-subtle); max-width: 60ch; font-size: .78rem; padding-bottom: 36px; line-height: 1.7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; } .reveal-d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kenburns img { animation: none !important; }
  .scroll-cue .mouse::after { animation: none; }
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label.fl { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--text); }
label.fl .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%; font-family: var(--sans); font-size: .98rem; padding: 14px 16px;
  border: 1px solid var(--border-strong); border-radius: 3px; background: #fff; color: var(--text);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(78,141,91,.14); }
.input.err, .textarea.err, .select.err { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192,73,47,.12); }
.textarea { resize: vertical; min-height: 130px; }
.field-err { color: #c0492f; font-size: .82rem; margin-top: 6px; display: none; }
.field-err.show { display: block; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6660' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .88rem; color: var(--text-muted); }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.check a { color: var(--green-bright); text-decoration: underline; }

/* file upload */
.filedrop { border: 2px dashed var(--border-strong); border-radius: 4px; padding: 26px; text-align: center; cursor: pointer; transition: border-color .25s, background .25s; background: var(--bg-subtle); }
.filedrop:hover, .filedrop.drag { border-color: var(--green-bright); background: var(--sage-soft); }
.filedrop svg { width: 30px; height: 30px; color: var(--green-bright); margin: 0 auto 10px; }
.filedrop .ft { font-weight: 600; color: var(--text); font-size: .94rem; }
.filedrop .fh { font-size: .82rem; color: var(--text-subtle); margin-top: 4px; }
.filelist { margin-top: 12px; display: grid; gap: 8px; }
.fileitem { display: flex; align-items: center; gap: 10px; background: var(--sage-soft); border-radius: 3px; padding: 9px 13px; font-size: .85rem; color: var(--primary); font-weight: 600; }
.fileitem button { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1.1rem; line-height: 1; }

.form-success { display: none; text-align: center; padding: 50px 30px; background: var(--sage-soft); border-radius: 6px; border: 1px solid var(--sage); }
.form-success.show { display: block; animation: pop .5s var(--ease); }
.form-success .chk { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .chk svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,20,16,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbpop .4s var(--ease); }
@keyframes lbpop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .25s; backdrop-filter: blur(4px); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; letter-spacing: .05em; }
.lb-caption { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .95rem; max-width: 70vw; text-align: center; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 4; column-gap: 16px; }
.masonry .gitem { break-inside: avoid; margin-bottom: 16px; overflow: hidden; border-radius: 3px; cursor: pointer; position: relative; }
.masonry .gitem img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.masonry .gitem::after { content: ""; position: absolute; inset: 0; background: rgba(7,28,23,0); transition: background .4s; }
.masonry .gitem:hover img { transform: scale(1.05); }
.masonry .gitem:hover::after { background: rgba(7,28,23,.18); }
.masonry .gitem .zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; z-index: 2; color: #fff; }
.masonry .gitem:hover .zoom { opacity: 1; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--sans); font-weight: 600; font-size: .9rem; padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border-strong); background: #fff; color: var(--text-muted); cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--sage); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.tl-item { position: relative; padding-left: 64px; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot { position: absolute; left: 9px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); z-index: 1; }
.tl-item .yr { font-family: var(--display); font-size: 1.7rem; color: var(--primary); line-height: 1; margin-bottom: 8px; letter-spacing: .04em; }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-muted); font-size: .96rem; }

/* job card */
.job-card { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 26px 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; cursor: pointer; }
.job-card:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: var(--sage); }
.job-card .job-info { flex: 1; }
.job-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--text-muted); }
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-meta svg { width: 15px; height: 15px; color: var(--green-bright); }
.job-card .job-cta { flex-shrink: 0; }
.badge-soft { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 100px; background: var(--accent-soft); color: var(--accent-hover); margin-bottom: 12px; }

/* info block */
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .it { font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.info-row .id { color: var(--text-muted); font-size: .95rem; }
.info-row a.id:hover { color: var(--green-bright); }

/* map */
.map-wrap { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); position: relative; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(1.1) hue-rotate(-8deg); }

/* legal pages */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal h1 { margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; font-size: .98rem; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal .placeholder-note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 3px; color: var(--accent-hover); font-size: .9rem; margin-bottom: 28px; }
.legal address { font-style: normal; color: var(--text-muted); line-height: 1.9; }

/* misc */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.divider-leaf { display: flex; align-items: center; gap: 14px; justify-content: center; color: var(--sage); }
.divider-leaf::before, .divider-leaf::after { content: ""; height: 1px; width: 60px; background: var(--border-strong); }

/* responsive */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .masonry { columns: 3; }
}
@media (max-width: 1024px) {
  .nav, .header-phone, .header-right .btn { display: none; }
  .menu-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat + .stat:nth-child(odd)::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.tall { grid-row: span 1; min-height: 300px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .container, .container-wide, .container-narrow { width: calc(100% - 36px); }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero { min-height: 92svh; }
  .stat { padding: 12px 10px; }
  .stat .num { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .scroll-cue { bottom: 12px; }
}
