/* ============================================================
   Facilo 泳池清洁机器人独立站 · 全局样式（蓝色主题）
   ============================================================ */

:root {
  --primary: #0b67c9;
  --primary-dark: #084f9e;
  --primary-deep: #063d7d;
  --accent: #38b6f0;
  --accent-soft: #8ed0f7;
  --water: #eaf5fd;
  --water-soft: #f4fafe;
  --ink: #0e2a44;
  --text: #3d5669;
  --muted: #6d8598;
  --bg: #ffffff;
  --bg-soft: #f3f9fe;
  --bg-tint: #e6f1fb;
  --border: #dcebf6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 34px rgba(11, 103, 201, 0.10);
  --shadow-lg: 0 18px 50px rgba(11, 103, 201, 0.16);
  --grad: linear-gradient(135deg, #063d7d 0%, #0b67c9 55%, #38b6f0 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-soft); }

/* ---------- 滚动条样式（WebKit: Chrome/Edge/Safari） ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 2.7rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.32rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 6px 16px rgba(11,103,201,.3);
}
.logo-text { letter-spacing: -0.02em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.98rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--primary); transition: width .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.nav-cta { background: var(--primary); color: #fff; padding: 11px 22px; border-radius: 999px; box-shadow: 0 6px 16px rgba(11,103,201,.28); }
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 0.9rem; font-family: var(--font); transition: border-color .2s, background .2s; }
.lang-btn:hover { border-color: var(--accent); background: var(--water-soft); }
.lang-btn .globe { font-size: 1rem; }
.lang-btn .caret { font-size: 0.68rem; transition: transform .2s; }
.lang-switch.open .caret { transform: rotate(180deg); }
.lang-menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 160px; overflow: hidden; z-index: 60; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu li a { display: block; padding: 11px 18px; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.lang-menu li a::after { display: none; }
.lang-menu li a:hover { background: var(--water); color: var(--primary-dark); }
.lang-menu li a.active { color: var(--primary); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); margin: 5px auto; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - 74px); overflow: hidden; background: var(--grad); color: #fff; }
@supports (height: 100svh) {
  .hero { min-height: calc(100svh - 74px); }
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 30, 55, 0.60) 0%, rgba(6, 61, 125, 0.40) 45%, rgba(11, 103, 201, 0.15) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 80px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #dff1ff; padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 22px;
}
.hero-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6ee7ff; box-shadow: 0 0 0 4px rgba(110,231,255,.25); }
.hero h1 { color: #fff; font-size: 3.4rem; max-width: 820px; margin-bottom: 20px; }
.hero h1 .highlight { background: linear-gradient(90deg, #6ee7ff, #b3f0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .subtitle { color: rgba(230,245,255,.92); font-size: 1.18rem; max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.btn { display: inline-block; padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn-primary:hover { color: var(--primary-dark); }
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { border-color: #fff; color: #fff; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat .num span { color: #6ee7ff; }
.stat .label { color: rgba(220,240,255,.82); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-label { display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.category-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  background: var(--grad); color: #fff; padding: 34px; transition: transform .25s, box-shadow .25s;
}
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,61,125,.1), rgba(6,61,125,.72)); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.category-card h3 { color: #fff; margin-bottom: 8px; }
.category-card p { color: rgba(230,245,255,.9); font-size: 0.95rem; margin: 0; }
.category-card .go { margin-top: 14px; font-weight: 700; color: #6ee7ff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(278px, 1fr)); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--water); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .model { color: var(--primary); font-weight: 700; font-size: 0.82rem; letter-spacing: .05em; text-transform: uppercase; }
.product-card h3 { margin: 8px 0 10px; font-size: 1.16rem; }
.product-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.product-card .more { font-weight: 700; margin-top: 16px; color: var(--primary); }
.product-card .price { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-top: 10px; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-points { margin: 22px 0 28px; display: grid; gap: 14px; }
.story-points li { display: flex; gap: 12px; align-items: flex-start; }
.story-points .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--water); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }

/* ---------- Company Highlights ---------- */
.highlight-list { display: grid; gap: 16px; margin: 22px 0 0; list-style: none; padding: 0; }
.highlight-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; position: relative; }
.highlight-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.highlight-list strong { color: var(--ink); font-size: 1rem; }
.highlight-list span { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 22px; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.fact b { color: var(--primary); font-size: 1.05rem; font-weight: 700; }
.fact span { color: var(--muted); font-size: 0.78rem; }
.factory-video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); max-width: 740px; margin: 0 auto; }
.factory-video video { display: block; width: 100%; height: auto; max-height: 740px; object-fit: cover; }

/* ---------- Feature cards ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s; }
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-item .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--water); color: var(--primary); font-size: 1.6rem; margin-bottom: 18px; }
.feature-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.process-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; position: relative; }
.process-step .no { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; margin: 0 auto 14px; }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- Certifications ---------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert-strip .cert { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 12px 22px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); }
.cert-strip .cert .badge-ic { color: var(--primary); font-size: 1.1rem; }
.cert-image { margin-top: 26px; text-align: center; }
.cert-image img { display: block; margin: 0 auto; width: 100%; max-width: 1000px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.testimonial-card .stars { color: #f5a623; letter-spacing: 2px; }
.testimonial-card .quote { color: var(--text); font-size: 0.98rem; font-style: italic; flex: 1; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.testimonial-card .who b { display: block; color: var(--ink); }
.testimonial-card .who span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Client logo wall ---------- */
.client-strip { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.client-strip .client { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 26px; height: 84px; min-width: 150px; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s, box-shadow .25s; }
.client-strip .client:hover { filter: grayscale(0); opacity: 1; box-shadow: var(--shadow); }
.client-strip .client img { max-width: 130px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.client-strip .client span { font-weight: 700; color: var(--muted); letter-spacing: .5px; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 16 / 9; background: var(--water); overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .date { color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.blog-card .more { font-weight: 700; color: var(--primary); margin-top: 14px; }

/* ---------- Blog layout (main + sidebar) ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sidebar-widget h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 16px; }
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.latest-list li:first-child { padding-top: 0; }
.latest-list li:last-child { border-bottom: none; padding-bottom: 0; }
.latest-list a { color: var(--text); font-weight: 600; text-decoration: none; line-height: 1.4; display: inline-block; }
.latest-list a:hover { color: var(--primary); }
.latest-list .date { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }


/* ---------- Contact band ---------- */
.contact-section { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--water); color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info b { display: block; color: var(--ink); }
.contact-info span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; text-align: center; padding: 76px 0; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(230,245,255,.92); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); }

/* ---------- 富文本正文（博客/产品/关于等页） ---------- */
.content-copy h2 { margin: 28px 0 12px; font-size: 1.4rem; }
.content-copy h3 { margin: 20px 0 8px; }
.content-copy ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.content-copy li { margin-bottom: 6px; }
.content-copy table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-copy th, .content-copy td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-size: 0.95rem; }
.content-copy th { background: var(--bg-soft); color: var(--ink); }
.content-copy a { text-decoration: underline; }

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail .gallery { position: sticky; top: 100px; }
.product-detail .gallery-main img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; aspect-ratio: 1 / 1; }
.product-detail .gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.product-detail .gallery-thumb { padding: 0; background: none; border: 2px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; }
.product-detail .gallery-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-detail .gallery-thumb:hover { border-color: var(--accent); }
.product-detail .gallery-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.12); }
.product-detail h1 { font-size: 2rem; margin-bottom: 10px; }
.product-detail .model { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

.product-summary .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.product-summary .badge-stock { background: #e6f7ec; color: #1a7f37; }
.product-summary .price-box { margin-bottom: 16px; }
.product-summary .price-box .price-original { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; margin-right: 12px; }
.product-summary .price-box .price-current { font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.product-summary .price-box .price-quote { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.product-summary .lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 20px; }
.product-summary .key-features { margin-bottom: 24px; }
.product-summary .key-features h2 { font-size: 1.1rem; margin-bottom: 10px; }
.product-summary .key-features ul { margin: 0; padding-left: 20px; }
.product-summary .key-features li { margin-bottom: 6px; font-size: 0.95rem; }
.product-summary .summary-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 产品详情 Tab 导航 */
.product-tabs { margin-top: 56px; }
.product-tabs .tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--border); }
.product-tabs .tab-btn { padding: 14px 24px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 1rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.product-tabs .tab-btn:hover { color: var(--ink); }
.product-tabs .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.product-tabs .tab-panel { display: none; padding: 32px 0 8px; }
.product-tabs .tab-panel.active { display: block; }

/* ---------- 徽章（分类筛选） ---------- */
.badge { display: inline-block; padding: 8px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; background: var(--water); color: var(--primary-dark); transition: background .2s, color .2s; }
.badge:hover { background: var(--accent-soft); }

/* ---------- 表单 ---------- */
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 1rem; font-family: var(--font); color: var(--ink); background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 182, 240, 0.16); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #e6f7ee; color: #157347; border: 1px solid #b6e5cd; }
.alert-error { background: #fdeaea; color: #a12b2b; border: 1px solid #f3c2c2; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 24px 22px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #082a46; color: rgba(255,255,255,.76); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.68); margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 8px; font-size: 0.92rem; }
.logo-footer { color: #fff; margin-bottom: 14px; }
.footer-tagline { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 64px 0; }
  .split, .contact-section, .product-detail, .form-grid, .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 6px; border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a.nav-cta { text-align: center; border-bottom: 0; margin-top: 8px; }
  .lang-switch { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .lang-btn { width: 100%; justify-content: space-between; }
  .lang-menu { display: none; position: static; box-shadow: none; border: 0; margin-top: 4px; }
  .lang-switch.open .lang-menu { display: block; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
