:root {
  --ink: #16181b;
  --muted: #646a73;
  --line: #e7e9ec;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --charcoal: #20252b;
  --orange: #f07a22;
  --orange-2: #ff9d4d;
  --green: #25d366;
  --deep: #1b2230;
  --navy: #0f1622;
  --grad: linear-gradient(120deg, #f07a22, #ff9d4d);
  --grad-dark: linear-gradient(135deg, #1b2230, #2b3a52);
  --shadow: 0 18px 50px rgba(21, 26, 31, .12);
  --shadow-lg: 0 30px 80px rgba(21, 26, 31, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  background: linear-gradient(90deg, #161d29, #243247);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}
.top-strip {
  background: #252a30;
  color: #f4f4f4;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px max(20px, calc((100vw - var(--max)) / 2));
  font-size: 13px;
}
.top-strip a { color: #fff; font-weight: 700; }
.site-header.scrolled .top-strip { background: #0e131c; }
.navbar {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 24px;
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 22px; letter-spacing: .2px; }
.brand small { color: var(--muted); margin-top: 4px; font-size: 12px; text-transform: uppercase; }
.site-header.scrolled .brand strong { color: #fff; }
.site-header.scrolled .brand small { color: #cdd3da; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; font-size: 24px;
}
.nav-links {
  display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700;
  text-transform: uppercase;
}
.nav-links a { color: #343941; }
.nav-links a:hover { color: var(--orange); }
.site-header.scrolled .nav-links a { color: #eef1f5; }
.site-header.scrolled .nav-links a:hover { color: var(--orange-2); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 11px 18px; border-radius: 2px; }
.nav-cta:hover { filter: brightness(1.06); }

/* ---------- Layout primitives ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 86px 20px; }
.section-head { max-width: 800px; margin-bottom: 36px; }
.section-head p:not(.section-label), .split-copy p, .company-copy p { color: var(--muted); }
.section-label {
  color: var(--orange); font-weight: 900; text-transform: uppercase;
  font-size: 13px; margin-bottom: 10px; letter-spacing: .4px;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 80px); line-height: .98; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
h4 { font-size: 16px; margin-bottom: 8px; }
.lead { color: #3e454e; font-size: 19px; max-width: 660px; }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 22px; font-weight: 800;
  border: 1px solid transparent; transition: .2s ease; border-radius: 2px; cursor: pointer;
}
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(240, 122, 34, .35); }
.btn.primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { border-color: #cfd3d7; color: var(--ink); background: #fff; }
.btn.ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 70px 20px 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 56px; align-items: center;
}
.hero-actions, .hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { padding: 0; gap: 22px; }
.hero-stats div { min-width: 140px; padding-top: 18px; border-top: 3px solid var(--orange); }
.hero-stats dt { font-size: 25px; font-weight: 900; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.hero-media {
  position: relative; min-height: 560px; overflow: hidden; background: var(--soft);
  box-shadow: var(--shadow-lg); border-radius: 6px;
}
.hero-media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.media-note {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, .94);
  padding: 12px 14px; font-size: 13px; font-weight: 800; border-radius: 4px;
}
.hero-badge {
  display: inline-block; background: var(--grad); color: #fff; font-weight: 800;
  font-size: 13px; padding: 7px 14px; border-radius: 30px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ---------- Intro band ---------- */
.intro-band { background: var(--grad-dark); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-band div {
  padding: 32px max(20px, calc((100vw - var(--max)) / 2 + 20px));
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.intro-band strong { display: block; font-size: 18px; margin-bottom: 6px; }
.intro-band span { color: #cbd0d5; font-size: 14px; }

/* ---------- Overview of mill types ---------- */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ov-card {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .25s ease;
}
.ov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ov-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ov-card .ov-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ov-card h3 { margin: 0; }
.ov-card .ov-tag { font-size: 12px; font-weight: 800; color: var(--orange); text-transform: uppercase; }
.ov-card p { color: var(--muted); font-size: 14px; margin: 0; }
.ov-pros-cons { display: grid; gap: 10px; margin-top: auto; }
.ov-pros-cons div { font-size: 13px; padding: 10px 12px; border-radius: 6px; }
.ov-pros-cons .pros { background: #eafaf0; color: #1d6b3a; }
.ov-pros-cons .cons { background: #fdeeee; color: #9a2c2c; }
.ov-pros-cons b { display: block; margin-bottom: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }

/* ---------- Split (principle) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 48px; align-items: center; }
.split-media video, .video-row video { width: 100%; background: #111; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.process-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.process-list li {
  display: grid; grid-template-columns: 42px 1fr; gap: 13px; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.process-list span {
  grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 900; border-radius: 50%;
}
.process-list strong { color: var(--ink); display: block; }

/* ---------- Structure grid ---------- */
.struct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.struct-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.struct-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.struct-grid figcaption { padding: 12px 14px; font-weight: 800; font-size: 14px; }
.struct-grid figcaption small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; }

/* ---------- Specs ---------- */
.specs { background: var(--soft); max-width: none; }
.specs .section-head, .spec-layout { max-width: var(--max); margin-left: auto; margin-right: auto; }
.spec-layout { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; }
.spec-layout img { width: 100%; background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { width: 34%; color: #30343a; background: #fafbfc; }
td { color: var(--muted); }

/* ---------- Materials / applications ---------- */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mat-card { border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: .25s ease; }
.mat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mat-card h4 { padding: 12px 14px 4px; margin: 0; }
.mat-card span { display: block; padding: 0 14px 14px; color: var(--muted); font-size: 13px; }

/* ---------- Dark advantages ---------- */
.dark-section { max-width: none; background: var(--grad-dark); color: #fff; }
.dark-section .section-head, .dark-section .advantage-grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.dark-section .section-head p:not(.section-label) { color: #c7ccd2; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.advantage-grid article { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); padding: 26px; border-radius: 10px; }
.advantage-grid span { color: var(--orange-2); font-weight: 900; font-size: 13px; }
.advantage-grid h3 { color: #fff; }
.advantage-grid p { color: #c7ccd2; margin-bottom: 0; font-size: 14px; }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 22px; }
.case-grid article { border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.case-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-large { grid-row: span 2; display: grid; }
.case-large img { aspect-ratio: auto; height: 100%; min-height: 460px; }
.case-grid h3 { padding: 16px 18px 4px; }
.case-grid p { padding: 0 18px 18px; color: var(--muted); font-size: 14px; }
.video-row { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Comparison ---------- */
.compare-wrap { overflow-x: auto; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
.compare-table th, .compare-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.compare-table thead th { background: var(--deep); color: #fff; font-size: 14px; }
.compare-table tbody th { text-align: left; background: #fafbfc; color: #30343a; width: 22%; }
.compare-table .col-hero { background: #fff6ec; }
.compare-table thead .col-hero { background: var(--orange); }
.compare-table .yes { color: #1d8a4a; font-weight: 800; }
.compare-table .no { color: #c0392b; font-weight: 700; }
.compare-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- Wear parts ---------- */
.part-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.part-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.part-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fafafa; }
.part-card h4 { padding: 10px 12px 12px; margin: 0; font-size: 14px; }

/* ---------- Quartz ---------- */
.quartz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quartz-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.quartz-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quartz-card .q-body { padding: 18px 20px 22px; }
.quartz-card h3 { margin: 0 0 6px; }
.quartz-card p { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.quartz-card .q-why { background: #fff6ec; color: #9a531a; font-size: 13px; padding: 10px 12px; border-radius: 6px; }

/* ---------- Recommendation ---------- */
.reco {
  max-width: none; background: var(--grad-dark); color: #fff;
}
.reco-inner { max-width: var(--max); margin: 0 auto; padding: 70px 20px; }
.reco-card {
  background: linear-gradient(135deg, #ff8a3d, #f0591f); color: #fff; border-radius: 16px;
  padding: 40px; box-shadow: 0 30px 80px rgba(240, 122, 34, .35);
}
.reco-card h2 { color: #fff; }
.reco-card ul { margin: 18px 0 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.reco-card li { padding-left: 30px; position: relative; font-size: 16px; }
.reco-card li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; font-size: 20px; }
.reco-card .reco-meta { margin-top: 22px; font-size: 14px; opacity: .95; }

/* ---------- Company / after-sales ---------- */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 46px; align-items: center; }
.company-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.company-points span { border: 1px solid var(--line); padding: 9px 12px; font-size: 13px; font-weight: 800; background: #fff; border-radius: 4px; }
.company-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.company-media img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.company-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.service-grid .sv { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; box-shadow: var(--shadow); }
.service-grid .sv .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
.service-grid h4 { margin: 0 0 6px; }
.service-grid p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
details { border: 1px solid var(--line); padding: 18px 20px; background: #fff; border-radius: 8px; }
summary { cursor: pointer; font-weight: 900; color: var(--ink); }
details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- Contact ---------- */
.contact { max-width: none; background: linear-gradient(90deg, #252a30 0%, #252a30 50%, #f5f6f7 50%, #f5f6f7 100%); }
.contact-card { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 440px; gap: 52px; align-items: start; color: #fff; }
.contact-card p { color: #d8dde2; }
.contact-list { padding: 0; margin: 26px 0 0; list-style: none; display: grid; gap: 12px; }
.contact-list a { color: #fff; text-decoration: underline; }
form { background: #fff; color: var(--ink); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 8px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 900; margin-bottom: 15px; }
input, textarea { width: 100%; border: 1px solid #d5d9de; padding: 13px 12px; font: inherit; border-radius: 4px; }
textarea { resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: #171a1f; color: #e8ebee; padding: 58px 20px 24px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 36px; }
.footer-logo { color: #fff; font-size: 28px; font-weight: 900; margin-bottom: 14px; }
.site-footer p { color: #aeb5bd; }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer a { display: block; color: #aeb5bd; margin: 8px 0; font-size: 14px; }
.site-footer a:hover { color: var(--orange-2); }
.footer-bottom { max-width: var(--max); margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 20px; color: #aeb5bd; font-size: 13px; }
.footer-bottom a { display: inline; margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; min-width: 58px; height: 58px;
  border-radius: 50px; background: var(--green); color: #fff; display: flex; align-items: center;
  justify-content: center; padding: 0 18px; font-weight: 900; box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  transition: .2s ease;
}
.whatsapp-float:hover { transform: scale(1.05); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    position: absolute; left: 0; right: 0; top: 113px; display: none; flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px 24px;
  }
  .site-header.scrolled .nav-links { background: #1b2230; }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .hero, .split, .company, .contact-card, .spec-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .hero-media, .hero-media img { min-height: 420px; }
  .intro-band, .overview-grid, .advantage-grid, .mat-grid, .struct-grid, .footer-grid,
  .quartz-grid, .gallery, .service-grid { grid-template-columns: 1fr 1fr; }
  .part-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid, .video-row, .faq-list { grid-template-columns: 1fr; }
  .case-large img { min-height: 0; aspect-ratio: 4 / 3; }
  .contact { background: var(--charcoal); }
}
@media (max-width: 640px) {
  .top-strip { display: none; }
  .navbar { min-height: 68px; }
  .nav-links { top: 68px; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  .hero-actions .btn { width: 100%; }
  .intro-band, .overview-grid, .advantage-grid, .mat-grid, .struct-grid, .footer-grid,
  .quartz-grid, .gallery, .service-grid, .part-grid { grid-template-columns: 1fr; }
  .intro-band div { padding: 24px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .company-media img:first-child { grid-column: auto; }
  form { padding: 20px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { height: 52px; right: 14px; bottom: 14px; }
  .reco-card { padding: 26px; }
}
