/* ============================================================
   PUNENG — Changsha Puneng Electronic Co., Ltd.
   Main Stylesheet — Design System + Components + Responsive
   ============================================================ */

:root {
  --primary: #0B3A7A;
  --primary-light: #0D6FA8;
  --primary-accent: #0DC0C8;
  --secondary: #F58220;
  --secondary-dark: #D96B0D;
  --bg-soft: #F8FAFB;
  --border: #E3E6EC;
  --text: #1A2230;
  --text-muted: #51596A;
  --white: #FFFFFF;
  --success: #2E7D32;
  --wa: #25D366;
  --grad: linear-gradient(135deg, #0B3A7A 0%, #0D6FA8 55%, #0DC0C8 100%);
  --shadow-card: 0 2px 12px rgba(11, 58, 122, 0.08);
  --shadow-hover: 0 8px 24px rgba(11, 58, 122, 0.14);
  --radius: 8px;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Montserrat', 'Segoe UI', sans-serif; font-weight: 700; color: var(--text); }

img { max-width: 100%; display: block; }

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }
section.bg-soft { background: var(--bg-soft); }

/* ---------- Section header ---------- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-header .eyebrow {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 10px;
}
.section-header h2 { font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.section-header .divider { width: 44px; height: 3px; background: var(--secondary); border-radius: 2px; margin: 0 auto 16px; }
.section-header p { color: var(--text-muted); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
  padding: 13px 30px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: var(--secondary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(245, 130, 32, 0.35); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #1FB958; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: var(--transition);
  padding: 14px 0;
}
.navbar.scrolled, .navbar-inner-solid {
  background: var(--white); box-shadow: 0 2px 16px rgba(11,58,122,0.10); padding: 8px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; width: auto; }
.navbar.scrolled .nav-logo img, .navbar-inner-solid .nav-logo img { height: 36px; }
.nav-logo .logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 2px; color: var(--white); }
.navbar.scrolled .nav-logo .logo-text, .navbar-inner-solid .nav-logo .logo-text { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-menu a {
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,0.92); padding: 6px 2px; position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--secondary); transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.navbar.scrolled .nav-menu a, .navbar-inner-solid .nav-menu a { color: var(--text); }
.navbar.scrolled .nav-menu a.active, .navbar-inner-solid .nav-menu a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switcher { display: flex; border: 1px solid rgba(255,255,255,0.45); border-radius: 4px; overflow: hidden; }
.navbar.scrolled .lang-switcher, .navbar-inner-solid .lang-switcher { border-color: var(--border); }
.lang-btn {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  padding: 6px 12px; background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,0.85); transition: var(--transition);
}
.navbar.scrolled .lang-btn, .navbar-inner-solid .lang-btn { color: var(--text-muted); }
.lang-btn.active { background: var(--primary); color: var(--white) !important; }

.nav-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa); color: var(--white) !important;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: 4px; white-space: nowrap;
}
.nav-wa:hover { background: #1FB958; }
.nav-wa svg { width: 16px; height: 16px; fill: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span, .navbar-inner-solid .nav-toggle span { background: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background: var(--grad); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/brand/hero_bg.jpg') center/cover no-repeat;
  opacity: 0.85;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,30,64,0.92) 0%, rgba(9,44,94,0.72) 45%, rgba(13,111,168,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 140px 0 120px; }
.hero-tag {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary-accent);
  border: 1px solid rgba(13,192,200,0.45); padding: 7px 18px; border-radius: 30px; margin-bottom: 22px;
  background: rgba(13,192,200,0.08);
}
.hero h1 { color: var(--white); font-size: 54px; line-height: 1.12; margin-bottom: 22px; font-weight: 700; }
.hero .hero-sub { color: rgba(255,255,255,0.88); font-size: 19px; line-height: 1.7; margin-bottom: 36px; max-width: 640px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-sm {
  position: relative; background: var(--grad); padding: 150px 0 70px; overflow: hidden;
}
.hero-sm::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/brand/hero_bg.jpg') center/cover no-repeat; opacity: 0.5;
}
.hero-sm::after { content: ''; position: absolute; inset: 0; background: rgba(7,30,64,0.55); }
.hero-sm .hero-content { position: relative; z-index: 2; padding: 0; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-sm h1 { color: var(--white); font-size: 36px; margin-bottom: 12px; }
.hero-sm p { color: rgba(255,255,255,0.8); font-size: 17px; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--primary); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { text-align: center; padding: 36px 16px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-item .stat-num { font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 700; color: var(--white); line-height: 1.1; }
.stat-item .stat-num span { color: var(--primary-accent); }
.stat-item .stat-label { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 6px; letter-spacing: 0.5px; }

/* ---------- Product line cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg-soft); }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.product-card .card-link {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--primary-light); display: inline-flex; align-items: center; gap: 6px;
}
.product-card .card-link:hover { color: var(--secondary); gap: 10px; }

/* ---------- Feature cards (Why choose us) ---------- */
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, #E8F4FE, #EAF7F8);
  display: flex; align-items: center; justify-content: center;
}
.feature-card .icon-circle svg { width: 30px; height: 30px; fill: var(--primary-light); }
.feature-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- Factory / split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .split-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split .split-imgs img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; height: 100%; object-fit: cover; }
.split .split-imgs img:first-child { grid-column: 1 / -1; height: 260px; }
.split h2 { font-size: 28px; margin-bottom: 8px; }
.split .divider-left { width: 44px; height: 3px; background: var(--secondary); border-radius: 2px; margin-bottom: 20px; }
.split p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.badge {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  background: #EEF3F9; color: var(--primary); border: 1px solid #D6E2F0;
  padding: 6px 14px; border-radius: 20px;
}

/* ---------- Patents ---------- */
.patent-item {
  background: var(--white); border-left: 3px solid var(--primary-accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px;
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.patent-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.patent-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.patent-item p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Markets ---------- */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.market-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; transition: var(--transition);
}
.market-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-hover); }
.market-card .market-icon { font-size: 34px; margin-bottom: 12px; }
.market-card h3 { font-size: 16px; margin-bottom: 6px; }
.market-card p { font-size: 13px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner.bg-broadcast { background-image: url('../images/brand/broadcast_network_bg.jpg'); background-size: cover; background-position: center; position: relative; }
.cta-banner.bg-broadcast::before { content: ''; position: absolute; inset: 0; background: rgba(7,30,64,0.78); }
.cta-banner.bg-broadcast .container { position: relative; z-index: 2; }
.cta-banner {
  background: var(--grad); position: relative; overflow: hidden; text-align: center; padding: 70px 0;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(13,192,200,0.18), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(245,130,32,0.14), transparent 45%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: 30px; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 16px; margin-bottom: 30px; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #071E3E; color: rgba(255,255,255,0.75); padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.72); font-size: 14px; }
.footer ul a:hover { color: var(--primary-accent); }
.footer .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .footer-logo img { height: 40px; }
.footer .footer-logo span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 2px; color: var(--white); }
.footer .footer-desc { font-size: 13.5px; line-height: 1.75; }
.footer .contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; font-size: 13.5px; }
.footer .contact-item svg { width: 16px; height: 16px; fill: var(--primary-accent); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------- WhatsApp float + back to top ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 990;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
.whatsapp-float:hover { transform: scale(1.08); background: #1FB958; }
.whatsapp-float .wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--text); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; visibility: visible; }

.back-to-top {
  position: fixed; right: 28px; bottom: 96px; z-index: 989;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--white); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: 0 4px 12px rgba(11,58,122,0.35);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2.5px; background: linear-gradient(180deg, var(--primary), var(--primary-accent)); border-radius: 2px;
}
.timeline-item { position: relative; padding: 0 0 36px 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--secondary);
  box-shadow: 0 0 0 4px rgba(245,130,32,0.18);
}
.timeline-item .tl-year { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; color: var(--primary); }
.timeline-item h4 { font-size: 16px; margin: 4px 0 6px; }
.timeline-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Product page ---------- */
.product-anchor-nav {
  position: sticky; top: 60px; z-index: 500; background: var(--white);
  border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(11,58,122,0.06);
  padding: 12px 0;
}
.product-anchor-nav .container { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.anchor-btn {
  font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border);
  color: var(--text-muted); background: var(--white); cursor: pointer; transition: var(--transition);
}
.anchor-btn:hover, .anchor-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.product-section { padding: 70px 0; border-bottom: 1px solid var(--border); }
.product-section.alt { background: var(--bg-soft); }
.ps-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.ps-header h2 { font-size: 26px; }
.ps-header .ps-sub { color: var(--text-muted); font-size: 15px; margin-top: 6px; }

.ps-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.ps-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ps-gallery img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white);
}
.ps-gallery img.main { grid-column: 1 / -1; height: 300px; object-fit: contain; padding: 12px; }
.ps-desc p { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.ps-desc h3 { font-size: 18px; margin: 18px 0 10px; color: var(--primary); }

.check-list { list-style: none; margin: 14px 0; }
.check-list li { padding: 6px 0 6px 30px; position: relative; font-size: 14.5px; color: var(--text); }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%; background: #E8F5E9; color: var(--success);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Spec tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec-table th {
  background: var(--primary); color: var(--white); font-family: 'Montserrat', sans-serif;
  font-size: 13.5px; font-weight: 600; text-align: left; padding: 12px 16px; letter-spacing: 0.4px;
}
.spec-table td { padding: 11px 16px; font-size: 14px; border-bottom: 1px solid #EEF1F5; }
.spec-table tr:nth-child(even) td { background: #F8FAFB; }
.spec-table td:first-child { color: var(--text-muted); width: 32%; font-weight: 500; }
.spec-table td { color: var(--text); font-weight: 600; }
.spec-table tr:last-child td { border-bottom: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card); margin-bottom: 20px;
}
.contact-info-card h3 { font-size: 17px; margin-bottom: 16px; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.contact-info-card h3 svg { width: 20px; height: 20px; fill: var(--secondary); }
.contact-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.contact-line:last-child { border-bottom: none; }
.contact-line .cl-label { color: var(--text-muted); min-width: 84px; }
.contact-line .cl-value { font-weight: 600; color: var(--text); word-break: break-all; }
.contact-line .cl-value a { color: var(--primary-light); }

.inquiry-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-card);
}
.inquiry-form h3 { font-size: 20px; margin-bottom: 6px; }
.inquiry-form .form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group label .req { color: var(--secondary); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 5px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(13,111,168,0.1); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-error { color: #D84315; font-size: 12.5px; margin-top: 5px; display: none; }
.form-group.invalid .form-error { display: block; }
.form-group.invalid .form-input { border-color: #D84315; }

.form-modal {
  position: fixed; inset: 0; z-index: 2000; background: rgba(7,30,64,0.6);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.form-modal.open { display: flex; }
.form-modal .modal-box {
  background: var(--white); border-radius: 10px; max-width: 520px; width: 100%;
  padding: 36px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.form-modal h3 { font-size: 20px; margin-bottom: 8px; }
.form-modal p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 24px; }
.form-modal .modal-actions { display: flex; flex-direction: column; gap: 12px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
.modal-box { position: relative; }

/* ---------- Misc ---------- */
.page-content { padding: 70px 0; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero h1 { font-size: 40px; }
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ps-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-wa span.wa-text { display: none; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { min-height: 76vh; }
  .hero h1 { font-size: 30px; }
  .hero .hero-sub { font-size: 15.5px; }
  .hero-content { padding: 120px 0 90px; }
  .hero-sm { padding: 120px 0 50px; }
  .hero-sm h1 { font-size: 27px; }
  .section-header h2 { font-size: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .ps-gallery img.main { height: 220px; }
  .timeline { padding-left: 26px; }
  .product-anchor-nav { top: 54px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 90px 32px 32px; gap: 20px; box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s ease;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { color: var(--text) !important; font-size: 16px; }
  .navbar.scrolled .nav-toggle span, .navbar-inner-solid .nav-toggle span, .nav-toggle span { background: var(--primary); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--primary); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--primary); }
  .whatsapp-float { width: 50px; height: 50px; right: 18px; bottom: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { right: 21px; bottom: 80px; width: 40px; height: 40px; }
  .inquiry-form { padding: 24px; }
}

@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-tag { font-size: 10.5px; letter-spacing: 1.8px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .stat-item .stat-num { font-size: 26px; }
  .timeline-item .tl-year { font-size: 17px; }
}
