@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&display=swap');


:root {
  --base-warm: oklch(22% 0.02 60);
  --base-clay: oklch(52% 0.12 42);
  --base-sand: oklch(92% 0.025 75);
  --base-accent: oklch(58% 0.18 200);

  --color-bg:        color-mix(in oklch, var(--base-sand), white 55%);
  --color-bg-tinted: color-mix(in oklch, var(--base-sand), white 30%);
  --color-surface:   color-mix(in oklch, white, var(--base-sand) 8%);
  --color-text:      color-mix(in oklch, var(--base-warm), black 10%);
  --color-text-muted:color-mix(in oklch, var(--base-warm), white 40%);
  --color-border:    color-mix(in oklch, var(--base-sand), var(--base-clay) 15%);
  --color-primary:   var(--base-clay);
  --color-primary-dark: color-mix(in oklch, var(--base-clay), black 20%);
  --color-primary-light: color-mix(in oklch, var(--base-clay), white 55%);
  --color-accent:    var(--base-accent);
  --color-accent-light: color-mix(in oklch, var(--base-accent), white 60%);
  --color-inv-bg:    color-mix(in oklch, var(--base-warm), black 15%);
  --color-inv-text:  color-mix(in oklch, var(--base-sand), white 30%);
  --color-inv-muted: color-mix(in oklch, var(--base-sand), var(--base-warm) 40%);

  
  --shadow-low:
    0 1px 2px color-mix(in oklch, var(--base-warm), transparent 88%),
    0 2px 6px color-mix(in oklch, var(--base-warm), transparent 92%);
  --shadow-mid:
    0 2px 4px color-mix(in oklch, var(--base-warm), transparent 84%),
    0 6px 16px color-mix(in oklch, var(--base-warm), transparent 88%),
    0 12px 28px color-mix(in oklch, var(--base-warm), transparent 93%);
  --shadow-high:
    0 4px 8px color-mix(in oklch, var(--base-warm), transparent 80%),
    0 12px 24px color-mix(in oklch, var(--base-warm), transparent 85%),
    0 24px 48px color-mix(in oklch, var(--base-warm), transparent 90%),
    0 2px 0 color-mix(in oklch, var(--base-clay), transparent 85%) inset;
  --shadow-hover:
    0 8px 16px color-mix(in oklch, var(--base-warm), transparent 78%),
    0 20px 40px color-mix(in oklch, var(--base-warm), transparent 82%),
    0 40px 64px color-mix(in oklch, var(--base-warm), transparent 88%);

  
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  
  --header-h: 80px;
  --header-h-scrolled: 60px;
}


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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }


h1, h2, h3, h4, h5 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.canvas { background-color: var(--color-bg); }

.section-wrap {
  padding: var(--sp-2xl) 0;
}

.section-wrap--tinted {
  background-color: var(--color-bg-tinted);
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.3em 0.9em;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-sm);
  border-left: 3px solid var(--color-primary);
}

.section-tag--light {
  color: var(--color-accent-light);
  background: color-mix(in oklch, var(--base-accent), transparent 80%);
  border-left-color: var(--color-accent-light);
}

.section-heading {
  color: var(--color-text);
  margin-bottom: var(--sp-sm);
}

.section-heading--light {
  color: var(--color-inv-text);
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  margin-top: var(--sp-xl);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--color-primary);
  color: white;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 2em;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: var(--shadow-mid);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: white;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-primary--large {
  font-size: 1.05rem;
  padding: 1em 2.4em;
}

.btn-primary--full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: transparent;
  color: var(--color-text);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.8em;
  border-radius: var(--r-md);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--color-inv-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.btn-text:hover {
  gap: 0.7em;
  opacity: 1;
  color: white;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: color-mix(in oklch, var(--color-bg), transparent 8%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.3s ease;
}

.site-header.scrolled {
  background: color-mix(in oklch, var(--color-bg), transparent 2%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-low);
}

.site-header.scrolled .header-inner {
  height: var(--header-h-scrolled);
}

.site-header.scrolled .logo-img {
  height: 32px;
}

.brand-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; transition: height 0.3s ease; }

.desktop-nav {
  display: none;
  align-items: center;
  gap: var(--sp-sm);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4em 0.8em;
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text);
  background: var(--color-primary-light);
}

.nav-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 0.5em 1.2em;
  border-radius: var(--r-md);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color: white;
}

.nav-cta.active {
  background: var(--color-primary-dark);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}

.hamburger:hover { background: var(--color-primary-light); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}


.stage-curtain {
  position: fixed;
  inset: 0;
  background: color-mix(in oklch, var(--base-warm), transparent 50%);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.stage-curtain.is-open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: var(--color-surface);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-high);
  display: flex;
  flex-direction: column;
  padding: var(--sp-md);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--color-border);
}

.drawer-logo { height: 36px; }

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  padding: 8px;
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.drawer-close:hover {
  color: var(--color-text);
  background: var(--color-primary-light);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.drawer-links li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.drawer.is-open .drawer-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.drawer.is-open .drawer-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.drawer.is-open .drawer-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
.drawer.is-open .drawer-links li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.2s; }
.drawer.is-open .drawer-links li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.25s; }

.drawer-link {
  display: block;
  padding: 0.75em 1em;
  border-radius: var(--r-md);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.drawer-link:hover {
  color: var(--color-text);
  background: var(--color-primary-light);
}

.drawer-link--cta {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  text-align: center;
  margin-top: var(--sp-sm);
}

.drawer-link--cta:hover {
  background: var(--color-primary-dark);
  color: white;
}


.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: color-mix(in oklch, var(--color-surface), transparent 5%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  z-index: 800;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px color-mix(in oklch, var(--base-warm), transparent 88%);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6em 0;
  gap: 3px;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  min-height: 56px;
}

.bottom-nav-item i { font-size: 1.15rem; }

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--color-primary);
}


.stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, color-mix(in oklch, var(--base-clay), transparent 88%) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, color-mix(in oklch, var(--base-accent), transparent 92%) 0%, transparent 60%);
  pointer-events: none;
}

.stage-content {
  padding: var(--sp-xl) var(--sp-md);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.stage-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--sp-md);
  padding: 0.3em 0.9em;
  background: var(--color-primary-light);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--color-primary);
}

.stage-heading {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  color: var(--color-text);
}

.stage-accent {
  color: var(--color-primary);
  position: relative;
}

.stage-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.stage-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.stage-visual {
  display: none;
}

.spotlight {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-high);
}

.stage-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.spotlight-badge {
  position: absolute;
  bottom: var(--sp-md);
  left: var(--sp-md);
  background: color-mix(in oklch, var(--color-surface), transparent 5%);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 0.5em 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-mid);
  border: 1px solid var(--color-border);
}

.spotlight-badge i { color: var(--color-primary); }


.rhythm-strip {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rhythm-strip--dots {
  height: 24px;
  background-image: radial-gradient(circle, var(--color-border) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.rhythm-strip--line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), var(--color-primary), var(--color-primary-light), transparent);
}

.rhythm-strip--accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), var(--color-accent), var(--color-primary), var(--color-primary-light));
}


.shelf-card {
  background: var(--color-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-mid);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.shelf-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.shelf-card--service {
  display: flex;
  flex-direction: column;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--sp-md);
  border: 1px solid color-mix(in oklch, var(--color-primary), transparent 70%);
  flex-shrink: 0;
}

.shelf-card--service h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.shelf-card--service p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-md);
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap 0.2s ease;
}

.card-link:hover { gap: 0.7em; }


.shelf-card--material {
  padding: 0;
  overflow: hidden;
}

.material-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.material-body {
  padding: var(--sp-md);
}

.material-body h4 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.material-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}


.shelf-card--client {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.client-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  border: 1px solid color-mix(in oklch, var(--color-primary), transparent 70%);
}

.shelf-card--client h4 { color: var(--color-text); margin-bottom: 0.25rem; }
.shelf-card--client p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }


.shelf-card--scope { display: flex; flex-direction: column; gap: var(--sp-sm); }

.scope-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.scope-icon--no {
  background: color-mix(in oklch, oklch(50% 0.18 25), transparent 85%);
  color: oklch(40% 0.18 25);
}

.scope-list {
  list-style: disc;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.scope-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}


.shelf-card--form h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-intro { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: var(--sp-md); }


.gallery {
  display: grid;
  gap: var(--sp-md);
}

.gallery--4 { grid-template-columns: 1fr; }
.gallery--3 { grid-template-columns: 1fr; }
.gallery--2 { grid-template-columns: 1fr; }

.gallery--masonry {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 200px;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
}

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, color-mix(in oklch, var(--base-warm), transparent 20%));
  color: var(--color-inv-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--sp-md) var(--sp-sm) var(--sp-sm);
}


.section-inverted {
  background: var(--color-inv-bg);
  padding: var(--sp-2xl) 0;
}

.inverted-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.inverted-lead {
  color: var(--color-inv-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.inverted-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-top: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: color-mix(in oklch, var(--base-accent), transparent 85%);
  border-radius: var(--r-md);
  border-left: 3px solid var(--color-accent);
  font-size: 0.9rem;
  color: var(--color-inv-muted);
}

.inverted-note i { color: var(--color-accent-light); margin-top: 0.15em; flex-shrink: 0; }

.inverted-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-high);
  height: 360px;
  object-fit: cover;
}


.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary), var(--color-primary-light));
}

.timeline-item {
  display: flex;
  gap: var(--sp-md);
  padding: 0 0 var(--sp-lg) 0;
  position: relative;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-mid);
  position: relative;
  z-index: 1;
  border: 3px solid var(--color-bg);
}

.timeline-content {
  padding-top: 0.75em;
  flex: 1;
}

.timeline-content h4 {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}


.section-cta-block {
  padding: var(--sp-2xl) 0;
}

.cta-card {
  background: var(--color-inv-bg);
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  align-items: flex-start;
  box-shadow: var(--shadow-high);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--base-clay), transparent 80%);
  pointer-events: none;
}

.cta-card-content h2 {
  color: var(--color-inv-text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-card-content p {
  color: var(--color-inv-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0;
}

.cta-card-action {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  align-items: center;
}


.page-hero {
  padding: calc(var(--header-h) + var(--sp-xl)) 0 var(--sp-xl);
  background: var(--color-bg-tinted);
  border-bottom: 1px solid var(--color-border);
}

.page-hero--legal {
  padding: calc(var(--header-h) + var(--sp-lg)) 0 var(--sp-lg);
}

.page-hero-content {
  max-width: 700px;
}

.page-hero-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--sp-sm);
  margin-top: var(--sp-xs);
}

.page-hero-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.about-text .section-tag { margin-bottom: var(--sp-xs); }
.about-text .section-heading { margin-bottom: var(--sp-md); }

.about-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-high);
  height: 380px;
  object-fit: cover;
}


.realizacje-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.realizacja-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  background: var(--color-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.realizacja-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.realizacja-img-wrap { overflow: hidden; }

.realizacja-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.realizacja-card:hover .realizacja-img { transform: scale(1.03); }

.realizacja-body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  justify-content: center;
}

.realizacja-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.25em 0.75em;
  border-radius: var(--r-sm);
  display: inline-block;
  width: fit-content;
}

.realizacja-body h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 0;
}

.realizacja-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

.realizacja-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-xs);
}

.realizacja-meta span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35em;
  background: var(--color-bg-tinted);
  padding: 0.3em 0.7em;
  border-radius: var(--r-sm);
  border: 1px solid var(--color-border);
}

.realizacja-meta i { color: var(--color-primary); }


.faq-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.faq-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--color-primary-light);
}

.faq-group-title i { color: var(--color-primary); }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-sm) 0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-sm);
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--color-primary); }

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-answer.is-open {
  max-height: 400px;
  padding-bottom: var(--sp-sm);
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  margin-bottom: var(--sp-md);
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 0.75em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary), transparent 80%);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label a { color: var(--color-primary); text-decoration: underline; }

.contact-details h3 { margin-bottom: var(--sp-md); font-size: 1.2rem; }

.contact-item {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2em; }
.contact-item p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }
.contact-item a { color: var(--color-primary); }

.contact-map { margin-top: var(--sp-md); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-mid); }


.inquiry-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.inquiry-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary), var(--color-primary-light));
}

.inq-step {
  display: flex;
  gap: var(--sp-md);
  padding-bottom: var(--sp-lg);
  position: relative;
}

.inq-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-mid);
  position: relative;
  z-index: 1;
  border: 3px solid var(--color-bg-tinted);
}

.inq-body { padding-top: 0.6em; flex: 1; }
.inq-body h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.inq-body p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; line-height: 1.7; }


.canvas--thanks {
  background: color-mix(in oklch, var(--base-clay), var(--color-bg) 85%);
}

.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: calc(var(--header-h) + var(--sp-xl)) 0 var(--sp-xl);
}

.thanks-card {
  max-width: 560px;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-xl);
}

.thanks-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-xl);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin: 0 auto var(--sp-md);
  box-shadow: var(--shadow-mid);
}

.thanks-heading { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--sp-sm); }

.thanks-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.thanks-text a { color: var(--color-primary); }

.thanks-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}


.legal-body {
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: var(--sp-lg) 0 var(--sp-sm);
  color: var(--color-text);
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--color-border);
}

.legal-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--sp-sm);
}

.legal-body a { color: var(--color-primary); text-decoration: underline; }


.site-footer {
  background: var(--color-inv-bg);
  color: var(--color-inv-muted);
  padding: var(--sp-2xl) 0 var(--sp-xl);
  margin-top: auto;
  padding-bottom: calc(var(--sp-xl) + 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer-logo { height: 36px; margin-bottom: var(--sp-sm); filter: brightness(0) invert(1) opacity(0.7); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-inv-muted);
  line-height: 1.6;
  max-width: 260px;
  margin: 0;
}

.footer-nav h5,
.footer-contact h5,
.footer-legal h5 {
  color: var(--color-inv-text);
  margin-bottom: var(--sp-sm);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-nav ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.footer-nav a,
.footer-legal a {
  font-size: 0.88rem;
  color: var(--color-inv-muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-legal a:hover { color: var(--color-inv-text); }

.footer-contact p {
  font-size: 0.88rem;
  color: var(--color-inv-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.footer-contact i { color: var(--color-primary); margin-top: 0.15em; }

.footer-contact a {
  color: var(--color-inv-muted);
  transition: color 0.2s ease;
}

.footer-contact a:hover { color: var(--color-inv-text); }

.footer-bottom {
  border-top: 1px solid color-mix(in oklch, var(--color-inv-muted), transparent 70%);
  padding-top: var(--sp-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: color-mix(in oklch, var(--color-inv-muted), transparent 30%);
  margin: 0;
}


.cookie-split {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-inv-bg);
  border-top: 1px solid color-mix(in oklch, var(--color-inv-muted), transparent 60%);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 32px color-mix(in oklch, var(--base-warm), transparent 60%);
}

.cookie-split.is-visible {
  transform: translateY(0);
}

.cookie-split__left {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid color-mix(in oklch, var(--color-inv-muted), transparent 70%);
}

.cookie-split__left h3 {
  color: var(--color-inv-text);
  font-size: 1rem;
  margin-bottom: 0.4em;
}

.cookie-split__left p {
  font-size: 0.82rem;
  color: var(--color-inv-muted);
  line-height: 1.6;
  margin-bottom: 0.5em;
}

.cookie-policy-link {
  font-size: 0.78rem;
  color: var(--color-accent-light);
  text-decoration: underline;
}

.cookie-split__right {
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.toggle-label {
  font-size: 0.82rem;
  color: var(--color-inv-muted);
  font-weight: 500;
}

.cookie-toggle input { display: none; }

.toggle-slider {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: color-mix(in oklch, var(--color-inv-muted), transparent 60%);
  position: relative;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: transform 0.25s ease;
}

.cookie-toggle input:checked + .toggle-slider {
  background: var(--color-primary);
}

.cookie-toggle input:checked + .toggle-slider::after {
  transform: translateX(16px);
}

.toggle-slider--locked {
  background: color-mix(in oklch, var(--color-primary), transparent 40%);
  cursor: not-allowed;
}

.toggle-slider--locked::after {
  transform: translateX(16px);
}

.cookie-actions {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.6em 1em;
  border-radius: var(--r-md);
  font-family: 'Figtree', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cookie-btn--accept {
  background: var(--color-primary);
  color: white;
}

.cookie-btn--accept:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.cookie-btn--save {
  background: color-mix(in oklch, var(--color-inv-muted), transparent 70%);
  color: var(--color-inv-text);
}

.cookie-btn--save:hover {
  background: color-mix(in oklch, var(--color-inv-muted), transparent 50%);
  transform: translateY(-1px);
}


@media (min-width: 768px) {
  .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery--2 { grid-template-columns: repeat(2, 1fr); }

  .gallery--masonry {
    grid-auto-rows: 240px;
  }

  .stage {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  .stage-content {
    padding: var(--sp-2xl) var(--sp-lg) var(--sp-2xl) var(--sp-lg);
  }

  .stage-visual {
    display: block;
    padding: var(--sp-xl) var(--sp-lg) var(--sp-xl) 0;
  }

  .inverted-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }

  .realizacja-card { grid-template-columns: 1fr 1fr; }
  .realizacja-card--reverse .realizacja-img-wrap { order: 2; }
  .realizacja-card--reverse .realizacja-body { order: 1; }

  .realizacja-img { height: 100%; min-height: 280px; }

  .faq-columns { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr 1fr; }

  .cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-split {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-split__left { border-bottom: none; border-right: 1px solid color-mix(in oklch, var(--color-inv-muted), transparent 70%); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline-track::before { left: 28px; }
}


@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .hamburger { display: none; }
  .mobile-bottom-nav { display: none; }

  body { padding-bottom: 0; }

  .site-footer { padding-bottom: var(--sp-xl); }

  .gallery--4 { grid-template-columns: repeat(4, 1fr); }
  .gallery--3 { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr 1fr; }

  .stage-content {
    padding: var(--sp-3xl) 0 var(--sp-3xl) var(--sp-lg);
    max-width: 600px;
  }

  .stage-visual {
    padding: var(--sp-2xl) var(--sp-lg) var(--sp-2xl) 0;
    display: flex;
    align-items: center;
  }

  .container { padding: 0 var(--sp-lg); }
}

@media (min-width: 1200px) {
  .stage-content { padding-left: 0; }
  .stage-visual { padding-right: 0; }
}