

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #F7F7F7;
  --color-surface-alt2: #F0F0F0;

  --color-text: #1A1A1A;
  --color-text-soft: #4D4D4D;
  --color-text-muted: #707070;
  --color-kicker: #CBCBCB;

  --color-border: #ededed;

  --color-primary: #058059;
  --color-primary-alt: #08805A;
  --color-accent: #FECC5E;
  --color-dark: #101010;
  --color-darker: #000000;

  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-title: "Playfair Display", Georgia, serif;
  --font-sub: "Playfair Display", Georgia, serif;
  --font-open: "Rubik", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --transition: 240ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms ease, transform 800ms ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; height: auto; }
a { color: #333; font-weight: 300; text-decoration: none; transition: color var(--transition); }
a { transition: color 220ms ease; }
a:hover { color: var(--color-primary-alt); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--color-text);
}
h3, h4 { font-family: var(--font-sub); font-weight: 400; line-height: 1.3; margin: 0 0 0.6em; }
p { margin: 0 0 1em; font-weight: 300; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(18px, 4vw, 40px) 0 0; }
.section--alt { background: var(--color-surface-alt); padding: clamp(36px, 6vw, 60px) 0; margin-top: clamp(40px, 6vw, 80px); }
.breadcrumbs {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.breadcrumbs__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item a {
  color: var(--color-text-soft);
  text-decoration: none;
  transition: color 200ms ease;
}
.breadcrumbs__item a:hover { color: var(--color-primary); }
.breadcrumbs__item.is-current span {
  color: var(--color-primary);
  font-weight: 500;
}
.breadcrumbs__sep { width: 6px; height: 9px; color: var(--color-text-muted); flex: none; }
@media (max-width: 600px) {
  .breadcrumbs { padding: 10px 0; }
  .breadcrumbs__list { font-size: 13px; gap: 6px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--color-surface-alt);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h2 {
  font-family: var(--font-title);
  font-size: 20px; font-weight: 400;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: var(--color-text);
  position: relative;
}
.contact-card h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 32px; height: 2px; background: var(--color-primary);
  transform: translateX(-50%);
}
.contact-card__list {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0; font-size: 15px; color: var(--color-text-soft);
}
.contact-card__list a { color: var(--color-text-soft); text-decoration: none; }
.contact-card__list a:hover { color: var(--color-primary); }

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-form-intro .title { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 16px; }
.contact-form {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 32px;
}
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-title);
  font-size: 14px; color: var(--color-text-soft);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface-alt);
  color: var(--color-text);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5, 128, 89, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn--primary {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 14px 36px;
  border-radius: 8px;
  font-family: var(--font-open);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, transform 260ms ease;
}
.contact-form .btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.contact-form__note { font-size: 12px; color: var(--color-text-muted); margin: 0; }

.contact-form-col { display: flex; flex-direction: column; gap: 16px; }

.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-field { position: relative; }
.form-field span em { color: var(--color-text-muted); font-style: normal; font-size: 12px; font-weight: 400; }
.form-field.has-error > input,
.form-field.has-error > textarea {
  border-color: #D94A3D;
  background: #FFF5F4;
}
.form-field.has-error > input:focus,
.form-field.has-error > textarea:focus {
  border-color: #D94A3D;
  box-shadow: 0 0 0 3px rgba(217, 74, 61, 0.14);
}
.form-error {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  color: #B53325;
  margin-top: 6px;
  line-height: 1.4;
  animation: formErrorIn 220ms ease both;
}
@keyframes formErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  animation: formBannerIn 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.form-banner svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.form-banner strong { display: block; font-family: var(--font-title); font-size: 16px; font-weight: 500; margin-bottom: 2px; }
.form-banner span { color: inherit; opacity: 0.9; }
.form-banner--success {
  background: #EAF7F0;
  color: #1E6B43;
  border: 1px solid #BFE3CD;
}
.form-banner--error {
  background: #FDEEEC;
  color: #A22A1E;
  border: 1px solid #F3C7C1;
}
@keyframes formBannerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

.section--intro { padding: clamp(40px, 8vw, 80px) 0 clamp(10px, 3vw, 30px); }
.section--intro h1.title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; margin: 6px 0 22px; }
.section--intro p { max-width: 860px; font-size: 17px; line-height: 1.75; color: var(--color-text, #333); }
.carousel { margin-bottom: clamp(40px, 6vw, 80px); }

.kicker {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-kicker);
  margin: 0 0 15px;
}

.title {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 20px;
  position: relative;
  padding-left: 30px;
}
.title::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 10px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
}

.section-title {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-size: 35px;
  font-weight: 500;
  line-height: 1.3em;
  margin: 0 0 45px;
}

.btn {
  display: inline-block;
  padding: 15px 43px;
  font-family: var(--font-open);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-alt);
  border-color: #000;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--ghost:hover { background: #000; color: #fff; border-color: #000; }

.topbar {
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.topbar-info { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar-info a {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 400;
}
.topbar-info a:hover { color: var(--color-primary); }
.topbar-info .icon { color: var(--color-primary); }

.topbar-social { display: flex; gap: 8px; }

.topbar-social a {
  width: 30px; height: 30px; border-radius: 99%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary-alt); color: #F0F0F0; font-size: 19px;
  transition: background-color 260ms ease, color 260ms ease, transform 260ms ease;
  line-height: 25px;
  text-align: center;
  text-decoration: none;
}
.topbar-social a .icon { fill: currentColor; color: #F0F0F0; width: 16px; height: 16px; transition: fill 260ms ease, color 260ms ease; }
.topbar-social a:hover { background: var(--color-accent); color: var(--color-dark); transform: translateY(-1px); }
.topbar-social a:hover .icon { fill: var(--color-dark); color: var(--color-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.site-logo { line-height: 0; }
.site-logo img { max-height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav .nav-link {
  display: inline-block;
  padding: 0 10px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #FFFFFF;
  position: relative;
  line-height: 2.2;
}
.nav .nav-link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-item:hover .nav-link::after,
.nav-item.is-active .nav-link::after { transform: scaleX(1); }
.nav-item:hover .nav-link,
.nav-item.is-active .nav-link { color: var(--color-accent); }

.nav-caret {
  display: none;
  background: transparent; border: 0; padding: 0 6px;
  color: #fff; cursor: pointer;
  transition: transform 220ms ease, color 220ms ease;
}
.nav-caret svg { width: 10px; height: 7px; display: block; }
.nav-item.has-dropdown:hover .nav-caret { color: var(--color-accent); transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--color-primary);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  z-index: 50;
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  line-height: 1.5;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav-dropdown a:hover { background: var(--color-primary-alt); color: var(--color-accent); }
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0; color: #fff; position: relative;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: currentColor;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 280ms ease, opacity 200ms ease, top 280ms ease;
}
.nav-toggle span:nth-child(1) { top: calc(50% - 8px); }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { top: calc(50% + 8px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

.hero {
  position: relative;
  height: 520px;
  width: 100%;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(28, 9, 0, 0.4);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-content .container { width: 100%; }
.hero-inner {
  max-width: 700px;
  padding-left: 49px;
  padding-top: 0;
}
.hero-inner .hero-title,
.hero-inner .hero-lead,
.hero-inner .btn--ghost {
  opacity: 0;
  transform: translateX(-60px);
  will-change: opacity, transform;
}
.hero-inner.play .hero-title {
  animation: heroSlideIn 900ms cubic-bezier(0.22, 0.61, 0.36, 1) 100ms forwards;
}
.hero-inner.play .hero-lead {
  animation: heroSlideIn 900ms cubic-bezier(0.22, 0.61, 0.36, 1) 500ms forwards;
}
.hero-inner.play .btn--ghost {
  animation: heroSlideIn 900ms cubic-bezier(0.22, 0.61, 0.36, 1) 1100ms forwards;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner .hero-title,
  .hero-inner .hero-lead,
  .hero-inner .btn--ghost { animation: none; opacity: 1; transform: none; }
}
.hero-title {
  font-family: var(--font-title);
  font-size: 60px;
  font-weight: 400;
  color: #fff;
  line-height: 63px;
  margin: 0 0 36px;
  letter-spacing: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.hero-title .line { display: block; }
.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}
.hero .btn--ghost {
  font-family: var(--font-open);
  font-size: 17px;
  font-weight: 500;
  padding: 15px 43px;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, transform 260ms ease;
}
.hero .btn--ghost:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 30px 0;
}
.split--reverse .split__media { order: 2; }

.split__media .media-frame {
  display: block;
  width: 95%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  
  aspect-ratio: 1 / 1;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><path fill='%23000' d='M300 54C264 54 231 73 213 104L13 450C-4 481 -4 519 13 550L213 896C231 927 264 946 300 946L700 946C736 946 769 927 787 896L987 550C1004 519 1004 481 987 450L787 104C769 73 736 54 700 54L300 54Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><path fill='%23000' d='M300 54C264 54 231 73 213 104L13 450C-4 481 -4 519 13 550L213 896C231 927 264 946 300 946L700 946C736 946 769 927 787 896L987 550C1004 519 1004 481 987 450L787 104C769 73 736 54 700 54L300 54Z'/></svg>");
  -webkit-mask-repeat: no-repeat;   mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;     mask-size: 100% 100%;
  -webkit-mask-position: center;    mask-position: center;
}
.split__media .media-frame::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split__media.reveal-x { opacity: 0; transform: translateX(-80px); transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.split--reverse .split__media.reveal-x { transform: translateX(80px); }
.split__media.reveal-x.is-visible { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .split__media.reveal-x { opacity: 1; transform: none; transition: none; }
}
.split__body { padding: 0 0 0 40px; }
.split--reverse .split__body { padding: 0 40px 0 0; }
.split__body .kicker { margin-bottom: 15px; }
.split__body p {
  color: var(--color-text);
  font-family: var(--font-open);
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  margin: 0 0 35px;
}

.features-header { text-align: center; margin: 0 auto clamp(32px, 5vw, 56px); }
.features-header .leaf { width: 54px; height: auto; margin: 0 auto 18px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  text-align: center;
}
.feature { padding: 0 20px; text-align: center; }

.feature h3 {
  font-family: var(--font-title);
  font-size: 25px;
  color: var(--color-text);
  margin: 0 0 15px;
  font-weight: 500;
  line-height: 1.1em;
}

.feature p {
  font-family: var(--font-body);
  color: var(--color-text);
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 500ms ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - 20px) / 2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface-alt);
}
.carousel-slide .media-frame {
  width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.carousel-slide:hover img { transform: scale(1.04); }
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.carousel-btn:hover { background: var(--color-primary); color: #fff; }
.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 8, 6, 0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

.contact-section {
  background: #fff;
  padding: clamp(60px, 9vw, 110px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

.footer-col h2 {
  color: var(--color-primary);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 29px;
  margin: 0 0 30px;
  position: relative;
  padding-left: 0;
}
.footer-col h2::before { content: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col p,
.footer-col a,
.footer-col li { color: #333333; font-family: var(--font-open); font-size: 15px; font-weight: 400; line-height: 20px; word-spacing: 0.1em; }
.footer-col p { line-height: 30px; }
.footer-col li { margin-bottom: 4px; line-height: 20px; }
.footer-col ul li a { line-height: 20px; }
.footer-col a { color: #333333; }
.footer-col a:hover { color: var(--color-primary); }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact .icon {
  color: var(--color-primary);
  width: 20px;
  flex-shrink: 0;
  margin-top: 5px;
}

.copyright-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 22px 0;
  text-align: left;
  font-size: 13px;
}
.copyright-bar .container { display: flex; justify-content: flex-start; align-items: center; }
.copyright-bar h2 {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

.icon {
  width: 18px; height: 18px;
  display: inline-block;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3px;
}

@media (max-width: 767px) {
  .hide-phone,
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hide-tablet,
  .hide-mobile { display: none !important; }
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split__media { order: -1; }
  .split--reverse .split__media { order: -1; }
  .split__body { padding: 0; }
  .split--reverse .split__body { padding: 0; }
  .split__media .media-frame { width: 80%; max-width: 420px; }
  .features, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex-basis: 100%; }

  
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--color-primary); color: #fff;
    padding: 0 var(--gutter); gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 320ms ease, padding 320ms ease;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { max-height: 1200px; padding-top: 12px; padding-bottom: 18px; overflow: visible; }
  .nav-item {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav .nav-link {
    flex: 1;
    padding: 14px 6px;
    color: #fff;
    font-family: var(--font-title);
    font-size: 18px;
  }
  .nav .nav-link::after { display: none; }
  .nav-caret {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: #fff;
  }
  .nav-caret svg { width: 14px; height: 9px; }
  .nav-dropdown {
    position: static; flex: 1 1 100%;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: none; border-radius: 0;
    padding: 4px 0 8px;
    opacity: 1; visibility: visible; transform: none;
    transition: none;
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
  }
  .nav-item.is-open > .nav-dropdown { max-height: 400px; padding-top: 4px; padding-bottom: 8px; transition: max-height 280ms ease, padding 280ms ease; }
  .nav-item.is-open > .nav-caret { transform: rotate(180deg); color: var(--color-accent); }
  .nav-dropdown a { color: #fff; padding: 12px 22px; font-family: var(--font-title); font-size: 16px; white-space: normal; }
  .nav-dropdown a:hover { background: rgba(255, 255, 255, 0.08); color: var(--color-accent); }
  .nav-item.has-dropdown:hover .nav-dropdown { max-height: 0; }
  .nav-item.has-dropdown.is-open:hover .nav-dropdown { max-height: 400px; }
  .nav-item.has-dropdown:hover .nav-caret { transform: none; color: #fff; }
  .nav-item.is-open.has-dropdown:hover .nav-caret { transform: rotate(180deg); color: var(--color-accent); }
  .nav-item:hover .nav-link, .nav-item.is-active .nav-link { color: var(--color-accent); }
}

@media (max-width: 767px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-info { justify-content: center; }
  .site-logo img { max-height: 46px; }
  .hero { height: 600px; }
  .hero-inner { padding-left: 0; }
  .hero-title { font-size: 52px; line-height: 58px; text-align: center; }
  .hero .btn--ghost { display: block; width: auto; text-align: center; margin: 0 auto; }

  .section { padding-top: 30px; }
  .split { padding: 0; }
  .split__body {
    padding: 20px 20px 30px;
  }
  .split__body .title { font-size: 40px; margin: 0 0 15px; padding-left: 30px; }
  .split__body .kicker { margin-bottom: 15px; }
  .split__body p { margin: 0 0 30px; }
  .split__media { margin: 0 15px; position: relative; }
  .split__media .media-frame { width: 88%; max-width: 360px; }

  .features, .footer-grid { grid-template-columns: 1fr; }
  .carousel-btn { width: 38px; height: 38px; }
  .carousel-slide { flex-basis: 100%; }

  .footer-col h2 { font-size: 26px; }
  .btn { width: 100%; text-align: center; }

  /* Stopka i copyright wyśrodkowane na mobile */
  .footer-col { text-align: center; }
  .footer-col h2 { text-align: center; }
  .footer-col ul { padding: 0; list-style: none; }
  .footer-contact li { justify-content: center; }
  .copyright-bar .container { justify-content: center; text-align: center; }
  .copyright-bar h2 { text-align: center; width: 100%; }
}

/* ===== 404 ===== */
.section--404 {
  padding-top: clamp(20px, 3vw, 40px) !important;
  padding-bottom: clamp(40px, 6vw, 80px) !important;
}
.page-404 {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.page-404__num {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-size: clamp(140px, 26vw, 280px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: #058059;
  opacity: .10;
  margin: 0 0 -.25em;
  user-select: none;
  pointer-events: none;
}
.page-404 .kicker { margin: 0 0 10px; }
.page-404 .title { margin: 0 0 18px; }
.page-404__lead {
  color: #555;
  max-width: 560px;
  margin: 0 auto;
}
.page-404__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}
.btn--ghost {
  background: transparent;
  color: #058059;
  border: 1.5px solid #058059;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn--ghost:hover {
  background: var(--color-accent, #e9c46a);
  color: #1b1b1b;
  border-color: var(--color-accent, #e9c46a);
}
.page-404__links {
  border-top: 1px solid #eee;
  padding-top: 24px;
  margin-top: 8px;
}
.page-404__links-label {
  display: block;
  color: #888;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-404__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
}
.page-404__links a {
  color: #058059;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
  transition: color 220ms ease, border-color 220ms ease;
}
.page-404__links a:hover { color: #1b1b1b; border-color: transparent; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e3e3e0;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.06);
  padding: 20px 22px;
  max-width: 420px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-banner.is-open { opacity: 1; transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-banner__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-banner__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(5, 128, 89, 0.08);
  color: #058059;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 46px;
}
.cookie-banner__icon svg { width: 26px; height: 26px; }
.cookie-banner__text h2 {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-size: 20px;
  margin: 0 0 6px;
  color: #058059;
  font-weight: 700;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4d4d4d;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn {
  flex: 1 1 0;
  padding: 11px 22px;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
}
.cookie-banner__actions .btn--ghost {
  background: #fff;
  color: #1f2937;
  border: 1px solid #1f2937;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.cookie-banner__actions .btn--ghost:hover,
.cookie-banner__actions .btn--ghost:focus { background: #1f2937; color: #fff; border-color: #1f2937; }

/* mobilny układ */
@media (max-width: 720px) {
  .cookie-banner { padding: 16px; border-radius: 12px; inset: auto 10px 10px 10px; max-width: none; width: auto; }
  .cookie-banner__head { gap: 12px; }
  .cookie-banner__icon    { width: 40px; height: 40px; flex-basis: 40px; }
  .cookie-banner__icon svg{ width: 22px; height: 22px; }
  .cookie-banner__text h2 { font-size: 17px; }
  .cookie-banner__text p  { font-size: 13px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; }
}

/* pływający przycisk re-open */
.cookie-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e3e3e0;
  background: #fff;
  color: #058059;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  padding: 0;
}
.cookie-fab svg { width: 22px; height: 22px; }
.cookie-fab:hover {
  background: var(--color-accent, #FECC5E);
  color: #1b1b1b;
  transform: translateY(-2px);
}

/* status w ramce — pokazuje się tylko po ponownym otwarciu modala */
.cookie-banner__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(5, 128, 89, 0.06);
  border: 1px solid rgba(5, 128, 89, 0.18);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #2f4f43;
}
.cookie-banner__status,
.cookie-banner__status * { font-size: 12px; }
.cookie-banner__status strong {
  color: #058059;
  font-weight: 600;
}
.cookie-banner__status-icon {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  color: #058059;
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.blog-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.blog-card__title { font-family: var(--font-title); font-size: 20px; line-height: 1.3; margin: 0; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--color-primary); }
.blog-card__date { color: #888; font-size: 13px; }
.blog-card__excerpt { color: var(--color-text); font-size: 15px; margin: 4px 0 0; }
.blog-card__more { margin-top: auto; padding-top: 8px; color: var(--color-primary); font-weight: 600; text-decoration: none; font-size: 14px; }
.blog-card__more:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Single post */
.blog-post { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.blog-post__side { position: sticky; top: 100px; }
.blog-post__title { font-family: var(--font-title); font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.blog-post__meta { color: #888; font-size: 14px; margin-bottom: 18px; }
.blog-post__lead { font-size: 16px; color: inherit; margin: 0 0 67px; }
.blog-post__body h2 { font-family: var(--font-title); font-size: 30px; margin: 40px 0 12px; }
.blog-post__body h3 { font-family: var(--font-title); font-size: 22px; margin: 40px 0 10px; }
.blog-post__body h4 { font-family: var(--font-title); font-size: 18px; margin: 22px 0 8px; }
.blog-post__body p  { margin: 0 0 14px; line-height: 1.7; }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 14px 0; padding-left: 24px; list-style: none; }
.blog-post__body ol { padding-left: 28px; list-style: decimal; }
.blog-post__body ol li { padding-left: 6px; }
.blog-post__body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.6; font-weight: 300; }
.blog-post__body ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
}
.blog-post__body li { margin-bottom: 6px; line-height: 1.6; }
.blog-post__body strong { font-weight: 500; }
.blog-post__body a { color: var(--color-primary); }
.blog-post__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.blog-post__body blockquote { border-left: 3px solid var(--color-primary); margin: 18px 0; padding: 4px 0 4px 16px; color: #555; font-style: italic; }

/* Hexagon avatar */
.hexagon { width: 300px; height: 345px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); overflow: hidden; background: #f0eee7; margin: 0 auto; }
.hexagon img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 800px) {
  .blog-post { grid-template-columns: 1fr; gap: 24px; }
  .blog-post__side { position: static; }
  .hexagon { width: 240px; height: 276px; }
}
