/*
 Theme Name: FOSIBO Solar
 Theme URI: https://www.fosboenergy.com
 Description: B2B export theme for Shandong FOSIBO Energy Technology Co., Ltd. - solar insect killer lamps, wind-suction traps, courtyard lighting and custom solar outdoor lighting. Factory-direct, OEM/ODM ready.
 Version: 1.0.0
 Requires at least: 5.8
 Tested up to: 6.5
 Requires PHP: 7.4
 Author: WorkBuddy
 Author URI: https://www.workbuddy.ai
 Tags: custom-colors, custom-menu, featured-images, responsive-layout, translation-ready, two-columns
 Text Domain: fosbo
*/

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1c4b8a;
  --green: #0a8f3c;
  --green-2: #16a34a;
  --green-soft: #e7f6ec;
  --amber: #f59e0b;
  --amber-soft: #fef3e2;
  --bg: #f5f7fa;
  --bg-2: #eef2f6;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e3e8ee;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, .06);
  --radius: 14px;
  --maxw: 1200px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: .22s; white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-amber { background: var(--amber); color: #1a1205; }
.btn-amber:hover { background: #ffb22e; transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 37, 69, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; color: #fff; }
.brand img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 4px 7px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.brand .name { font-weight: 800; font-size: 19px; letter-spacing: .3px; }
.brand .name span { color: var(--amber); }
.foot-brand img { max-height: 44px; background: #fff; border-radius: 8px; padding: 4px 7px; margin-bottom: 12px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #cdd9e8; font-weight: 500; font-size: 15px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(245,158,11,.22), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(22,163,74,.30), transparent 55%),
    linear-gradient(135deg, #0b2545, #13315c 60%, #0a6b2e);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 96px 0 100px; }
.hero .eyebrow {
  display: inline-block; background: rgba(245,158,11,.16); color: var(--amber);
  padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 13px;
  letter-spacing: .6px; margin-bottom: 20px; border: 1px solid rgba(245,158,11,.35);
}
.hero h1 { font-size: 46px; line-height: 1.12; font-weight: 800; margin-bottom: 20px; }
.hero h1 .hl { color: var(--amber); }
.hero p.lead { font-size: 18px; color: #d7e2f0; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .s { }
.hero-stats .n { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .l { font-size: 13.5px; color: #a9bdd4; }
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual .lamp-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px; padding: 30px; width: 100%; max-width: 380px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.hero-visual .lamp-card svg { width: 100%; height: auto; }
.hero-visual .lamp-card img { width: 100%; height: auto; max-width: 300px; margin: 0 auto; }
.hero-visual .badge {
  position: absolute; top: 14px; right: 8px;
  background: var(--amber); color: #1a1205; font-weight: 700;
  padding: 9px 15px; border-radius: 12px; font-size: 13px; transform: rotate(6deg);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; padding: 26px 0; }
.trust .item { display: flex; align-items: center; gap: 12px; color: #d7e2f0; font-size: 14.5px; }
.trust .item b { color: #fff; }
.trust .item svg { width: 30px; height: 30px; flex: none; }

/* ---------- Section heading ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.head .tag { color: var(--green); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }
.head h2 { font-size: 34px; font-weight: 800; margin: 10px 0 12px; color: var(--navy); }
.head p { color: var(--muted); font-size: 16.5px; }

/* ---------- Features ---------- */
.features { background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: .22s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.feat .ico {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 16px;
}
.feat .ico svg { width: 28px; height: 28px; }
.feat h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .22s; display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod .thumb { background: linear-gradient(160deg, #f1f6fb, #e7f0f8); padding: 26px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.prod .thumb svg { width: 130px; height: auto; }
.prod .thumb img { max-height: 160px; width: auto; max-width: 100%; object-fit: contain; }
.prod .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prod .model { font-size: 13px; color: var(--green); font-weight: 700; letter-spacing: .5px; }
.prod h3 { font-size: 18.5px; color: var(--navy); }
.prod .desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.spec b { color: var(--text); font-weight: 600; }
.prod .more { margin-top: 6px; font-weight: 600; color: var(--green); font-size: 14.5px; }

/* ---------- Why / Steps ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.why-list { display: grid; gap: 20px; }
.why-item { display: flex; gap: 16px; }
.why-item .num {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.why-item h4 { color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14.5px; }
.why-visual {
  background: linear-gradient(150deg, var(--navy), var(--navy-3));
  border-radius: 20px; padding: 34px; color: #fff; box-shadow: var(--shadow);
}
.why-visual h3 { font-size: 22px; margin-bottom: 16px; }
.why-visual ul { display: grid; gap: 12px; }
.why-visual li { display: flex; gap: 10px; align-items: flex-start; color: #d7e2f0; font-size: 15px; }
.why-visual li svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 3px; }

/* ---------- Certifications ---------- */
.certs { background: var(--bg); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.cert .seal {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--amber-soft); color: var(--amber);
  font-weight: 800; font-size: 15px; border: 2px solid var(--amber);
}
.cert h4 { color: var(--navy); font-size: 16px; }
.cert p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--green), #0a6b2e);
  color: #fff; text-align: center; border-radius: 22px; padding: 60px 30px;
  box-shadow: var(--shadow);
}
.cta h2 { font-size: 32px; margin-bottom: 12px; }
.cta p { font-size: 17px; opacity: .92; margin-bottom: 26px; max-width: 600px; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 22px; margin-bottom: 8px; }
.info-card .sub { color: #a9bdd4; font-size: 14.5px; margin-bottom: 22px; }
.info-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-row .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--amber); flex: none; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .t { font-size: 14px; color: #a9bdd4; }
.info-row .v { font-size: 15.5px; color: #fff; font-weight: 600; }
.info-qr { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.info-qr .t { font-size: 14px; color: #a9bdd4; margin-bottom: 12px; }
.info-qr .qr-row { margin-top: 0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: #fbfcfe; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green); border: 1px solid #b7e3c6; }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

/* ---------- Breadcrumb / subhero ---------- */
.subhero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 70px 0 60px; }
.subhero h1 { font-size: 38px; font-weight: 800; }
.subhero p { color: #c2d2e4; font-size: 17px; margin-top: 10px; max-width: 640px; }
.crumb { font-size: 13px; color: #9fb4cd; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { background: linear-gradient(150deg, #e7f0f8, #d4e6f5); border-radius: 20px; padding: 40px; display: grid; place-items: center; }
.about-img svg { width: 230px; }
.about-img img { max-width: 100%; height: auto; border-radius: 16px; background: #fff; padding: 10px; }
.about-text h2 { font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.about-text p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.stat { background: var(--bg); border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid var(--line); }
.stat .n { font-size: 30px; font-weight: 800; color: var(--green); }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { background: #07182e; color: #aebfd2; padding: 60px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand .name { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.foot-brand .name span { color: var(--amber); }
.foot-brand p { font-size: 14px; line-height: 1.7; }
.foot-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; transition: .2s; }
.foot-col a:hover { color: #fff; padding-left: 4px; }
.foot-col .contact-line { font-size: 16px; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7e93ad; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Gallery / Video ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--bg-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.04); }
.gallery-item .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,37,69,.85));
  color: #fff; padding: 18px 14px 12px; font-size: 13.5px; font-weight: 600;
}
.video-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.video-card video { width: 100%; display: block; aspect-ratio: 16/10; }
.video-card .vcap { padding: 12px 14px; font-weight: 600; color: var(--navy); font-size: 14px; }

/* ---------- E-commerce Home Hero Promos ---------- */
.hero-ecom .hero-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
.hero-promos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  align-items: stretch;
}
.promo-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px; padding: 20px; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px rgba(0,0,0,.25); backdrop-filter: blur(6px);
  transition: .25s;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: 0 36px 70px rgba(0,0,0,.32); border-color: rgba(255,255,255,.30); }
.promo-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pb {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: .4px;
}
.pb.smart { background: #10b981; color: #fff; }
.pb.yellow { background: #facc15; color: #422006; }
.pb.hot { background: #ef4444; color: #fff; }
.pb.new { background: #3b82f6; color: #fff; }
.promo-img {
  background: rgba(255,255,255,.12); border-radius: 16px;
  padding: 18px; display: grid; place-items: center; margin-bottom: 16px;
}
.promo-img img { max-height: 180px; width: auto; max-width: 100%; object-fit: contain; }
.promo-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-series { font-size: 12px; color: var(--amber); font-weight: 700; letter-spacing: .8px; }
.promo-body h3 { font-size: 18px; color: #fff; line-height: 1.3; }
.promo-points { list-style: none; margin: 4px 0 10px; }
.promo-points li {
  color: #d7e2f0; font-size: 13.5px; padding: 4px 0 4px 18px;
  position: relative;
}
.promo-points li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Scenario Cards ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scenario-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .22s;
  display: flex; flex-direction: column;
}
.scenario-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scenario-img { background: linear-gradient(160deg, #f1f6fb, #e7f0f8); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 20px; }
.scenario-img img { max-height: 160px; width: auto; max-width: 100%; object-fit: contain; }
.scenario-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scenario-tag { font-size: 12px; color: var(--green); font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.scenario-body h3 { font-size: 17px; color: var(--navy); }
.scenario-body p { color: var(--muted); font-size: 14px; flex: 1; }
.scenario-body .more { margin-top: 6px; font-weight: 600; color: var(--green); font-size: 14px; }

/* ---------- Category filter ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 10px; cursor: pointer; transition: .22s;
  box-shadow: var(--shadow-sm); border-bottom: 3px solid transparent;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.cat-card.active { border-color: var(--green); border-bottom-color: var(--green); box-shadow: 0 8px 24px rgba(22,163,74,.12); }
.cat-card.active .cat-thumb { background: var(--green-soft); }
.cat-thumb {
  width: 64px; height: 64px; border-radius: 12px;
  background: linear-gradient(160deg, #f1f6fb, #e7f0f8);
  display: grid; place-items: center; margin-bottom: 10px; padding: 8px;
  transition: .22s;
}
.cat-thumb img { max-height: 52px; max-width: 100%; object-fit: contain; }
.cat-body h3 { font-size: 13.5px; color: var(--navy); line-height: 1.25; }
.cat-body p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.prod-family.hidden { display: none; }

/* ---------- QR codes ---------- */
.qr-row { display: flex; gap: 20px; margin-top: 22px; }
.qr { text-align: center; }
.qr img { width: 110px; height: 110px; border-radius: 12px; background: #fff; padding: 5px; box-shadow: 0 4px 10px rgba(0,0,0,.12); display: block; }
.qr span { display: block; font-size: 14px; color: #9fb4cd; margin-top: 6px; }

.qr-showcase { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow-sm);
  min-width: 220px;
}
.qr-card img { width: 180px; height: 180px; border-radius: 14px; margin-bottom: 16px; }
.qr-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.qr-card p { color: var(--muted); font-size: 14px; }

/* ---------- Custom shaped lighting gallery ---------- */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.custom-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: .22s;
}
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.custom-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.custom-card figcaption {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14.5px;
  text-align: center;
}
.custom-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .custom-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-inner, .hero-ecom .hero-inner, .why-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-promos { order: -1; }
  .feat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 16px 22px 22px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.open a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .hero h1 { font-size: 30px; }
  .head h2 { font-size: 27px; }
  .hero-promos { grid-template-columns: 1fr; }
  .promo-img img { max-height: 150px; }
  .feat-grid, .prod-grid, .cert-grid, .stat-grid, .foot-grid, .scenario-grid, .custom-grid { grid-template-columns: 1fr; }
  .custom-card img { height: auto; }
  .cat-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
  .cat-card { flex: 0 0 110px; }
  .cat-thumb { width: 52px; height: 52px; }
  .cat-thumb img { max-height: 42px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .qr img { width: 90px; height: 90px; }
  .custom-cta .btn { width: 100%; justify-content: center; }
}

/* WhatsApp floating chat button */
.wa-float {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366 !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .15s ease;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: translateY(-2px); color: #fff; }
.wa-float svg { width: 24px; height: 24px; fill: #fff; display: block; flex: none; }
@media (max-width: 620px) {
  .wa-float { right: 14px !important; bottom: 14px !important; padding: 0 !important; width: 56px !important; height: 56px !important; border-radius: 50% !important; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float .wa-txt { display: none !important; }
}
