/* ============================================================
   มาสเตอร์ไฮเทคโฟน ลำปาง — Master Hi-Tech Phone Lampang
   ธีมสว่าง (Light theme)
   ============================================================ */

:root {
  --bg: #f4f7fc;
  --bg-soft: #eaf0fa;
  --bg-card: #ffffff;
  --line: rgba(30, 54, 102, 0.12);
  --text: #14213d;
  --text-dim: #5a6a8a;
  --brand: #0891b2;          /* cyan (เข้มพอสำหรับพื้นสว่าง) */
  --brand-2: #6366f1;        /* indigo */
  --brand-3: #a855f7;        /* purple */
  --gold: #e6a200;
  --green: #059f6f;
  --grad: linear-gradient(135deg, #06b6d4 0%, #6366f1 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(6,182,212,.10), rgba(99,102,241,.10), rgba(168,85,247,.10));
  --shadow: 0 18px 50px rgba(30, 54, 102, 0.12);
  --shadow-sm: 0 8px 24px rgba(30, 54, 102, 0.08);
  --radius: 18px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: "Prompt", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

::selection { background: rgba(99, 102, 241, 0.22); }

/* ---------- Animated background ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 25%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(600px 500px at 70% 108%, rgba(168, 85, 247, 0.12), transparent 60%),
    var(--bg);
}
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  animation: floatBlob 16s ease-in-out infinite alternate;
}
.bg-glow::before {
  width: 480px; height: 480px; top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(99,102,241,.35), transparent 70%);
}
.bg-glow::after {
  width: 420px; height: 420px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(6,182,212,.32), transparent 70%);
  animation-delay: -8s;
}
@keyframes floatBlob {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.15); }
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--grad);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 7px 12px;
}
.topbar a { font-weight: 700; text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(30, 54, 102, 0.10); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}
.logo-text { line-height: 1.25; }
.logo-text strong { font-size: 1.05rem; display: block; }
.logo-text span { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.06em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 13px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-dim);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-2); background: rgba(99, 102, 241, 0.10); }
.nav-links a.nav-cta {
  background: var(--grad); color: #fff; font-weight: 700;
  margin-left: 8px; box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6, 182, 212, 0.45); color: #fff; background: var(--grad); }

.hamburger {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); transition: 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(8, 145, 178, 0.35);
  background: rgba(8, 145, 178, 0.08);
  color: var(--brand); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 159, 111, 0.5); }
  60% { box-shadow: 0 0 0 8px rgba(5, 159, 111, 0); }
}

.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { color: var(--text-dim); font-size: 1.05rem; max-width: 560px; margin-bottom: 30px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  border: none; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  background: #fff; color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow); }
.btn-green {
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16, 185, 129, 0.5); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--text-dim); font-size: 0.88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust b { color: var(--gold); }

/* hero visual card */
.hero-visual { position: relative; }
.device-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px 22px 28px;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
.device-card h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.device-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-radius: 12px; margin-bottom: 9px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: 0.3s;
  font-size: 0.95rem;
}
.device-list li:hover { border-color: rgba(8, 145, 178, 0.35); transform: translateX(6px); }
.device-list .ico { margin-right: 10px; }
.device-list .tag {
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(5, 159, 111, 0.12); color: var(--green);
}
.float-chip {
  position: absolute; padding: 10px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 700;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
.float-chip.chip-1 { top: -18px; right: -10px; animation-delay: -1.5s; color: var(--gold); }
.float-chip.chip-2 { bottom: -16px; left: -14px; animation-delay: -3s; color: var(--green); }

/* ---------- Generated imagery ---------- */
.hero-img-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  margin-bottom: 18px; border: 1px solid var(--line);
}
.hero-img-wrap img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.6s; }
.device-card:hover .hero-img-wrap img { transform: scale(1.05); }

.page-banner {
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.page-banner img { width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; }

.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-thumb.has-img { height: 190px; padding: 0; background: #0f1830; }

/* ---------- Brand marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-weight: 700; font-size: 1.05rem; color: var(--text-dim);
  letter-spacing: 0.08em; white-space: nowrap; opacity: 0.75;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.35; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(99, 102, 241, 0.4); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-ico {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--grad); margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transition: transform 0.35s;
}
.service-card:hover .service-ico { transform: scale(1.1) rotate(-6deg); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.93rem; flex: 1; }
.service-card .link-more {
  margin-top: 20px; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem;
}
.service-card .link-more .arr { transition: transform 0.3s; }
.service-card:hover .link-more .arr { transform: translateX(6px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; position: relative;
  transition: transform 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.step:hover { transform: translateY(-6px); border-color: rgba(8, 145, 178, 0.4); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(160deg, rgba(99,102,241,0.08), rgba(6,182,212,0.06));
  border: 1px solid var(--line); border-radius: 24px;
  padding: 44px 36px;
}
.stat { text-align: center; }
.stat .value { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.stat .value .plus { color: var(--brand); }
.stat .label { color: var(--text-dim); font-size: 0.9rem; margin-top: 6px; }

/* ---------- Product grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(168, 85, 247, 0.4); }
.product-thumb {
  height: 150px; display: grid; place-items: center; font-size: 3.4rem;
  background: linear-gradient(160deg, rgba(99,102,241,0.10), rgba(6,182,212,0.06));
  position: relative; overflow: hidden;
}
.product-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s;
}
.product-card:hover .product-thumb::after { transform: translateX(120%); }
.product-body { padding: 20px; }
.product-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-body p { color: var(--text-dim); font-size: 0.85rem; }
.product-badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.72rem; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: rgba(8, 145, 178, 0.1); color: var(--brand);
  border: 1px solid rgba(8, 145, 178, 0.25);
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.why-item:hover { transform: translateY(-5px); border-color: rgba(5, 159, 111, 0.4); }
.why-item .ico {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(5, 159, 111, 0.1); border: 1px solid rgba(5, 159, 111, 0.28);
}
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { color: var(--text-dim); font-size: 0.87rem; }

/* ---------- Area / local SEO chips ---------- */
.area-wrap {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm);
}
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-chips span {
  font-size: 0.85rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--line);
  transition: 0.25s;
}
.area-chips span:hover { border-color: rgba(99,102,241,.4); color: var(--brand-2); transform: translateY(-2px); }

/* ---------- Prose (SEO content) ---------- */
.prose { max-width: 860px; margin-inline: auto; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p { color: var(--text-dim); margin-bottom: 14px; }
.prose strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
  transition: border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.faq-item[open] { border-color: rgba(99, 102, 241, 0.4); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1rem;
  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.5rem; color: var(--brand); font-weight: 400;
  transition: transform 0.3s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.3rem; margin-bottom: 22px; }
.contact-rows li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.contact-rows li:last-child { border-bottom: none; }
.contact-rows .ico { flex: 0 0 26px; text-align: center; font-size: 1.1rem; }
.contact-rows b { display: block; font-size: 0.85rem; color: var(--brand); font-weight: 600; }
.contact-rows a:hover { color: var(--brand); }
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; min-height: 380px; position: relative;
  background: var(--bg-card);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; flex: 1; border: 0; min-height: 320px; }
.map-link-bar {
  padding: 14px 18px; text-align: center; font-size: 0.9rem;
  background: var(--bg-soft); border-top: 1px solid var(--line);
}
.map-link-bar a { color: var(--brand); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad);
  border-radius: 26px;
  padding: 56px 48px;
  text-align: center;
  color: #ffffff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22); filter: blur(60px);
  top: -120px; left: -60px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-band p { font-weight: 500; margin-bottom: 28px; position: relative; opacity: 0.92; }
.cta-band .btn { background: #fff; color: var(--brand-2); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.cta-band .btn:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.footer-grid p, .footer-grid li { color: var(--text-dim); font-size: 0.9rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0; text-align: center;
  color: var(--text-dim); font-size: 0.82rem;
}

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(30, 54, 102, 0.28);
  transition: transform 0.25s;
  position: relative;
}
.fab:hover { transform: scale(1.12); }
.fab-phone { background: linear-gradient(135deg, #10b981, #059669); animation: ringPulse 2.4s infinite; }
.fab-fb { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.fab-top {
  background: #fff; border: 1px solid var(--line); color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.25s;
  font-size: 1.2rem;
}
.fab-top.show { opacity: 1; pointer-events: auto; }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5), 0 10px 30px rgba(30,54,102,.28); }
  70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0), 0 10px 30px rgba(30,54,102,.28); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 56px; text-align: center; position: relative; }
.page-hero .breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; margin-bottom: 16px; line-height: 1.35; }
.page-hero p { color: var(--text-dim); max-width: 720px; margin: 0 auto 28px; }

/* ---------- Content blocks (inner pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 16px; line-height: 1.4; }
.split p { color: var(--text-dim); margin-bottom: 14px; }
.mini-kicker { color: var(--brand); font-weight: 700; letter-spacing: .12em; font-size: .82rem; text-transform: uppercase; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; color: var(--text); font-size: 0.96rem;
}
.check-list .ck {
  flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: rgba(5, 159, 111, 0.14); color: var(--green);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
  margin-top: 3px;
}
.panel {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: 18px; font-size: 1.15rem; }

.price-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.price-table th, .price-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { color: var(--brand); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.right, .price-table th.right { text-align: right; }
.note { font-size: 0.8rem; color: var(--text-dim); margin-top: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 880px) {
  .hero-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: calc(var(--nav-h)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    transform: translateY(-130%);
    transition: transform 0.35s cubic-bezier(.2,.7,.3,1);
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; justify-content: center; display: flex; }
}

@media (max-width: 560px) {
  .services-grid, .why-grid, .steps, .products-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 26px; }
  .btn { width: 100%; justify-content: center; }
  .float-chip.chip-1 { right: 0; }
  .float-chip.chip-2 { left: 0; }
}
