/* ── WX Reflective · Shared Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; background: #fff; line-height: 1.6; }

:root {
  --yellow: #F5C800;
  --orange: #F07A00;
  --dark:   #1A1A1A;
  --gray:   #3D3D3D;
  --light:  #F7F7F5;
  --white:  #FFFFFF;
  --border: #E0E0E0;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.10);
  --max-w:  1200px;
}

/* TOPBAR */
.topbar { background: var(--dark); color: rgba(255,255,255,.7); font-size: .8rem; padding: .45rem 0; }
.topbar .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--yellow); text-decoration: none; }
.topbar span { margin: 0 8px; opacity: .3; }

/* NAV */
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo img.logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.logo-label { font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.logo-label small { display: block; font-size: .8rem; font-weight: 600; color: var(--orange); letter-spacing: .8px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--gray); text-decoration: none; padding: .35rem .7rem; border-radius: 5px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: #FFF3E0; }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; font-weight: 600 !important; padding: .42rem 1rem !important; }
.nav-cta:hover { background: #c96300 !important; }

/* BREADCRUMB */
.breadcrumb { background: var(--light); border-bottom: 1px solid var(--border); padding: .65rem 0; font-size: .82rem; color: #888; }
.breadcrumb .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .4; }

/* PAGE HERO (sub-pages) */
.page-hero { background: linear-gradient(105deg, var(--dark) 55%, #2d2d2d 100%); color: var(--white); padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgba(245,200,0,.07); }
.page-hero .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.page-hero-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--yellow); margin-bottom: .5rem; }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: .75rem; }
.page-hero h1 em { color: var(--yellow); font-style: normal; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 520px; }

/* SECTION */
.section { padding: 80px 0; }
.section.bg-light { background: var(--light); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: .5rem; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: .8rem; }
.section-title em { color: var(--orange); font-style: normal; }
.section-sub { font-size: .98rem; color: #666; max-width: 560px; line-height: 1.7; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: .78rem 1.8rem; border-radius: 7px; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; border: none; font-family: 'Inter', sans-serif; transition: background .18s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #c96300; }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: #ddb400; }
.btn-outline { border: 2px solid var(--border); color: var(--dark); background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: #FFF3E0; }

/* ═══ FOOTER (全站统一) ═══ */
.site-footer{background:#0a0a0a;color:rgba(255,255,255,.6);}
.footer-body{max-width:var(--max-w);margin:0 auto;padding:64px 40px 48px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:56px;align-items:start;}
.footer-logo-wrap{display:flex;align-items:center;gap:12px;margin-bottom:14px;text-decoration:none;}
.footer-logo-wrap img{width:44px;height:44px;object-fit:contain;border-radius:8px;}
.footer-brand-name{font-family:'Barlow Condensed',sans-serif;font-size:1.45rem;font-weight:900;color:#fff;line-height:1;letter-spacing:.4px;}
.footer-co-name{font-size:.73rem;color:rgba(255,255,255,.28);margin-bottom:20px;line-height:1.55;letter-spacing:.1px;}
.footer-contacts{display:flex;flex-direction:column;gap:9px;margin-bottom:26px;}
.footer-contact-item{display:flex;align-items:center;gap:8px;font-size:.78rem;color:rgba(255,255,255,.33);text-decoration:none;transition:color .15s;line-height:1.4;letter-spacing:.1px;}
.footer-contact-item:hover{color:#7dc400;}
.footer-contact-item svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0;opacity:.45;}
.footer-socials{display:flex;gap:8px;flex-wrap:wrap;}
.footer-social-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:transform .2s,opacity .2s;opacity:.7;}
.footer-social-icon:hover{transform:translateY(-2px);opacity:1;}
.footer-social-icon svg{width:17px;height:17px;}
.footer-col h5{font-family:'Barlow Condensed',sans-serif;font-size:1.05rem;font-weight:800;color:#fff;margin-bottom:18px;letter-spacing:.4px;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:10px;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:9px;}
.footer-col ul li a{font-size:.78rem;color:rgba(255,255,255,.33);text-decoration:none;transition:color .15s;line-height:1.4;letter-spacing:.1px;}
.footer-col ul li a:hover{color:#7dc400;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding:18px 40px;max-width:var(--max-w);margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:.74rem;color:rgba(255,255,255,.25);letter-spacing:.1px;}
.footer-bottom a{color:rgba(255,255,255,.3);text-decoration:none;}
.footer-bottom a:hover{color:#7dc400;}

/* WHATSAPP */
.wa-btn { position: fixed; bottom: 26px; right: 26px; z-index: 999; width: 52px; height: 52px; border-radius: 50%; background: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,.4); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 26px; height: 26px; fill: white; }

/* INQUIRY FORM CARD */
.inquiry-card { background: var(--light); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.inquiry-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.inquiry-card p.sub { font-size: .85rem; color: #888; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: .4px; }
.form-group input, .form-group select, .form-group textarea { padding: .65rem .85rem; border: 1.5px solid var(--border); border-radius: 7px; font-size: .9rem; font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); outline: none; transition: border-color .18s, box-shadow .18s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,122,0,.1); }
.form-group textarea { resize: vertical; min-height: 85px; }
.form-submit { width: 100%; padding: .85rem; background: var(--orange); color: var(--white); border: none; border-radius: 8px; font-size: .98rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background .18s; margin-top: 4px; }
.form-submit:hover { background: #c96300; }

/* TAG CHIPS */
.tag { display: inline-block; background: #FFF3E0; color: var(--orange); border: 1px solid #FFD0A0; border-radius: 100px; font-size: .72rem; font-weight: 700; padding: .22rem .65rem; letter-spacing: .4px; text-transform: uppercase; }
.tag.blue { background: #E8F4FD; color: #1565C0; border-color: #90CAF9; }
.tag.green { background: #E8F5E9; color: #2E7D32; border-color: #A5D6A7; }

/* ── MEGA MENU NAV ── */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; }
.nav-item > a .chevron { width: 14px; height: 14px; fill: currentColor; transition: transform .2s; flex-shrink: 0; opacity: .6; }
.nav-item:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown shell */
.dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
  z-index: 200;
  min-width: 180px;
  padding: 8px 0;
  animation: dropFade .15s ease;
}
.nav-item:hover .dropdown { display: block; }
@keyframes dropFade { from { opacity:0; transform: translateX(-50%) translateY(-6px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* Simple dropdown */
.dropdown a {
  display: block; padding: .55rem 1.1rem;
  font-size: .86rem; font-weight: 500;
  color: var(--gray); text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
  border-radius: 6px; margin: 0 4px;
}
.dropdown a:hover { background: #FFF3E0; color: var(--orange); }
.dropdown .divider { height: 1px; background: var(--border); margin: 6px 12px; }
.dropdown .view-all { color: var(--orange) !important; font-weight: 700 !important; font-size: .82rem !important; }

/* Mega Menu (Products) */
.mega {
  display: none;
  position: absolute; top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  width: 680px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  z-index: 200;
  padding: 24px;
  animation: dropFade .15s ease;
}
.nav-item:hover .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.mega-col h6 {
  font-size: .68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: #aaa; padding: 0 10px 8px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.mega-col a {
  display: flex; align-items: center; gap: 8px;
  padding: .5rem .65rem; font-size: .85rem; font-weight: 500;
  color: var(--gray); text-decoration: none; border-radius: 6px;
  transition: background .12s, color .12s;
}
.mega-col a:hover { background: #FFF3E0; color: var(--orange); }
.mega-col a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: background .12s; }
.mega-col a:hover .dot { background: var(--orange); }
.mega-footer {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-footer a { font-size: .84rem; font-weight: 700; color: var(--orange); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.mega-footer span { font-size: .78rem; color: #aaa; }

/* SHARED NAV HTML template - use in every page */
/* <nav class="site-nav"> ... </nav> */

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-body { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .mega, .dropdown { display: none !important; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .footer-body { grid-template-columns: 1fr; }
}
