/* ===========================================================
   TissueBari — tissuebari.com
   Main stylesheet
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0A2A31;
  --ink-soft: #143F48;
  --muted: #5B7A83;
  --brand: #12A2B8;
  --brand-2: #0A7C8E;
  --brand-3: #17B4CB;
  --brand-soft: #E4F6F9;
  --mint: #F2FAFB;
  --sand: #FFF8F0;
  --amber: #F5A524;
  --line: #DCEAEE;
  --white: #fff;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 4px 14px rgba(10, 42, 49, .06);
  --shadow: 0 14px 40px rgba(10, 42, 49, .10);
  --shadow-lg: 0 28px 70px rgba(10, 42, 49, .16);

  --maxw: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-body: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="bn"] body { font-family: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0 0 .55em;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(52px, 7vw, 96px) 0; scroll-margin-top: var(--header-h); }
.section--mint { background: linear-gradient(180deg, var(--mint), #fff 70%); }
.section--soft { background: var(--brand-soft); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mw-680 { max-width: 680px; }
.mw-600 { max-width: 600px; }

.section-head { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.section--left .section-head { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid #CFEBF0;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow .ic { font-size: 1rem; }

.section-sub { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ic { color: var(--brand-3); font-size: 1.05rem; }
.topbar-addr { display: none; }

@media (min-width: 860px) { .topbar-addr { display: inline-flex; } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.header.is-stuck {
  box-shadow: 0 8px 30px rgba(10, 42, 49, .08);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.logo-name span { color: var(--brand); }
.logo-tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-2); }
.nav a.active { color: var(--brand-2); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-primary { display: none; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand-2); background: var(--brand-soft); }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.35rem;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand-2); }

@media (min-width: 980px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
}

/* ---------- Drawer (mobile nav) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 42, 49, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 80;
}
.overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 86vw);
  background: #fff;
  z-index: 90;
  padding: 20px;
  transform: translateX(105%);
  transition: transform .38s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(10, 42, 49, .18);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer a {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer a:hover, .drawer a.active { background: var(--brand-soft); color: var(--brand-2); }
.drawer-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s, background .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { font-size: 1.15rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 162, 184, .32);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(18, 162, 184, .42); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-2); }

.btn-white { background: #fff; color: var(--brand-2); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--brand-soft); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
  background: linear-gradient(170deg, var(--mint) 0%, #fff 55%, var(--sand) 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.hero::before { width: 460px; height: 460px; background: #B7ECF3; top: -160px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: #FFE6C4; bottom: -180px; left: -140px; }

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: clamp(1rem, 1.55vw, 1.14rem); color: var(--muted); max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
}
@media (min-width: 620px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  backdrop-filter: blur(6px);
}
.stat > span,
.strip-item > span,
.float-card > span,
.contact-card > span { display: block; }
.stat b { display: block; font-size: .92rem; letter-spacing: -.01em; }
.stat span { font-size: .74rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  aspect-ratio: 4 / 3.2;
  background: var(--brand-soft);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
}
.float-card .ic { font-size: 1.4rem; color: var(--brand); }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .73rem; }
.float-card--tl { top: 18px; left: -12px; }
.float-card--br { bottom: 22px; right: -12px; }
@media (max-width: 620px) {
  .float-card--tl { left: 8px; }
  .float-card--br { right: 8px; }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0;
}
@media (min-width: 780px) { .strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.strip-item { display: flex; align-items: center; gap: 12px; }
.strip-item .ic { font-size: 1.6rem; color: var(--brand-3); }
.strip-item b { display: block; font-size: .93rem; }
.strip-item span { font-size: .78rem; color: rgba(255, 255, 255, .6); }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}
.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #C6E7EC; }
.cat-img { position: relative; aspect-ratio: 4 / 3; background: var(--brand-soft); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body p { color: var(--muted); font-size: .94rem; }
.cat-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-2);
  font-size: .9rem;
  padding-top: 8px;
}
.cat-link .ic { transition: transform .25s; }
.cat-card:hover .cat-link .ic { transform: translateX(4px); }

/* ---------- Features ---------- */
.split { display: grid; gap: clamp(30px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  background: var(--brand-soft);
}
.split-media--plain img { border: 0; box-shadow: var(--shadow); }

.features { display: grid; gap: 18px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature-ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.feature b { display: block; font-size: 1rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 2px 0 0; }

.list-check { display: grid; gap: 12px; }
.list-check li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.list-check .ic { color: var(--brand); font-size: 1.25rem; margin-top: 2px; }

/* ---------- Band / CTA ---------- */
.band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0B4D5A, #0A2A31 60%);
  box-shadow: var(--shadow-lg);
}
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 45, 53, .95), rgba(8, 45, 53, .55));
}
.band-inner {
  position: relative;
  padding: clamp(30px, 4.5vw, 58px);
  display: grid;
  gap: 26px;
  align-items: center;
}
@media (min-width: 900px) { .band-inner { grid-template-columns: 1.4fr auto; } }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .78); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Serve ---------- */
.serve-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.serve-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.serve-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C6E7EC; }
.serve-item .ic { font-size: 1.5rem; color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C6E7EC; }
.cc-ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.contact-card b { display: block; font-size: .95rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .93rem; margin: 2px 0 0; }
.contact-card a:hover { color: var(--brand-2); }

/* ---------- Form ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FBFDFE;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 162, 184, .14);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-alert {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid #BFE6ED;
  color: var(--brand-2);
  font-size: .9rem;
  font-weight: 600;
}
.form-alert.show { display: block; }

/* ---------- Map ---------- */
.map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
  background: var(--brand-soft);
}
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
@media (max-width: 640px) { .map iframe { height: 280px; } }

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #C6E7EC; }
.product-card.is-hidden { display: none; }
.p-img { position: relative; aspect-ratio: 1 / .82; background: var(--brand-soft); overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .p-img img { transform: scale(1.06); }
.p-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--brand-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.p-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-title { font-size: 1.08rem; margin: 0; }
.p-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.p-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--mint);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
}
.p-foot { margin-top: auto; display: flex; gap: 10px; padding-top: 14px; }
.p-foot .btn { flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-2); transform: translateY(-2px); }
.chip.active {
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 162, 184, .28);
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--sand);
  border: 1px solid #F5E3CC;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  color: #6B5230;
  font-size: .88rem;
}
.note .ic { color: var(--amber); font-size: 1.3rem; margin-top: 1px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step b { display: block; }
.step p { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 74px) 0;
  background: linear-gradient(160deg, var(--brand-soft), #fff 65%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -200px;
  background: #C9EEF4;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
}
.page-hero .container { position: relative; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--brand-2); }
.page-hero h1 { max-width: 780px; }
.page-hero p { max-width: 640px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(46px, 6vw, 72px) 0 0; }
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--brand-3); }
.f-brand .logo-name { color: #fff; }
.f-brand .logo-tag { color: rgba(255, 255, 255, .5); }
.f-brand p { margin-top: 14px; font-size: .9rem; max-width: 330px; }
.f-col li { margin-bottom: 10px; font-size: .92rem; }
.f-col li a { display: inline-flex; align-items: center; gap: 9px; }
.f-col .ic { color: var(--brand-3); font-size: 1.05rem; }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fff;
}
.f-social a:hover { background: var(--brand); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Floating actions ---------- */
.fab-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .42);
  transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Misc ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-2);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
