/* Public site stylesheet — brand-independent.
   Brand, contact details and all visible copy come from data/site.json.
   No external fonts or frameworks: fast, self-contained, easy to hand over. */

:root {
  --navy: #0f2a43;
  --navy-2: #16395a;
  --navy-3: #0a1e31;
  --accent: #e8792b;
  --accent-dark: #cf6520;
  --accent-soft: #fff3e8;
  --text: #1b2b3b;
  --muted: #61758a;
  --line: #e2e9f0;
  --bg-soft: #f5f8fa;
  --bg-soft-2: #eef3f7;
  --white: #fff;
  --shadow: 0 12px 32px rgba(15, 42, 67, .09);
  --shadow-sm: 0 4px 16px rgba(15, 42, 67, .07);
  --radius: 10px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.1vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }
.icon { flex: 0 0 auto; vertical-align: middle; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 12px 20px; }
.skip-link:focus { left: 16px; top: 16px; }

/* ------------------------------- buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 6px;
  font-weight: 650; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: #c8d5e1; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--navy-2); }
.text-link:hover { gap: 10px; }
.center-actions { text-align: center; margin-top: 42px; }

/* -------------------------------- header --------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--navy-3); color: #c8d8e8; font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.topbar-tagline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-contact { display: flex; gap: 20px; white-space: nowrap; }
.topbar-contact a { color: #c8d8e8; display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { color: #fff; }
.mainbar-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); flex: 0 0 auto; }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-2), var(--navy)); color: #fff;
}
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-words strong { font-size: 1.28rem; letter-spacing: .06em; }
.brand-words small { font-size: .6rem; letter-spacing: .18em; color: var(--muted); margin-top: 4px; }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; align-items: center; gap: 28px; }
.mainnav a { font-size: .94rem; font-weight: 600; color: #33475c; padding: 8px 0; position: relative; }
.mainnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--accent); transition: right .2s ease; }
.mainnav a:hover, .mainnav a.is-active { color: var(--navy); }
.mainnav a:hover::after, .mainnav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }

/* --------------------------------- hero ---------------------------------- */
.hero { background: linear-gradient(115deg, #f7fafc 0%, #eef4f8 55%, #e7eff5 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; padding: 74px 0 78px; }
.kicker { display: inline-block; font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker-light { color: #ffc38f; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.1rem; color: #465c70; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 38px; padding-top: 26px; border-top: 1px solid #d5e0ea; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600; color: #40566b; }
.trust-list .icon { color: var(--accent); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 12px; box-shadow: 0 24px 60px rgba(15,42,67,.18); height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #dbe5ed; }
.hero-badge {
  position: absolute; left: -26px; bottom: -24px; background: var(--navy); color: #fff;
  padding: 18px 24px; border-radius: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.hero-badge strong { font-size: 2rem; line-height: 1; color: #fff; }
.hero-badge span { font-size: .76rem; letter-spacing: .04em; color: #c7d8e8; margin-top: 7px; }

/* -------------------------------- stats ---------------------------------- */
.stats-section { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.stat { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.25rem; font-weight: 750; line-height: 1.1; color: #fff; letter-spacing: -.03em; }
.stat strong small { font-size: 1rem; margin-left: 3px; color: #ffc38f; }
.stat span { font-size: .84rem; color: #b9ccdd; }

/* ------------------------------- sections -------------------------------- */
.section { padding: 86px 0; }
.section-categories { background: var(--white); }
.section-products, .section-apps, .section-process, .section-related { background: var(--bg-soft); }
.section-features, .section-quality, .section-faq, .section-posts { background: #fff; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.is-centered { margin-inline: auto; text-align: center; }
.section-heading .kicker { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ------------------------------ categories ------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 20px; }
.category-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c6d6e4; }
.category-card-media { display: block; overflow: hidden; background: var(--bg-soft-2); }
.category-card-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .category-card-media img { transform: scale(1.06); }
.category-card-body { display: block; padding: 18px 18px 20px; position: relative; }
.category-card-body strong { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 6px; }
.category-card-body > span:not(.category-card-arrow) { display: block; font-size: .84rem; color: var(--muted); line-height: 1.5; padding-right: 22px; }
.category-card-arrow { position: absolute; right: 16px; top: 20px; color: var(--accent); }

/* ------------------------------- products -------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card-media { display: block; position: relative; overflow: hidden; background: #e9eff4; }
.product-card-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-view {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); opacity: 0;
  background: rgba(15,42,67,.9); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 8px 14px; border-radius: 4px; display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .2s ease, transform .2s ease; white-space: nowrap;
}
.product-card:hover .product-card-view { opacity: 1; transform: translate(-50%, 0); }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product-card-body h3 { font-size: 1.06rem; margin: 9px 0 10px; line-height: 1.35; }
.product-card-body h3 a { color: var(--navy); }
.product-card-body h3 a:hover { color: var(--accent); }
.product-card-body p { color: var(--muted); font-size: .89rem; flex: 1; margin-bottom: 16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-chip { padding: 8px 16px; border: 1px solid #cfdce7; border-radius: 30px; font-size: .88rem; font-weight: 600; color: #40566b; background: #fff; }
.filter-chip:hover, .filter-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-count { color: var(--muted); font-size: .9rem; margin: -10px 0 26px; }

/* ------------------------------- features -------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 30px; position: relative; }
.feature-num { display: inline-block; font-size: 1.9rem; font-weight: 750; color: #d8e3ec; line-height: 1; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 26px 24px; }
.app-icon { width: 46px; height: 46px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.app-card h3 { font-size: 1.02rem; }
.app-card p { color: var(--muted); font-size: .89rem; margin: 0; }

/* --------------------------------- about --------------------------------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #e4ecf2; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: #4a6074; }
.about-copy .btn { margin-top: 12px; }

/* --------------------- about: services / projects ------------------------ */
.rule-heading { position: relative; padding-bottom: 18px; margin-bottom: 22px; }
.rule-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; border-radius: 2px; background: var(--accent); }
.about-services-section { background: #fff; }
.services-split { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 480px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.services-visual { position: relative; min-height: 420px; background: var(--bg-soft-2); }
.services-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services-panel { background: var(--bg-soft); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.services-panel > p { color: var(--muted); }
.service-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.service-feature { display: flex; gap: 14px; align-items: flex-start; }
.service-feature-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.service-feature h3 { font-size: 1rem; margin: 0 0 6px; }
.service-feature p { font-size: .87rem; color: var(--muted); margin: 0; }
.about-projects-section { background: var(--bg-soft); }
.projects-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.projects-copy > p { color: var(--muted); }
.project-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.project-thumb { margin: 0; }
.project-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #e4ecf2; }
.project-thumb figcaption { font-size: .83rem; color: var(--muted); margin-top: 8px; }
.projects-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); background: #e4ecf2; }

/* -------------------------------- process -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.step { padding: 0 18px; position: relative; border-top: 2px solid #d7e2ec; padding-top: 26px; }
.step::before { content: ""; position: absolute; top: -7px; left: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-soft); }
.step-num { font-size: .78rem; font-weight: 750; letter-spacing: .12em; color: var(--accent); }
.step h3 { font-size: 1rem; margin: 8px 0 10px; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

/* -------------------------------- quality -------------------------------- */
.quality-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quality-split p { color: var(--muted); }
.quality-list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 550; }
.quality-list li:last-child { border-bottom: 0; }
.quality-list .icon { color: var(--accent); margin-top: 3px; }

/* ---------------------------------- faq ---------------------------------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-more { font-size: .92rem; color: var(--muted); }
.faq-more a { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 17px 20px; font-weight: 650; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: .93rem; }

/* --------------------------------- posts --------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e6edf3; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-media { overflow: hidden; display: block; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.post-card-body h2, .post-card-body h3 { font-size: 1.06rem; line-height: 1.4; margin: 0 0 10px; }
.post-card-body h2 a, .post-card-body h3 a { color: var(--navy); }
.post-card-body p { color: var(--muted); font-size: .89rem; flex: 1; }

/* ---------------------------------- cta ---------------------------------- */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 62px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { color: #c2d4e5; margin: 0; max-width: 42em; }
.cta-band .kicker { margin-bottom: 10px; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; }

/* -------------------------------- footer --------------------------------- */
.site-footer { background: var(--navy-3); color: #b7c8d9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 64px 0 48px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.brand-light { color: #fff; margin-bottom: 18px; }
.brand-light .brand-words small { color: #94a9bd; }
.brand-light .brand-mark { background: rgba(255,255,255,.12); }
.footer-about p { font-size: .9rem; line-height: 1.7; max-width: 30em; }
.footer-col ul li { margin-bottom: 11px; font-size: .9rem; }
.footer-col ul li a { color: #b7c8d9; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { color: #ffc38f; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: .8rem; color: #8fa5b9; }
.floating-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.floating-wa:hover { transform: scale(1.08); color: #fff; }

/* ------------------------------ page heroes ------------------------------ */
.page-hero { background: linear-gradient(120deg, #f2f7fa, #e7eff5); padding: 52px 0 58px; border-bottom: 1px solid #dde7ef; }
.page-hero-compact { padding: 30px 0 34px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { color: #4b6277; max-width: 62em; margin: 0; font-size: 1.02rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 9px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .icon { color: #a9bac9; }
.page-hero-compact .breadcrumb { margin-bottom: 0; }

/* ---------------------------- product detail ----------------------------- */
.product-detail { padding: 48px 0 10px; }
.product-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.product-main-image { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef3f7; }
.product-main-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb { width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #eef3f7; cursor: pointer; }
.thumb.is-active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 2.7vw, 2.35rem); margin-bottom: 16px; }
.product-lead { font-size: 1.06rem; color: #476076; margin-bottom: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .94rem; }
.check-list .icon { color: var(--accent); margin-top: 4px; }
.check-list-sm li { font-size: .88rem; padding: 5px 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.product-help { font-size: .85rem; color: var(--muted); margin: 0; }
.section-product-body { padding-top: 62px; }
.product-content { min-width: 0; }
.product-content h2 { font-size: 1.45rem; margin: 40px 0 16px; }
.product-content h2:first-child { margin-top: 0; }
.product-content p { color: #4a6074; }
.product-content { grid-column: 1; }
.section-product-body .container { display: grid; grid-template-columns: 1fr 320px; gap: 52px; align-items: start; }
.spec-table-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: left; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; background: var(--bg-soft); color: var(--navy); font-weight: 650; }
.spec-table td { color: #4a6074; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--bg-soft-2); border: 1px solid #d8e3ec; border-radius: 4px; padding: 7px 14px; font-size: .85rem; color: #40566b; }
.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 14px; }
.sidebar-box .btn { margin-top: 16px; }
.sidebar-contact p { font-size: .89rem; color: var(--muted); margin-bottom: 8px; }

/* -------------------------------- contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 52px; align-items: start; }
.contact-form-wrap > h2 { font-size: 1.6rem; margin-bottom: 22px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-size: .87rem; font-weight: 650; color: var(--navy); }
.form-row label em { color: var(--accent); font-style: normal; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfdae4; border-radius: 6px;
  background: #fff; color: var(--text); outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(22,57,90,.1); }
.form-row textarea { resize: vertical; min-height: 140px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.form-status { grid-column: 1 / -1; font-size: .92rem; font-weight: 600; min-height: 0; }
.form-status.is-ok { color: #17845a; }
.form-status.is-error { color: #c0392b; }
.contact-aside .sidebar-box a { color: var(--navy-2); }
.aside-links li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.aside-links li:last-child { border-bottom: 0; }

/* -------------------------------- articles ------------------------------- */
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; }
.article-main { min-width: 0; max-width: 780px; }
.article-main h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.article-lead { font-size: 1.1rem; color: #476076; }
.article-hero { width: 100%; border-radius: 10px; margin: 8px 0 30px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-main p { color: #3f566b; font-size: 1.01rem; line-height: 1.8; }
.article-main h2 { font-size: 1.5rem; }
.article-cta { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 28px 30px; border-radius: 0 8px 8px 0; margin-top: 44px; }
.article-cta p { color: var(--muted); }
.not-found { text-align: center; padding: 110px 0; }
.not-found h1 { margin-bottom: 16px; }
.not-found p { color: var(--muted); margin-bottom: 26px; }

/* ------------------------------ responsive ------------------------------- */
@media (max-width: 1080px) {
  .mainnav ul { gap: 18px; }
  .hero-inner { gap: 34px; }
  .product-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .services-split, .projects-split { gap: 34px; }
  .section-product-body .container, .article-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .mainbar-inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .mainnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    box-shadow: 0 14px 26px rgba(15,42,67,.13); border-top: 1px solid var(--line);
  }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .mainnav li { border-bottom: 1px solid var(--line); }
  .mainnav a { display: block; padding: 13px 0; }
  .mainnav a::after { display: none; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 52px 0 64px; }
  .hero-visual { order: -1; }
  .hero-badge { left: auto; right: 12px; bottom: -18px; padding: 12px 18px; }
  .hero-badge strong { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(2) { border-right: 0; }
  .section { padding: 62px 0; }
  .about-split, .quality-split, .faq-split, .product-detail-grid,
  .services-split, .projects-split { grid-template-columns: 1fr; gap: 34px; }
  .services-visual { min-height: 320px; }
  .services-panel { padding: 32px 26px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 560px) {
  h1 { font-size: 1.95rem; }
  .hero-inner { padding: 40px 0 54px; }
  .trust-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .section { padding: 50px 0; }
  .product-grid, .post-grid, .category-grid, .feature-grid, .app-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 20px; }
  .step { border-top: 0; border-left: 2px solid #d7e2ec; padding: 0 0 0 20px; }
  .step::before { top: 4px; left: -7px; }
  .service-features, .project-thumbs { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 0 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .product-actions .btn { flex: 1; }
  .cta-band-actions .btn { flex: 1; }
  .floating-wa { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .product-detail { padding-top: 30px; }
  .spec-table th { width: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ------------------------- language switcher ----------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.topbar-tagline { flex: 1 1 auto; min-width: 0; }
.topbar-contact, .lang-switch { flex: 0 0 auto; }
.lang-select {
  background: rgba(255,255,255,.1); color: #eaf2fa;
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  padding: 4px 8px; font: inherit; font-size: .78rem; line-height: 1.3;
  cursor: pointer; max-width: 148px;
}
.lang-select:hover, .lang-select:focus { border-color: rgba(255,255,255,.7); outline: none; }
.lang-select option { background: #fff; color: #102a43; }
.footer-lang { border-top: 1px solid rgba(255,255,255,.1); }
.footer-lang-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  padding: 16px 0; font-size: .82rem; color: #8fa5b9;
}
.footer-lang-label { font-weight: 650; color: #c2d4e5; }
.footer-lang a { color: #b7c8d9; }
.footer-lang a:hover, .footer-lang a.is-current { color: #fff; font-weight: 650; }

/* --------------------------- right-to-left ------------------------------- */
[dir="rtl"] .mainnav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .mainnav a::after { left: 100%; right: 0; transition: left .2s ease; }
[dir="rtl"] .mainnav a:hover::after, [dir="rtl"] .mainnav a.is-active::after { left: 0; }
[dir="rtl"] .skip-link { left: auto; right: -9999px; }
[dir="rtl"] .skip-link:focus { left: auto; right: 16px; }
[dir="rtl"] .hero-badge { left: auto; right: -26px; }
[dir="rtl"] .stat { border-right: 0; border-left: 1px solid rgba(255,255,255,.14); }
[dir="rtl"] .stat:last-child { border-left: 0; }
[dir="rtl"] .stat strong small { margin-left: 0; margin-right: 3px; }
[dir="rtl"] .category-card-body > span:not(.category-card-arrow) { padding-right: 0; padding-left: 22px; }
[dir="rtl"] .category-card-arrow { right: auto; left: 16px; }
[dir="rtl"] .step::before { left: auto; right: 18px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .article-cta { border-left: 0; border-right: 4px solid var(--accent); border-radius: 8px 0 0 8px; }
[dir="rtl"] .floating-wa { right: auto; left: 22px; }
[dir="rtl"] .honeypot { left: auto; right: -9999px; }
[dir="rtl"] .btn .icon, [dir="rtl"] .text-link .icon,
[dir="rtl"] .breadcrumb .icon, [dir="rtl"] .category-card-arrow .icon { transform: scaleX(-1); }
[dir="rtl"] .lang-select { direction: rtl; }

@media (max-width: 820px) {
  [dir="rtl"] .hero-badge { right: 12px; left: auto; }
}
@media (max-width: 560px) {
  [dir="rtl"] .step { border-left: 0; border-right: 2px solid #d7e2ec; padding: 0 20px 0 0; }
  [dir="rtl"] .step::before { right: -7px; left: auto; }
  [dir="rtl"] .floating-wa { left: 16px; right: auto; }
  .topbar-contact { display: none; }
}
