/* ============================================
   YangzeCraft - Wood Products B2B Site
   Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --wood-light: #C9A87C;
  --wood: #B8946A;
  --wood-dark: #8B6F47;
  --wood-darker: #6B5436;
  --gray-900: #2B2B2B;
  --gray-800: #3A3A3A;
  --gray-700: #555555;
  --gray-600: #777777;
  --gray-400: #BDBDBD;
  --gray-200: #E5E5E5;
  --gray-100: #F2F0EC;
  --cream: #FAF7F2;
  --cream-dark: #F3EEE5;
  --white: #FFFFFF;
  --text: #3A3A3A;
  --text-light: #777777;
  --success: #4A7C59;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-h: 72px;
  --transition: 0.3s ease;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Offset in-page anchor targets so they land below the sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

a { color: var(--wood-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--wood-darker); }

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

ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section-gray { background: var(--gray-100); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wood-dark);
  margin-bottom: 14px;
}
.section-head h2 { font-size: 36px; margin-bottom: 16px; }
.section-head p { color: var(--text-light); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--wood-dark); color: var(--white); border-color: var(--wood-dark); }
.btn-primary:hover { background: var(--wood-darker); border-color: var(--wood-darker); color: var(--white); }
.btn-outline { background: transparent; color: var(--wood-dark); border-color: var(--wood-dark); }
.btn-outline:hover { background: var(--wood-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--gray-900); border-color: var(--white); }
.btn-light:hover { background: var(--cream); }
.btn-dark { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }
.btn-dark:hover { background: var(--gray-800); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(232, 223, 207, 0.97); /* light wood beige #e8dfcf */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139, 90, 43, 0.18);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; line-height: 0; }
.logo:hover { opacity: 0.9; }
.logo img { display: block; height: 46px; width: auto; max-width: 100%; }
.logo-tagline { display: flex; flex-direction: column; line-height: 1.3; text-align: left; font-family: var(--font-head); }
.logo-tagline span { font-size: 12.5px; font-weight: 600; color: #4a4138; letter-spacing: 0.2px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: #333333;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: #8b5a2b; background: rgba(139, 90, 43, 0.10); }
.nav a.active { color: #8b5a2b; font-weight: 600; }
.nav a.active:hover { background: rgba(139, 90, 43, 0.10); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 10px 22px; font-size: 14px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gray-900);
  margin: 5px 0; transition: var(--transition); border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(43,43,43,0.72), rgba(43,43,43,0.78)), var(--hero-img) center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 110px;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--wood-light); margin-bottom: 18px;
}
.hero h1 { font-size: 52px; color: var(--white); line-height: 1.15; margin-bottom: 22px; }
.hero p { font-size: 19px; color: rgba(255,255,255,0.88); margin-bottom: 36px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--wood-light); }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(rgba(43,43,43,0.72), rgba(43,43,43,0.78)), var(--banner-img) center/cover no-repeat;
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-banner h1 { font-size: 40px; color: var(--white); margin-bottom: 12px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.8); }
.breadcrumb a { color: var(--wood-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* ---------- Feature Cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--wood); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 22px;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--wood-dark);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-light); }

/* ---------- Product Cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--wood); }
.product-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--wood-dark); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; font-family: var(--font-head);
}
.product-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.product-card .card-foot { display: flex; justify-content: space-between; align-items: center; }
.product-card .card-link { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--wood-dark); }
.product-card .card-link:hover { color: var(--wood-darker); }
.product-card .moq { font-size: 13px; color: var(--text-light); }
.product-card .moq strong { color: var(--gray-900); }

/* ---------- Category pills ---------- */
.cat-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.cat-pill {
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  padding: 9px 22px; border-radius: 30px; border: 1px solid var(--gray-200);
  background: var(--white); color: var(--gray-700); cursor: pointer; transition: var(--transition);
}
.cat-pill:hover, .cat-pill.active { background: var(--wood-dark); color: #fff; border-color: var(--wood-dark); }

/* ---------- About / Factory showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split .content h2 { font-size: 34px; margin-bottom: 20px; }
.split .content p { color: var(--text-light); margin-bottom: 18px; }
.check-list { margin: 24px 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.check-list .tick { color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--gray-900); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--wood-light); }
.stat-item .label { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 18px;
  background: var(--wood-dark); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-light); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--wood-dark); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 17px; }

/* ---------- Certificate grid ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-card .img-wrap { aspect-ratio: 4/3; background: var(--cream); overflow: hidden; }
.cert-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cert-card .body { padding: 22px; text-align: center; }
.cert-card h3 { font-size: 18px; margin-bottom: 6px; }
.cert-card p { font-size: 14px; color: var(--text-light); }

/* ---------- Blog grid ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .img-wrap img { transform: scale(1.05); }
.blog-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.blog-card .meta .cat { color: var(--wood-dark); font-weight: 600; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.blog-card .read-more { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--wood-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .icon {
  width: 48px; height: 48px; flex-shrink: 0; background: var(--cream); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--wood-dark);
}
.contact-info-item .icon svg { width: 23px; height: 23px; display: block; }
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text-light); }
.contact-info-item a:hover { color: var(--wood-dark); }

.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 14px; margin-bottom: 7px; color: var(--gray-800); }
.form-group label .req { color: #c0392b; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--white);
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(184,148,106,0.15); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 12px; }
.form-success {
  display: none; background: #eaf5ee; border: 1px solid var(--success); color: var(--success);
  padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px;
}
.form-success.show { display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--white); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--gray-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-size: 24px; color: var(--wood-dark); flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 26px 22px; color: var(--text-light); font-size: 15px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Product Detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.detail-gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--cream); }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.detail-gallery .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--cream); }
.detail-gallery .thumb.active, .detail-gallery .thumb:hover { border-color: var(--wood-dark); }
.detail-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 34px; margin-bottom: 10px; }
.detail-info .lead { font-size: 17px; color: var(--text-light); margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--gray-200); text-align: left; font-size: 15px; }
.spec-table th { width: 40%; font-family: var(--font-head); font-weight: 600; color: var(--gray-800); background: var(--cream); }
.spec-table td { color: var(--text); }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.detail-features { margin: 28px 0; }
.detail-features li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.detail-features .tick { color: var(--success); font-weight: 700; }

/* ---------- Privacy / Text page ---------- */
.text-page { max-width: 860px; margin: 0 auto; }
.text-page h1 { font-size: 38px; margin-bottom: 8px; }
.text-page .updated { font-size: 14px; color: var(--text-light); margin-bottom: 36px; }
.text-page h2 { font-size: 24px; margin: 36px 0 14px; }
.text-page h3 { font-size: 19px; margin: 26px 0 10px; }
.text-page p { margin-bottom: 16px; color: var(--gray-700); }
.text-page ul.bullets { margin: 12px 0 20px; padding-left: 4px; }
.text-page ul.bullets li { margin-bottom: 10px; padding-left: 24px; position: relative; color: var(--gray-700); }
.text-page ul.bullets li::before { content: "•"; color: var(--wood-dark); position: absolute; left: 6px; font-weight: 700; }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.case-card .img-wrap { aspect-ratio: 3/2; overflow: hidden; }
.case-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 26px; }
.case-card .country { font-size: 13px; font-weight: 600; color: var(--wood-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--text-light); }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.testimonial .quote { font-size: 17px; color: var(--gray-700); line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testimonial .author { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--wood); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.testimonial .author-info .name { font-weight: 600; font-family: var(--font-head); }
.testimonial .author-info .role { font-size: 13px; color: var(--text-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col .logo { margin-bottom: 16px; }
.footer-col .logo img { height: 52px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--wood-light); }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.7); }
.footer-contact .ico { color: var(--wood-light); flex-shrink: 0; display: inline-flex; align-items: flex-start; }
.footer-contact .ico svg { width: 15px; height: 15px; display: block; margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--wood-light); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px;
}
.footer-social a:hover { background: var(--wood-dark); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--wood-light); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45); transition: var(--transition);
}
.float-wa:hover { transform: scale(1.08); background: #1eb858; color: #fff; }
.float-wa svg { width: 32px; height: 32px; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .features-grid, .products-grid, .cert-grid, .blog-grid, .case-grid, .stats-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .section-head h2, .split .content h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .logo-tagline { display: none; }
}

@media (max-width: 768px) {
  .nav, .header-cta .btn:not(.btn-primary) { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #e8dfcf; padding: 16px 24px; border-bottom: 1px solid rgba(139, 90, 43, 0.18);
    box-shadow: var(--shadow); gap: 4px; align-items: stretch;
  }
  .nav.open a { padding: 12px 14px; }
  .nav.open a:hover, .nav.open a.active { background: rgba(139, 90, 43, 0.10); }
  .header-cta .btn-primary { display: inline-flex; }
  .section { padding: 56px 0; }
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 30px; margin-top: 40px; }
  .hero-stat .num { font-size: 30px; }
  .page-banner { padding: 50px 0; }
  .page-banner h1 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-card { padding: 26px; }
  .detail-gallery .thumbs { grid-template-columns: repeat(3, 1fr); }
  .logo img { height: 38px; }
  .footer-col .logo img { height: 42px; }
}

@media (max-width: 560px) {
  .features-grid, .products-grid, .cert-grid, .blog-grid, .case-grid, .stats-grid, .steps { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .float-wa { width: 52px; height: 52px; font-size: 26px; bottom: 18px; right: 18px; }
  .float-wa svg { width: 28px; height: 28px; }
}
