/* C&J Web Design — premium agency (light / dark) */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-elevated: #f4f4f5;
  --text: #09090b;
  --muted: #71717a;
  --accent: #059669;
  --accent-hover: #10b981;
  --accent-glow: rgba(5, 150, 105, 0.35);
  --border: #e4e4e7;
  --shadow: 0 24px 60px -20px rgba(9, 9, 11, 0.12);
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Syne", var(--font);
  --header-bg: rgba(250, 250, 250, 0.78);
  --cta-bg: #09090b;
  --cta-text: #fafafa;
  --cta-muted: #a1a1aa;
  --orb-a: rgba(5, 150, 105, 0.15);
  --orb-b: rgba(59, 130, 246, 0.12);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --bg: #09090b;
  --surface: #121214;
  --surface-elevated: #18181b;
  --text: #fafafa;
  --muted: #a1a1aa;
  --accent: #34d399;
  --accent-hover: #6ee7b7;
  --accent-glow: rgba(52, 211, 153, 0.25);
  --border: #27272a;
  --shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(9, 9, 11, 0.82);
  --cta-bg: #18181b;
  --cta-text: #fafafa;
  --cta-muted: #a1a1aa;
  --orb-a: rgba(52, 211, 153, 0.12);
  --orb-b: rgba(96, 165, 250, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.45s ease, color 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px -24px rgba(9, 9, 11, 0.35);
}

[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 16px 48px -20px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.35s ease;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
}

.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-list a:not(.btn):hover {
  color: var(--text);
}

.nav-list a:not(.btn):hover::after {
  width: 100%;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
  display: grid;
  place-items: center;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(24px);
  background: #fafafa;
}

.theme-toggle svg {
  width: 12px;
  height: 12px;
}

.theme-toggle .icon-sun {
  color: var(--bg);
}

.theme-toggle .icon-moon {
  color: #09090b;
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Hero + motion background */
#home.hero {
  padding: clamp(3.25rem, 9vw, 6.5rem) 0 clamp(4rem, 11vw, 7.5rem);
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}

.hero-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-image: radial-gradient(circle at 18% 28%, var(--orb-a) 0%, transparent 42%),
    radial-gradient(circle at 82% 18%, var(--orb-b) 0%, transparent 38%),
    radial-gradient(circle at 50% 88%, rgba(5, 150, 105, 0.08) 0%, transparent 45%);
  animation: meshShift 14s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate(-2%, 1%) scale(1.03);
    opacity: 0.95;
  }
}

.hero-motion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.6;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.9;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.hero-orb--1 {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  background: var(--orb-a);
  top: -12%;
  right: -8%;
}

.hero-orb--2 {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  background: var(--orb-b);
  bottom: -15%;
  left: -10%;
  animation-delay: -6s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(5, 150, 105, 0.08);
  top: 40%;
  left: 35%;
  filter: blur(60px);
  animation-delay: -12s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3%, 4%) scale(1.06);
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  padding-top: 0.25rem;
  border-top: 2px solid var(--accent);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-visual-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.hero-visual-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.55), transparent 45%);
  pointer-events: none;
}

.hero-visual {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.hero-visual-wrap:hover .hero-visual {
  transform: scale(1.06);
}

.hero-visual-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: #fff;
}

.hero-visual-caption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.hero-visual-caption span {
  font-size: 0.85rem;
  opacity: 0.9;
}

section {
  padding: clamp(3.25rem, 6.5vw, 5.25rem) 0;
  position: relative;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.alt-bg {
  background: var(--surface-elevated);
  border-block: 1px solid var(--border);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing (single package) */
.pricing-wrap {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  width: 100%;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.pricing-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.pricing-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
}

.pricing-amount .setup {
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-amount .monthly {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
}

.pricing-amount .monthly strong {
  color: var(--accent);
  font-size: 1.35rem;
}

.pricing-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.pricing-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.15rem;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

.pricing-stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Stripe / checkout modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  max-width: 440px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-elevated);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
}

.modal-close:hover {
  color: var(--text);
}

.modal-dialog h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  padding-right: 2rem;
}

.modal-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.stripe-card-panel {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.stripe-card-panel label {
  color: #94a3b8;
  font-size: 0.75rem;
}

.stripe-card-panel input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  margin-bottom: 0.75rem;
}

.stripe-card-panel input::placeholder {
  color: #64748b;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.modal-actions .btn {
  width: 100%;
}

.modal-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 1rem 0 0;
  padding: 0.85rem;
  background: var(--surface-elevated);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(5, 150, 105, 0.35);
}

.portfolio-visual {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .portfolio-visual img {
  transform: scale(1.1);
}

.portfolio-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.82), transparent 48%);
  pointer-events: none;
  opacity: 0.88;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.portfolio-card:hover .portfolio-visual::after {
  opacity: 1;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.88), rgba(9, 9, 11, 0.12) 55%, transparent 72%);
}

.portfolio-visual span:not(.portfolio-hint) {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.portfolio-hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.portfolio-card:hover .portfolio-hint {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.portfolio-body p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: var(--surface-elevated);
  color: var(--muted);
  border: 1px solid var(--border);
}

.process-steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 860px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.process-step h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band {
  background: var(--cta-bg);
  color: var(--cta-text);
  text-align: center;
  padding: clamp(3.25rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(52, 211, 153, 0.15), transparent 55%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  color: var(--cta-muted);
  max-width: 44ch;
}

.cta-band .btn-primary {
  background: var(--accent);
  color: #fff;
}

.cta-band .btn-primary:hover {
  background: var(--accent-hover);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 920px) {
  .contact-grid {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
  }
}

.contact-info h3 {
  font-family: var(--display);
  margin-top: 0;
  font-size: 1.35rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.contact-list strong {
  color: var(--text);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-footer {
  margin-top: 1.25rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-config-warning {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: var(--text);
}

.form-config-warning code {
  font-size: 0.85em;
}

[data-theme="dark"] .form-config-warning {
  background: rgba(234, 179, 8, 0.08);
  border-color: rgba(250, 204, 21, 0.35);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.28);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    flex: none;
    justify-content: stretch;
    position: fixed;
    inset: 0 0 auto 0;
    top: 57px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-list a:not(.btn) {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }

  .nav-list a:not(.btn):hover {
    background: var(--surface-elevated);
  }

  .nav-list a:not(.btn)::after {
    display: none;
  }

  .nav-list .btn {
    width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

/* —— Elite additions: glass, trust strip, possible grid, compare, device, reviews —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(228, 228, 231, 0.85);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 8px 32px -12px rgba(9, 9, 11, 0.12);
}

[data-theme="dark"] .glass-panel {
  background: rgba(24, 24, 27, 0.72);
  border-color: rgba(63, 63, 70, 0.9);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.5);
}

.trust-strip {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.trust-guarantee {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.55;
}

.trust-guarantee strong {
  color: var(--accent);
}

.trust-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-step {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trust-step-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.trust-step h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.trust-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

#what-we-do {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-bottom: 1px solid var(--border);
}

.what-we-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .what-we-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.what-we-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  margin: 0;
}

.what-we-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.what-we-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.testimonials-band {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.testimonials-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cta-band .btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--cta-text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-band .btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.possible-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .possible-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .possible-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.possible-card {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius) + 4px);
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.possible-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.possible-card-visual {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.possible-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.possible-card:hover .possible-card-visual img {
  transform: scale(1.06);
}

.possible-card-visual--mobile {
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.2), rgba(59, 130, 246, 0.15));
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.possible-mini-screen {
  width: 72px;
  height: 120px;
  border-radius: 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  display: grid;
  gap: 6px;
  padding: 10px 8px;
  box-shadow: var(--shadow);
}

.possible-mini-screen span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-elevated);
}

.possible-mini-screen span:nth-child(1) {
  height: 22px;
  background: rgba(5, 150, 105, 0.25);
}

.possible-mini-screen span:nth-child(3) {
  height: 32px;
  background: rgba(59, 130, 246, 0.15);
}

.possible-card h3 {
  font-family: var(--display);
  font-size: 1.02rem;
  margin: 0;
  padding: 1rem 1.15rem 0.35rem;
}

.possible-card p {
  margin: 0;
  padding: 0 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.possible-link {
  padding: 1rem 1.15rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.device-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

@media (min-width: 900px) {
  .device-section {
    grid-template-columns: 1fr 280px;
    gap: 3rem;
  }
}

.device-copy .section-title {
  margin-bottom: 0.75rem;
}

.device-frame {
  justify-self: center;
  width: 260px;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3f3f46, #18181b);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.device-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  height: 420px;
}

.device-scroll {
  animation: deviceScroll 14s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes deviceScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-scroll {
    animation: none;
  }
}

.device-block {
  height: 72px;
  margin: 0 12px 10px;
  border-radius: 12px;
}

.device-block--hero {
  height: 120px;
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(59, 130, 246, 0.2));
}

.device-block--cta {
  height: 44px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
}

.device-block--cards {
  height: 100px;
  background: linear-gradient(90deg, var(--surface-elevated), var(--surface));
  border: 1px dashed var(--border);
}

.device-block--footer {
  height: 56px;
  background: var(--text);
  opacity: 0.08;
  margin-bottom: 24px;
}

.reviews-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .reviews-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.reviews-list {
  display: grid;
  gap: 1rem;
}

.reviews-empty {
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.client-review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.client-review-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(5, 150, 105, 0.28);
}

[data-theme="dark"] .client-review-card:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.client-review-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.client-review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.client-review-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.review-star-empty {
  color: var(--border);
}

.client-review-date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.client-review-text {
  margin: 0;
}

.client-review-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.review-form-card h3.review-form-title {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.review-form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.label-like {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.star-input {
  display: flex;
  gap: 0.15rem;
}

.star-btn {
  background: none;
  border: none;
  padding: 0.15rem;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn.is-active {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.08);
}

.review-form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

#review-form-status.is-error {
  color: #dc2626;
}

#review-form-status.is-success {
  color: var(--accent);
}

[data-theme="dark"] #review-form-status.is-error {
  color: #fca5a5;
}

[data-theme="dark"] #review-form-status.is-success {
  color: var(--accent-hover);
}

.form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.form-select:hover {
  border-color: var(--muted);
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

[data-theme="dark"] .form-select:focus {
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.form-alert--error {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

[data-theme="dark"] .form-alert--error {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.form-card input.is-invalid,
.form-card textarea.is-invalid,
.form-card select.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

[data-theme="dark"] .form-card input.is-invalid,
[data-theme="dark"] .form-card textarea.is-invalid,
[data-theme="dark"] .form-card select.is-invalid {
  border-color: #f87171;
}
