/* ============================================================
   GREENVIEW SOFT STONE — Global Stylesheet
   Brand: Greenview | Product: MCM Flexible Stone (软石)
   Palette: deep green + warm stone neutrals + charcoal
   ============================================================ */

:root {
  --green-900: #12291b;
  --green-800: #1b3a26;
  --green-700: #245233;
  --green-600: #2f6b41;
  --green-500: #3d8a55;
  --green-400: #5aa872;
  --green-100: #e3efe6;

  --ink: #20241f;
  --ink-2: #4d554c;
  --ink-3: #7d857c;
  --line: #e3e0d8;
  --paper: #ffffff;
  --paper-warm: #f6f4ee;
  --paper-warm-2: #efece3;

  --gold: #c8a86b;
  --gold-deep: #a9884d;

  --charcoal: #1b1e1b;
  --charcoal-2: #232723;

  --font-head: "Montserrat", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 2px 10px rgba(18, 30, 20, 0.08);
  --shadow-md: 0 10px 30px rgba(18, 30, 20, 0.12);
  --shadow-lg: 0 24px 60px rgba(18, 30, 20, 0.18);

  --radius: 14px;
  --container: 1240px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.bg-warm { background: var(--paper-warm); }
.bg-warm-2 { background: var(--paper-warm-2); }
.bg-dark { background: var(--charcoal); color: #e8e6df; }
.bg-green { background: var(--green-900); color: #e9f1ea; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--green-500); }
.section-head.left .kicker::before { background: var(--green-500); }

.kicker.light { color: var(--green-400); }
.kicker.light::before { background: var(--green-400); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 34px; height: 2px; background: var(--green-500); }

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--ink);
  letter-spacing: 0.5px;
}
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.bg-dark .section-head h2, .bg-green .section-head h2 { color: #f2f0e9; }
.bg-dark .section-head p, .bg-green .section-head p { color: #b9c2ba; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: 1.6px; text-transform: uppercase;
  transition: all 0.3s ease; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--green-600); color: #fff; box-shadow: 0 8px 24px rgba(47,107,65,0.35); }
.btn-solid:hover { background: var(--green-700); transform: translateY(-2px); }

.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-light-outline { border: 1.5px solid rgba(18,41,27,0.4); color: var(--green-800); }
.btn-light-outline:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green-900); color: #cfe0d4;
  font-size: 13px; padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8f1ea; transition: color 0.2s; }
.topbar a:hover { color: var(--green-400); }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 13px; height: 13px; opacity: 0.75; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(27,58,38,0.35);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { font-family: var(--font-head); font-weight: 800; letter-spacing: 2.5px; font-size: 19px; color: var(--green-900); line-height: 1.1; }
.logo-text small { display: block; font-size: 9.5px; letter-spacing: 4.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green-600); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--green-700); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 24px; font-size: 12px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--green-900); border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(56.25vw, 92vh); /* match video 16:9, no cropping */
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(14,26,18,0.50) 0%, rgba(14,26,18,0.28) 60%, rgba(14,26,18,0.66) 100%),
              radial-gradient(1200px 600px at 75% 20%, rgba(61,138,85,0.22), transparent 60%);
  color: #f4f2ec; overflow: hidden;
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to top, var(--paper), transparent);
}
.hero-inner { position: relative; z-index: 2; padding: 64px 0 84px; max-width: 760px; }
.hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,168,114,0.16); border: 1px solid rgba(90,168,114,0.4);
  color: #b9e0c4; padding: 8px 18px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-head); font-weight: 600; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); font-weight: 800;
  letter-spacing: 1px; line-height: 1.08;
}
.hero h1 .thin { font-weight: 300; color: #cfe3d5; }
.hero h1 .gold { color: var(--gold); }
.hero .hero-sub { margin-top: 22px; font-size: 19px; color: #dde6de; max-width: 620px; }
.hero .hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, auto); gap: 34px; justify-content: start; }
.hero-stat .num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: #fff; }
.hero-stat .num em { font-style: normal; color: var(--gold); }
.hero-stat .lbl { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #9fb0a4; margin-top: 4px; }
.hero .divider-v { width: 1px; height: 44px; background: rgba(255,255,255,0.18); }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--green-900); color: #d9e7dc; padding: 18px 0;
  overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08);
}
.strip-track { display: flex; gap: 60px; width: max-content; animation: none; }
.strip-item { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
.strip-item svg { width: 15px; height: 15px; color: var(--green-400); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature split (About) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media .img-main {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; aspect-ratio: 4/3.1;
}
.split-media .img-main img, .split-media .img-main svg { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-card {
  position: absolute; right: -22px; bottom: -26px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 20px 26px; display: flex; align-items: center; gap: 14px;
}
.float-card .fc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); display: flex; align-items: center; justify-content: center; color: var(--green-700); }
.float-card .fc-icon svg { width: 24px; height: 24px; }
.float-card .fc-num { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--green-800); line-height: 1.1; }
.float-card .fc-lbl { font-size: 12px; color: var(--ink-3); letter-spacing: 0.4px; }

.split-body .lead { font-size: 18.5px; color: var(--ink-2); margin: 18px 0 26px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
  transition: all 0.3s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-400); }
.feature-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-600); margin-top: 2px; }
.feature-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.feature-item p { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Products grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: all 0.35s ease; cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card .pc-img { position: relative; aspect-ratio: 4/3.1; overflow: hidden; }
.product-card .pc-img img, .product-card .pc-img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .pc-img img, .product-card:hover .pc-img svg { transform: scale(1.07); }
.product-card .pc-hot {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #d6452a; color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
  font-family: var(--font-head);
}
.product-card .pc-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,18,12,0.55), transparent 55%);
}
.product-card .pc-body { padding: 20px 22px 24px; }
.product-card .pc-cat { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green-600); font-weight: 700; font-family: var(--font-head); }
.product-card .pc-body h3 { font-size: 18.5px; margin: 6px 0 8px; }
.product-card .pc-body p { font-size: 13.8px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .pc-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-700);
}
.product-card .pc-link svg { width: 13px; height: 13px; transition: transform 0.3s; }
.product-card:hover .pc-link svg { transform: translateX(4px); }

/* ---------- Features (6 cards, dark) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 36px 30px;
  transition: all 0.35s;
}
.feat-card:hover { background: rgba(61,138,85,0.14); border-color: rgba(90,168,114,0.45); transform: translateY(-5px); }
.feat-card .f-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(90,168,114,0.28), rgba(90,168,114,0.08));
  border: 1px solid rgba(90,168,114,0.35);
  display: flex; align-items: center; justify-content: center; color: var(--green-400);
}
.feat-card .f-icon svg { width: 28px; height: 28px; }
.feat-card h3 { font-size: 17.5px; color: #fff; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: #aeb8af; }
.feat-card .f-metric { margin-top: 16px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--gold); text-transform: uppercase; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: proc; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px;
  transition: all 0.3s;
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-step .ps-num {
  font-family: var(--font-head); font-size: 44px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--green-400);
  line-height: 1; margin-bottom: 14px;
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--ink-3); }
.process-step::after {
  content: ""; position: absolute; top: 44px; right: -10px;
  width: 20px; height: 2px; background: var(--green-300, #9cc9ac);
}
.process-step:last-child::after { display: none; }

/* ---------- Installation Guide ---------- */
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.install-step {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.install-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.install-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 420 / 174;
  object-fit: cover;
}
.install-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  margin: 14px 16px 6px;
  flex-shrink: 0;
}
.install-caption {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 0 16px 16px;
  margin: 0;
}
.install-guide-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 860px) {
  .install-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  .install-grid { grid-template-columns: 1fr; }
}

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; cursor: pointer; box-shadow: var(--shadow-sm); }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.app-card:hover img { transform: scale(1.07); }
.app-card .ap-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,12,0.88), transparent 55%); opacity: 0.9; transition: opacity 0.3s; }
.app-card:hover .ap-veil { opacity: 1; }
.app-card .ap-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: #fff; }
.app-card .ap-body h3 { font-size: 16.5px; margin-bottom: 4px; }
.app-card .ap-body p { font-size: 13px; color: rgba(255,255,255,0.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; cursor: pointer; box-shadow: var(--shadow-sm); }
.project-card img, .project-card svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.project-card:hover img, .project-card:hover svg { transform: scale(1.07); }
.project-card .pj-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,12,0.85), transparent 50%); opacity: 0.85; transition: opacity 0.3s; }
.project-card .pj-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: #fff; }
.project-card .pj-loc { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green-400); font-weight: 700; font-family: var(--font-head); }
.project-card .pj-body h3 { font-size: 16.5px; margin-top: 4px; }
.project-card .pj-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10,16,12,0.55); color: #e8e6df; border: 1px solid rgba(255,255,255,0.25);
  font-size: 11px; letter-spacing: 1.4px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-head); text-transform: uppercase;
}

/* ---------- Cert badges / strip ---------- */
.cert-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 16px; text-align: center; transition: all 0.3s;
}
.cert-item:hover { border-color: var(--green-400); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert-item svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--green-700); }
.cert-item h4 { font-size: 14.5px; }
.cert-item p { font-size: 12.3px; color: var(--ink-3); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .nc-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-card .nc-thumb img, .news-card .nc-thumb svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .nc-thumb img, .news-card:hover .nc-thumb svg { transform: scale(1.06); }
.news-card .nc-body { padding: 22px 24px 26px; }
.news-card .nc-date { font-size: 12px; color: var(--green-600); font-weight: 600; letter-spacing: 0.6px; }
.news-card h3 { font-size: 16.5px; margin: 8px 0 10px; line-height: 1.4; }
.news-card p { font-size: 13.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-700); }
.news-card .nc-more svg { width: 12px; height: 12px; }

/* ---------- News Detail ---------- */
.container-narrow { max-width: 860px; margin: 0 auto; }
.news-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 52px 40px; box-shadow: var(--shadow-sm); }
.na-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green-700); margin-bottom: 28px; }
.na-back svg { width: 15px; height: 15px; }
.na-back:hover { color: var(--green-600); }
.na-date { font-size: 13px; color: var(--green-600); font-weight: 600; letter-spacing: 0.8px; }
.na-title { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.25; margin: 12px 0 0; font-weight: 700; }
.na-rule { width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green-600), #c8a86b); margin: 22px 0 26px; }
.na-body p { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); margin-bottom: 18px; }
.na-body p:last-child { margin-bottom: 0; }
.news-pager { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.np-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: 0.6px; color: var(--ink-2); transition: color 0.2s; }
.np-link:hover { color: var(--green-700); }
.np-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.np-all { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-700); white-space: nowrap; }
.np-all:hover { color: var(--green-600); }
@media (max-width: 640px) {
  .news-article { padding: 28px 22px 26px; }
  .news-pager { flex-wrap: wrap; }
  .np-all { order: -1; width: 100%; text-align: center; margin-bottom: 6px; }
}

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, var(--green-900), var(--green-700)); padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; }
.cta-banner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(200,168,107,0.35), transparent 65%); }
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-banner p { color: #c9d8cd; max-width: 560px; }
.cta-banner .btn { position: relative; z-index: 2; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- Footer ---------- */
.footer { background: #121612; color: #a9b3aa; }
.footer-top { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.footer h4 { color: #eef0eb; font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 22px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--green-400); }
.footer .f-brand p { margin-top: 18px; font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer .f-social { display: flex; gap: 12px; margin-top: 22px; }
.footer .f-social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center;
  color: #cfd8cf; transition: all 0.25s;
}
.footer .f-social a:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; transform: translateY(-3px); }
.footer .f-social svg { width: 17px; height: 17px; }
.footer .f-col ul li { margin-bottom: 12px; font-size: 14px; }
.footer .f-col ul li svg { width: 14px; height: 14px; color: var(--green-500); margin-right: 8px; display: inline; vertical-align: -2px; }
.footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #cfd8cf; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; padding: 120px 0 96px; color: #f4f2ec;
  background: linear-gradient(180deg, rgba(12,22,15,0.85), rgba(12,22,15,0.7)),
              url("../images/products/marble-series.svg") center/cover no-repeat;
}
.page-hero.alt { background: linear-gradient(180deg, rgba(12,22,15,0.88), rgba(12,22,15,0.72)), url("../images/products/wood-series.svg") center/cover no-repeat; }
.page-hero .crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: 1px; color: #a9b8ad; text-transform: uppercase; font-family: var(--font-head); margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: var(--green-400); }
.page-hero .crumbs svg { width: 13px; height: 13px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; }
.page-hero p { margin-top: 14px; max-width: 640px; color: #cfd9d0; font-size: 16.5px; }

/* ---------- Products page ---------- */
.cat-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.35s; }
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.cat-card .cc-img { aspect-ratio: 16/10; overflow: hidden; }
.cat-card .cc-img img, .cat-card .cc-img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.cat-card:hover .cc-img img, .cat-card:hover .cc-img svg { transform: scale(1.06); }
.cat-card .cc-body { padding: 22px 24px 26px; }
.cat-card .cc-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green-600); font-weight: 700; font-family: var(--font-head); }
.cat-card h3 { font-size: 18px; margin: 6px 0 8px; }
.cat-card p { font-size: 13.5px; color: var(--ink-3); }
.cat-card .cc-specs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-card .cc-specs span { font-size: 11.5px; background: var(--paper-warm); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); font-weight: 600; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--green-900); color: #e9f1ea; font-family: var(--font-head); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.spec-table tbody tr:nth-child(even) { background: var(--paper-warm); }
.spec-table tbody tr:hover { background: var(--green-100); }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 34%; }

/* ---------- About page ---------- */
.timeline { position: relative; margin-top: 20px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--green-500), var(--gold)); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-600); border: 3px solid var(--green-100); }
.tl-item .tl-year { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--green-700); letter-spacing: 1px; }
.tl-item h4 { font-size: 16.5px; margin: 4px 0 6px; }
.tl-item p { font-size: 14px; color: var(--ink-3); max-width: 560px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all 0.3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card svg { width: 38px; height: 38px; margin: 0 auto 16px; color: var(--green-600); }
.value-card h3 { font-size: 16px; }
.value-card p { font-size: 13.3px; color: var(--ink-3); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.contact-info .ci-icon svg { width: 24px; height: 24px; }
.contact-info .ci-body h4 { font-size: 15.5px; }
.contact-info .ci-body p { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.contact-info .ci-body a:hover { color: var(--green-600); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .cf-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--paper-warm);
  transition: all 0.25s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(61,138,85,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: all 0.35s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--green-800); transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid, .cat-list { grid-template-columns: repeat(3, 1fr); }
  .feat-grid, .projects-grid, .app-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.4s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--paper-warm-2); }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media .float-card { right: 8px; bottom: -20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 26px 40px; }
  .hero { height: auto; min-height: 78vh; }
  .section { padding: 72px 0; }
  .cta-banner { flex-direction: column; text-align: center; padding: 48px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .products-grid, .cat-list, .feat-grid, .projects-grid, .app-grid, .news-grid { grid-template-columns: 1fr; }
  .process, .value-grid, .cert-strip { grid-template-columns: 1fr; }
  .feature-list, .form-row { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
  .hero-inner { padding: 80px 0 100px; }
  .hero .hero-sub { font-size: 16.5px; }
}

/* ===== Products page additions ===== */
.page-hero { background: linear-gradient(135deg, var(--green-deep) 0%, #20402c 60%, #2c4d36 100%); color: #eef0eb; padding: 110px 0 70px; }
.page-hero .hero-tag { display:inline-block; background: rgba(90,168,114,.18); color:#9fe0b6; border:1px solid rgba(90,168,114,.4); padding:7px 16px; border-radius:30px; font-size:13px; font-weight:600; letter-spacing:.4px; margin-bottom:18px; }
.page-hero h1 { font-family: var(--font-head); font-size: 46px; font-weight: 800; margin: 0 0 16px; color:#fff; }
.page-hero p { max-width: 680px; color: #c4d2c8; font-size: 17px; line-height: 1.7; }

.split-media img { width: 100%; display: block; border-radius: 14px; box-shadow: var(--shadow-md); }

.series-block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.series-block:last-child { border-bottom: none; }
.series-block .kicker { color: var(--green); }
.series-block .lead { margin: 14px 0 22px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; font-size: 14.5px; border-bottom: 1px solid var(--paper-warm-2); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 150px; color: var(--green-deep); font-weight: 600; background: var(--paper-warm); }
.spec-table td { color: #45514a; }

.variant-wrap h4 { font-family: var(--font-head); font-size: 16px; color: var(--green-deep); margin-bottom: 12px; }
.variant-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.variant-list li { position: relative; padding-left: 18px; font-size: 14px; color: #4b564f; line-height: 1.5; }
.variant-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

@media (max-width: 640px) { .variant-list { grid-template-columns: 1fr; } .page-hero h1 { font-size: 34px; } }

/* ===== Product detail page ===== */
.breadcrumb { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 14px; color: var(--ink-3); }
.breadcrumb .container { display: flex; align-items: center; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb .sep { margin: 0 10px; color: var(--ink-3); }
.breadcrumb .cur { color: var(--green-700); font-weight: 600; }

.pd-hero { padding: 60px 0 52px; }
.pd-media .badge { position: absolute; top: 18px; left: 18px; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 15px; border-radius: 30px; letter-spacing: .4px; box-shadow: var(--shadow-sm); }
.pd-info h1 { font-size: 40px; color: var(--green-900); margin: 6px 0 16px; }
.pd-info .lead { margin: 0 0 22px; }
.pd-features { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 26px; }
.pd-features span { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.pd-features span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* product card now wrapped in an anchor link */
.pc-cover { display: block; }
.product-card .pc-body h3 a:hover { color: var(--green-600); }

/* variant multi-column */
.variant-list.multi { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .pd-info h1 { font-size: 30px; } .variant-list.multi { grid-template-columns: 1fr; } }

/* ===== Product Range Tab Switcher ===== */
.range-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.rtab {
  padding: 10px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; font-family: var(--font-head);
  background: #fff; color: var(--ink-2);
  border: 1.5px solid var(--line);
  cursor: pointer; transition: all .25s ease;
  letter-spacing: .3px;
}
.rtab:hover { border-color: var(--green); color: var(--green-700); }
.rtab.active {
  background: var(--green-800); color: #fff;
  border-color: var(--green-800); box-shadow: 0 4px 16px rgba(27,58,38,.22);
}

.range-display {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px;
  align-items: stretch;
}
.range-img {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--paper-warm); min-height: 420px;
}
.range-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: opacity .35s ease, transform .5s ease;
}

.range-info {
  display: flex; flex-direction: column;
  padding: 12px 0;
}
.range-info h3 {
  font-family: var(--font-head); font-size: 28px;
  font-weight: 800; color: var(--green-900); margin-bottom: 14px;
}
.range-desc {
  font-size: 15.5px; line-height: 1.75; color: var(--ink-2);
  margin-bottom: 26px; flex: 1;
}

.range-variants {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 28px;
}
.rv-card {
  text-align: center;
}
.rv-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 10px; border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 6px;
}
.rv-card:hover img {
  border-color: var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.rv-card span {
  font-size: 12px; color: var(--ink-3); display: block;
}

.btn-sm { padding: 9px 22px; font-size: 13.5px; }

@media (max-width: 860px) {
  .range-display { grid-template-columns: 1fr; gap: 28px; }
  .range-img { min-height: 300px; }
  .range-tabs { gap: 7px; }
  .rtab { padding: 8px 14px; font-size: 12px; }
  .range-variants { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ============================================================
   Language Switcher + RTL (i18n)
   ============================================================ */
.lang-switch { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 13px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.lang-current:hover { border-color: var(--green-600); background: var(--green-100); }
.lang-current .lo-flag { font-size: 13px; letter-spacing: 1px; opacity: .85; }
.lang-current svg { width: 13px; height: 13px; transition: transform .25s; opacity: .65; }
.lang-switch.open .lang-current { border-color: var(--green-600); background: var(--green-100); }
.lang-switch.open .lang-current svg { transform: rotate(180deg); }
.lang-label { line-height: 1; }

.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 176px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
}
.lang-switch.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.lang-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; border-radius: 8px;
  padding: 9px 12px; cursor: pointer; text-align: left;
  font-size: 13.5px; color: var(--ink); transition: background .15s;
}
.lang-opt:hover { background: var(--green-100); }
.lang-opt.active { background: var(--green-100); color: var(--green-700); font-weight: 700; }
.lo-flag { font-size: 14px; line-height: 1; font-weight: 700; letter-spacing: 1px; }
.lo-label { line-height: 1; }

/* RTL — flip layout direction for Arabic */
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-opt { text-align: right; }
[dir="rtl"] .nav-links { gap: 26px; }
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .logo-text { letter-spacing: 1px; }
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .hero-sub, [dir="rtl"] .lead, [dir="rtl"] p { line-height: 1.9; }

/* 中宽屏收紧导航间距，给语言切换器腾空间 */
@media (max-width: 1280px) {
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 12.5px; letter-spacing: 1px; }
}
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; letter-spacing: .8px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 10px 18px; }
}

@media (max-width: 900px) {
  .logo-mark { width: 38px; height: 38px; }
  .logo-mark svg { width: 22px; height: 22px; }
  .logo-text { font-size: 16px; letter-spacing: 1.5px; }
  .logo-text small { font-size: 8px; letter-spacing: 3px; }
  .lang-switch { margin-left: 0; }
  .lang-current { padding: 7px 11px; font-size: 12px; }
  .lang-dropdown { left: auto; right: 0; max-width: calc(100vw - 24px); }
  .nav-cta { gap: 8px; }
  .burger { padding: 6px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 13.5px; letter-spacing: 1.2px; }
}

/* ============================================================
   Application Modal + Scrollable Gallery
   ============================================================ */
.app-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(10,16,12,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.app-modal.open { opacity: 1; }
.app-modal-inner { position: relative; width: 92%; max-width: 1080px; max-height: 90vh; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; }
.ag-close { position: absolute; top: 12px; right: 14px; z-index: 2; background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 28px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ag-close:hover { background: rgba(0,0,0,0.8); }
.ag-gallery { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f6f4ee; }
.ag-main { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f6f4ee; }
.ag-main .ag-img { width: 100%; height: 100%; object-fit: contain; }
.ag-nav { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 0; }
.ag-prev, .ag-next { background: var(--green-700); color: #fff; border: none; font-size: 24px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.ag-prev:hover, .ag-next:hover { background: var(--green-800); }
.ag-counter { font-size: 14px; color: var(--ink-2); font-family: var(--font-head); min-width: 60px; text-align: center; }
.ag-thumbs { display: flex; gap: 8px; padding: 0 16px 16px; overflow-x: auto; justify-content: center; }
.ag-thumb { width: 72px; height: 54px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.ag-thumb.active { border-color: var(--green-500); }
.ag-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Modal right project info panel ---------- */
.ag-info { width: 330px; flex-shrink: 0; display: flex; flex-direction: column; padding: 46px 36px 36px; background: linear-gradient(165deg, #1d2b23 0%, #131f18 100%); color: #fff; border-left: 1px solid rgba(255,255,255,0.08); overflow-y: auto; }
.ag-info-kicker { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: var(--green-300, #9cc9ac); margin-bottom: 12px; }
.ag-info-no { font-family: var(--font-head); font-size: 15px; font-weight: 800; letter-spacing: 1px; color: rgba(255,255,255,0.38); margin-bottom: 16px; }
.ag-info-title { font-size: 24px; line-height: 1.3; margin: 0 0 16px; color: #fff; }
.ag-info-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.78); margin: 0; }
.ag-info-foot { margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ag-info-brand { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: 2.4px; color: #fff; }
.ag-info-tag { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green-300, #9cc9ac); border: 1px solid rgba(156,201,172,0.4); padding: 4px 10px; border-radius: 999px; }

@media (max-width: 640px) {
  .app-modal-inner { flex-direction: column; width: 94%; max-width: 94vw; }
  .ag-gallery { width: 100%; max-height: 52vh; }
  .ag-main { max-height: 42vh; }
  .ag-info { width: 100%; padding: 26px 22px 22px; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); max-height: 34vh; }
  .ag-info-title { font-size: 19px; margin-bottom: 10px; }
  .ag-info-desc { font-size: 13px; line-height: 1.7; }
  .ag-info-foot { padding-top: 18px; }
}

/* ============================================================
   Investment / Partner Form
   ============================================================ */
.bg-investment {
  background: linear-gradient(135deg, #0f1a12 0%, #1b2e20 50%, #12291b 100%);
  position: relative;
  overflow: hidden;
}
.bg-investment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.bg-investment .container { position: relative; z-index: 1; }

.investment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.investment-copy {
  color: #fff;
}
.investment-copy h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}
.investment-copy .lead {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 14px;
  color: #e3efe6;
}
.investment-copy .sub {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(227,239,230,0.75);
  max-width: 420px;
}

.investment-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 38px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.investment-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ink);
}
.investment-form-card .form-group {
  margin-bottom: 14px;
}
.investment-form-card .form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.investment-form-card .form-group input,
.investment-form-card .form-group textarea {
  background: #f8f8f6;
  border: 1px solid #e8e8e5;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.investment-form-card .form-group input:focus,
.investment-form-card .form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(61,138,85,0.12);
}
.investment-form-card .form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.radio-label:hover {
  background: #f4f4f2;
}
.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green-600);
  flex-shrink: 0;
}
.radio-label:has(input:checked) {
  background: #e8f3ec;
  border-color: var(--green-400);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--green-600);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .investment-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .investment-copy h2 { font-size: 38px; }
  .investment-form-card { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .investment-copy h2 { font-size: 30px; }
  .radio-grid { grid-template-columns: 1fr; }
  .investment-form-card { padding: 24px 20px; }
}
