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

:root {
  --orange: #e8891c;
  --orange-hover: #d47a15;
  --orange-light: #fdf4ea;
  --orange-glow: rgba(232,137,28,0.08);
  --dark: #2d2d2d;
  --dark-2: #3d3d3d;
  --dark-3: #4a4a4a;
  --bg: #ffffff;
  --bg-off: #faf9f7;
  --bg-footer: #2a2a2a;
  --border: #eeece8;
  --border-dark: #ddd8d0;
  --text: #2d2d2d;
  --text-secondary: #6a6560;
  --text-dim: #9a958e;
  --white: #ffffff;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior: smooth }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block }
a { color:inherit; text-decoration:none }

/* Layout */
.container { max-width:1200px; margin:0 auto; padding:0 48px }
.section { padding:100px 0 }
.section--off { background:var(--bg-off) }
.section--orange { background:var(--orange); color:var(--white) }

/* Type */
.eyebrow {
  font-size:11px; font-weight:600;
  letter-spacing:2.5px; text-transform:uppercase;
  color:var(--orange); margin-bottom:12px; display:block;
}
.section--orange .eyebrow { color:rgba(255,255,255,0.7) }
h1 { font-size:clamp(36px,5vw,60px); font-weight:700; line-height:1.1; letter-spacing:-1px }
h2 { font-size:clamp(28px,3.5vw,40px); font-weight:700; line-height:1.15; letter-spacing:-0.5px }
h3 { font-size:20px; font-weight:600; line-height:1.3 }
p.lead { font-size:17px; color:var(--text-secondary); line-height:1.8; max-width:600px }
p.body { font-size:15px; color:var(--text-secondary); line-height:1.8 }

/* Buttons */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; font-size:14px; font-weight:600;
  letter-spacing:0.3px; border-radius:var(--radius);
  transition:var(--transition); cursor:pointer;
}
.btn--primary { background:var(--orange); color:var(--white) }
.btn--primary:hover { background:var(--orange-hover) }
.btn--white { background:var(--white); color:var(--orange) }
.btn--white:hover { background:var(--orange-light) }
.btn--outline { border:1.5px solid var(--border-dark); color:var(--text) }
.btn--outline:hover { border-color:var(--orange); color:var(--orange) }
.btn--outline-white { border:1.5px solid rgba(255,255,255,0.4); color:var(--white) }
.btn--outline-white:hover { border-color:var(--white); background:rgba(255,255,255,0.1) }

/* ===== NAV ===== */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:16px 0;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  transition:var(--transition);
}
.nav.scrolled { padding:10px 0; box-shadow:0 2px 20px rgba(0,0,0,0.06) }
.nav .container { display:flex; align-items:center; justify-content:space-between }
.nav-logo img { height:40px }
.nav-links { display:flex; gap:28px; align-items:center }
.nav-links a {
  font-size:13px; font-weight:500; letter-spacing:0.3px;
  color:var(--text-secondary); transition:var(--transition);
}
.nav-links a:hover { color:var(--orange) }
.nav-cta {
  padding:10px 24px; font-size:13px; font-weight:600;
  background:var(--orange); color:var(--white); border-radius:var(--radius);
  transition:var(--transition);
}
.nav-cta:hover { background:var(--orange-hover) }
.nav-toggle { display:none; flex-direction:column; gap:5px; padding:8px; cursor:pointer; border:none; background:none }
.nav-toggle span { width:22px; height:1.5px; background:var(--dark); transition:var(--transition) }

/* ===== HERO ===== */
.hero {
  min-height:100vh; display:flex; align-items:center;
  position:relative; overflow:hidden; padding-top:80px;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(30,25,20,0.55) 0%, rgba(30,25,20,0.35) 50%, rgba(30,25,20,0.5) 100%);
  z-index:1;
}
.hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.hero-content { position:relative; z-index:2; max-width:680px; color:var(--white) }
.hero-content h1 { margin-bottom:20px }
.hero-content p { font-size:17px; color:rgba(255,255,255,0.85); margin-bottom:36px; max-width:520px }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap }
.hero-stats {
  display:flex; gap:48px; margin-top:56px;
  padding-top:28px; border-top:1px solid rgba(255,255,255,0.2);
}
.hero-stat .number { font-size:32px; font-weight:700 }
.hero-stat .label { font-size:11px; color:rgba(255,255,255,0.6); letter-spacing:1.5px; text-transform:uppercase; margin-top:4px }

/* ===== BRAND INTRO ===== */
.brand-intro .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center }
.brand-intro .text-col h2 { margin-bottom:20px }
.brand-intro .text-col p { margin-bottom:16px }
.brand-values { display:flex; flex-direction:column; gap:16px; margin-top:28px }
.brand-value {
  display:flex; align-items:flex-start; gap:16px;
  padding:16px; border-radius:var(--radius);
  border:1px solid var(--border); transition:var(--transition);
}
.brand-value:hover { border-color:var(--orange); background:var(--orange-light) }
.brand-value .icon {
  width:40px; height:40px; flex-shrink:0;
  background:var(--orange-light); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:var(--orange); font-size:18px;
}
.brand-value h4 { font-size:14px; font-weight:600; margin-bottom:2px }
.brand-value p { font-size:13px; color:var(--text-dim); line-height:1.5; margin:0 }
.visual-col {
  position:relative; border-radius:8px; overflow:hidden;
}
.visual-col img { width:100%; height:100%; object-fit:cover }

/* ===== SYSTEMS ===== */
.systems-header { text-align:center; margin-bottom:56px }
.systems-header h2 { margin-bottom:12px }
.systems-header p { margin:0 auto }
.systems-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px }
.system-card {
  position:relative; aspect-ratio:3/4;
  border-radius:var(--radius); overflow:hidden; cursor:pointer;
}
.system-card img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.6s ease;
}
.system-card:hover img { transform:scale(1.05) }
.system-card .overlay {
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(45,45,45,0.85) 0%, rgba(45,45,45,0.05) 55%);
  transition:var(--transition);
}
.system-card:hover .overlay {
  background:linear-gradient(0deg, rgba(232,137,28,0.7) 0%, rgba(45,45,45,0.05) 55%);
}
.system-card .info {
  position:absolute; bottom:0; left:0; right:0;
  padding:24px; z-index:2; color:var(--white);
}
.system-card .info .eyebrow { font-size:10px; margin-bottom:4px; color:rgba(255,255,255,0.6) }
.system-card .info h3 { font-size:18px }
.system-card .info p {
  font-size:13px; color:rgba(255,255,255,0.7); margin-top:4px;
  opacity:0; transform:translateY(6px); transition:var(--transition);
}
.system-card:hover .info .eyebrow { color:rgba(255,255,255,0.9) }
.system-card:hover .info p { opacity:1; transform:translateY(0) }

/* ===== ESTONETEX ===== */
.estonetex .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center }
.estonetex .text-col h2 { margin-bottom:16px }
.estonetex .text-col p { margin-bottom:20px }
.layer-diagram { display:flex; flex-direction:column; gap:6px; margin-top:28px }
.layer {
  display:flex; align-items:center; gap:14px;
  padding:14px 16px; border-radius:var(--radius);
  border:1px solid var(--border); transition:var(--transition);
}
.layer:hover { border-color:var(--orange); background:var(--orange-light) }
.layer .num { font-size:12px; font-weight:700; color:var(--orange); width:24px; text-align:center }
.layer .name { font-size:13px; font-weight:600 }
.layer .desc { font-size:12px; color:var(--text-dim); margin-left:auto }

/* ===== PROJECTS (Luxury-style filter) ===== */
.projects-header { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:16px; flex-wrap:wrap; gap:16px }
.filter-bar { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px }
.filter-btn {
  padding:8px 20px; font-size:13px; font-weight:500;
  border:1px solid var(--border-dark); border-radius:var(--radius);
  background:transparent; color:var(--text-secondary);
  cursor:pointer; transition:var(--transition);
}
.filter-btn:hover { border-color:var(--orange); color:var(--orange) }
.filter-btn.active { background:var(--orange); color:var(--white); border-color:var(--orange) }
.projects-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px }
.project-card {
  position:relative; aspect-ratio:4/3;
  border-radius:var(--radius); overflow:hidden; cursor:pointer;
  transition:opacity 0.4s ease, transform 0.4s ease;
}
.project-card.hidden { display:none }
.project-card img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease }
.project-card:hover img { transform:scale(1.04) }
.project-card .overlay {
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(45,45,45,0.7) 0%, transparent 50%);
}
.project-card .caption {
  position:absolute; bottom:0; left:0; right:0;
  padding:20px; color:var(--white);
}
.project-card .caption h4 { font-size:15px; font-weight:600; margin-bottom:2px }
.project-card .caption span { font-size:12px; color:rgba(255,255,255,0.6) }

/* ===== PROCESS ===== */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:48px }
.step {
  padding:28px 24px; border-radius:var(--radius);
  border:1px solid var(--border); transition:var(--transition); position:relative;
}
.step:hover { border-color:var(--orange); background:var(--orange-light) }
.step .num { font-size:36px; font-weight:800; color:var(--orange); opacity:0.2; margin-bottom:12px }
.step h4 { font-size:14px; font-weight:600; margin-bottom:6px }
.step p { font-size:13px; color:var(--text-dim); line-height:1.6 }

/* ===== ACADEMY ===== */
.academy .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center }
.academy .visual { border-radius:8px; overflow:hidden; aspect-ratio:16/10 }
.academy .visual img { width:100%; height:100%; object-fit:cover }
.academy .content h2 { margin-bottom:16px }
.academy .content p { margin-bottom:20px }
.academy-features { display:flex; flex-direction:column; gap:10px; margin-bottom:28px }
.academy-feature { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text-secondary) }
.academy-feature .dot { width:6px; height:6px; border-radius:50%; background:var(--orange); flex-shrink:0 }

/* ===== VIDEO CTA ===== */
.video-cta {
  text-align:center; padding:100px 48px;
  position:relative; overflow:hidden;
}
.video-cta .bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.video-cta .bg::after {
  content:''; position:absolute; inset:0;
  background:rgba(232,137,28,0.9);
}
.video-cta .inner { position:relative; z-index:1; color:var(--white) }
.video-cta h2 { margin-bottom:12px }
.video-cta p { margin:0 auto 32px; max-width:500px; color:rgba(255,255,255,0.8); font-size:16px }

/* ===== DISTRIBUTOR ===== */
.distributor .container { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start }
.distributor .info h2 { margin-bottom:12px }
.distributor .info p { margin-bottom:24px }
.contact-details { display:flex; flex-direction:column; gap:14px }
.contact-item { display:flex; align-items:center; gap:14px; font-size:14px; color:var(--text-secondary) }
.contact-item .icon {
  width:40px; height:40px; flex-shrink:0;
  background:var(--orange-light); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:var(--orange); font-size:16px;
}

/* ===== FOOTER (POEMA style) ===== */
.footer { background:var(--bg-footer); color:rgba(255,255,255,0.7); padding:64px 0 0 }
.footer-main { display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px }
.footer-brand img { height:36px; margin-bottom:16px; filter:brightness(10) }
.footer-brand .desc { font-size:13px; line-height:1.7; margin-bottom:16px; color:rgba(255,255,255,0.5) }
.footer-brand .distributor-line {
  font-size:12px; color:rgba(255,255,255,0.4);
  padding-top:12px; border-top:2px solid var(--orange);
  display:inline-block;
}
.footer-col h4 {
  font-size:12px; font-weight:600; letter-spacing:1.5px;
  text-transform:uppercase; color:rgba(255,255,255,0.4);
  margin-bottom:20px;
}
.footer-col ul { list-style:none }
.footer-col li { margin-bottom:10px }
.footer-col a {
  font-size:14px; color:rgba(255,255,255,0.65);
  transition:var(--transition);
}
.footer-col a:hover { color:var(--orange) }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 0;
  display:flex; justify-content:space-between; align-items:center;
  font-size:11px; color:rgba(255,255,255,0.3);
}
.footer-social { display:flex; gap:12px }
.footer-social a {
  width:32px; height:32px;
  border:1px solid rgba(255,255,255,0.12); border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.4); font-size:12px; font-weight:600;
  transition:var(--transition);
}
.footer-social a:hover { border-color:var(--orange); color:var(--orange) }

/* ===== FAQ ===== */
.faq-list { max-width:800px; margin:0 auto }
.faq-item { border-bottom:1px solid var(--border) }
.faq-q {
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:20px 0; font-size:15px; font-weight:600; text-align:left;
  color:var(--text); cursor:pointer; background:none; border:none;
  font-family:inherit; transition:var(--transition);
}
.faq-q:hover { color:var(--orange) }
.faq-icon {
  font-size:20px; font-weight:300; color:var(--orange);
  transition:transform 0.3s ease; flex-shrink:0; margin-left:16px;
}
.faq-item.open .faq-icon { transform:rotate(45deg) }
.faq-a {
  max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s ease;
  padding:0 0;
}
.faq-item.open .faq-a { max-height:300px; padding:0 0 20px }
.faq-a p { font-size:14px; color:var(--text-secondary); line-height:1.8 }

/* ===== PRODUCT SECTION ===== */
.products-layout { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; margin-top:40px }
.products-layout table { font-size:13px }
.products-layout table td, .products-layout table th { padding:8px 10px }

.product-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px }
.product-card {
  border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; transition:var(--transition); cursor:pointer;
  background:var(--white);
}
.product-card:hover { border-color:var(--orange); box-shadow:0 4px 20px rgba(232,137,28,0.1) }
.product-card .img-wrap {
  aspect-ratio:1; background:var(--bg-off);
  display:flex; align-items:center; justify-content:center;
  padding:16px; overflow:hidden;
}
.product-card .img-wrap img { max-height:100%; max-width:100%; object-fit:contain; transition:transform 0.3s ease }
.product-card:hover .img-wrap img { transform:scale(1.05) }
.product-card .card-info { padding:14px 16px; border-top:1px solid var(--border) }
.product-card .card-info h4 { font-size:13px; font-weight:600; margin-bottom:2px; line-height:1.4 }
.product-card .card-info p { font-size:11px; color:var(--text-dim); line-height:1.4 }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .container { padding:0 32px }
  .systems-grid { grid-template-columns:repeat(2,1fr) }
  .process-steps { grid-template-columns:repeat(2,1fr) }
  .brand-intro .container, .estonetex .container,
  .academy .container, .distributor .container { grid-template-columns:1fr; gap:48px }
  .products-layout { grid-template-columns:1fr; gap:32px }
  .footer-main { grid-template-columns:1fr 1fr; gap:36px }
}
@media(max-width:768px) {
  .container { padding:0 20px }
  .section { padding:64px 0 }
  .nav-links { display:none }
  .nav-toggle { display:flex }
  .hero-stats { flex-wrap:wrap; gap:24px }
  .systems-grid, .projects-grid { grid-template-columns:1fr }
  .process-steps { grid-template-columns:1fr }
  .products-layout { grid-template-columns:1fr }
  .products-layout table { font-size:12px }
  .products-layout table td, .products-layout table th { padding:6px 8px }
  .product-cards { grid-template-columns:repeat(2,1fr); gap:12px }
  .footer-main { grid-template-columns:1fr }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center }
  .filter-bar { justify-content:center }
}
