/* ============================================================
   AVVS Triatek — Medical Precision Design System
   White / Teal #0D9488 / Navy #0F2A43 / Gold #C9A227
   Mobile-first, RTL-aware (logical properties), 320px min.
   ============================================================ */

/* ---------- 1. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #f6f9f8;
  --teal: #0d9488;
  --teal-dark: #0b7c71;
  --teal-deep: #08685f;
  --teal-soft: #e7f5f3;
  --navy: #0f2a43;
  --navy-deep: #0a1d30;
  --navy-light: #17344f;
  --slate: #41505c;
  --slate-light: #64748b;
  --gold: #c9a227;
  --gold-soft: #faf3dc;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb356;
  --telegram: #229ed9;
  --telegram-dark: #1c86b8;
  --danger: #b91c1c;
  --border: #e2edeb;
  --shadow-sm: 0 1px 3px rgba(15, 42, 67, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 42, 67, 0.10);
  --shadow-lg: 0 16px 40px rgba(15, 42, 67, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: 'Segoe UI', 'Noto Kufi Arabic', Tahoma, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 72px;
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  inset-inline-start: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 2. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.section--tint {
  background: var(--off-white);
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section--dark .eyebrow {
  color: #4fd1c5;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--slate);
  max-width: 46em;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand img {
  width: 132px;
  height: auto;
}

.brand__text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand__sub {
  font-size: 0.68rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.nav a:hover {
  color: var(--teal);
  background: var(--teal-soft);
}

.nav a[aria-current="page"] {
  color: var(--teal);
  background: var(--teal-soft);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.lang-switch:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--teal-soft);
}

.lang-switch .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down nav */
.nav--mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav--mobile.open {
  display: flex;
}

.nav--mobile a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy);
}

.nav--mobile a:hover,
.nav--mobile a[aria-current="page"] {
  color: var(--teal);
  background: var(--teal-soft);
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 45%, var(--teal-dark) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(13, 148, 136, 0.25), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7.5rem);
  max-width: 860px;
}

.hero .eyebrow {
  color: #4fd1c5;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- 5. Trust bar ---------- */
.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding-block: 1rem;
}

.trustbar__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.trustbar__list li svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-height: 48px;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-light);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: #b8921f;
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white);
}

.btn--telegram {
  background: var(--telegram);
  color: var(--white);
}

.btn--telegram:hover {
  background: var(--telegram-dark);
  color: var(--white);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- 7. Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: 1.75rem;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  margin-bottom: 0.9rem;
}

.card ul li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.5rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* ---------- 8. Video ---------- */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  margin-top: 2rem;
}

.video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy);
}

.video-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ---------- 9. Pain section ---------- */
.pain-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

.pain-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
}

.pain-list li svg {
  width: 22px;
  height: 22px;
  color: #f87171;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.pain-close {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  border-inline-start: 4px solid var(--gold);
  padding-inline-start: 1rem;
}

/* ---------- 10. Solution cards ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card .btn {
  margin-top: auto;
}

/* ---------- 11. Knowledge band ---------- */
.knowledge-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
  color: var(--white);
}

.knowledge-band h2 {
  color: var(--white);
}

.knowledge-band .lead {
  color: rgba(255, 255, 255, 0.9);
}

.knowledge-band .eyebrow {
  color: #cfe9a6;
}

.knowledge-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

/* ---------- 12. Stats strip ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.stat__value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 13. Reviews ---------- */
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
}

.stars svg {
  width: 20px;
  height: 20px;
}

.stars--lg svg {
  width: 26px;
  height: 26px;
}

.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-card .stars {
  margin-bottom: 0.9rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--navy);
}

.review-card figcaption {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--slate-light);
  font-weight: 600;
}

.review-card figcaption strong {
  color: var(--navy);
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--gold-soft);
  border: 1px solid #ecd9a0;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.25rem;
}

.rating-summary__score {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

/* ---------- 14. Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-group label .req {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hp {
  position: absolute !important;
  inset-inline-start: -9999px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
}

.form-status--success {
  display: block;
  background: #e6f7ee;
  color: #0b6b3a;
  border: 1px solid #a7e6c2;
}

.form-status--error {
  display: block;
  background: #fdeeee;
  color: var(--danger);
  border: 1px solid #f3c2c2;
}

.form-status--sending {
  display: block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid #b5e2db;
}

.privacy-note {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.privacy-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* ---------- 15. Contact channels ---------- */
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.75rem;
}

.channel-card .channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
}

.channel-card .channel-icon svg {
  width: 26px;
  height: 26px;
}

.channel-card .channel-icon--wa { background: var(--whatsapp); }
.channel-card .channel-icon--tg { background: var(--telegram); }
.channel-card .channel-icon--clock { background: var(--teal); }

.channel-card h3 {
  font-size: 1.05rem;
}

.channel-card .channel-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

/* ---------- 16. Process band ---------- */
.process {
  counter-reset: step;
}

.process__item {
  position: relative;
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.process__item::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ---------- 17. Industry cards ---------- */
.industry-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.industry-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.industry-card .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-box,
.solution-box {
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.pain-box {
  background: #fdf1f1;
  border-inline-start: 4px solid #e05d5d;
}

.pain-box h4 {
  color: #9f1f1f;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.solution-box {
  background: var(--teal-soft);
  border-inline-start: 4px solid var(--teal);
}

.solution-box h4 {
  color: var(--teal-deep);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

/* ---------- 18. CTA sections ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.75rem auto 1.75rem;
  max-width: 40em;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* ---------- 19. Floating contact buttons ---------- */
.float-buttons {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn svg {
  width: 28px;
  height: 28px;
}

.float-btn:hover {
  transform: scale(1.08);
  color: var(--white);
}

.float-btn--wa {
  background: var(--whatsapp);
}

.float-btn--tg {
  background: var(--telegram);
}

.float-btn .tooltip {
  position: absolute;
  inset-inline-end: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.float-btn:hover .tooltip,
.float-btn:focus-visible .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.float-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
}

.float-btn--wa::before { border-color: var(--whatsapp); }
.float-btn--tg::before { border-color: var(--telegram); }

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 168px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links li,
.footer-services li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.98rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 700;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact .footer-world {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom .footer-tag {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom .footer-lang {
  display: inline-flex;
  gap: 0.6rem;
}

.footer-bottom .footer-lang a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom .footer-lang a:hover {
  color: var(--gold);
}

/* ---------- 21. Breadcrumb / page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--teal-dark) 100%);
  color: var(--white);
}

.page-hero__inner {
  padding-block: clamp(3rem, 7vw, 5rem);
  max-width: 860px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero .eyebrow {
  color: #4fd1c5;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem;
}

/* ---------- 22. Guarantee / accent band ---------- */
.guarantee-band {
  background: var(--gold-soft);
  border: 1px solid #ecd9a0;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.guarantee-band h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.guarantee-band p {
  color: var(--slate);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.faq-item p {
  font-size: 0.95rem;
}

/* ---------- 23. 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--teal);
}

/* ---------- 24. Responsive ---------- */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .form-row .form-group--full { grid-column: 1 / -1; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .brand__text { display: flex; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: start; }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .nav-toggle { display: none; }
  .nav { display: flex; }
  .nav--mobile { display: none !important; }
  .video-row { grid-template-columns: 1.1fr 0.9fr; }
  .knowledge-band__inner { grid-template-columns: 1.2fr 0.8fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

@media (min-width: 1280px) {
  .hero__inner { max-width: 900px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 320px safety */
@media (max-width: 360px) {
  .brand img { width: 112px; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.92rem; }
  .float-buttons { inset-inline-end: 0.75rem; bottom: 0.75rem; }
  .float-btn { width: 50px; height: 50px; }
  .hero__cta .btn { width: 100%; }
  .cta-band__buttons .btn { width: 100%; }
}

/* ============================================================
   AVVS Triatek — Isolation Room Airflow Simulator
   Interactive canvas + control panel (products page)
   ============================================================ */
.avvs-sim {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  align-items: stretch;
}
.avvs-sim__canvas-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
}
.avvs-sim__canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}
.avvs-sim__panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.avvs-sim__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.avvs-sim__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.avvs-sim__modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.avvs-sim-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.4rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
}
.avvs-sim-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--slate-light);
}
.avvs-sim-btn:hover {
  border-color: var(--teal);
}
.avvs-sim-btn:active {
  transform: translateY(1px);
}
.avvs-sim-btn--active,
.avvs-sim-btn--active:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.avvs-sim-btn--active small {
  color: rgba(255, 255, 255, 0.85);
}
.avvs-sim-btn--wide {
  padding: 0.65rem 0.75rem;
  text-align: center;
}
.avvs-sim-btn--wide strong {
  color: var(--teal);
}
.avvs-sim-door--open,
.avvs-sim-door--open:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--navy);
}
.avvs-sim-door--open strong {
  color: #8a6d12;
}
.avvs-sim input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
}
.avvs-sim__readouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: auto;
}
.avvs-sim__ro {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.avvs-sim__ro span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-light);
}
.avvs-sim__ro strong {
  font-size: 1.02rem;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.avvs-sim__ro small {
  font-size: 0.7rem;
  color: var(--slate-light);
}
.avvs-sim__ro--status {
  grid-column: 1 / -1;
}
.avvs-sim-status {
  display: inline-block;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.avvs-sim-status--protected {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.avvs-sim-status--disturbed {
  background: var(--gold-soft);
  color: #8a6d12;
}
.avvs-sim-status--alarm {
  background: #fee2e2;
  color: var(--danger);
}
@media (max-width: 900px) {
  .avvs-sim {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .avvs-sim__modes {
    grid-template-columns: 1fr;
  }
}
