/* ============================================================
   iMBoxHouse.ru — Eco / Kraft / Wood Minimal Style
   ============================================================ */
:root {
  --paper:      #f0ead8;
  --paper-dark: #e4dcc8;
  --paper-mid:  #d8ceb8;
  --paper-deep: #c8bc9e;
  --kraft:      #b8a882;
  --ink:        #1e1510;
  --ink-mid:    #3d2e1e;
  --ink-light:  #6b5540;
  --wood:       #8c6d3f;
  --wood-light: #b08d5a;
  --wood-dark:  #5c3d1e;
  --green:      #4a5e3a;
  --green-light:#6b7f58;
  --white:      #faf8f2;
  --border:     rgba(92, 61, 30, 0.15);
  --border-mid: rgba(92, 61, 30, 0.28);
  --shadow:     rgba(30, 21, 16, 0.08);
  --font-main:  'Georgia', 'Times New Roman', serif;
  --font-sans:  'Helvetica Neue', Arial, sans-serif;
  --transition: 0.35s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle paper grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

/* ============ UTILITY ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-wood  { color: var(--wood); }

.label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 14px;
  display: block;
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.2vw, 48px); letter-spacing: -0.3px; }
h3 { font-size: clamp(20px, 2.2vw, 30px); }
h4 { font-size: 17px; font-weight: 600; font-family: var(--font-sans); }

p { color: var(--ink-light); font-size: 15px; line-height: 1.85; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: var(--transition);
  font-family: var(--font-sans);
  font-weight: 500;
}
.btn-outline {
  border: 1px solid var(--ink-mid);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-wood {
  background: var(--wood);
  color: var(--white);
  border: 1px solid var(--wood);
}
.btn-wood:hover {
  background: var(--wood-dark);
  border-color: var(--wood-dark);
}
.btn-ghost {
  border: 1px solid var(--border-mid);
  color: var(--ink-light);
  padding: 11px 26px;
  font-size: 10px;
  letter-spacing: 2px;
}
.btn-ghost:hover {
  border-color: var(--wood);
  color: var(--wood);
}

/* ============ HEADER ============ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), border var(--transition);
}
#header.scrolled {
  background: rgba(240, 234, 216, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px var(--shadow);
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 28px; width: auto; filter: sepia(1) saturate(0.3) brightness(0.6); }
.nav-logo .logo-text {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--ink);
}

nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color var(--transition);
  position: relative;
  font-weight: 500;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--wood);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
nav a:hover, nav a.active { color: var(--ink); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.nav-contact-btn {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-mid);
  padding: 9px 22px;
  color: var(--ink-mid);
  transition: var(--transition);
  font-weight: 500;
}
.nav-contact-btn:hover { border-color: var(--wood); color: var(--wood); background: rgba(140,109,63,0.06); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: var(--transition); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-main); font-size: 28px; color: var(--ink-light); letter-spacing: 1px; }
.mobile-nav a:hover { color: var(--wood); }
.mobile-nav-close { position: absolute; top: 22px; right: 40px; font-size: 24px; color: var(--ink); cursor: pointer; }

/* ============ HERO SLIDER ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Warm eco overlay — paper-like fade at bottom */
  background: linear-gradient(
    to bottom,
    rgba(240, 234, 216, 0.1) 0%,
    rgba(30, 21, 16, 0.35) 70%,
    rgba(30, 21, 16, 0.6) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  padding: 0 48px;
  z-index: 2;
}
.hero-content h1 {
  font-family: var(--font-main);
  font-size: clamp(36px, 5.5vw, 88px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(30,21,16,0.3);
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250, 248, 242, 0.75);
  font-family: var(--font-sans);
}

.hero-dots {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-dot {
  width: 2px; height: 24px;
  background: rgba(250,248,242,0.3);
  cursor: pointer;
  transition: background var(--transition), height var(--transition);
}
.hero-dot.active { background: var(--wood-light); height: 44px; }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,248,242,0.45);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: rgba(250,248,242,0.25);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--wood-light);
  animation: scrollLine 2s linear infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ============ ABOUT SECTION ============ */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
}
.stat-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(140,109,63,0.04); }
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }
.stat-number {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 400;
  color: var(--wood);
  letter-spacing: -0.5px;
  line-height: 1;
}
.stat-label { font-size: 11px; color: var(--ink-light); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }

.about-img {
  position: relative;
  height: 580px;
  overflow: hidden;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.9);
}
.about-img-badge {
  position: absolute;
  bottom: 32px; left: -1px;
  background: var(--wood);
  color: var(--white);
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* ============ DIVIDER ============ */
.eco-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid), transparent);
  margin: 0;
}

/* ============ PRODUCTS SECTION ============ */
.products-section { background: var(--paper); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--paper-mid);
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: sepia(0.1) saturate(0.88);
}
.product-card:hover img { transform: scale(1.04); filter: sepia(0.05) saturate(1); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,21,16,0.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: background var(--transition);
}
.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(30,21,16,0.88) 0%, rgba(30,21,16,0.2) 60%);
}
.product-card-name { font-family: var(--font-main); font-size: 20px; color: var(--white); margin-bottom: 4px; }
.product-card-desc { font-size: 10px; color: rgba(250,248,242,0.7); letter-spacing: 1.5px; margin-bottom: 14px; text-transform: uppercase; }
.product-card-link { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--wood-light); opacity: 0; transition: opacity var(--transition); font-family: var(--font-sans); }
.product-card:hover .product-card-link { opacity: 1; }

/* ============ SOLUTIONS SECTION ============ */
.solutions-section { background: var(--paper-dark); }

.solutions-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 72px;
}

.solutions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.solution-item {
  background: var(--paper-dark);
  padding: 36px 32px;
  transition: background var(--transition);
}
.solution-item:hover { background: var(--paper); }
.solution-num {
  font-family: var(--font-main);
  font-size: 44px;
  font-weight: 400;
  color: var(--paper-deep);
  line-height: 1;
  margin-bottom: 14px;
}
.solution-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--ink); font-family: var(--font-sans); }
.solution-text { font-size: 12px; color: var(--ink-light); line-height: 1.75; }

/* ============ PROJECTS SECTION ============ */
.projects-section { background: var(--white); }

.projects-slider { position: relative; margin-top: 56px; overflow: hidden; }
.projects-track { display: flex; gap: 20px; transition: transform 0.6s ease; }

.project-card { flex: 0 0 calc(33.33% - 14px); position: relative; overflow: hidden; cursor: pointer; }
.project-card-img { height: 400px; overflow: hidden; }
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: sepia(0.12) saturate(0.9);
}
.project-card:hover .project-card-img img { transform: scale(1.04); filter: sepia(0.05); }
.project-card-info { padding: 20px 0; border-top: 1px solid var(--border); }
.project-num { font-size: 10px; letter-spacing: 3px; color: var(--wood); margin-bottom: 7px; text-transform: uppercase; }
.project-name { font-family: var(--font-main); font-size: 17px; font-weight: 400; margin-bottom: 5px; color: var(--ink); }
.project-location { font-size: 11px; color: var(--ink-light); letter-spacing: 1px; }

.projects-nav { display: flex; gap: 8px; margin-top: 40px; }
.proj-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid);
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.proj-btn:hover { border-color: var(--wood); color: var(--wood); background: rgba(140,109,63,0.05); }

/* ============ CONTACT SECTION ============ */
.contact-section { background: var(--paper-dark); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--wood);
  background: rgba(140,109,63,0.06);
}
.contact-detail-text { font-size: 14px; color: var(--ink-light); line-height: 1.6; }
.contact-detail-label { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wood); margin-bottom: 3px; font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border-mid);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--wood);
  box-shadow: 0 0 0 3px rgba(140,109,63,0.08);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-group select option { background: var(--white); color: var(--ink); }
.form-submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.form-message { display: none; font-size: 12px; color: var(--green); letter-spacing: 1px; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink-mid);
  color: rgba(250,248,242,0.8);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,248,242,0.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo img { height: 26px; filter: brightness(2) sepia(0.3); }
.footer-logo span { font-family: var(--font-main); font-size: 18px; color: var(--white); letter-spacing: 1px; }
.footer-desc { font-size: 13px; color: rgba(250,248,242,0.5); line-height: 1.8; }
.footer-col h4 { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--wood-light); margin-bottom: 18px; font-weight: 600; font-family: var(--font-sans); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(250,248,242,0.45); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 11px; color: rgba(250,248,242,0.3); }

/* ============ PAGE HERO ============ */
.page-hero {
  height: 58vh;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: sepia(0.2) saturate(0.85);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,21,16,0.2) 0%, rgba(30,21,16,0.55) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 52px 48px;
  max-width: 1280px; width: 100%; margin: 0 auto;
}
.page-hero-content h1 { font-family: var(--font-main); font-weight: 400; color: var(--white); }
.breadcrumb { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,248,242,0.5); margin-bottom: 10px; }
.breadcrumb a { color: var(--wood-light); }

/* ============ ABOUT PAGE ============ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-mission { background: var(--paper-dark); border-left: 3px solid var(--wood); padding: 44px 48px; margin: 56px 0; }
.imbox-acronym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.acronym-letter { border-top: 2px solid var(--wood); padding-top: 22px; }
.acronym-char { font-family: var(--font-main); font-size: 60px; font-weight: 400; color: var(--wood); line-height: 1; margin-bottom: 16px; }
.acronym-words { display: flex; flex-direction: column; gap: 7px; }
.acronym-words span { font-size: 12px; color: var(--ink-light); letter-spacing: 0.5px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.why-item { background: var(--white); padding: 36px 28px; transition: background var(--transition); }
.why-item:hover { background: var(--paper); }
.why-icon { font-size: 28px; margin-bottom: 18px; color: var(--wood); }
.why-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.why-text { font-size: 12px; color: var(--ink-light); line-height: 1.75; }

/* ============ PRODUCTS PAGE ============ */
.products-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.product-full-card { background: var(--white); border: 1px solid var(--border); transition: box-shadow var(--transition); }
.product-full-card:hover { box-shadow: 0 8px 32px var(--shadow); }
.product-full-img { height: 260px; overflow: hidden; }
.product-full-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: sepia(0.08) saturate(0.9);
}
.product-full-card:hover .product-full-img img { transform: scale(1.04); filter: sepia(0.02); }
.product-full-info { padding: 24px; }
.product-series { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--wood); margin-bottom: 7px; font-weight: 600; }
.product-model { font-family: var(--font-main); font-size: 22px; font-weight: 400; margin-bottom: 5px; color: var(--ink); }
.product-full-desc { font-size: 12px; color: var(--ink-light); margin-bottom: 18px; line-height: 1.75; }
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.spec { text-align: center; padding: 12px 8px; border-right: 1px solid var(--border); }
.spec:last-child { border-right: none; }
.spec-val { font-family: var(--font-main); font-size: 16px; font-weight: 400; color: var(--wood); }
.spec-key { font-size: 9px; letter-spacing: 1px; color: var(--ink-light); text-transform: uppercase; margin-top: 3px; }

/* ============ SOLUTIONS PAGE ============ */
.solution-detail {
  display: grid; grid-template-columns: 1fr 2fr; gap: 72px;
  padding: 72px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.solution-detail:last-child { border-bottom: none; }
.solution-detail-num { font-family: var(--font-main); font-size: 88px; font-weight: 400; color: var(--paper-deep); line-height: 1; }
.solution-detail h3 { font-family: var(--font-main); font-size: 26px; font-weight: 400; margin-bottom: 18px; color: var(--ink); }
.solution-detail p { font-size: 14px; line-height: 1.85; margin-bottom: 14px; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.solution-tag { font-size: 10px; letter-spacing: 1px; border: 1px solid var(--border-mid); padding: 5px 14px; color: var(--ink-light); background: var(--white); }

/* ============ PROJECTS PAGE ============ */
.projects-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 56px; }
.project-full-card { position: relative; overflow: hidden; cursor: pointer; }
.project-full-img { height: 340px; overflow: hidden; }
.project-full-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: sepia(0.1) saturate(0.9);
}
.project-full-card:hover .project-full-img img { transform: scale(1.04); filter: sepia(0.04); }
.project-full-info { padding: 22px 0; border-top: 1px solid var(--border); }
.project-full-num { font-size: 9px; letter-spacing: 3px; color: var(--wood); margin-bottom: 7px; text-transform: uppercase; font-weight: 600; }
.project-full-name { font-family: var(--font-main); font-size: 20px; font-weight: 400; margin-bottom: 5px; color: var(--ink); }
.project-full-loc { font-size: 11px; color: var(--ink-light); letter-spacing: 1px; }

/* ============ ANIMATIONS ============ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============ DECORATIVE ELEMENTS ============ */
/* Thin wood-line accent between sections */
.wood-line {
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--wood-light) 30%, var(--wood-light) 70%, transparent 100%);
  opacity: 0.3;
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solutions-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-card { flex: 0 0 calc(50% - 10px); }
  .imbox-acronym { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-detail { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  nav { display: none; }
  .nav-contact-btn { display: none; }
  .burger { display: flex; }
  .hero-content { bottom: 72px; padding: 0 20px; }
  .hero-dots { right: 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .solutions-list { grid-template-columns: 1fr; }
  .project-card { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-intro { grid-template-columns: 1fr; }
  .products-full-grid { grid-template-columns: 1fr; }
  .projects-full-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .page-hero-content { padding: 40px 20px; }
}
