/* ============================================================
   JS LEGAL — SHARED STYLESHEET
   Brand system: forest green + warm tan + terracotta
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:        #3B5249;
  --primary-dark:   #243530;
  --primary-light:  #5C7A6E;

  --secondary:      #BBA68A;
  --secondary-light:#E8DED2;

  --accent:         #C96C38;
  --accent-hover:   #A8582D;

  --neutral-900:    #1C1C1C;
  --neutral-700:    #454545;
  --neutral-500:    #797979;
  --neutral-300:    #BABABA;
  --neutral-200:    #D8D8D8;
  --neutral-100:    #EFEFEF;
  --neutral-50:     #F8F5F2;
  --white:          #FFFFFF;

  --success:  #3A7A52;
  --warning:  #C89830;
  --error:    #B84040;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.11);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.13);

  --nav-h: 72px;
  --container-max: 1200px;
  --container-pad: clamp(24px, 5vw, 80px);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--white); /* moved from body so ethereal layer (z-index:-1) shows through */
}
body {
  font-family: var(--font-body);
  color: var(--neutral-900);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Ethereal Shadow background (ethereal-shadow.js) ── */
#ethereal-shadow-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.30;
}
#ethereal-shadow-inner {
  position: absolute;
  inset: -100px; /* matches DISPLACEMENT — prevents filter clipping at edges */
  filter: url(#ethereal-bg-filter) blur(4px);
}
#ethereal-shadow-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(201, 108, 56, 0.85);
  mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  -webkit-mask-image: url('https://framerusercontent.com/images/ceBGguIpUU8luwByxuQz79t7To.png');
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.nav__logo-text span {
  display: block;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.65;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-left: auto;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.25s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--white); }
.nav__links a.active::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  letter-spacing: 0.2px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  flex-shrink: 0;
}
.nav__hamburger svg {
  width: 24px;
  height: 24px;
  transition: transform 300ms ease-in-out;
}
.nav__hamburger.open svg {
  transform: rotate(-45deg);
}
.nav__hamburger-path {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray 300ms ease-in-out, stroke-dashoffset 300ms ease-in-out;
}
.nav__hamburger.open .nav__hamburger-path {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

.nav__mobile {
  display: none;
  position: relative;
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--container-pad);
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.nav__mobile.open {
  max-height: 600px;
  padding: var(--space-lg) var(--container-pad) var(--space-2xl);
}
/* .nav__mobile.open handled above via max-height */
.nav__mobile a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile .nav__cta {
  display: inline-flex;
  margin-top: var(--space-lg);
  font-size: 13px;
  padding: 10px 20px;
}
.nav__mobile .nav__cta::after { display: none; }
.nav__mobile .nav__cta:hover { padding-right: 20px; transform: none; }

/* ── Page Header (shared for subpages) ── */
.page-header {
  background:
    radial-gradient(ellipse at 90% 20%, rgba(201,108,56,0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 10% 85%, rgba(92,122,110,0.40) 0%, transparent 65%),
    var(--primary-dark);
  min-height: 560px;
  padding: calc(var(--nav-h) + var(--space-4xl)) var(--container-pad) var(--space-4xl);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}
.page-header__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-md);
  display: block;
}
.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-lg);
}
.page-header__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}
.page-header__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}
.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-xl);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.page-header__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.page-header__breadcrumb a:hover { color: var(--secondary); }
.page-header__breadcrumb span { color: rgba(255,255,255,0.6); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, padding-right 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }

/* ── Expand-icon arrow effect (btn--primary, btn--accent) ── */
.btn--primary::after,
.btn--accent::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) translateX(calc(100% + 18px));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.btn--primary:hover::after,
.btn--accent:hover::after {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}
.btn--primary:hover,
.btn--accent:hover {
  padding-right: 38px;
}
/* nav__cta arrow removed — plain hover only */

.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,82,73,0.3);
}
.btn--accent {
  background: var(--accent);
  color: var(--white);
}
.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,108,56,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, padding-right 0.25s;
}
.btn--outline-dark::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) translateX(calc(100% + 18px));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  padding-right: 38px;
}
.btn--outline-dark:hover::after,
a:hover > .btn--outline-dark::after {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}
a:hover > .btn--outline-dark { padding-right: 38px; }
/* btn--sm (12px font): smaller arrow + tighter spacing */
.btn--sm.btn--outline-dark::after,
.btn--sm.btn--primary::after,
.btn--sm.btn--accent::after { width: 12px; height: 12px; right: 10px; transform: translateY(-50%) translateX(calc(100% + 10px)); }
.btn--sm.btn--outline-dark:hover,
a:hover > .btn--sm.btn--outline-dark,
.btn--sm.btn--primary:hover,
.btn--sm.btn--accent:hover { padding-right: 28px; }
/* btn--lg (16px font): larger arrow + more spacing */
.btn--lg.btn--accent::after,
.btn--lg.btn--primary::after { width: 16px; height: 16px; right: 22px; transform: translateY(-50%) translateX(calc(100% + 22px)); }
.btn--lg.btn--accent:hover,
.btn--lg.btn--primary:hover { padding-right: 44px; }

.btn--ghost {
  background: transparent;
  color: var(--primary);
  padding-left: 0;
  padding-right: 0;
  transition: color 0.2s, padding-right 0.25s;
}
.btn--ghost::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) translateX(calc(100% + 4px));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96C38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.btn--ghost:hover { color: var(--accent); padding-right: 20px; }
.btn--ghost:hover::after {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}
.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 12px; }

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--neutral-200);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.service-card:hover .service-card__icon {
  background: var(--secondary-light);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}
.service-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  font-family: var(--font-body);
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.25;
}
.service-card__desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.65;
  flex: 1;
}
.service-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  padding-right: 0;
  transition: color 0.2s, padding-right 0.25s;
}
.service-card__link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) translateX(calc(100% + 4px));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C96C38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.service-card:hover .service-card__link {
  color: var(--accent);
  padding-right: 20px;
}
.service-card:hover .service-card__link::after {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

/* ── Team Cards ── */
.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card:hover {
  transform: translateY(-6px);
}
.team-card__photo {
  aspect-ratio: 1/1;
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}
.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,53,48,0.92) 0%, rgba(36,53,48,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  gap: var(--space-sm);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.team-card:hover .team-card__overlay {
  opacity: 1;
}
.team-card__overlay-spec {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin: 0;
}
.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255,255,255,0.25);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.2;
}
.team-card__role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  min-height: 2.8em;
}
.team-card__spec {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.55;
}

/* ── Team Carousel (homepage) ── */
.tcarousel {
  position: relative;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tcarousel__window {
  flex: 1;
  overflow: hidden;
}
.tcarousel__arrow {
  flex-shrink: 0;
}
/* Fix hover: combine scale with the base state (no absolute positioning anymore) */
.tcarousel__arrow:hover {
  transform: scale(1.08);
}
.tcarousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.tcard {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}
.tcard__inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--primary-dark);
}
.tcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.tcard__inner:hover .tcard__img {
  transform: scale(1.05);
}
.tcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,40,36,0.92) 0%, rgba(24,40,36,0.5) 45%, transparent 72%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem 1.5rem;
  color: white;
}
.tcard__quote-icon {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 28px;
  height: 28px;
  fill: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.tcard__spec {
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.55;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tcard__footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.75rem;
}
.tcard__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  transition: color 0.25s ease;
}
.tcard__inner:hover .tcard__name {
  color: var(--accent);
}
.tcard__role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .tcard { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 520px) {
  .tcard { flex: 0 0 calc(100% - 0.75rem); }
}

/* ── Blog Carousel (homepage) ── */
.bcarousel {
  position: relative;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bcarousel__window {
  flex: 1;
  overflow: hidden;
}
.bcarousel__arrow {
  flex-shrink: 0;
}
.bcarousel__arrow:hover {
  transform: scale(1.08);
}
.bcarousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.bcard {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}
@media (max-width: 900px) {
  .bcard { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 640px) {
  .bcard { flex: 0 0 calc(100% - 0.75rem); }
}

/* ── Section ── */
.section {
  padding: var(--space-5xl) 0;
}
.section--sm { padding: var(--space-3xl) 0; }
.section--lg { padding: calc(var(--space-5xl) * 1.5) 0; }
.section--bg-cream { background: var(--neutral-50); }
.section--bg-dark { background: var(--primary-dark); }
.section--bg-primary { background: var(--primary); }

.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
  display: block;
  font-family: var(--font-body);
}
.section--bg-dark .section__label,
.section--bg-primary .section__label {
  color: var(--secondary);
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-lg);
}
.section--bg-dark .section__title,
.section--bg-primary .section__title {
  color: var(--white);
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}
.section--bg-dark .section__title em { color: var(--secondary); }
.section__subtitle {
  font-size: 16px;
  color: var(--neutral-500);
  max-width: 560px;
  line-height: 1.7;
}
.section--bg-dark .section__subtitle,
.section--bg-primary .section__subtitle {
  color: rgba(255,255,255,0.6);
}
.section__header {
  margin-bottom: var(--space-3xl);
}
.section__header--centered {
  text-align: center;
}
.section__header--centered .section__subtitle {
  margin: 0 auto;
}

/* ── Grid helpers ── */
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-lg) 0;
  border-radius: 2px;
}
.divider--centered { margin-left: auto; margin-right: auto; }

/* ── Quote / blockquote ── */
.quote {
  border-left: 3px solid var(--secondary);
  padding: var(--space-lg) var(--space-xl);
  background: var(--neutral-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-2xl) 0;
}
.quote p {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: var(--neutral-700);
  line-height: 1.55;
  font-weight: 400;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge--primary { background: var(--primary); color: var(--white); }
.badge--secondary { background: var(--secondary-light); color: var(--primary); }
.badge--accent { background: var(--accent); color: var(--white); }
.badge--outline { border: 1px solid var(--neutral-200); color: var(--neutral-500); }

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-lg);
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  letter-spacing: 0.3px;
}
.form-input,
.form-textarea,
.form-select {
  padding: 14px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--neutral-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,82,73,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--neutral-300); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ── Checklist ── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.55;
}
.checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B5249' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse at 70% 35%, rgba(201,108,56,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 65%;
  height: 160%;
  background: radial-gradient(ellipse at 20% 80%, rgba(92,122,110,0.40) 0%, transparent 65%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
}
.footer__logo img {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.footer__firm-name {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
}
.footer__about {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 16px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-lg);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer__links a:hover { color: var(--secondary); }
.footer__contact-item {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 10px;
}
.footer__contact-item strong {
  display: block;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 2px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer__copyright {
  flex: 1;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer__legal-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: var(--space-xl);
}
.footer__legal-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__legal-links a:hover { color: rgba(255,255,255,0.6); }
.footer__credit {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}
.footer__credit a {
  color: var(--accent);
  text-decoration: none;
}
.footer__credit a:hover {
  color: #e07d46;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  right: var(--space-xl);
  max-width: 560px;
  background: var(--neutral-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.5);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, border-color 0.2s;
}
.cookie-btn-reject:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up--delay-1 { transition-delay: 0.12s; }
.fade-up--delay-2 { transition-delay: 0.25s; }
.fade-up--delay-3 { transition-delay: 0.38s; }
.fade-up--delay-4 { transition-delay: 0.52s; }
.fade-up--delay-5 { transition-delay: 0.66s; }

/* ── Section label clip reveal ── */
.fade-up .section__label {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.fade-up.visible .section__label {
  clip-path: inset(0 0% 0 0);
}

/* ── Divider draw ── */
.fade-up .divider {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}
.fade-up .divider--centered {
  transform-origin: center;
}
.fade-up.visible .divider {
  transform: scaleX(1);
}

/* ── About image bloom ── */
.about__visual .about__image-main-img {
  transform: scale(0.97);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about__visual.visible .about__image-main-img {
  transform: scale(1);
}

/* ── Hero entrance animation ── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__heading {
  animation: heroReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero__desc {
  animation: heroReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero__image-wrap {
  animation: heroReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}

/* ── Accordion ── */
.accordion__item {
  border-bottom: 1px solid var(--neutral-200);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-900);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 20px;
  gap: var(--space-md);
  transition: color 0.2s;
}
.accordion__trigger:hover { color: var(--primary); }
.accordion__trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--primary-light);
  transition: transform 0.3s ease;
}
.accordion__item.open .accordion__trigger { color: var(--primary); }
.accordion__item.open .accordion__trigger svg { transform: rotate(180deg); }
.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion__body {
  padding-bottom: var(--space-xl);
  font-size: 14px;
  color: var(--neutral-600, var(--neutral-700));
  line-height: 1.7;
}
.accordion__body ul {
  margin-top: var(--space-sm);
  padding-left: var(--space-md);
  list-style: disc;
}
.accordion__body ul li { margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger {
    display: flex;
    margin-left: auto;
  }
  .nav__mobile { display: block; }

  /* Nav not sticky on mobile — scrolls with page */
  .nav {
    position: relative;
    background: var(--primary-dark);
  }
  /* Hero no longer needs to offset for fixed nav */
  .hero__content {
    padding-top: var(--space-3xl);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root {
    --container-pad: 20px;
    --space-5xl: 80px;
  }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Homepage-specific styles (migrated from index.html inline block)
   ============================================================ */

/* ── Hero ── */
.hero {
  min-height: 85vh;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 0 var(--container-pad) 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 130%;
  background: radial-gradient(ellipse at 70% 35%, rgba(201,108,56,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 20% 80%, rgba(92,122,110,0.40) 0%, transparent 65%);
  pointer-events: none;
}
/* Full-background hero variant */
.hero--fullbg {
  background: none;
  min-height: 90vh;
}
.hero--fullbg::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(36,53,48,0.55);
  z-index: 1;
}
.hero--fullbg::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}
.hero--fullbg .hero__inner::before {
  display: none;
}
.hero--fullbg .hero__inner {
  position: relative;
  grid-template-columns: 1fr;
  max-width: var(--container-max);
}
.hero--fullbg .hero__content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}
.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: stretch;
  padding: 0;
  flex: 1;
  min-height: 85vh;
  position: relative;
  z-index: 1;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 6px 16px 6px 8px;
  margin-bottom: var(--space-xl);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero__badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}
.hero__heading em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
}
.hero__heading .accent-line {
  display: block;
  color: var(--secondary);
}
.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}
.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, rgba(92,122,110,0.4) 0%, rgba(36,53,48,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
}
.hero__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}
.hero__image-label {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  right: var(--space-xl);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.hero__image-label-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__image-label-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}
.hero__image-label-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.hero__image-label-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.hero__floating-stat {
  position: absolute;
  top: var(--space-2xl);
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-xl);
}
.hero__floating-stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.hero__floating-stat-label {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero__scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.3);
}

/* ── Homepage utility classes ── */
.section-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}
.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section__header--split .section__title {
  margin-bottom: 0;
}
.section__header--split .btn--ghost {
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}
.about__mt {
  margin-top: var(--space-2xl);
}
.section__label--light {
  color: var(--secondary);
  text-align: center;
  display: block;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--secondary-light);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(187,166,138,0.3);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.2px;
}
.trust-bar__item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
}

/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__image-main-placeholder {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: var(--space-xl);
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(59,82,73,0.15);
  text-align: center;
}
.about__stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__stat-label {
  font-size: 11px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.about__content {}
.about__content .section__title { margin-bottom: var(--space-md); }
.about__quote {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
  border-left: 3px solid var(--secondary);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
}
.about__body {
  font-size: 15px;
  color: var(--neutral-600, var(--neutral-700));
  line-height: 1.8;
}
.about__body + .about__body { margin-top: var(--space-lg); }

/* ── Services overview ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ── Stats section ── */
/* ── Team preview ── */
.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,108,56,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section__inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}
.cta-section__title em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 400;
}
.cta-section__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}
.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.cta-section__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}
.cta-section__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.cta-section__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
}
.cta-section__contact-item a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.cta-section__contact-item a:hover { color: var(--secondary); }

/* ── Blog preview ── */
.blog-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--neutral-100);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.blog-card__image {
  aspect-ratio: 16/9;
  background: var(--neutral-100);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-light), var(--neutral-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-style: italic;
  color: var(--neutral-500);
  padding: var(--space-md);
  text-align: center;
}
.blog-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
}
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}
.blog-card__excerpt {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  font-size: 12px;
  color: var(--neutral-300);
  margin-top: auto;
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.blog-card__read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-400);
}

/* Responsive hero — hide image at ≤1200px (would be too cropped in narrow column) */
@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 0;
    min-height: 0;
  }
  .hero__visual { display: none; }
  .hero__desc { max-width: 100%; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  /* Hide only the image, keep stats; push stats after content via order */
  .about__image-main { display: none; }
  .about__content { order: 1; }
  .about__visual { order: 2; }
  /* Remove image-separator spacing from stats when image is hidden */
  .about__stats { margin-top: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-preview-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reduce carousel image height on tablet */
  .ct__images { height: 320px; }
  .ct__content { min-height: 0; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__inner { gap: var(--space-xl); }

  /* Hero: tighten top padding on small screens */
  .hero__content {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-3xl);
  }

  /* Further reduce carousel image height on mobile */
  .ct__images { height: 260px; }

  /* Services carousel: compact layout, full description always visible */
  .ct__content { min-height: 0; }
  .ct__arrows { margin-top: var(--space-md); }
  #svc-desc { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; display: block; }

  /* Smaller arrows to give carousel window more room */
  .ct__arrow {
    width: 38px;
    height: 38px;
  }

  /* Blog card title smaller on mobile */
  .blog-card__title { font-size: 18px; }

  /* About stats: 4 columns → 2×2 on mobile */
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PAGE: USŁUGI (service detail blocks)
   ============================================================ */

/* ── Services subnav ── */
.services-subnav {
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.services-subnav__inner {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-md) 0;
  white-space: nowrap;
  overflow-x: auto;
}
.services-subnav__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.services-subnav__link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ── Service block ── */
.service-block {
  padding: var(--space-5xl) 0;
  border-bottom: 1px solid var(--neutral-100);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.service-block:last-of-type { border-bottom: none; }
.service-block__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-4xl);
  align-items: start;
}
.service-block:nth-child(even) .service-block__inner .service-block__sidebar {
  order: 2;
}
.service-block:nth-child(even) .service-block__inner > div:last-child {
  order: 1;
}
.service-block__icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}
.service-block__icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}
.service-block__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
  display: block;
}
.service-block__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
}
.service-block__title em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 400;
}
.service-block__desc {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.service-block__cta {
  margin-top: var(--space-xl);
}

/* ── Scope list ── */
.scope-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--neutral-100);
}
.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.6;
}
.scope-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
  margin-top: 8px;
}
.scope-list--columns {
  columns: 2;
  gap: var(--space-lg);
}

/* ── Sub-service cards ── */
.sub-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.sub-service-card {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--neutral-100);
}
.sub-service-card--full {
  grid-column: 1 / -1;
}
.sub-service-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

/* ── Service quote ── */
.service-quote {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--white);
  margin: var(--space-2xl) 0;
}
.service-quote p {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.service-quote p::before { content: '\201C'; }
.service-quote p::after { content: '\201D'; }

/* ── Legal Design callout ── */
.legal-design-callout {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--secondary-light);
  border-radius: var(--radius-md);
}
.legal-design-callout__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}
.legal-design-callout__desc {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.7;
}

/* ── CTA dark section ── */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section--dark {
  background: var(--primary-dark);
  padding: var(--space-5xl) 0;
  text-align: center;
}
.cta-section__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,108,56,0.18), transparent 65%);
  pointer-events: none;
}
.cta-section__inner {
  position: relative;
}
.cta-section__label {
  color: var(--secondary);
  display: block;
  text-align: center;
  margin-bottom: var(--space-md);
}
.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}
.cta-section__title em {
  font-style: italic;
  color: var(--secondary);
}
.cta-section__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  font-weight: 300;
}
.cta-section__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Usługi responsive */
@media (max-width: 900px) {
  .service-block__inner {
    grid-template-columns: 1fr;
  }
  .service-block:nth-child(even) .service-block__inner .service-block__sidebar {
    order: unset;
  }
  .service-block:nth-child(even) .service-block__inner > div:last-child {
    order: unset;
  }
  .sub-services { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE: ZESPÓŁ (team grid + values)
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}
.team-member {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.team-member__photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 500;
  color: rgba(255,255,255,0.15);
  font-style: italic;
}
.team-member__photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(24,40,36,0.85) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.team-member:hover .team-member__photo-overlay { opacity: 1; }
.team-member__spec-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.team-member__role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
}
.team-member__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.2;
}
.team-member__spec {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.6;
}
.team-member__divider {
  width: 32px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}
.team-member--featured {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.team-member--featured .team-member__photo {
  aspect-ratio: 3/4;
}
.team-member--featured .team-member__name {
  font-size: 36px;
}
.team-member--featured .team-member__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .team-member--featured { grid-template-columns: 1fr; }
}
.team-member__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}
.team-member__spec-tag--light {
  background: var(--primary);
  border-color: var(--primary-light);
  color: rgba(255,255,255,0.85);
}

/* Team member highlight row (Aneta Kania) */
.team-member-highlight {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  border: 1px solid var(--neutral-100);
}
.team-member-highlight__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.value-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--neutral-100);
}
.value-card__number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}
.value-card__desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.7;
}

/* Zespół responsive */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG FILTER BAR (baza wiedzy — categories + search at top)
   ============================================================ */

.blog-filter-bar {
  padding: var(--space-lg) 0;
}
.blog-filter-bar__inner {
  display: flex;
  justify-content: center;
}
.blog-filter-bar__search {
  width: 480px;
  max-width: 100%;
}
.blog-filter-bar__cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.blog-filter-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--primary-dark);
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.blog-filter-cat:hover {
  background: var(--accent);
  transform: scale(1.05);
}
.blog-filter-cat--active {
  background: var(--accent);
}

/* ============================================================
   PAGE: BAZA WIEDZY (blog list + sidebar)
   ============================================================ */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}

/* Featured post */
.blog-featured {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--neutral-100);
  margin-bottom: var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s;
}
.blog-featured:hover { box-shadow: var(--shadow-xl); }
.blog-featured__image {
  min-height: 320px;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}
.blog-featured__badge {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.blog-featured__body {
  padding: var(--space-2xl);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}
.blog-featured__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}
.blog-featured__excerpt {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-300);
  margin-bottom: var(--space-lg);
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.blog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Blog pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.blog-pagination__btn {
  padding: 10px 18px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--neutral-700);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.blog-pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.blog-pagination__btn--active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}
.blog-pagination__btn--disabled {
  color: var(--neutral-500);
  cursor: default;
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.sidebar-widget--cta {
  background: var(--secondary-light);
  border-color: transparent;
}
.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--neutral-100);
}
.sidebar-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sidebar-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 108, 56, 0.12);
}
.sidebar-search__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--neutral-400);
  margin-left: 18px;
  pointer-events: none;
}
.sidebar-search .form-input {
  flex: 1;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 14px 12px;
  font-size: 14px;
  box-shadow: none;
  outline: none;
}
.sidebar-search .form-input:focus {
  border-color: transparent;
  box-shadow: none;
}
.sidebar-search__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 4px;
  border-radius: 50%;
  border: none;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.sidebar-search__btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
}
.sidebar-search__btn:hover {
  background: var(--accent);
  transform: scale(1.08);
}
.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-list li:last-child { border: none; }
.category-list a {
  font-size: 14px;
  color: var(--neutral-700);
  transition: color 0.2s;
}
.category-list a:hover { color: var(--primary); }
.category-count {
  font-size: 12px;
  background: var(--neutral-100);
  color: var(--neutral-500);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.newsletter-widget {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.newsletter-widget__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.newsletter-widget__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.sidebar-cta__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}
.sidebar-cta__desc {
  font-size: 13px;
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* Baza wiedzy responsive */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .blog-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__image { min-height: 200px; }
  .blog-filter-bar__search { width: 100%; max-width: 480px; }
}
@media (max-width: 640px) {
  .blog-filter-bar__cats {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .blog-filter-bar__cats::-webkit-scrollbar { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid--3 { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-filter-bar { padding: var(--space-md) 0; }
  .blog-filter-cat { font-size: 12px; padding: 5px 14px; }
}

/* ============================================================
   PAGE: SKLEP (product cards)
   ============================================================ */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.product-card__header {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.product-card__header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.product-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.product-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.9);
}
.product-card__type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  position: relative;
}
.product-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__desc {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-lg);
}
.product-card__features {
  margin-bottom: var(--space-xl);
}
.product-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neutral-700);
  padding: 4px 0;
}
.product-card__feature::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B5249' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.product-card__price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
}
.product-card__price-note {
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 400;
}
.coming-soon {
  position: relative;
}
.coming-soon::after {
  content: 'Wkrótce';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.shop-info {
  background: var(--secondary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.shop-info svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  flex-shrink: 0;
}
.shop-info__text {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.65;
}
.shop-info__text strong { color: var(--primary-dark); }

/* Shop custom order CTA */
.shop-custom-cta {
  margin-top: var(--space-4xl);
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.shop-custom-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,108,56,0.2), transparent 65%);
  pointer-events: none;
}
.shop-custom-cta__content {
  position: relative;
}
.shop-custom-cta__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-md);
  display: block;
}
.shop-custom-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}
.shop-custom-cta__title em {
  font-style: italic;
  color: var(--secondary);
}
.shop-custom-cta__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 500px;
}
.shop-custom-cta__action {
  position: relative;
  flex-shrink: 0;
}

/* Sklep responsive */
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-custom-cta { grid-template-columns: 1fr; }
  .shop-custom-cta__action { text-align: left; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-info { flex-direction: column; align-items: flex-start; gap: var(--space-md); padding: var(--space-xl); }
  .shop-custom-cta { padding: var(--space-2xl) var(--space-xl); }
  .shop-custom-cta__action { width: 100%; }
  .shop-custom-cta__action .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PAGE: KONTAKT (contact layout + form)
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-5xl);
  align-items: center;
}
.contact-info__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}
.contact-info__title em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 400;
}
.contact-info__desc {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}
.contact-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--neutral-100);
}
.contact-item:first-of-type { border-top: 1px solid var(--neutral-100); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}
.contact-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.contact-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-900);
  line-height: 1.5;
}
.contact-item__value a {
  color: var(--primary);
  transition: color 0.2s;
}
.contact-item__value a:hover { color: var(--accent); }
/* Map — full-width strip below both columns */
.contact-map-wrap {
  margin-top: var(--space-3xl);
  position: relative;
  padding: 3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: var(--primary);
  box-shadow: 0 8px 32px rgba(36,53,48,0.12);
}
.contact-map-wrap::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 12px rgba(36,53,48,0.12);
  pointer-events: none;
  z-index: 1;
}
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: var(--neutral-100);
  display: block;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Form card — dark editorial */
.contact-form-card {
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,108,56,0.18) 0%, transparent 68%);
  pointer-events: none;
}
.contact-form-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187,166,138,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.contact-form-card__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  font-style: italic;
  color: var(--secondary-light);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.contact-form-card__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Dark card: override form field styles */
.contact-form-card .form-label {
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.contact-form-card .form-textarea { min-height: 45px; max-height: 400px; }
.contact-form-card .form-input,
.contact-form-card .form-textarea,
.contact-form-card .form-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  color: var(--white);
  padding: 11px 0;
  font-size: 15px;
  transition: border-color 0.25s;
}
.contact-form-card .form-input:focus,
.contact-form-card .form-textarea:focus,
.contact-form-card .form-select:focus {
  border-bottom-color: var(--accent);
  box-shadow: none;
  outline: none;
}
.contact-form-card .form-input::placeholder,
.contact-form-card .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.contact-form-card .form-input:-webkit-autofill,
.contact-form-card .form-input:-webkit-autofill:hover,
.contact-form-card .form-input:-webkit-autofill:focus,
.contact-form-card .form-textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--primary-dark) inset;
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  border-bottom-color: rgba(255,255,255,0.15);
  transition: background-color 5000s ease-in-out 0s;
}
.contact-form-card .form-select option { background: var(--primary-dark); color: var(--white); }
.contact-form-card .form-select { color: rgba(255,255,255,0.5); }
.contact-form-card .form-select:focus,
.contact-form-card .form-select:not(:invalid) { color: var(--white); }
.contact-form-card .wpcf7-not-valid { border-bottom-color: #e57373 !important; }
.contact-form-card .wpcf7-not-valid-tip { color: #e57373; }
.contact-form-card .wpcf7-response-output { border: none !important; }
.contact-form-card .wpcf7-form.sent .wpcf7-response-output {
  background: rgba(187,166,138,0.15);
  color: var(--secondary-light);
}
.contact-form-card .wpcf7-form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7-form.failed .wpcf7-response-output {
  background: rgba(229,115,115,0.12);
  color: #e57373;
}
.contact-form-card .btn--accent {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-lg);
  padding: 16px 24px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}
#form-success .success-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}
#form-success .success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}
#form-success h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}
#form-success p {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.7;
}
/* ── Contact Form 7 — brand styling ── */
.wpcf7 form { margin: 0; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
/* Strip CF7's default red border on validation — use our own */
.wpcf7 .wpcf7-not-valid { border-color: #c0392b !important; }
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}
.wpcf7-response-output {
  margin: var(--space-lg) 0 0 !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  border: none !important;
}
.wpcf7-form.sent .wpcf7-response-output {
  background: var(--secondary-light);
  color: var(--primary-dark);
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  background: #fdecea;
  color: #922b21;
}
/* Spinner */
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin-left: 8px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: 4px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 13px;
  color: var(--neutral-700);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-label input { display: none; }
.radio-label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.radio-label:hover { border-color: var(--primary-light); }

/* Kontakt responsive */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-map { height: 280px; }
  .contact-map-wrap { margin-top: var(--space-2xl); }
  .contact-form-card { padding: var(--space-xl); }
  .contact-form-card__title { font-size: 28px; }
  .contact-info__title { font-size: 26px; }
  .contact-info__desc { margin-bottom: var(--space-lg); }
}
@media (max-width: 640px) {
  .contact-map { height: 220px; }
  .contact-form-card { padding: var(--space-lg) var(--space-md); }
  .contact-map-wrap { }
}

/* =========================================
   Single Post
   ========================================= */

.post-layout {
  max-width: 860px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: var(--space-xl);
}

.post-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--secondary);
  font-family: var(--font-body);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary-light);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.post-meta--hero {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-lg);
}

.post-meta__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.post-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #2a2a2a;
}

.post-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  margin: var(--space-xl) 0 var(--space-md);
}

.post-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  margin: var(--space-lg) 0 var(--space-sm);
}

.post-content p {
  margin-bottom: var(--space-md);
}

.post-content ul,
.post-content ol {
  margin: var(--space-md) 0 var(--space-md) var(--space-lg);
}

.post-content li {
  margin-bottom: var(--space-xs);
}

.post-content blockquote {
  border-left: 4px solid var(--secondary);
  margin: var(--space-xl) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--secondary-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 18px;
}

.post-content strong {
  font-weight: 700;
  color: var(--primary-dark);
}

.post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  border-top: 1px solid var(--secondary-light);
  padding-top: var(--space-lg);
  margin-top: var(--space-2xl);
}

.post-tag {
  font-size: 12px;
  padding: 5px 14px;
  border: 1px solid var(--secondary);
  border-radius: 100px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-body);
}

.post-tag:hover {
  background: var(--primary);
  color: white;
}

@media (max-width: 900px) {
  .page-header { min-height: 460px; }
  .post-content { font-size: 16px; }
  .post-image img { max-height: 400px; }
  .page-header__breadcrumb { display: none; }
}
@media (max-width: 640px) {
  .page-header { min-height: 540px; }
  .page-header__breadcrumb { display: none; }
  .post-content { font-size: 15px; }
  .post-content h2 { font-size: 22px; }
  .post-content h3 { font-size: 19px; }
  .post-image img { max-height: 260px; }
  .post-image { border-radius: 8px; }
  .post-tags { gap: 6px; }
}

/* Blog dynamic utilities */
.blog-featured__image--placeholder {
  background-color: var(--primary);
}

.blog-card__image--placeholder {
  background-color: var(--primary);
  aspect-ratio: 16/9;
}

/* Pagination — paginate_links() output */
.blog-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: var(--space-xs);
  padding: 0;
  margin: var(--space-xl) 0 0;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-xs);
  border: none;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary-dark);
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.blog-pagination .page-numbers li a:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.blog-pagination .page-numbers li span.current {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(201, 108, 56, 0.35);
  font-weight: 600;
}

.blog-pagination .page-numbers li .dots {
  background: transparent;
  color: var(--neutral-400);
  transform: none !important;
  box-shadow: none !important;
}

/* Search form override — searchform.php outputs .sidebar-search structure */
.search-form {
  display: flex;
}

/* ACF image replacements — hero and about sections */
.hero__image-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: absolute;
  inset: 0;
}
.about__image-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

/* ── Full-page scroll snap (landscape desktop only — disabled on portrait tablets) ── */
@media (min-width: 1024px) and (orientation: landscape) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--nav-h);
  }

  .hero {
    min-height: 100svh;
    scroll-snap-align: start;
  }
  .hero__inner {
    min-height: 100svh;
  }

  main > .section {
    scroll-snap-align: start;
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Fix: margin:0 auto on .container prevents flex cross-axis stretch,
     making container use max-width (1200px) even in narrower viewports */
  main > .section > .container {
    width: 100%;
  }

  /* About section: compact padding so stats fit without overflow */
  #o-nas {
    padding: var(--space-2xl) 0;
  }

  /* Team: 3 columns × 2 rows on desktop */
  .team-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* ── Snap: show 3 items (1 row) on screens up to ~1080p, 6 items on 1440p+ ── */
@media (min-width: 1024px) and (orientation: landscape) and (max-height: 1365px) {
  .services-grid .service-card:nth-child(n+4),
  .team-preview-grid .team-card:nth-child(n+4),
  .grid--3 .blog-card:nth-child(n+4) {
    display: none;
  }

  /* Team stays 3 columns (1 row of 3) */
  .team-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  /* Blog carousel: compact layout so section fits short landscape viewport */
  #blog.section--sm { padding: var(--space-lg) 0; }
  .bcard .blog-card__image { aspect-ratio: 2/1; }
  .bcard .blog-card__body { padding: var(--space-md); }
  .bcard .blog-card__excerpt { -webkit-line-clamp: 2; }
}

/* Very short landscape (e.g. 1024×768) — 2 blog cards to fit viewport */
@media (min-width: 1024px) and (orientation: landscape) and (max-height: 800px) {
  .bcard { flex: 0 0 calc(50% - 0.75rem); }
}

/* ── Section navigation dots ── */
.section-dots {
  display: none;
}

@media (min-width: 1024px) and (orientation: landscape) {
  .section-dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
  }

  .section-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(59, 82, 73, 0.35);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  }

  .section-dot:hover {
    border-color: var(--primary);
    transform: scale(1.3);
  }

  .section-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
  }

  /* Tooltip */
  .section-dot::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .section-dot:hover::after {
    opacity: 1;
  }

  /* Dark-section variant (hero) */
  .section-dots--dark .section-dot {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .section-dots--dark .section-dot:hover {
    border-color: rgba(255, 255, 255, 0.9);
  }

  .section-dots--dark .section-dot.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
  }
}

/* ══════════════════════════════════════════════════════════════
   Circular Testimonials
   ══════════════════════════════════════════════════════════════ */
.circular-testimonials {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 0;
}
@media (min-width: 768px) {
  .circular-testimonials {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Image carousel */
.ct__images {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
}
.ct__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(36, 53, 48, 0.22), 0 4px 16px rgba(36, 53, 48, 0.10);
  transition: all 0.8s cubic-bezier(0.4, 2, 0.3, 1);
  user-select: none;
  cursor: pointer;
}

/* Text content */
.ct__content {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.ct__quote-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.ct__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;
  min-height: calc(2 * 1.2 * 2.2rem);
  overflow: hidden;
  transition: color 0.25s ease;
}
#svc-panels:hover ~ .ct__content .ct__name,
#svc-text:hover .ct__name {
  color: var(--accent);
}
.ct__name em {
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}
.ct__role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ct__quote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--neutral-700);
  font-style: normal;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Word-by-word reveal animation */
.ct__word {
  display: inline-block;
  opacity: 0;
  animation: ctWordIn 0.22s ease forwards;
}
@keyframes ctWordIn {
  from { opacity: 0; filter: blur(6px); transform: translateY(4px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}

/* Arrow buttons */
.ct__arrows {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  align-items: center;
}
.ct__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--primary-dark);
  color: var(--white);
  transition: background 0.25s, transform 0.2s;
  flex-shrink: 0;
}
.ct__arrow:hover {
  background: var(--accent);
  transform: scale(1.08);
}
.ct__arrow svg {
  width: 18px;
  height: 18px;
}

/* ── Arrows row extras ── */
.ct__arrows-sep {
  display: block;
  width: 1px;
  height: 24px;
  background: rgba(36, 53, 48, 0.18);
  margin: 0 4px;
  align-self: center;
}
.svc__all {
  font-size: 0.875rem;
  white-space: nowrap;
}

/* ── Service Carousel additions ── */
.svc__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  display: block;
  font-family: var(--font-body);
  margin: 0;
}
.svc__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: var(--space-lg);
}

/* ── Service block photo ── */
.service-block__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.service-block__photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
