/* Freewave.Tech — design system */

:root {
  --ink: #0A1220;
  --ink-2: #1C1F24;
  --slate: #5F6B7A;
  --slate-soft: #8A94A3;
  --line: #E4EAF2;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-deep: #070D18;

  --brand: #2EA8FF;
  --brand-deep: #0C63BE;
  --brand-soft: #E8F4FF;
  --accent: #17DEB2;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 18, 32, .06), 0 1px 3px rgba(10, 18, 32, .04);
  --shadow: 0 4px 12px rgba(10, 18, 32, .06), 0 12px 32px rgba(10, 18, 32, .06);
  --shadow-lg: 0 18px 60px rgba(10, 18, 32, .14);

  --step: 1.5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-deep); }

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

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

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow { max-width: 780px; }

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

.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-dark {
  background: var(--bg-deep);
  color: #E6ECF5;
  position: relative;
  overflow: hidden;
}

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

.section-dark p { color: #A9B6C8; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink);
  font-weight: 650;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.7rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.35; }
h4 { font-size: 1rem; letter-spacing: -.01em; }

.kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1rem;
}

.section-dark .kicker { color: var(--brand); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--slate);
  line-height: 1.62;
  max-width: 62ch;
}

.section-dark .lede { color: #AEBCCE; }

.section-head { max-width: 68ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

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

.muted { color: var(--slate); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex: none; transition: transform .22s ease; }

.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 168, 255, .32);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(46, 168, 255, .42); }

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

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

.btn-light {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: var(--line-dark);
}

.btn-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--brand-deep);
  text-decoration: none;
}

.textlink svg { width: 15px; height: 15px; transition: transform .22s ease; }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.03em;
  margin-right: auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(46, 168, 255, .35);
  flex: none;
}

.brand-mark svg { width: 20px; height: 20px; }

.brand-dot { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  display: block;
  padding: .5rem .8rem;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 550;
  color: var(--slate);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-links a.active { color: var(--ink); font-weight: 650; }

.nav-cta { margin-left: .35rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: #fff;
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4.5rem, 10vw, 7.5rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}

.hero::before {
  width: 46rem; height: 46rem;
  top: -22rem; right: -14rem;
  background: radial-gradient(circle, rgba(46, 168, 255, .75) 0%, rgba(46, 168, 255, 0) 70%);
  animation: drift 22s ease-in-out infinite alternate;
}

.hero::after {
  width: 36rem; height: 36rem;
  bottom: -20rem; left: -12rem;
  background: radial-gradient(circle, rgba(23, 222, 178, .45) 0%, rgba(23, 222, 178, 0) 70%);
  animation: drift 28s ease-in-out infinite alternate-reverse;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { color: #fff; }

.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { color: #A9B8CC; margin-top: 1.4rem; }

.hero .btn-row { margin-top: 2.2rem; }

.hero-note {
  margin-top: 1.6rem;
  font-size: .85rem;
  color: #7C8BA1;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem .38rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  font-size: .8rem;
  font-weight: 600;
  color: #C6D3E4;
  letter-spacing: .01em;
}

.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 222, 178, .18);
  animation: pulse 2.6s ease-in-out infinite;
}

/* Hero visual panel */

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
  animation: float 9s ease-in-out infinite;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .35rem .9rem;
}

.panel-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.panel-bar .panel-title {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  margin-left: .5rem;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7C8BA1;
  font-weight: 700;
}

.panel-body {
  background: rgba(4, 9, 18, .55);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: grid;
  gap: .75rem;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: .86rem;
  color: #C6D3E4;
}

.panel-row strong { font-weight: 600; color: #fff; font-size: .88rem; }

.panel-row .meta { display: flex; align-items: center; gap: .55rem; }

.panel-row .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(46, 168, 255, .14);
  color: var(--brand);
  flex: none;
}

.panel-row .ico svg { width: 15px; height: 15px; }

.status {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .2rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-ok { background: rgba(23, 222, 178, .14); color: var(--accent); }
.status-info { background: rgba(46, 168, 255, .14); color: var(--brand); }
.status-warn { background: rgba(255, 190, 70, .14); color: #FFBE46; }

.panel-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.panel-meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: grow 2.2s cubic-bezier(.22, .8, .3, 1) both;
}

.panel-foot {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: #7C8BA1;
  letter-spacing: .02em;
  padding-top: .1rem;
}

/* ---------- Trust bar ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding-block: 2.25rem;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.trust-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.1rem;
  list-style: none;
  align-items: center;
}

.trust-items li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: -.01em;
}

.trust-items svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

/* ---------- Grids & cards ---------- */

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

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .28s cubic-bezier(.22, .8, .3, 1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #D2DEEC;
}

.card:hover::after { transform: scaleX(1); }

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

.card p { color: var(--slate); font-size: .95rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  margin-bottom: 1.15rem;
}

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

.section-dark .card {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}

.section-dark .card:hover { border-color: rgba(255, 255, 255, .26); box-shadow: none; }
.section-dark .card p { color: #A9B6C8; }

.section-dark .card-icon { background: rgba(46, 168, 255, .14); color: var(--brand); }

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.15rem;
}

.tag-list li {
  font-size: .78rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .65rem;
}

.card-link { margin-top: 1.15rem; }

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.check-list { list-style: none; display: grid; gap: .9rem; margin-top: 1.75rem; }

.check-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--slate);
}

.check-list strong { color: var(--ink); font-weight: 620; }

.check-list .tick {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: .22rem;
}

.check-list .tick svg { width: 12px; height: 12px; }

.section-dark .check-list li { color: #A9B6C8; }
.section-dark .check-list strong { color: #fff; }
.section-dark .check-list .tick { background: rgba(23, 222, 178, .16); color: var(--accent); }

/* ---------- Steps ---------- */

.steps { counter-reset: step; display: grid; gap: 1.25rem; }

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .28s cubic-bezier(.22, .8, .3, 1), box-shadow .28s ease;
}

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

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: .85rem;
}

.step h3 { margin-bottom: .45rem; }
.step p { font-size: .93rem; color: var(--slate); }

/* ---------- Stats ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat { background: rgba(255, 255, 255, .025); padding: 1.9rem 1.5rem; }

.stat .num {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(100deg, #fff 0%, var(--brand) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat p { margin-top: .6rem; font-size: .88rem; color: #93A3B8; }

/* ---------- Service catalogue ---------- */

.cat {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  scroll-margin-top: 90px;
}

.cat:first-of-type { border-top: 0; padding-top: 0; }

.cat-head { position: sticky; top: 92px; align-self: start; }

.cat-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: .6rem; }
.cat-head p { font-size: .93rem; color: var(--slate); }

.cat-num {
  display: block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--brand);
  margin-bottom: .7rem;
}

.svc-list {
  list-style: none;
  columns: 2;
  column-gap: 2.5rem;
}

.svc-list li {
  break-inside: avoid;
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .42rem 0;
  font-size: .94rem;
  color: var(--slate);
  line-height: 1.5;
}

.svc-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex: none;
  margin-top: .55rem;
}

/* Category jump nav */

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin-top: 2rem;
}

.jump a {
  display: block;
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: .84rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.jump a:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.hero .jump a {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-dark);
  color: #C6D3E4;
}

.hero .jump a:hover {
  background: rgba(46, 168, 255, .16);
  border-color: rgba(46, 168, 255, .55);
  color: #fff;
}

/* ---------- Industry / model rows ---------- */

.row-list { display: grid; gap: 1rem; }

.row-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.row-item:hover { border-color: #D2DEEC; box-shadow: var(--shadow-sm); transform: translateX(3px); }

.row-item h3 { margin-bottom: .35rem; }
.row-item p { font-size: .94rem; color: var(--slate); }

/* ---------- Quote ---------- */

.quote {
  border-left: 3px solid var(--brand);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  max-width: 46rem;
}

.quote blockquote {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 550;
}

.section-dark .quote blockquote { color: #fff; }

.quote cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: .9rem;
  color: var(--slate);
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.75rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #0B2C4E 0%, #071626 55%, #06111E 100%);
  color: #fff;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 40rem; height: 40rem;
  top: -24rem; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 168, 255, .55) 0%, rgba(46, 168, 255, 0) 68%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 { color: #fff; }
.cta-band .lede { color: #A9B8CC; margin-inline: auto; margin-top: 1rem; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

.contact-card .card-icon { margin-bottom: 0; width: 42px; height: 42px; }

.contact-card h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.contact-card p { font-size: .92rem; color: var(--slate); }

.contact-card .value {
  display: block;
  margin-top: .45rem;
  font-weight: 650;
  color: var(--brand-deep);
  font-size: .95rem;
  word-break: break-word;
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }

.hours-table th,
.hours-table td {
  text-align: left;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}

.hours-table th { color: var(--ink); font-weight: 600; }
.hours-table td { color: var(--slate); text-align: right; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 1rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 1.4rem 1.5rem;
}

.faq-item h3 { margin-bottom: .45rem; font-size: 1.02rem; }
.faq-item p { font-size: .94rem; color: var(--slate); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  color: #93A3B8;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer .brand { color: #fff; margin-right: 0; }

.footer-about { max-width: 34ch; margin-top: 1.1rem; color: #7C8BA1; font-size: .9rem; line-height: 1.6; }

.footer-col h4 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.footer-col ul { list-style: none; display: grid; gap: .6rem; }

.footer-col a {
  color: #93A3B8;
  text-decoration: none;
  font-size: .9rem;
  transition: color .18s ease;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: .84rem;
  color: #6E7D93;
}

.footer-bottom a { color: inherit; }

/* ---------- Motion ---------- */

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4rem, 3rem, 0) scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(23, 222, 178, .18); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(23, 222, 178, .06); }
}

@keyframes grow { from { width: 0; } }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise { animation: rise .8s cubic-bezier(.22, .8, .3, 1) both; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .22s; }
.d3 { animation-delay: .34s; }
.d4 { animation-delay: .46s; }

/* Scroll-linked reveal — progressive enhancement, CSS only */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover, .step:hover, .btn:hover, .row-item:hover, .contact-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { max-width: 30rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { grid-template-columns: minmax(0, 1fr); }
  .cat-head { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; min-height: 0; padding-block: .9rem; gap: .5rem 1rem; }
  .brand { margin-right: auto; }
  .nav-links { order: 3; width: 100%; gap: .1rem; margin-inline: -.8rem; }
  .nav-links a { padding: .45rem .7rem; font-size: .89rem; }
  .nav-cta { margin-left: 0; }
  .grid-3, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-list { columns: 1; }
}

@media (max-width: 620px) {
  .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .row-item { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .card { padding: 1.5rem; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
}
