/* ============================================================
   SUNSENTEC — B2B independent site stylesheet
   Pure CSS, no framework. Safe to edit the variables below.
   ============================================================ */

:root {
  /* Brand palette — change these to rebrand the whole site */
  --navy-900: #071a30;
  --navy-800: #0b2545;
  --navy-700: #12345c;
  --navy-600: #1b477a;
  --accent: #ff8a1f;
  --accent-dark: #e06f00;
  --accent-soft: #fff2e4;
  --blue: #2f80ed;

  --ink: #1a2430;
  --muted: #627284;
  --line: #e3eaf2;
  --bg: #f5f8fb;
  --white: #ffffff;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.14);
  --container: 1200px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section {
  padding: 96px 0;
}
.section--soft {
  background: var(--bg);
}
.section--dark {
  background: var(--navy-900);
  color: var(--white);
}
.section--tight {
  padding: 64px 0;
}
.text-center {
  text-align: center;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy-900);
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
p {
  margin: 0 0 16px;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 640px;
}
.section--dark .lead {
  color: #b9c8d9;
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section--dark .eyebrow {
  color: var(--accent);
}
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(255, 138, 31, 0.28);
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(255, 138, 31, 0.34);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--outline {
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn--outline:hover {
  background: var(--navy-800);
  color: var(--white);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}
.btn--block {
  width: 100%;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(11, 37, 69, 0.05);
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand__logo {
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  flex: none;
}
.brand__text {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand__text span {
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav a {
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav a:hover,
.nav a.is-active {
  color: var(--accent-dark);
}
.nav__cta {
  padding: 11px 20px;
}
.lang-switch {
  position: relative;
  flex: none;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #cfd9e5;
  color: var(--navy-800);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-switch__btn:hover {
  border-color: var(--accent);
}
.lang-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
}
.lang-switch__menu.is-open {
  display: block;
}
.lang-switch__menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 9px 10px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
}
.lang-switch__menu button:hover,
.lang-switch__menu button.is-current {
  background: var(--bg);
  color: var(--accent-dark);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #cfd9e5;
  border-radius: 6px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-800);
  transition: 0.2s;
}
.nav-toggle span {
  position: relative;
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% 16%, rgba(47, 128, 237, 0.22), transparent 62%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 58%, #0d2f57 100%);
  color: var(--white);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .hl {
  color: var(--accent);
}
.hero .lead {
  color: #c3d2e3;
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  font-size: 0.86rem;
  color: #c3d2e3;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__points svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: none;
}
.hero__visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.hero__visual svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.hero__tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #9fb2c8;
  letter-spacing: 0.04em;
}
.hero__tag b {
  color: var(--accent);
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.trust__item {
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust__item:last-child {
  border-right: 0;
}
.trust__num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.1;
}
.trust__num span {
  color: var(--accent);
}
.trust__label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cdd9e6;
}
.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* Product cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card__media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef3f8, #dfe9f3);
  position: relative;
  overflow: hidden;
}
.product-card__media svg {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(11, 37, 69, 0.16));
}
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 4px;
}
.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.product-card__body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.spec-list {
  font-size: 0.84rem;
  color: var(--navy-700);
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}
.spec-list li {
  display: flex;
  gap: 8px;
}
.spec-list li::before {
  content: "•";
  color: var(--accent-dark);
  font-weight: 800;
}
.product-card__body .btn {
  margin-top: auto;
}

/* Feature list with check marks */
.check-list {
  display: grid;
  gap: 16px;
}
.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: #34465c;
}
.check-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--accent-dark);
  margin-top: 2px;
}
.check-list--light li {
  color: #c9d6e5;
}
.check-list--light svg {
  color: var(--accent);
}

/* Image / media placeholder to be replaced by real素材 */
.media {
  background: linear-gradient(150deg, #dbe6f2, #c9d8e8);
  border: 1px dashed #9fb4cb;
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--navy-700);
}
.media__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 14px;
  border-radius: 6px;
}
.media--tall {
  min-height: 460px;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}

/* Application tiles */
.app-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  transition: transform 0.25s ease;
}
.app-tile:hover {
  transform: translateY(-4px);
}
.app-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 18px 18px;
}
.app-tile__content {
  position: relative;
  z-index: 1;
}
.app-tile h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.app-tile span {
  font-size: 0.85rem;
  color: #b9c8d9;
}
.app-tile svg {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.55);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 46px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.9rem;
  font-weight: 800;
  color: #cbd7e4;
}
.step h3 {
  font-size: 1.05rem;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 48px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cta-band p {
  color: #c3d2e3;
  margin-bottom: 0;
}
.cta-band .btn {
  position: relative;
  z-index: 1;
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9bacd;
  padding: 70px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 52px;
}
.site-footer .brand__logo { height: 40px; max-width: 180px; }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-grid p {
  max-width: 320px;
}
.footer-grid ul {
  display: grid;
  gap: 10px;
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0 60px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: #c3d2e3;
  max-width: 680px;
  margin: 0;
}
.breadcrumb {
  font-size: 0.8rem;
  color: #91a7bf;
  margin-bottom: 18px;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  margin: 0 8px;
  opacity: 0.6;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--bg);
  color: var(--navy-800);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcff;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 22px;
  margin: 30px 0;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
}
.contact-info__icon svg {
  width: 21px;
  height: 21px;
}
.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}
.contact-info p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.contact-info a:hover {
  color: var(--accent-dark);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.field label .req {
  color: var(--accent-dark);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd9e5;
  border-radius: 6px;
  background: #fbfdff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}
.field textarea {
  min-height: 116px;
  resize: vertical;
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 14px 0 0;
}
.form-msg {
  display: none;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.form-msg.is-ok {
  display: block;
  background: #e8f7ee;
  color: #176b3a;
  border: 1px solid #b9e3cb;
}
.form-msg.is-error {
  display: block;
  background: #fff0f0;
  color: #a32626;
  border: 1px solid #f3c5c5;
}

/* ---------- Misc ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-700);
}
.badge--dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #d5e2f0;
}
.quote {
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  font-size: 1.05rem;
  color: var(--navy-800);
  font-style: italic;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section {
    padding: 76px 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero__visual {
    max-width: 620px;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    display: none;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta {
    margin-top: 14px;
    border-bottom: 0 !important;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .split,
  .split--reverse .split__media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .trust .container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
  .trust__item:nth-child(2) {
    border-right: 0;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 30px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, var(--container));
  }
  .section {
    padding: 60px 0;
  }
  .hero {
    padding: 64px 0 70px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .grid--4,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }
  .trust .container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-card {
    padding: 24px 20px;
  }
  .cta-band {
    padding: 32px 22px;
  }
  .lang-switch__btn span.lang-name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.92); opacity: 0.8; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.wa-tooltip {
  position: fixed;
  right: 92px;
  bottom: 38px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}
.wa-float:hover + .wa-tooltip,
.wa-tooltip.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RTL support (Arabic)
   ============================================================ */
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] .nav,
[dir="rtl"] .hero__points,
[dir="rtl"] .footer-grid ul,
[dir="rtl"] .spec-list,
[dir="rtl"] .check-list {
  padding-right: 0;
}
[dir="rtl"] .brand,
[dir="rtl"] .hero__actions,
[dir="rtl"] .footer-bottom,
[dir="rtl"] .hero__tag {
  flex-direction: row-reverse;
}
[dir="rtl"] .hero .container,
[dir="rtl"] .split {
  direction: rtl;
}
[dir="rtl"] .lang-switch__menu {
  right: auto;
  left: 0;
}
[dir="rtl"] .lang-switch__menu button {
  text-align: right;
}
[dir="rtl"] .check-list li,
[dir="rtl"] .contact-info__item,
[dir="rtl"] .spec-list li {
  flex-direction: row-reverse;
}
[dir="rtl"] .product-card__badge {
  left: auto;
  right: 14px;
}
[dir="rtl"] .app-tile svg {
  right: auto;
  left: 22px;
}
[dir="rtl"] .cta-band::after {
  right: auto;
  left: -80px;
}
[dir="rtl"] .step::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .quote {
  border-left: 0;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: 22px;
}
[dir="rtl"] .breadcrumb span {
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .wa-float {
  right: auto;
  left: 24px;
}
[dir="rtl"] .wa-tooltip {
  right: auto;
  left: 92px;
  transform: translateX(-8px);
}
[dir="rtl"] .section-head,
[dir="rtl"] .text-center {
  text-align: center;
}
[dir="rtl"] .form-msg,
[dir="rtl"] .field label {
  text-align: right;
}
