/* =========================================================================
   Signature Gloves — "Clinical Trust" design system
   Plain CSS. No build step. Mobile-first. WCAG AA. Dark mode + reduced motion.
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  /* Brand blue (white + blue medical palette) */
  --teal-50:  #eef4fc;
  --teal-100: #d8e7f8;
  --teal-200: #b3cef0;
  --teal-300: #80abe3;
  --teal-400: #4585d4;
  --teal-500: #1565c0;   /* primary */
  --teal-600: #1257a4;
  --teal-700: #0f4685;
  --teal-800: #0c3768;
  --teal-900: #0a2950;

  /* Neutrals (white-dominant, faint blue cast) */
  --neutral-0:   #ffffff;
  --neutral-50:  #f6f8fc;
  --neutral-100: #eef2f8;
  --neutral-200: #dde4ee;
  --neutral-300: #c1ccdb;
  --neutral-500: #5c6675;
  --neutral-700: #323b48;
  --neutral-900: #0f1620;

  /* Semantic roles (light theme) */
  --bg: var(--neutral-0);
  --surface: var(--neutral-50);
  --surface-2: var(--teal-50);
  --border: var(--neutral-200);
  --text: var(--neutral-900);
  --text-muted: var(--neutral-500);
  --primary: var(--teal-500);
  --primary-hover: var(--teal-600);
  --primary-contrast: #ffffff;
  --accent: var(--teal-400);
  --ring: color-mix(in srgb, var(--teal-500) 45%, transparent);

  /* Typography */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Modular type scale (1.25) */
  --fs-xs:   0.79rem;
  --fs-sm:   0.889rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.266rem;
  --fs-xl:   1.602rem;
  --fs-2xl:  2.027rem;
  --fs-3xl:  2.566rem;
  --fs-4xl:  3.247rem;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows (soft, layered) */
  --shadow-sm: 0 1px 2px rgba(8, 46, 44, 0.06), 0 1px 3px rgba(8, 46, 44, 0.08);
  --shadow: 0 4px 12px rgba(8, 46, 44, 0.07), 0 2px 6px rgba(8, 46, 44, 0.05);
  --shadow-lg: 0 18px 40px -12px rgba(8, 46, 44, 0.22), 0 6px 14px rgba(8, 46, 44, 0.08);

  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111a2b;
  --surface-2: #131f34;
  --border: #233149;
  --text: #e8eef7;
  --text-muted: #97a4b8;
  --primary: #5fa3ec;
  --primary-hover: #7bb6f1;
  --primary-contrast: #06182f;
  --accent: #7bb6f1;
  --ring: color-mix(in srgb, #5fa3ec 50%, transparent);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 4px 14px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 44px -12px rgba(0,0,0,0.65);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
p { text-wrap: pretty; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

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

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

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

.section { padding-block: var(--space-9); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.section-head { max-width: 56ch; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-md); color: var(--text-muted); }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-contrast);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ----- Header / nav ----- */
.site-topbar {
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border);
}
.site-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-2);
}
.site-topbar a { color: var(--text); display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; }
.site-topbar a:hover { color: var(--primary); }
.site-topbar a svg { color: var(--primary); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.nav .logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: var(--fs-sm);
  position: relative;
  padding-block: var(--space-2);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle:focus { outline: none; }
.theme-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--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); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding-block: var(--space-9) var(--space-8);
  background:
    radial-gradient(1200px 480px at 78% -8%, var(--surface-2), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 70%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--primary);
}
.hero-trust span { font-size: var(--fs-sm); color: var(--text-muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  background: var(--surface-2);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
}
.about-visual img { width: 100%; height: 100%; object-fit: contain; }
.about-quote {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-block: var(--space-4) var(--space-5);
  padding-left: var(--space-5);
  border-left: 4px solid var(--primary);
}
.about-body > p + p { margin-top: var(--space-4); color: var(--text-muted); }
.about-tag {
  display: inline-block;
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
}

/* ----- Products ----- */
.products { background: var(--surface); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}
.product-media {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.product-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface-2);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.product-body h3 { font-size: var(--fs-lg); }
.product-body p { font-size: var(--fs-sm); color: var(--text-muted); }

/* Attribute spec chips with tick indicators */
.spec { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
/* Show only the attributes that apply (the ticked ones) */
.spec-chip:not(.on) { display: none; }
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.spec-chip .dot {
  flex: none;
  width: 15px; height: 15px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: var(--neutral-300);
}
.spec-chip .dot svg { width: 9px; height: 9px; display: none; }
.spec-chip.on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.spec-chip.on .dot { background: #fff; border-color: #fff; color: var(--primary); }
.spec-chip.on .dot svg { display: block; }

/* ----- Why choose us (feature split) ----- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.why-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.why-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.why-item:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); background: var(--surface-2); }
.why-icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--primary);
}
.why-icon svg { width: 24px; height: 24px; }

/* Why-choose-us icons: gradient tile treatment (scoped so contact icons are unaffected) */
.why-item .why-icon {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--teal-400) 0%, var(--teal-600) 55%, var(--teal-700) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow:
    0 10px 18px -10px color-mix(in srgb, var(--primary) 70%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-item .why-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(56px 36px at 78% -12%, rgba(255, 255, 255, 0.45), transparent 62%);
  pointer-events: none;
}
.why-item .why-icon svg { position: relative; z-index: 1; }
.why-item:hover .why-icon {
  transform: translateY(-2px) scale(1.05) rotate(-3deg);
  box-shadow:
    0 16px 24px -10px color-mix(in srgb, var(--primary) 80%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.why-item h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.why-item p { font-size: var(--fs-sm); color: var(--text-muted); }
.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 3.4;
  background: var(--surface-2);
}
.why-visual img { width: 100%; height: 100%; object-fit: contain; }

/* ----- Features (icon grid) ----- */
.features { background: var(--surface); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  position: relative;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--teal-400) 0%, var(--teal-600) 55%, var(--teal-700) 100%);
  color: #fff;
  box-shadow:
    0 12px 22px -10px color-mix(in srgb, var(--primary) 70%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  margin-bottom: var(--space-5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* glossy top-corner highlight */
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70px 46px at 78% -12%, rgba(255, 255, 255, 0.45), transparent 62%);
  pointer-events: none;
}
.feature-icon svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.feature-card:hover .feature-icon {
  transform: translateY(-2px) scale(1.05) rotate(-3deg);
  box-shadow:
    0 18px 28px -10px color-mix(in srgb, var(--primary) 80%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.feature-card h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ----- CTA band ----- */
.cta {
  position: relative;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-6);
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--primary);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 92% 120%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.cta h2 { color: var(--text); }
.cta p { color: var(--text-muted); margin-top: var(--space-3); max-width: 52ch; }
.cta .cta-actions { display: flex; justify-content: flex-end; position: relative; }

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.contact-info { display: grid; gap: var(--space-5); align-content: start; }
.contact-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-row .why-icon { flex: none; }
.contact-row a, .contact-row p { font-size: var(--fs-md); }
.contact-row .label { font-size: var(--fs-sm); color: var(--text-muted); display: block; }
.contact-phones a { display: block; font-weight: 600; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--space-3); }

.map-embed {
  margin-top: var(--space-6);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ----- Footer ----- */
.site-footer {
  background: var(--surface);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--border);
}
.site-footer img { height: 42px; width: auto; object-fit: contain; margin-bottom: var(--space-4); }
.site-footer p { color: var(--text-muted); font-size: var(--fs-sm); max-width: 40ch; }
.site-footer h4 { color: var(--text); font-size: var(--fs-md); margin-bottom: var(--space-4); }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }
.footer-links { display: grid; gap: var(--space-3); font-size: var(--fs-sm); }
.footer-links li { display: flex; gap: 0.5em; align-items: flex-start; }
.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ----- Floating actions ----- */
.floats {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 90;
}
.float-btn {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn svg { width: 26px; height: 26px; }
.float-whatsapp { background: #25d366; }
.float-phone { background: var(--primary); }

/* ----- Scroll reveal ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ----- Legal page ----- */
.legal { padding-block: var(--space-8); }
.legal-content { max-width: 75ch; margin-inline: auto; }
.legal-content h2 { font-size: var(--fs-xl); margin-top: var(--space-7); margin-bottom: var(--space-3); }
.legal-content p { margin-bottom: var(--space-3); color: var(--text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: var(--space-4); color: var(--text-muted); }
.legal-content li { margin-bottom: var(--space-2); }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin-block: var(--space-6); }
.legal-meta { color: var(--text-muted); font-size: var(--fs-sm); }
.legal-address { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  :root { --fs-4xl: 2.7rem; --fs-3xl: 2.1rem; }
  .hero-grid, .about-grid, .why-grid, .contact-grid, .cta { grid-template-columns: 1fr; }
  .cta { gap: var(--space-5); }
  .cta .cta-actions { justify-content: flex-start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Let photos size to their natural ratio (no letterbox bars) and stay centered */
  .hero-visual, .about-visual, .why-visual {
    aspect-ratio: auto;
    max-width: 440px;
    margin-inline: auto;
  }
  .hero-visual img, .about-visual img, .why-visual img { height: auto; }
  .hero-visual { order: -1; }
  .hero { padding-block: 1rem;}
  .site-footer { padding-block: 2rem;}
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-5) var(--space-5);
    transform: translateY(-150%);
    transition: transform 0.32s var(--ease);
    visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding-block: var(--space-4); border-bottom: 1px solid var(--border); font-size: var(--fs-md); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .site-topbar { display: none; }
  /* Free up the header row on phones — the Products link lives in the drawer */
  .nav-actions .btn { display: none; }
}

@media (max-width: 560px) {
  :root { --fs-4xl: 2.3rem; --fs-3xl: 1.85rem; }
  .container { padding-inline: var(--space-4); }
  .section { padding-block: var(--space-8); }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .cta { padding: var(--space-6); }
  .hero-trust { gap: var(--space-4); }
}

/* ----- Motion preference ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
