:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-2: #eef1ed;
  --ink: #17201b;
  --muted: #5f6963;
  --line: #dfe4df;
  --brand: #ed4a16;
  --brand-dark: #c6380d;
  --brand-soft: #fff0ea;
  --forest: #27382f;
  --forest-2: #1a251f;
  --success: #2f7f4f;
  --danger: #b32d2e;
  --shadow-sm: 0 10px 30px rgba(23, 32, 27, 0.07);
  --shadow-lg: 0 30px 80px rgba(17, 29, 22, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --container: 1200px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open,
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--brand); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 96px 0; }
.section--compact { padding: 70px 0; }
.section--dark { background: var(--forest-2); color: #fff; }
.section--surface { background: var(--surface); }
.section--soft { background: var(--surface-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}
.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}
.section--dark .section-lead { color: rgba(255,255,255,.7); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 46px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 12px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: none; }

.topbar {
  background: var(--forest-2);
  color: rgba(255,255,255,.8);
  font-size: .88rem;
}
.topbar__inner {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.topbar__links { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar__tag { color: rgba(255,255,255,.58); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(31, 40, 35, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(17,29,22,.09); background: rgba(255,255,255,.97); }
.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 224px; height: auto; transition: width .25s ease; }
.site-header.is-scrolled .brand img { width: 196px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 14px 15px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 700;
  color: #344039;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--surface-2);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--brand { color: #fff; background: var(--brand); box-shadow: 0 12px 24px rgba(237,74,22,.22); }
.btn--brand:hover { background: var(--brand-dark); box-shadow: 0 16px 30px rgba(237,74,22,.3); }
.btn--dark { color: #fff; background: var(--forest); }
.btn--brand, .btn--dark { position: relative; overflow: hidden; }
.btn--brand::before, .btn--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg);
  transition: left .65s cubic-bezier(.16,1,.3,1);
}
.btn--brand:hover::before, .btn--dark:hover::before { left: 130%; }
.btn--light { color: var(--ink); background: #fff; }
.btn--outline { border-color: rgba(23,32,27,.18); background: transparent; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { background: rgba(255,255,255,.13); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #233028 url('../images/hero.webp') center calc(50% + var(--parallax, 0px)) / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(17,25,21,.92) 0%, rgba(17,25,21,.7) 45%, rgba(17,25,21,.18) 80%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -7vw -20vw auto;
  z-index: -1;
  width: 52vw;
  aspect-ratio: 1;
  border: 80px solid rgba(237,74,22,.25);
  border-radius: 50%;
  animation: hero-orb-float 12s ease-in-out infinite;
}
@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2.5vw, 3vw); }
}
.hero__inner { padding: 110px 0 100px; }
.hero__content { max-width: 760px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  font-size: .84rem;
  font-weight: 800;
}
.hero__kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(237,74,22,.2); }
.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: .97;
  letter-spacing: -.06em;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero__lead { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero__trust { display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 36px; color: rgba(255,255,255,.76); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust span::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: rgba(237,74,22,.85); font-size: .75rem; font-weight: 900; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 94px;
  color: #fff;
  background: var(--forest-2);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -140px;
  width: 520px;
  height: 520px;
  border: 100px solid rgba(237,74,22,.15);
  border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 850px; }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; color: rgba(255,255,255,.62); font-size: .9rem; }
.breadcrumbs a:hover { color: #fff; }
.page-hero h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.page-hero p { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.74); font-size: 1.15rem; }

.stats-strip { position: relative; z-index: 2; margin-top: -48px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.stat { padding: 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--brand); font-size: clamp(2rem, 4vw, 2.25rem); line-height: 1; letter-spacing: -.05em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1c2922;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transform: perspective(1000px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: transform .55s ease, opacity .35s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,13,.04) 10%, rgba(10,16,13,.95) 88%); }
.service-card__content { position: absolute; z-index: 2; inset: auto 28px 28px; }
.service-card__number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--brand); font-size: .8rem; font-weight: 900; }
.service-card h3 { margin: 0; font-size: 1.65rem; line-height: 1.15; }
.service-card p { margin: 12px 0 0; color: rgba(255,255,255,.7); }
.service-card:hover .service-card__image { transform: scale(1.05); opacity: .78; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(237,74,22,.28); box-shadow: var(--shadow-sm); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; color: var(--brand); background: var(--brand-soft); }
.feature__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.feature h3 { margin: 0; font-size: 1.22rem; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split--reverse { grid-template-columns: .95fr 1.05fr; }
.split__visual { position: relative; }
.split__visual img { width: 100%; min-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__badge {
  position: absolute;
  right: -22px;
  bottom: 34px;
  width: 180px;
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 20px 45px rgba(237,74,22,.3);
}
.split__badge strong { display: block; font-size: 2.4rem; line-height: 1; }
.split__badge span { display: block; margin-top: 8px; font-weight: 700; line-height: 1.3; }
.prose p { color: var(--muted); }
.prose p:first-of-type { font-size: 1.12rem; color: #3f4943; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #39443e; }
.check-list li::before { content: "✓"; flex: 0 0 25px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--brand); font-size: .75rem; font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process__item { position: relative; padding: 0 28px; counter-increment: step; }
.process__item:first-child { padding-left: 0; }
.process__item:last-child { padding-right: 0; }
.process__item:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -20px; width: 40px; height: 1px; background: rgba(255,255,255,.24); }
.process__number { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 900; }
.process__number::before { content: "0" counter(step); }
.process h3 { margin: 0; font-size: 1.2rem; }
.process p { margin: 10px 0 0; color: rgba(255,255,255,.63); font-size: .94rem; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 135px; gap: 16px; }
.project-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--forest); cursor: zoom-in; }
.project-card:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.project-card:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.project-card:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.project-card:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.project-card:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.project-card:nth-child(6) { grid-column: span 4; grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.76)); }
.project-card span { position: absolute; z-index: 2; left: 20px; bottom: 17px; color: #fff; font-weight: 800; }
.project-card:hover img { transform: scale(1.04); }

.cert-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cert-stack { position: relative; min-height: 470px; }
.cert-stack img { position: absolute; width: 58%; max-height: 430px; object-fit: cover; object-position: top; border: 8px solid #fff; border-radius: 12px; box-shadow: var(--shadow-lg); }
.cert-stack img:nth-child(1) { left: 0; top: 22px; transform: rotate(-5deg); }
.cert-stack img:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 62px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--forest-2);
}
.cta-panel::before { content: ""; position: absolute; right: -90px; bottom: -180px; width: 420px; height: 420px; border: 80px solid rgba(237,74,22,.2); border-radius: 50%; }
.cta-panel__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-panel h2 { max-width: 700px; margin: 0; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.cta-panel p { max-width: 620px; margin: 18px 0 0; color: rgba(255,255,255,.67); }
.cta-panel__actions { display: flex; flex-direction: column; gap: 12px; min-width: 220px; }

.offer-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-detail {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.offer-detail__image { width: 100%; height: 240px; object-fit: cover; }
.offer-detail__body { padding: 30px; }
.offer-detail h2 { margin: 0; font-size: 1.55rem; }
.offer-detail ul { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); }
.offer-detail li { display: flex; gap: 10px; }
.offer-detail li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--brand); }

.faq { display: grid; gap: 14px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(237,74,22,.28); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.area-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 32% 30%, rgba(237,74,22,.23), transparent 24%),
    radial-gradient(circle at 70% 64%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(145deg, #25382f, #142019);
  box-shadow: var(--shadow-lg);
}
.area-map::before,
.area-map::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.area-map::before { width: 480px; height: 480px; left: -100px; top: -120px; }
.area-map::after { width: 310px; height: 310px; right: -80px; bottom: -90px; }
.city-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); font-size: .84rem; font-weight: 700; }
.city-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.city-tag:nth-child(1) { top: 18%; left: 19%; }
.city-tag:nth-child(2) { top: 32%; right: 16%; }
.city-tag:nth-child(3) { top: 52%; left: 36%; }
.city-tag:nth-child(4) { bottom: 18%; right: 22%; }
.city-tag:nth-child(5) { bottom: 20%; left: 12%; }
.city-tag--main { top: 43% !important; left: 49% !important; transform: translate(-50%,-50%); padding: 12px 18px; background: var(--brand); box-shadow: 0 15px 35px rgba(237,74,22,.32); }
.city-tag--main::before { background: #fff; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 110px; width: 1px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 60px; padding: 0 0 45px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year { font-size: 1.3rem; font-weight: 900; color: var(--brand); }
.timeline__content { position: relative; padding: 0 0 0 10px; }
.timeline__content::before { content: ""; position: absolute; left: -42px; top: 8px; width: 13px; height: 13px; border: 4px solid var(--surface); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.timeline__content h3 { margin: 0; font-size: 1.25rem; }
.timeline__content p { margin: 8px 0 0; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.cert-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .4s ease; }
.cert-card:hover img { transform: scale(1.025); }
.cert-card span { display: block; padding: 18px 20px; font-weight: 800; }

.gallery-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 800; cursor: pointer; transition: .2s ease; }
.filter-btn:hover,
.filter-btn.is-active { color: #fff; border-color: var(--brand); background: var(--brand); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; min-height: 250px; overflow: hidden; border: 0; padding: 0; border-radius: var(--radius); background: #ddd; cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; min-height: 250px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery-item::after { content: "Zobacz"; position: absolute; inset: auto 14px 14px auto; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #fff; background: rgba(23,32,27,.82); opacity: 0; transform: scale(.8); transition: .25s ease; font-size: .75rem; font-weight: 800; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item:hover::after { opacity: 1; transform: scale(1); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(8,12,10,.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease; }
.lightbox__dialog {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  transform: scale(.94) translateY(10px);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.lightbox.is-open .lightbox__dialog { transform: scale(1) translateY(0); }
.lightbox__dialog img { max-width: 100%; max-height: 82vh; margin: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; right: -18px; top: -18px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--brand); cursor: pointer; font-size: 1.35rem; }
.lightbox__caption { margin-top: 12px; color: rgba(255,255,255,.72); text-align: center; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 15px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card__icon { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--brand); background: var(--brand-soft); }
.contact-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-card strong { display: block; margin-bottom: 3px; }
.contact-card span, .contact-card address { color: var(--muted); font-style: normal; }
.contact-card a:hover { color: var(--brand); }
.contact-form { padding: 36px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.contact-form h2 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -.03em; }
.contact-form > p { margin: 0 0 26px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 800; }
.field input,
.field textarea,
.field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input,
.field select { min-height: 52px; padding: 0 14px; }
.field textarea { min-height: 150px; padding: 14px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237,74,22,.1); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; color: var(--muted); font-size: .84rem; }
.consent input { margin-top: 4px; accent-color: var(--brand); }
.captcha-field { padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2); }
.captcha-field label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.captcha-field input { max-width: 140px; }
.captcha-field input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179,45,46,.1); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin: 14px 0 0; min-height: 24px; font-size: .9rem; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.footer { padding: 70px 0 26px; color: rgba(255,255,255,.72); background: #121b16; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 50px; }
.footer__brand img { width: 220px; filter: brightness(0) invert(1); opacity: .9; }
.footer__brand p { max-width: 380px; margin: 20px 0 0; color: rgba(255,255,255,.54); }
.footer h3 { margin: 0 0 18px; color: #fff; font-size: 1rem; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .84rem; }

.floating-call { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 18px 40px rgba(237,74,22,.34); font-weight: 800; }
.floating-call span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 1.1rem; }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

body { opacity: 0; animation: page-in .6s ease forwards; }
@keyframes page-in { to { opacity: 1; } }

@media (max-width: 1060px) {
  .header__actions .btn { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse, .area-grid, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .split__visual { max-width: 780px; }
  .split--reverse .split__visual { order: 2; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
  .process__item:nth-child(2)::after { display: none; }
  .offer-detail-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; min-height: 36px; }
  .topbar__links { gap: 15px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: calc(36px + var(--header-h)) 0 auto;
    display: grid;
    gap: 3px;
    padding: 20px 14px 26px;
    background: #fff;
    box-shadow: 0 28px 45px rgba(17,29,22,.15);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 18px; border-radius: 12px; font-size: 1rem; }
  .hero { min-height: 700px; background-image: url('../images/hero-mobile.webp'); background-position: 58% center; }
  .hero::before { background: linear-gradient(180deg, rgba(17,25,21,.88), rgba(17,25,21,.65)); }
  .hero__inner { padding: 92px 0 82px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .section { padding: 76px 0; }
  .section--compact { padding: 58px 0; }
  .section-heading { display: block; }
  .section-heading .btn { margin-top: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards-3 { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .project-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .cert-preview { grid-template-columns: 1fr; }
  .cert-stack { min-height: 420px; }
  .cta-panel { padding: 44px 30px; }
  .cta-panel__inner { display: block; }
  .cta-panel__actions { margin-top: 30px; max-width: 260px; }
  .offer-detail-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > :last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .topbar__links a:nth-child(2) { display: none; }
  .brand img { width: 174px; }
  .hero { min-height: 650px; }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { display: grid; gap: 10px; }
  .page-hero { padding: 80px 0 72px; }
  .stats-strip { margin-top: -32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .split__visual img { min-height: 420px; }
  .split__badge { right: 12px; bottom: 18px; width: 155px; }
  .process { grid-template-columns: 1fr; }
  .process__item { padding: 0; }
  .process__item::after { display: none; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .cert-stack { min-height: 360px; }
  .cert-stack img { width: 66%; max-height: 340px; }
  .cta-panel { padding: 38px 22px; }
  .cert-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item img { min-height: 280px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { display: block; }
  .footer__bottom span { display: block; margin-top: 7px; }
  .floating-call { right: 14px; bottom: 14px; padding-right: 8px; }
  .floating-call .floating-call__label { display: none; }
}

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