/* ==========================================================================
   Suzhou Hanchuan Clean Technology Co., Ltd. — Arabic RTL Corporate Website
   Style System: Clean Tech / Precision / Premium Industrial
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #08233F;
  --navy-2: #0E3358;
  --navy-3: #144A7A;
  --blue: #1677FF;
  --cyan: #21C7E6;
  --gold: #F5A623;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FC;
  --bg-mist: #EAF2FA;
  --text: #1C2A3A;
  --muted: #5B6B7B;
  --line: #E2EAF3;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 10px rgba(8, 35, 63, 0.06);
  --shadow-md: 0 8px 30px rgba(8, 35, 63, 0.10);
  --shadow-lg: 0 16px 50px rgba(8, 35, 63, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --font-head: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --transition: 0.25s ease;
}

/* ---------- Reset & base (mobile-first: 375px) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-3); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.3; color: var(--navy); font-weight: 800; }

p { margin-bottom: 1rem; }

input, textarea, select, button { font-family: var(--font-body); font-size: 16px; }

button { cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.section { padding-block: 56px; }
.section-soft { background: var(--bg-soft); }
.section-mist { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; color: var(--blue); margin-bottom: 10px;
}
.section-head .eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--cyan); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(24px, 4.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; white-space: nowrap; min-height: 48px;
}
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%); color: var(--white); box-shadow: 0 8px 22px rgba(22, 119, 255, 0.32); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22, 119, 255, 0.42); }
.btn-gold { background: linear-gradient(135deg, #F7B733 0%, var(--gold) 100%); color: var(--navy); box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35); }
.btn-gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 166, 35, 0.45); }
.btn-outline { border: 2px solid rgba(255,255,255,0.85); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline-dark { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 13px; padding-block: 8px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-inline-end: 6px; fill: var(--cyan); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: auto; height: 44px; }
.brand-txt { line-height: 1.25; }
.brand-txt strong { font-family: var(--font-head); font-size: 17px; color: var(--navy); display: block; font-weight: 800; }
.brand-txt span { font-size: 11.5px; color: var(--muted); display: block; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 10px;
  color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.nav a:hover { color: var(--blue); background: var(--bg-mist); }
.nav a.active { color: var(--blue); background: var(--bg-mist); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--navy); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; opacity: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer.open { visibility: visible; opacity: 1; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8,35,63,0.5); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(84vw, 340px);
  background: var(--white); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 20px; transform: translateX(100%);
  transition: transform 0.3s ease;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-panel .drawer-head img { height: 40px; width: auto; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.drawer-close svg { width: 20px; height: 20px; stroke: var(--navy); }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 10px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 16px;
}
.drawer-nav a.active { color: var(--blue); }
.drawer-cta { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; background: var(--navy); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(8,35,63,0.92) 0%, rgba(8,35,63,0.72) 48%, rgba(8,35,63,0.45) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 72px; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(33,199,230,0.16); border: 1px solid rgba(33,199,230,0.45);
  color: #8FE3F5; border-radius: 999px; padding: 6px 16px;
  font-size: 13px; font-weight: 700; font-family: var(--font-head); margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: clamp(28px, 6vw, 52px); font-weight: 900; margin-bottom: 14px; }
.hero h1 .accent { color: var(--cyan); }
.hero p.lead { font-size: clamp(16px, 2.6vw, 19px); color: rgba(255,255,255,0.92); margin-bottom: 26px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; max-width: 520px; }
.hero-stat { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 14px 16px; backdrop-filter: blur(4px); }
.hero-stat b { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--cyan); display: block; }
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,0.85); }

/* ---------- Feature mini strip (three freebies) ---------- */
.free-strip { background: var(--navy); color: var(--white); }
.free-strip .container { display: grid; grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
.free-item { display: flex; align-items: flex-start; gap: 14px; }
.free-item .tick {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: inline-flex; align-items: center; justify-content: center;
}
.free-item .tick svg { width: 20px; height: 20px; stroke: var(--white); }
.free-item h4 { color: var(--white); font-size: 16px; margin-bottom: 2px; }
.free-item p { color: rgba(255,255,255,0.8); font-size: 13.5px; margin: 0; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ---------- About intro ---------- */
.about-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .exp-badge {
  position: absolute; bottom: 18px; right: 18px;
  background: rgba(8,35,63,0.92); color: var(--white); border-radius: var(--radius);
  padding: 12px 18px; text-align: center; line-height: 1.3;
}
.about-visual .exp-badge b { font-family: var(--font-head); font-size: 26px; color: var(--cyan); display: block; }
.about-visual .exp-badge span { font-size: 12px; }
.about-txt h2 { font-size: clamp(22px, 4vw, 32px); margin-bottom: 14px; }
.about-txt p { color: var(--muted); }
.about-points { display: grid; grid-template-columns: 1fr; gap: 12px; margin-block: 20px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.about-point svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--blue); margin-top: 3px; }
.about-point p { color: var(--text); font-size: 14.5px; margin: 0; }

/* ---------- Feature cards (product advantages) ---------- */
.feature-card { overflow: hidden; }
.feature-card .fc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-mist); }
.feature-card .fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feature-card:hover .fc-img img { transform: scale(1.05); }
.feature-card .fc-body { padding: 20px 22px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature-card h3 .num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-family: var(--font-head);
}
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Why us numbered list ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.why-item .why-num {
  flex: 0 0 auto; font-family: var(--font-head); font-size: 34px; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue); line-height: 1;
}
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Product cards ---------- */
.product-card .pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-mist); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.product-card .pc-body { padding: 20px; }
.product-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.product-card .pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-card .pc-tags span { background: var(--bg-mist); color: var(--navy-3); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; font-family: var(--font-head); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.link-more svg { width: 16px; height: 16px; stroke: var(--blue); transition: transform var(--transition); }
.link-more:hover svg { transform: translateX(-4px); }

/* ---------- Industry cases ---------- */
.case-card .cc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-mist); }
.case-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card .cc-body { padding: 18px 20px; }
.case-card h3 { font-size: 16px; margin-bottom: 4px; }
.case-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- Timeline (history) ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-inline-start: 6px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; right: 19px; width: 3px; background: linear-gradient(180deg, var(--blue), var(--cyan)); border-radius: 2px; }
.tl-item { position: relative; padding-right: 56px; }
.tl-item::before {
  content: ""; position: absolute; right: 0; top: 6px; width: 42px; height: 42px;
  background: var(--white); border: 3px solid var(--cyan); border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.tl-item .tl-year {
  display: inline-block; background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white); border-radius: 8px; padding: 2px 14px;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; margin-bottom: 6px;
}
.tl-item h3 { font-size: 17px; margin-bottom: 4px; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Service process ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.step .step-num {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- Service promise ---------- */
.promise-card { padding: 24px; text-align: center; }
.promise-card .pc-icon { width: 56px; height: 56px; margin-inline: auto; margin-bottom: 14px; border-radius: 16px; background: var(--bg-mist); display: flex; align-items: center; justify-content: center; }
.promise-card .pc-icon svg { width: 28px; height: 28px; stroke: var(--blue); }
.promise-card h3 { font-size: 17px; margin-bottom: 6px; }
.promise-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); text-align: center; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(33,199,230,0.25), transparent 70%);
}
.cta-band::before { width: 420px; height: 420px; top: -160px; left: -120px; }
.cta-band::after { width: 380px; height: 380px; bottom: -180px; right: -100px; }
.cta-band .container { position: relative; z-index: 2; padding-block: 60px; max-width: 760px; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 4.6vw, 38px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 48px 32px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--cyan); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 16px; font-size: 13px; text-align: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding-block: 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(33,199,230,0.18), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(26px, 5vw, 42px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 640px; margin-inline: auto; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.6); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--cyan); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: right; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); }
.faq-q .faq-icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-mist); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--transition), background var(--transition); }
.faq-q .faq-icon svg { width: 16px; height: 16px; stroke: var(--blue); }
.faq-item.open .faq-icon { background: var(--blue); transform: rotate(180deg); }
.faq-item.open .faq-icon svg { stroke: var(--white); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; }
.contact-info h3 { font-size: 20px; margin-bottom: 10px; }
.contact-info p { color: var(--muted); font-size: 15px; }
.contact-card-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--bg-soft); border-radius: 14px; margin-bottom: 12px; }
.contact-card-item .ci-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; }
.contact-card-item .ci-icon svg { width: 20px; height: 20px; stroke: var(--white); }
.contact-card-item b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 15px; }
.contact-card-item span { font-size: 14px; color: var(--muted); }

.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.contact-form-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.form-field label .req { color: #E5484D; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  background: var(--bg-soft); color: var(--text); outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,119,255,0.14); background: var(--white); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-msg { display: none; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; font-weight: 700; margin-top: 18px; align-items: flex-start; gap: 10px; }
.form-msg.show { display: flex; }
.form-msg.success { background: #E7F8EE; color: #177245; border: 1px solid #B8E7C8; }
.form-msg.error { background: #FDECEC; color: #B3261E; border: 1px solid #F5C2C2; }
.form-msg svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: currentColor; margin-top: 2px; }
.form-msg.success svg, .form-msg.error svg { width: 20px; height: 20px; }
.form-submit { margin-top: 20px; width: 100%; }

/* ---------- Product detail ---------- */
.pd-hero-content { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; text-align: right; }
.pd-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-mist); }
.pd-visual img { width: 100%; height: auto; }
.pd-title h1 { color: var(--white); font-size: clamp(26px, 5vw, 40px); }
.pd-title .pd-sub { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 600px; }
.pd-title .pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-title .pd-tags span { background: rgba(33,199,230,0.14); border: 1px solid rgba(33,199,230,0.4); color: #8FE3F5; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-family: var(--font-head); font-weight: 700; }

.pd-section { display: grid; grid-template-columns: 1fr; gap: 30px; }
.pd-main { min-width: 0; }
.pd-aside { display: grid; gap: 20px; align-content: start; }
.pd-aside .aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.pd-aside h3 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pd-aside h3 svg { width: 20px; height: 20px; stroke: var(--blue); }
.pd-aside ul { display: grid; gap: 8px; }
.pd-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.pd-aside li svg { flex: 0 0 auto; width: 16px; height: 16px; stroke: var(--cyan); margin-top: 4px; }

.prose h2 { font-size: clamp(20px, 3.6vw, 26px); margin-bottom: 14px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin-bottom: 10px; margin-top: 24px; }
.prose p { color: var(--muted); font-size: 15.5px; }
.prose ul { display: grid; gap: 10px; margin-block: 16px; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.prose ul li svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--cyan); margin-top: 4px; }
.prose ul li b { color: var(--navy); }

.spec-table { width: 100%; border-collapse: collapse; margin-block: 18px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; width: 34%; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--muted); }

.custom-block { background: linear-gradient(135deg, var(--bg-mist), #E9F3FE); border: 1px solid #CFE0F5; border-radius: var(--radius-lg); padding: 22px; margin-top: 18px; }
.custom-block h4 { color: var(--navy); font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.custom-block h4 svg { width: 20px; height: 20px; stroke: var(--blue); }
.custom-block ul { display: grid; gap: 8px; margin: 0; }
.custom-block li { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.custom-block li svg { flex: 0 0 auto; width: 15px; height: 15px; stroke: var(--cyan); margin-top: 5px; }
.custom-block li b { color: var(--navy); }

/* ---------- Numbers band ---------- */
.numbers-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.number-item { text-align: center; }
.number-item b { font-family: var(--font-head); font-size: clamp(30px, 6vw, 44px); font-weight: 900; color: var(--cyan); display: block; }
.number-item span { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ---------- Media queries ---------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .free-strip .container { grid-template-columns: repeat(3, 1fr); }
  .about-points { grid-template-columns: 1fr 1fr; }
  .pd-hero-content { grid-template-columns: 5fr 4fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .about-split { grid-template-columns: 5fr 6fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 5fr 6fr; }
  .pd-section { grid-template-columns: 7fr 4fr; }
  .section { padding-block: 72px; }
  .hero { min-height: 600px; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .timeline::before { right: 50%; transform: translateX(50%); top: 22px; bottom: auto; height: 4px; width: calc(100% - 120px); }
  .tl-item { padding-right: 0; text-align: center; }
  .tl-item::before { right: 50%; transform: translateX(50%); top: 0; }
  .hero { min-height: 657px; }
}

/* ---------- Reveal animation (respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .drawer, .cta-band, .site-footer, .hero-actions, .form-submit { display: none !important; }
  body { font-size: 12px; }
}
