/* =========================================================
   StarGuard Autogate — Design System
   ========================================================= */

:root {
  --ink: #0A1512;
  --ink-2: #16211D;
  --body: #44534E;
  --muted: #6E7C77;
  --line: #E3E6E0;
  --line-soft: #EDEFEA;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --tint: #F3F4EF;

  --brand: #00bea2;
  --teal: #009E88;
  --teal-dark: #007864;
  --teal-soft: #E2F7F2;
  --teal-glow: rgba(0, 184, 160, .22);

  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;

  --shadow-sm: 0 1px 2px rgba(10, 21, 18, .04), 0 4px 14px rgba(10, 21, 18, .04);
  --shadow-md: 0 12px 34px rgba(10, 21, 18, .08);
  --shadow-lg: 0 28px 70px rgba(10, 21, 18, .14);

  --ease: cubic-bezier(.22, .68, .24, 1);
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { display: block; }

::selection { background: var(--teal); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
}

.section { padding: clamp(72px, 8.5vw, 132px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .74); }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-weight: 700;
  color: var(--ink);
  max-width: 20ch;
}
.section--dark .h2,
.section-head--dark .h2 { color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.7;
  color: var(--body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 22px var(--teal-glow);
}
.btn--primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(0, 184, 160, .28);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn--light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(10px);
}
.btn--light:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
}

.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 17px 32px; font-size: .98rem; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .25s, border-color .25s, gap .3s var(--ease);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--teal-dark); border-color: var(--teal); }
.link-arrow:hover span { transform: translateX(5px); }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  letter-spacing: .01em;
  position: relative;
  z-index: 40;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  padding-block: 8px;
}
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #35D6A8;
  box-shadow: 0 0 0 3px rgba(53, 214, 168, .18);
  animation: pulseDot 2.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(53, 214, 168, .16); }
  50% { box-shadow: 0 0 0 6px rgba(53, 214, 168, .04); }
}
.topbar__links { display: flex; align-items: center; gap: 10px; }
.topbar__links a { transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.sep { opacity: .35; }

@media (max-width: 860px) { .topbar__note { font-size: .72rem; } .topbar__links { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.is-stuck {
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(10, 21, 18, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

/* Brand — full original-colour lockup, original tagline included */
.brand { display: inline-flex; align-items: center; position: relative; z-index: 47; }
.brand__pic { display: block; line-height: 0; }
.brand__logo {
  display: block;
  height: 54px;
  width: auto;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 15px;
  font-size: .89rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--teal-dark); }
.nav a:hover::after { width: 16px; }
.nav a.is-active { color: var(--teal-dark); }
.nav a.is-active::after { width: 16px; }

.header__actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 47; }

.nav__meta { display: none; }

/* burger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  opacity: .85;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 20px;
    color: var(--ink);
    letter-spacing: -.02em;
  }
  .nav a.is-active { color: var(--teal-dark); }
  .menu-toggle { display: flex; z-index: 46; }
  .header__actions .btn--ghost { display: none; }

  .nav__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    width: min(320px, 76vw);
    text-align: center;
  }
  .nav__meta a {
    font-size: .82rem;
    font-weight: 400;
    color: var(--muted);
    padding: 5px 0;
    letter-spacing: .01em;
  }
  .nav__meta a:hover { color: var(--teal-dark); }
  .nav__meta a::after { display: none; }

  .site-header.menu-open {
    background: var(--paper);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand__logo { height: 44px; }
}
@media (max-width: 760px) {
  .brand__logo { height: 38px; }
}
@media (max-width: 600px) {
  .header__actions .btn--primary { display: none; }
  .brand__logo { height: 32px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* soft paper haze continues the light header into the top of the photo */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(251, 250, 247, .14), rgba(251, 250, 247, 0));
  z-index: -1;
  pointer-events: none;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 14, 12, .84) 0%, rgba(6, 14, 12, .58) 42%, rgba(6, 14, 12, .16) 72%, rgba(6, 14, 12, .42) 100%),
    linear-gradient(to top, rgba(6, 14, 12, .92) 0%, rgba(6, 14, 12, .1) 45%, rgba(6, 14, 12, .06) 100%);
}

.hero__inner { position: relative; padding-block: 40px 56px; max-width: 1280px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
  max-width: 100%;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.hero__title {
  font-size: clamp(2.45rem, 5.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -.042em;
  font-weight: 700;
  max-width: 17.5ch;
  text-wrap: balance;
}
.hero__title em {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #C9F3EA;
  margin-top: 6px;
}

.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: clamp(.98rem, 1.25vw, 1.1rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .8);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__micro {
  margin-top: 22px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .58);
  letter-spacing: .01em;
}

/* Hero stats */
.hero__stats {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(14px);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hstat {
  padding: 26px 28px 26px 0;
  border-right: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hstat:last-child { border-right: 0; }
.hstat:not(:first-child) { padding-left: 28px; }
.hstat__num {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
}
.hstat__num i {
  font-style: normal;
  font-size: .52em;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-left: 6px;
  color: rgba(255, 255, 255, .6);
}
.hstat__label {
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .58);
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hstat { padding: 20px 18px 20px 0; }
  .hstat:not(:first-child) { padding-left: 18px; }
  .hstat:nth-child(2) { border-right: 0; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: scrollX 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #B7C0BA;
  transition: color .3s;
  white-space: nowrap;
}
.marquee span:hover { color: var(--brand); }
.marquee i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head__lead {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 46ch;
  padding-bottom: 6px;
}
.section-head--dark .section-head__lead { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about__text p { margin-top: 18px; max-width: 56ch; }
.about__text .lead { margin-top: 22px; color: var(--ink-2); font-weight: 500; }
.about__text em { font-style: italic; color: var(--ink); }

.checks { margin-top: 30px; display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  font-size: .94rem;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 160, .25);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--teal-dark);
  border-bottom: 1.5px solid var(--teal-dark);
  transform: rotate(-45deg);
}

.about__visual { position: relative; }
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.4;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__quote {
  position: absolute;
  left: -6%;
  bottom: 8%;
  width: min(300px, 78%);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
}
.quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 3.2rem;
  line-height: .6;
  color: var(--teal);
  display: block;
  margin-bottom: 10px;
}
.about__quote p {
  font-size: .98rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.01em;
}
.about__quote-src {
  display: block;
  margin-top: 14px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__badge {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about__badge strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #6FE3CE;
}
.about__badge span { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 480px; }
  .about__quote { left: 0; bottom: -28px; }
  .about__photo { aspect-ratio: 4 / 3.8; }
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 184, 160, .34);
}
.pcard__img {
  border-radius: 18px;
  overflow: hidden;
  background: #EFEFE9;
  aspect-ratio: 16 / 12;
}
.pcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.pcard:hover .pcard__img img { transform: scale(1.05); }

.pcard__body { padding: 22px 12px 0; display: flex; flex-direction: column; flex: 1; }
.pcard__top { display: flex; align-items: baseline; gap: 12px; }
.pcard__idx {
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.pcard h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--ink);
  line-height: 1.3;
}
.pcard p {
  margin-top: 10px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 5px 11px;
}

@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

/* Price note */
.price-note {
  margin-top: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px 32px;
  position: relative;
  overflow: hidden;
}
.price-note::after {
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0, 184, 160, .42), transparent 68%);
  pointer-events: none;
}
.price-note strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  color: #fff;
}
.price-note span {
  font-size: .88rem;
  color: rgba(255, 255, 255, .62);
}
.price-note small {
  grid-column: 1 / -1;
  font-size: .74rem;
  color: rgba(255, 255, 255, .42);
}
@media (max-width: 700px) {
  .price-note { grid-template-columns: 1fr; padding: 24px; }
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.feature {
  padding: 36px 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .4s;
}
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-child(3n+1) { padding-left: 0; }
.feature:hover { background: rgba(255, 255, 255, .7); }

.feature__idx {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.feature p { font-size: .9rem; line-height: 1.68; color: var(--muted); }

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(3n+1) { padding: 30px 24px; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n+1), .feature:nth-child(2n+1) {
    border-right: 0;
    padding: 26px 0;
  }
}

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 0 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 26px;
}
.steps li::before {
  content: "";
  position: absolute;
  top: -4.5px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(0, 184, 160, .14);
}
.steps li span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #6FE3CE;
}
.steps li h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin: 10px 0 8px;
}
.steps li p { font-size: .88rem; line-height: 1.68; color: rgba(255, 255, 255, .56); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proj {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  display: block;
  background: #E8E9E4;
}
.proj img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.proj::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 12, .9) 0%, rgba(6, 14, 12, .45) 42%, rgba(6, 14, 12, 0) 72%);
  transition: opacity .5s;
}
.proj:hover img { transform: scale(1.05); }
.proj__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 26px 26px;
  z-index: 2;
  color: #fff;
  transform: translateY(6px);
  transition: transform .5s var(--ease);
}
.proj:hover .proj__cap { transform: translateY(0); }
.proj__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B7F3E7;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.proj__cap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.proj__cap p {
  font-size: .86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .68);
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s, margin-top .4s;
}
.proj:hover .proj__cap p { max-height: 100px; opacity: 1; }

.projects__foot {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.projects__foot p { font-size: .94rem; color: var(--muted); }

@media (max-width: 900px) {
  .projects { grid-template-columns: 1fr; }
  .proj { aspect-ratio: 16 / 11; }
  .proj__cap p { max-height: 100px; opacity: 1; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote__stars { color: var(--brand); letter-spacing: 3px; font-size: .86rem; margin-bottom: 18px; }
.quote blockquote {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink-2);
  flex: 1;
  letter-spacing: -.005em;
}
.quote figcaption {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote figcaption strong { font-size: .92rem; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption span { font-size: .8rem; color: var(--muted); }

@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__aside p:not(.kicker) { margin: 18px 0 26px; max-width: 34ch; font-size: .95rem; color: var(--muted); }

.acc {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--teal-dark); }
.acc summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
  opacity: .55;
  margin-bottom: 4px;
}
.acc[open] summary::after { transform: rotate(-135deg); margin-bottom: 0; margin-top: 6px; }
.acc[open] summary { color: var(--teal-dark); }
.acc__body {
  padding: 0 44px 26px 0;
  font-size: .94rem;
  line-height: 1.72;
  color: var(--muted);
  animation: fadeIn .4s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq__aside { position: static; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: start;
}
.contact__info .lead { margin-top: 18px; max-width: 42ch; }

.info-list { margin-top: 38px; display: grid; gap: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.info-list p { font-size: .95rem; line-height: 1.65; color: var(--ink-2); }
.info-list a { border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.info-list a:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }

.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  background: var(--white);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-2px); }

/* Form card */
.contact__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.form__sub { font-size: .87rem; color: var(--muted); margin-top: 6px; margin-bottom: 26px; line-height: 1.6; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' stroke='%236E7C77' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 38px;
}
.field input::placeholder, .field textarea::placeholder { color: #A9B4AF; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 184, 160, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.form .btn--full { margin-top: 8px; }
.form__note {
  margin-top: 14px;
  font-size: .74rem;
  color: var(--muted);
  text-align: center;
}

/* Map */
.map {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.map__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.map__label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.map__bar p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.map__frame {
  height: 320px;
  background: #E8E9E4;
  position: relative;
}
.map__frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(.12) contrast(1.02);
  transition: filter .5s;
}
.map:hover .map__frame iframe { filter: none; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 120px 1fr; gap: 14px; }
}
@media (max-width: 460px) {
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding-top: clamp(56px, 6vw, 82px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 48px 40px;
  padding-bottom: 56px;
}
.brand--footer .brand__logo { height: 46px; width: auto; }
.footer__tagline {
  margin-top: 18px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.06rem;
  color: #7FE6D3;
  letter-spacing: .01em;
}
.footer__about { margin-top: 14px; font-size: .88rem; line-height: 1.7; max-width: 38ch; }

.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.footer__col a { font-size: .88rem; transition: color .25s; width: fit-content; }
.footer__col a:hover { color: #6FE3CE; }
.footer__col p { font-size: .84rem; line-height: 1.65; max-width: 26ch; margin-top: 2px; }
.footer__col--contact a { font-size: .86rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .38);
  z-index: 40;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5);
  animation: fabPulse 2.8s infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
.fab:hover { transform: scale(1.07); box-shadow: 0 16px 38px rgba(37, 211, 102, .5); }

@media (max-width: 600px) {
  .fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.js .products > .pcard:nth-child(2),
.js .quotes > .quote:nth-child(2),
.js .steps > li:nth-child(2) { transition-delay: .08s; }
.js .products > .pcard:nth-child(3),
.js .quotes > .quote:nth-child(3),
.js .steps > li:nth-child(3) { transition-delay: .16s; }
.js .products > .pcard:nth-child(5),
.js .steps > li:nth-child(4) { transition-delay: .08s; }
.js .products > .pcard:nth-child(6) { transition-delay: .16s; }
.js .features > .feature:nth-child(2) { transition-delay: .06s; }
.js .features > .feature:nth-child(3) { transition-delay: .12s; }
.js .features > .feature:nth-child(4) { transition-delay: .06s; }
.js .features > .feature:nth-child(5) { transition-delay: .12s; }
.js .features > .feature:nth-child(6) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
