:root {
  --ink: #1a1a1a;
  --muted: #706b66;
  --paper: #fbfaf8;
  --line: #e7dfd8;
  --soft: #f2eee9;
  --accent: #b5603a;
  --accent-dark: #7d3f26;
  --sage: #59665c;
  --blue: #26384d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(26, 26, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid rgba(231, 223, 216, 0.72);
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transition: width 80ms linear;
  pointer-events: none;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 96, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 400ms ease;
  opacity: 0;
}

@media (hover: hover) {
  .cursor-glow { opacity: 1; }
}

.desktop-nav,
.header-actions,
.language-switcher,
.hero-actions,
.contact-details {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a,
.mobile-panel a,
.footer a,
.material-controls button,
.social-links a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover,
.footer a:hover {
  color: var(--accent);
}

.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes */
.reveal-item:nth-child(2) { transition-delay: 80ms; }
.reveal-item:nth-child(3) { transition-delay: 160ms; }
.reveal-item:nth-child(4) { transition-delay: 240ms; }
.reveal-item:nth-child(5) { transition-delay: 320ms; }
.reveal-item:nth-child(6) { transition-delay: 400ms; }

/* Number counter shimmer */
.count-up {
  display: inline;
}

/* Trust strip scroll animation — old grid styles removed, marquee styles in new section below */

.header-actions {
  gap: 12px;
}

.language-switcher {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-switcher button {
  width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--ink);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-panel {
  display: none;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 68px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: clamp(52px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--cursor-x, 24%) var(--cursor-y, 24%), rgba(181, 96, 58, 0.2), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), var(--soft));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.ledger-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(181, 96, 58, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.panel-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.panel-pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(181, 96, 58, 0.48);
  animation: pulseDot 1800ms ease-out infinite;
}

.metric-grid {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div,
.service-card,
.steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-grid div {
  min-height: 132px;
  padding: 18px;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.metric-card:hover {
  border-color: rgba(181, 96, 58, 0.48);
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.1);
}

.metric-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 14px;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(181, 96, 58, 0.48);
  }

  100% {
    box-shadow: 0 0 0 16px rgba(181, 96, 58, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-pulse::before {
    animation: none;
  }

  .metric-grid div {
    transition: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.split-section,
.process-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.process-section > .section-heading {
  position: static;
  grid-column: 1;
  grid-row: 1;
}

.process-section > .process-carousel {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
}

.section-heading {
  position: sticky;
  top: 112px;
}

.section-heading.wide {
  position: static;
  max-width: 840px;
}

.section-heading p,
.pricing-section > .section-heading p,
.feature-band p,
.contact-copy p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover,
.catalog-section:hover,
.material-card:hover {
  border-color: rgba(181, 96, 58, 0.45);
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.08);
}

.service-card p,
.steps p,
.price-table span {
  color: var(--muted);
}

.service-number,
.steps span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  background: var(--sage);
  color: var(--white);
}

.feature-band .eyebrow,
.feature-band p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-band p:not(.eyebrow) {
  max-width: 780px;
  font-size: clamp(18px, 2.2vw, 26px);
}

.pricing-catalog {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.catalog-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.catalog-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.catalog-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(181, 96, 58, 0.28);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.catalog-heading h3 {
  margin-bottom: 8px;
}

.catalog-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.price-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.price-table h4 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
}

.price-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.price-table div:last-child {
  border-bottom: 0;
}

.price-table span {
  color: var(--muted);
}

.price-table strong {
  flex: 0 0 auto;
  text-align: right;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps div {
  min-height: 260px;
  padding: 28px;
}

/* Process carousel */
.process-carousel {
  overflow: hidden;
  border-radius: 8px;
}

.process-track {
  display: flex;
  gap: 0;
  transition: none;
}

.process-slide {
  flex: 0 0 100%;
  min-height: 260px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.process-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.process-slide.exit {
  opacity: 0;
  transform: translateX(-40px) scale(0.97);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.process-carousel-wrap {
  position: relative;
  min-height: 260px;
}

.steps-num {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.process-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.process-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 300ms ease, width 300ms ease, border-radius 300ms ease;
}

.process-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

.process-progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.process-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

.materials-section {
  background: linear-gradient(180deg, rgba(242, 238, 233, 0.72), rgba(251, 250, 248, 1));
}

.material-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 18px;
}

.material-controls button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.material-controls button.active,
.material-controls button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.material-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.material-card.is-hidden {
  display: none;
}

.materials-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.materials-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.materials-telegram:hover {
  color: var(--accent);
}

.material-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.material-card p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 92px);
  background: var(--blue);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #d99c78;
}

.contact-copy p,
.contact-details span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.contact-details a {
  color: var(--white);
  font-weight: 750;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 750;
}

.social-links a:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 124px;
  padding: 14px;
}

.contact-form .button {
  width: 100%;
  border-color: var(--accent);
  background: var(--accent);
}

.contact-form .button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 68px);
  color: var(--muted);
}

.footer img {
  width: 126px;
}

.footer p {
  margin: 0;
  text-align: center;
}

/* ===== MODERN REDESIGN ADDITIONS ===== */

:root {
  --radius: 12px;
  --transition-smooth: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Page Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 500ms ease 200ms, visibility 500ms ease 200ms;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-a {
  font-family: Georgia, serif; font-style: italic; font-size: 88px;
  color: var(--accent); line-height: 1;
  animation: loaderPop 900ms cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes loaderPop {
  0% { opacity: 0; transform: scale(0.5) rotate(-12deg); }
  65% { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Hero relative for deco */
.hero { position: relative; }
.hero-copy, .hero-panel { position: relative; z-index: 1; }

/* Floating deco numbers */
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.deco-num {
  position: absolute;
  left: var(--dx); top: var(--dy);
  font-family: Georgia, serif; font-style: italic;
  font-size: calc(28px * var(--ds, 1));
  color: rgba(181,96,58,0.10);
  animation: floatY 9s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
  user-select: none; letter-spacing: -1px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}

/* Trust strip marquee */
.trust-strip {
  overflow: hidden;
  background: var(--ink); color: var(--white);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  height: 52px; display: flex; align-items: center;
}
.trust-track {
  display: flex; align-items: center; gap: 28px;
  height: 100%; white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
.trust-track span { font-size: 13px; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.trust-dot { color: var(--accent) !important; font-size: 7px !important; opacity: 0.8; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust-strip:hover .trust-track { animation-play-state: paused; }

/* Service icons */
.service-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition-smooth), color var(--transition-smooth), transform var(--transition-smooth);
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  background: var(--accent); color: var(--white);
  transform: rotate(-6deg) scale(1.08);
}

/* Stats bar */
.stats-bar {
  display: flex; align-items: center;
  padding: 52px clamp(18px,5vw,68px);
  background: var(--ink);
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 15% 50%, rgba(181,96,58,0.18) 0%, transparent 70%);
}
.stat-item { flex: 1; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.stat-num {
  display: block; font-family: Georgia, serif;
  font-size: clamp(38px,4.5vw,60px); line-height: 1;
  margin-bottom: 6px; color: var(--white); font-weight: 400;
}
.stat-item > span { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
@media (max-width: 720px) {
  .stats-bar { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 calc(50% - 16px); }
}

/* Feature band deco */
.feature-band { position: relative; overflow: hidden; }
.feature-deco {
  position: absolute; right: -10px; bottom: -30px;
  pointer-events: none; z-index: 0; line-height: 1;
}
.feature-deco-a {
  font-family: Georgia, serif; font-style: italic;
  font-size: clamp(140px, 18vw, 260px);
  color: rgba(255,255,255,0.06); display: block; line-height: 1;
  animation: decoBreath 12s ease-in-out infinite;
}
@keyframes decoBreath {
  0%,100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(4deg) scale(1.04); }
}
.feature-band > div, .feature-band > p { position: relative; z-index: 1; }

/* Contact deco */
.contact-section { position: relative; overflow: hidden; }
.contact-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.contact-copy, .contact-form { position: relative; z-index: 1; }

/* Animated card hover glow */
.service-card, .catalog-section, .material-card { position: relative; overflow: hidden; }
.service-card::after, .catalog-section::after, .material-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(181,96,58,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
}
.service-card:hover::after, .catalog-section:hover::after, .material-card:hover::after { opacity: 1; }

/* Button ripple */
.button { overflow: hidden; }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: rippleOut 500ms ease forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* Pricing row hover highlight */
.price-table div {
  transition: background 180ms ease;
}
.price-table div:hover { background: var(--soft); }

/* Eyebrow animated underline */
.eyebrow { position: relative; display: inline-block; }

/* Smooth section entry for heading h2 */
.section-heading h2, .section-heading.wide h2 {
  position: relative;
}

/* Footer enhancement */
.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-loader, .trust-track, .deco-num, .feature-deco-a { animation: none !important; }
  .trust-track { transform: none !important; }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-panel.open {
    position: fixed;
    inset: 76px 16px auto;
    z-index: 30;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-panel a {
    padding: 12px;
    color: var(--muted);
  }

  .hero,
  .split-section,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .hero-panel {
    min-height: 460px;
  }

  .catalog-section,
  .price-columns,
  .materials-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .brand img {
    width: 118px;
  }

  .button-small {
    display: none;
  }

  .language-switcher button {
    width: 34px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 520px;
    padding: 18px;
  }

  .metric-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    inset: auto 18px 18px;
  }

  .price-table div {
    display: grid;
    gap: 6px;
  }

  .price-table strong {
    text-align: left;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ===== PROCESS SECTION MINI STEP INDICATOR ===== */
.process-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.psm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  position: relative;
  cursor: default;
}

.psm-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: calc(50% + 10px);
  bottom: calc(-50% + 10px);
  width: 1px;
  background: var(--line);
  transition: background 400ms ease;
}

.psm-item.psm-passed::after,
.psm-item.psm-active::after {
  background: var(--accent);
}

.psm-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
  transition: border-color 300ms, background 300ms;
  position: relative;
  z-index: 1;
}

.psm-item.psm-active .psm-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(192,89,50,0.15);
}

.psm-item.psm-passed .psm-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.psm-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color 300ms;
  letter-spacing: .02em;
  white-space: nowrap;
}

.psm-item.psm-active .psm-label {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .process-steps-mini { flex-direction: row; margin-top: 20px; gap: 0; }
  .psm-item { padding: 0 12px 0 0; flex-direction: column; gap: 6px; }
  .psm-item:not(:last-child)::after {
    left: calc(50% + 10px); top: 7px; bottom: auto;
    width: calc(100% - 14px); height: 1px;
  }
}

/* ===== PRICING TABS ===== */
.pricing-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-tab-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--soft);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pricing-tab-nav::-webkit-scrollbar { display: none; }

.pricing-tab-indicator {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  transition: transform 300ms cubic-bezier(.4,0,.2,1), width 300ms cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 0;
}

.pricing-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms ease;
  flex-shrink: 0;
}
.pricing-tab svg { transition: color 200ms ease; }
.pricing-tab.active { color: var(--ink); }
.pricing-tab:not(.active):hover { color: var(--ink); }

.pricing-panel {
  animation: panelIn 280ms cubic-bezier(.4,0,.2,1);
}
.pricing-panel[hidden] { display: none; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.catalog-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.catalog-panel-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--muted);
  flex-shrink: 0;
}

.catalog-panel-header h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 0 0 4px;
}
.catalog-panel-header p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ===== GDPR CONSENT CHECKBOX ===== */
.gdpr-consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px;
  cursor: pointer;
}

.gdpr-consent-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.gdpr-consent-label span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.gdpr-consent-label a {
  color: var(--accent);
  text-decoration: underline;
}

.field-invalid {
  border-color: #d94f4f !important;
  background: #fff8f8 !important;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #d94f4f;
  margin-top: 4px;
}

.form-success-msg {
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #f2faf2;
  border-radius: 12px;
  border: 1px solid #c3e6c3;
}

.form-success-msg.visible {
  display: flex;
}

.form-success-msg svg { flex-shrink: 0; margin-top: 2px; }

.form-success-msg strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-success-msg p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  width: min(560px, calc(100vw - 32px));
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  transition: transform 400ms cubic-bezier(.4,0,.2,1), opacity 400ms ease;
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}
.cookie-banner-text strong {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner-text a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 200ms ease;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-accept {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pricing-tab-nav {
    gap: 2px;
    border-radius: 12px;
  }

  .pricing-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .pricing-tab svg { display: none; }
}
