/* ============================================================================
   AIT — Industrial Tools & CRM
   Stylesheet
   ----------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Buttons & chips
   5.  Header / navigation
   6.  Hero
   7.  Section headers
   8.  Catalogue toolbar
   9.  Product grid & cards
   10. Product modal
   11. CRM services
   12. About / Contact
   13. Footer
   14. Floating WhatsApp
   15. Reveal animation
   16. Responsive
   ========================================================================== */

/* ------------------------------------------------------------ 1. TOKENS -- */
:root {
  /* Brand palette — warm neutrals + steel navy + industrial orange.
     Tuned to sit alongside the cream product photography. */
  --ink: #0b1016;
  --navy: #0f2c45;
  --navy-700: #16405f;
  --navy-900: #0a1e30;

  --accent: #e8801a;
  --accent-600: #cf6d0c;
  --accent-100: #fdf0e0;

  --paper: #ffffff;
  --cream: #fbf7f1;
  --cream-2: #f5efe6;
  --line: #e7e1d7;
  --line-strong: #d8d0c3;

  --text: #16202b;
  --muted: #5d6b7a;
  --muted-2: #8b97a4;

  --wa: #25d366;
  --wa-dark: #1da851;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;

  /* Space */
  --wrap: 1240px;
  --gutter: 20px;

  /* Radii */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows — soft, warm-tinted, never harsh */
  --sh-1: 0 1px 2px rgba(11, 16, 22, 0.04), 0 1px 3px rgba(11, 16, 22, 0.06);
  --sh-2: 0 4px 12px rgba(11, 16, 22, 0.06), 0 2px 4px rgba(11, 16, 22, 0.04);
  --sh-3: 0 18px 40px -12px rgba(11, 16, 22, 0.18),
    0 8px 16px -8px rgba(11, 16, 22, 0.1);
  --sh-4: 0 32px 70px -20px rgba(11, 16, 22, 0.35);

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------- 2. RESET/BASE -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.021em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
button,
select {
  font-family: inherit;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* -------------------------------------------------- 3. LAYOUT PRIMITIVES -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--navy-900);
  color: #e9eef3;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------ 4. BUTTONS/CHIPS -- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn--accent {
  --btn-bg: var(--accent);
}

.btn--accent:hover {
  --btn-bg: var(--accent-600);
}

.btn--wa {
  --btn-bg: var(--wa);
}

.btn--wa:hover {
  --btn-bg: var(--wa-dark);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: #fff;
  border-color: var(--ink);
}

.btn--onDark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.btn--onDark:hover {
  --btn-bg: rgba(255, 255, 255, 0.16);
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn--lg svg {
  width: 20px;
  height: 20px;
}

.btn--block {
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chip--accent {
  background: var(--accent-100);
  border-color: #f6ddbe;
  color: #8a4a06;
}

/* -------------------------------------------------------- 5. HEADER/NAV -- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  margin-right: 8px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--navy);
}

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

.brand__name {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand__tag {
  font-size: 0.5625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--muted);
  background: none;
  border: 0;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: var(--cream);
}

.nav__link[aria-selected="true"] {
  color: var(--ink);
  background: var(--cream-2);
  font-weight: 650;
}

.header__cta {
  margin-left: 10px;
  flex: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  margin-left: auto;
}

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

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-3);
  padding: 10px 20px 20px;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 4px;
  animation: drawerIn 0.22s var(--ease);
}

.drawer.is-open {
  display: flex;
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.drawer__link {
  padding: 13px 14px;
  border-radius: 10px;
  text-align: left;
  background: none;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.drawer__link:hover,
.drawer__link[aria-selected="true"] {
  background: var(--cream);
}

.drawer .btn {
  margin-top: 10px;
}

/* --------------------------------------------------------------- 6. HERO -- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #e9eef3;
  isolation: isolate;
}

.hero::before {
  /* warm accent glow, top-right */
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(232, 128, 26, 0.4) 0%,
    rgba(232, 128, 26, 0.09) 42%,
    transparent 68%
  );
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  /* faint dot grid for industrial texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    transparent 85%
  );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  padding: 84px 0 76px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffd9ae;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 128, 26, 0.25);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 5.2vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: #b9c6d3;
  max-width: 620px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.stat__num {
  font-size: 1.75rem;
  font-weight: 750;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.8125rem;
  color: #93a4b5;
  margin-top: 2px;
}

/* ------------------------------------------------------ 7. SECTION HEADS -- */
.sec-head {
  max-width: 660px;
  margin-bottom: 40px;
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.sec-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 750;
}

.sec-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* --------------------------------------------------- 8. CATALOGUE TOOLBAR -- */
.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.toolbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search {
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
}

.search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted-2);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 11px 40px 11px 39px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 128, 26, 0.15);
}

.search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.search__clear.is-visible {
  display: flex;
}

.result-count {
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.result-count b {
  color: var(--ink);
  font-weight: 650;
}

.toolbar__spacer {
  margin-left: auto;
}

/* Group filter pills */
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  width: 100%;
}

.filter {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.16s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ----------------------------------------------------- 9. PRODUCT GRID -- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

/* Cards fade up in a short stagger. Delay is capped so a full 80-product
   render never feels slow — see the --i set in app.js. */
.grid > .card {
  animation: cardIn 0.4s var(--ease) both;
  animation-delay: min(calc(var(--i, 0) * 16ms), 200ms);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--line-strong);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.045);
}

.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(11, 16, 22, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 16px;
  gap: 9px;
}

.card__title {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  overflow: hidden;
  max-height: 46px;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.card__go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--accent);
}

.card__go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.card:hover .card__go svg {
  transform: translateX(3px);
}

.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}

.empty svg {
  width: 44px;
  height: 44px;
  color: var(--line-strong);
  margin-bottom: 14px;
}

.empty h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

/* ---------------------------------------------------------- 10. MODAL -- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 15, 22, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 0;
  animation: fadeIn 0.2s var(--ease);
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.modal__panel {
  position: relative;
  width: min(1060px, 100%);
  max-height: min(88vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-4);
  animation: panelIn 0.26s var(--ease);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.modal__media {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 260px;
}

.modal__media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: var(--r);
}

.modal__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--line);
}

.modal__scroll {
  overflow-y: auto;
  padding: 26px 26px 22px;
  flex: 1;
  overscroll-behavior: contain;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--ink);
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.modal__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal__title {
  margin-top: 9px;
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.modal__desc {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.modal__label {
  margin: 26px 0 11px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.modal__foot {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------------- 11. CRM GRID -- */
.crm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.svc {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--line-strong);
}

.svc--featured {
  grid-column: span 2;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-900) 100%);
  border-color: var(--navy-700);
  color: #cfdae4;
}

.svc--featured .svc__title {
  color: #fff;
}

.svc--featured .svc__blurb {
  color: #a9bbc9;
}

.svc--featured .svc__icon {
  background: rgba(232, 128, 26, 0.18);
  border-color: rgba(232, 128, 26, 0.35);
  color: var(--accent);
}

.svc--featured .svc__feat li {
  color: #cfdae4;
}

.svc--featured .svc__feat svg {
  color: var(--accent);
}

.svc__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-100);
  border: 1px solid #f6ddbe;
  color: var(--accent-600);
  margin-bottom: 18px;
}

.svc__icon svg {
  width: 23px;
  height: 23px;
}

.svc__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.svc__blurb {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.62;
}

.svc__feat {
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.svc__feat li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.svc__feat svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}

.svc__cta {
  margin-top: auto;
}

/* ------------------------------------------------------ 12. ABOUT/CONTACT -- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px 48px;
  align-items: start;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.0625rem;
}

.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.pillar__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--cream-2);
  color: var(--navy);
}

.pillar__icon svg {
  width: 19px;
  height: 19px;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 650;
}

.pillar p {
  margin-top: 5px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--navy);
}

.contact-card__icon svg {
  width: 21px;
  height: 21px;
}

.contact-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-card__value {
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--ink);
  word-break: break-word;
}

.contact-card__note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 6px;
}

.contact-card--wa {
  background: linear-gradient(140deg, #128c4a 0%, #0d6b39 100%);
  border-color: #0d6b39;
  color: #fff;
}

.contact-card--wa h3 {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card--wa .contact-card__value {
  color: #fff;
}

.contact-card--wa .contact-card__note {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card--wa .contact-card__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ----------------------------------------------------------- 13. FOOTER -- */
.footer {
  background: var(--navy-900);
  color: #9fb0c0;
  padding: 62px 0 26px;
  font-size: 0.9375rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer .brand__mark {
  color: #fff;
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__tag {
  color: #7b8fa2;
}

.footer__blurb {
  margin-top: 18px;
  max-width: 380px;
  line-height: 1.68;
  color: #8fa2b3;
}

.footer__col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7b8fa2;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col a,
.footer__col span {
  color: #b6c5d2;
  transition: color 0.16s var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: #7b8fa2;
}

/* -------------------------------------------------- 14. FLOATING WHATSAPP -- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 26px -6px rgba(29, 168, 81, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.fab:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 32px -6px rgba(29, 168, 81, 0.65);
}

.fab svg {
  width: 28px;
  height: 28px;
}

/* ------------------------------------------------------- 15. REVEAL ANIM -- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Tab panels fade in when switched */
.panel[hidden] {
  display: none;
}

.panel.is-entering {
  animation: panelFade 0.34s var(--ease);
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

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

/* ------------------------------------------------------- 16. RESPONSIVE -- */
@media (max-width: 1080px) {
  .svc--featured {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .nav,
  .header__cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .section {
    padding: 62px 0;
  }
  .hero__inner {
    padding: 60px 0 56px;
  }
  .hero__stats {
    gap: 28px;
    margin-top: 42px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
  }
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal__panel {
    grid-template-columns: 1fr;
    max-height: 94vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    animation: sheetIn 0.28s var(--ease);
  }
  @keyframes sheetIn {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
  }
  .modal__media {
    max-height: 40vh;
    padding: 14px;
  }
  .modal__media img {
    max-height: 36vh;
  }
  .modal__side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .modal__scroll {
    padding: 22px 20px 18px;
  }
  .modal__title {
    font-size: 1.35rem;
  }
  .modal__foot {
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .card__body {
    padding: 12px 12px 13px;
    gap: 7px;
  }
  .card__title {
    font-size: 0.875rem;
  }
  .card__specs {
    max-height: 24px;
  }
  .card__foot {
    padding-top: 10px;
  }
  .crm-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* Very small phones: single column reads better than cramped halves */
@media (max-width: 380px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
