/* R&S Computers — brand from logo: cyan #00AEEF, red #C1272D, dark base */

:root {
  --bg-deep: #060608;
  --bg-card: #0f1114;
  --bg-elevated: #14181d;
  --cyan: #00aeef;
  --cyan-dim: rgba(0, 174, 239, 0.15);
  --cyan-glow: rgba(0, 174, 239, 0.45);
  --red: #c1272d;
  --red-dim: rgba(193, 39, 45, 0.2);
  --text: #e8eaed;
  --text-muted: #9aa3af;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 100px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-med: 0.45s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

@media (min-width: 960px) {
  :root {
    --header-h: 128px;
  }
}

body.is-loading {
  opacity: 0;
}

body.is-ready {
  opacity: 1;
  transition: opacity 0.6s var(--ease-out-expo);
}

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

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

a:hover {
  color: #4ddbff;
  text-shadow: 0 0 20px var(--cyan-glow);
}

/* ——— Typography ——— */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75em;
}

h3 {
  font-size: 1.15rem;
  margin-top: 0;
}

p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* ——— Layout ——— */
.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

/* ——— Grid pattern + ambient glow (hero) ——— */
.mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--cyan-dim), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, var(--red-dim), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 174, 239, 0.08), transparent);
  z-index: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  z-index: 0;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s var(--ease-out-expo),
    border-color 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}

.site-header.is-scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(1200px, 100% - 1.25rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-shadow: none;
  flex-shrink: 0;
  min-width: 0;
}

.logo-link:hover {
  color: var(--text);
  text-shadow: none;
}

.logo-link img {
  display: block;
  width: auto;
  max-width: min(360px, 70vw);
  height: clamp(68px, 22vw, 112px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px var(--cyan-dim));
  transition: filter 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

@media (min-width: 960px) {
  .logo-link img {
    max-width: min(440px, 38vw);
    height: clamp(88px, 12vw, 132px);
  }
}

.logo-link:hover img {
  filter: drop-shadow(0 0 18px var(--cyan-glow));
  transform: scale(1.03);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 1;
  min-width: 0;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
}

@media (min-width: 960px) and (max-width: 1249px) {
  .nav-desktop a {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
  }

  .header-cta {
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
  }
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  position: relative;
  text-shadow: none;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: translateX(-50%);
  transition: width 0.35s var(--ease-out-expo);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--text);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: calc(100% - 1.2rem);
}

.nav-dropdown {
  position: relative;
  z-index: 2;
}

/* Invisible hit area between “Services” and the panel so :hover is not lost in the gap */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 20px;
  z-index: 1001;
  pointer-events: none;
}

.nav-dropdown:hover::after {
  pointer-events: auto;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a svg {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: min(280px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 174, 239, 0.08);
  opacity: 0;
  visibility: hidden;
  z-index: 1002;
  transition:
    opacity 0.25s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo),
    visibility 0.25s;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: var(--text-muted);
}

.nav-dropdown-panel a::after {
  display: none;
}

.nav-dropdown-panel a:hover {
  background: var(--cyan-dim);
  color: var(--text);
}

.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle:hover {
  border-color: rgba(0, 174, 239, 0.35);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(6, 6, 8, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo),
    visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transform: translateX(-12px);
  opacity: 0;
  transition: color 0.25s, transform 0.4s var(--ease-out-expo), opacity 0.4s;
}

.mobile-nav.is-open a {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-nav a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-nav a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-nav a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-nav a:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-nav a:nth-child(6) {
  transition-delay: 0.3s;
}
.mobile-nav a:nth-child(7) {
  transition-delay: 0.35s;
}
.mobile-nav a:nth-child(8) {
  transition-delay: 0.4s;
}
.mobile-nav a:nth-child(9) {
  transition-delay: 0.45s;
}
.mobile-nav a:nth-child(10) {
  transition-delay: 0.5s;
}

.mobile-nav-sub {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding-left: 1rem !important;
  color: var(--text-muted) !important;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 45%,
    transparent 50%
  );
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), #9e1f24);
  color: #fff;
  box-shadow: 0 4px 24px var(--red-dim);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(193, 39, 45, 0.45);
  transform: translateY(-2px);
  color: #fff;
  text-shadow: none;
}

.btn--secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 174, 239, 0.45);
  box-shadow: inset 0 0 20px var(--cyan-dim);
}

.btn--secondary:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  box-shadow: 0 0 28px var(--cyan-dim);
  transform: translateY(-2px);
  color: #b8f0ff;
  text-shadow: none;
}

.btn--ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(0, 174, 239, 0.3);
  color: var(--cyan);
  text-shadow: none;
}

/* ——— Hero ——— */
.hero {
  min-height: min(92vh, 820px);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  animation: hero-badge-in 1s var(--ease-out-expo) 0.1s both;
}

@keyframes hero-badge-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #b8c5d4 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-title-in 1s var(--ease-out-expo) 0.15s both;
  overflow-wrap: anywhere;
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 38rem;
  margin-bottom: 2rem;
  animation: hero-title-in 1s var(--ease-out-expo) 0.28s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: hero-title-in 1s var(--ease-out-expo) 0.4s both;
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero__visual {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  animation: hero-title-in 1s var(--ease-out-expo) 0.52s both;
}

.hero-stat {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.35s,
    box-shadow 0.35s;
}

.hero-stat:hover {
  transform: translateY(-6px) perspective(800px) rotateX(2deg);
  border-color: rgba(0, 174, 239, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px var(--cyan-dim);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: orb-float 18s ease-in-out infinite;
}

.hero-orb--1 {
  width: 280px;
  height: 280px;
  background: var(--cyan);
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 200px;
  height: 200px;
  background: var(--red);
  bottom: 20%;
  left: -5%;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, 15px) scale(1.05);
  }
  66% {
    transform: translate(15px, -10px) scale(0.95);
  }
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 4rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  color: var(--text);
  overflow-wrap: anywhere;
}

.page-hero .hero__sub {
  margin-bottom: 0;
  max-width: 42rem;
}

/* ——— Section titles ——— */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head p {
  margin: 0;
  overflow-wrap: anywhere;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: block;
}

/* ——— Cards / grids ——— */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out-expo),
    border-color 0.4s,
    box-shadow 0.4s;
  transform-style: preserve-3d;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
  border-color: rgba(0, 174, 239, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px var(--cyan-dim);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  transition: box-shadow 0.35s, transform 0.35s var(--ease-out-expo);
}

.card:hover .card__icon {
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: scale(1.08);
}

.card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card .btn {
  margin-top: 1.25rem;
}

/* ——— Why / features list ——— */
.features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-block {
  padding: 1.5rem 1.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.35s, transform 0.35s var(--ease-out-expo);
}

.feature-block:hover {
  border-color: rgba(0, 174, 239, 0.25);
  transform: translateX(6px);
}

.feature-block h3 {
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* ——— Process steps ——— */
.process-steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 1.5rem;
  padding-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out-expo);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 174, 239, 0.12);
  line-height: 1;
}

.process-step:hover {
  border-color: rgba(193, 39, 45, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.process-step h3 {
  font-size: 1rem;
  color: var(--text);
}

/* ——— CTA band ——— */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(0, 174, 239, 0.08), rgba(193, 39, 45, 0.08)),
    var(--bg-card);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg at 50% 50%, transparent, var(--cyan-dim), transparent 40%);
  animation: cta-spin 14s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes cta-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.cta-band > .btn + .btn {
  margin-left: 0.75rem;
}

@media (max-width: 520px) {
  .cta-band > .btn {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto;
    justify-content: center;
  }

  .cta-band > .btn + .btn {
    margin-left: auto !important;
    margin-top: 0.75rem;
  }
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}

.faq-trigger:hover {
  color: var(--cyan);
}

.faq-trigger svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-out-expo);
  color: var(--cyan);
}

.faq-item.is-open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out-expo);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  padding-bottom: 1.25rem;
  margin: 0;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  margin-top: 2rem;
  background: linear-gradient(180deg, var(--bg-deep), #030304);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.site-footer a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ——— Contact form ——— */
.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ——— Map ——— */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.map-wrap iframe {
  width: 100%;
  height: min(420px, 55vh);
  min-height: 260px;
  border: 0;
  display: block;
}

@media (max-width: 480px) {
  .map-wrap iframe {
    min-height: 220px;
    height: 280px;
  }
}

/* ——— Lists ——— */
.content-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.content-list li {
  margin-bottom: 0.5rem;
}

.prose {
  max-width: 720px;
}

.prose.wide {
  max-width: 820px;
}

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ——— Sticky mobile CTA ——— */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(6, 6, 8, 0.95) 30%);
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out-expo),
    opacity 0.4s;
  pointer-events: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta .btn {
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ——— Two column ——— */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Services page links ——— */
.service-link-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
}

.service-link:hover {
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--cyan);
}

.service-link h3 {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-size: 1.1rem;
}

.service-link p {
  margin: 0;
  font-size: 0.9rem;
}

.service-link-arrow {
  margin-left: auto;
  color: var(--cyan);
  font-size: 1.25rem;
  transition: transform 0.35s var(--ease-out-expo);
}

.service-link:hover .service-link-arrow {
  transform: translateX(6px);
}

@media (max-width: 599px) {
  .service-link {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.2rem;
  }

  .service-link-arrow {
    margin-left: 0;
    align-self: flex-end;
    margin-top: 0.35rem;
  }

  .service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), -4px 0 0 var(--cyan);
  }
}

/* ——— Contact page card ——— */
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-card__actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}

@media (max-width: 480px) {
  .contact-card__actions .btn {
    min-width: 100%;
    justify-content: center;
  }
}

/* ——— Divider ——— */
hr.soft {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-orb,
  .cta-band::after {
    animation: none !important;
  }

  .hero__badge,
  .hero h1,
  .hero__sub,
  .hero__actions,
  .hero__visual {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
