/* NetlifyProton — purple · white · black · light/dark */

:root {
  --purple-950: #1e0a3c;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-100: #ede9fe;
  --purple-50: #f5f3ff;
  --black: #0a0a0a;
  --white: #ffffff;
  --ok: #16a34a;
  --warn: #ca8a04;
  --bad: #dc2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.3s ease-in-out;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

html[data-theme="light"] {
  --page-bg: #ffffff;
  --page-elevated: #fafafa;
  --text: #0a0a0a;
  --text-muted: #525252;
  --text-subtle: #737373;
  --border: #e5e5e5;
  --card-bg: #ffffff;
  --card-muted: #f5f5f5;
  --hero-bg: linear-gradient(165deg, #fafafa 0%, #ffffff 50%, var(--purple-50) 100%);
  --nav-glass: rgba(255, 255, 255, 0.9);
  --nav-border: rgba(0, 0, 0, 0.06);
  --trust-bg: var(--black);
  --trust-text: var(--white);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --input-bg: #ffffff;
  --footer-bg: var(--black);
  --footer-text: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] {
  --page-bg: #0a0a0a;
  --page-elevated: #141414;
  --text: #fafafa;
  --text-muted: #a3a3a3;
  --text-subtle: #737373;
  --border: #262626;
  --card-bg: #141414;
  --card-muted: #1a1a1a;
  --hero-bg: linear-gradient(165deg, #0a0a0a 0%, #1e1b4b 42%, #0a0a0a 100%);
  --nav-glass: rgba(10, 10, 10, 0.88);
  --nav-border: rgba(255, 255, 255, 0.08);
  --trust-bg: #000000;
  --trust-text: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
  --input-bg: #171717;
  --footer-bg: #000000;
  --footer-text: rgba(255, 255, 255, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

.icon-min {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* —— Theme toggle —— */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
}

.theme-toggle:hover {
  border-color: var(--purple-600);
  color: var(--purple-600);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}
html[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}
html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* —— Nav —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: background var(--transition), backdrop-filter var(--transition),
    box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--nav-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-mark {
  color: var(--purple-600);
}

.site-header:not(.is-scrolled) .logo {
  color: var(--text);
}

.nav-links {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--purple-600);
}

.nav-cta {
  display: none;
  padding: 0.5rem 1rem;
  background: var(--purple-600);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  border: none;
}

.nav-cta:hover {
  background: var(--purple-800);
  transform: translateY(-1px);
}

.menu-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
}

.menu-toggle:hover {
  border-color: var(--border);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer a:hover {
  color: var(--purple-600);
}

@media (min-width: 768px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5.5rem 0 3.5rem;
  background: var(--hero-bg);
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

.hero-inner .track-card {
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple-700);
  margin-bottom: 0.75rem;
}

html[data-theme="dark"] .hero-eyebrow {
  color: var(--purple-400);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

.hero-lead {
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.track-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .track-card {
    padding: 1.75rem 2rem;
  }
}

.track-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.track-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .track-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.track-input {
  flex: 1;
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.track-input::placeholder {
  color: var(--text-subtle);
}

.track-input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.track-submit {
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-md);
  background: var(--black);
  color: var(--white);
  white-space: nowrap;
}

html[data-theme="dark"] .track-submit {
  background: var(--purple-600);
  color: var(--white);
}

.track-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

html[data-theme="light"] .track-submit:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.track-hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.hero-trust-line {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust-line svg {
  color: var(--purple-600);
  flex-shrink: 0;
}

/* —— Trust strip —— */
.trust-strip {
  background: var(--trust-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--trust-text);
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--purple-400);
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--page-elevated);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

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

.feature-card {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.35);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Capability stats (no images) */
.capability-stats {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

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

.stat-pill {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-pill-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-pill strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.stat-pill span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

#tracking-anchor {
  scroll-margin-top: 5rem;
}

.results-panel {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

.alert-invalid {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.alert-invalid h3 {
  margin: 0 0 0.5rem;
  color: var(--bad);
  font-size: 1.05rem;
}

.alert-invalid p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.support-banner {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
}

html[data-theme="dark"] .support-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, var(--purple-950) 100%);
  border-color: rgba(124, 58, 237, 0.25);
}

.support-banner h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.support-banner p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline-light {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent-outline {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--purple-400);
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-100);
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-accent-outline:hover {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: var(--white);
}

.btn-secondary-outline {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-secondary-outline:hover {
  border-color: var(--purple-600);
  color: var(--purple-600);
}

.shipment-shell {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .shipment-shell {
    padding: 2rem;
  }
}

.shipment-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.shipment-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.tracking-id {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-transit {
  background: var(--purple-100);
  color: var(--purple-800);
}
html[data-theme="dark"] .badge-transit {
  background: rgba(124, 58, 237, 0.25);
  color: var(--purple-400);
}

.badge-delivery {
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-700);
}
html[data-theme="dark"] .badge-delivery {
  color: var(--purple-300);
}

.badge-customs {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
html[data-theme="dark"] .badge-customs {
  background: rgba(255, 255, 255, 0.06);
}

.badge-cleared {
  background: rgba(22, 163, 74, 0.12);
  color: var(--ok);
}

.badge-delivered {
  background: rgba(22, 163, 74, 0.18);
  color: #15803d;
}

.badge-payment,
.badge-hold {
  background: rgba(220, 38, 38, 0.1);
  color: var(--bad);
}

.badge-default {
  background: var(--card-muted);
  color: var(--text-muted);
}

.shipment-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .shipment-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.timeline-wrap h4 {
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-subtle);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-item {
  position: relative;
  padding-left: 2.1rem;
  padding-bottom: 1.35rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.85rem;
  bottom: -0.35rem;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item.is-complete::before {
  background: linear-gradient(180deg, var(--purple-600) 0%, var(--border) 100%);
}

.timeline-node {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card-bg);
  box-shadow: 0 0 0 2px var(--border);
}

.timeline-item.is-complete .timeline-node {
  background: var(--purple-600);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35);
}

.timeline-item.is-active .timeline-node {
  background: var(--black);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5);
  animation: node-pulse 2s ease-in-out infinite;
}

html[data-theme="dark"] .timeline-item.is-active .timeline-node {
  background: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.45);
}

.timeline-dot-inner {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.timeline-item.is-pending .timeline-node {
  background: var(--card-muted);
  box-shadow: 0 0 0 2px var(--border);
}

@keyframes node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.45);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(124, 58, 237, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item.is-active .timeline-node {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.timeline-body {
  padding-top: 0.05rem;
}

.timeline-title {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.timeline-meta {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.timeline-desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: var(--card-muted);
}

.detail-card h4 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.pkg-photo-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.pkg-photo-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.pkg-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: var(--black);
  color: var(--purple-400);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

html[data-theme="dark"] .pkg-tag {
  background: var(--purple-950);
  color: var(--purple-300);
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.pkg-photo-caption {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pkg-ref-line {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.pkg-ref-id {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.detail-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.detail-row dt {
  margin: 0;
  color: var(--text-subtle);
  font-weight: 500;
}

.detail-row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

.notice-box {
  margin-top: 0.65rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(202, 138, 4, 0.08);
  border: 1px solid rgba(202, 138, 4, 0.35);
  font-size: 0.84rem;
  color: var(--warn);
  line-height: 1.5;
}

html[data-theme="dark"] .notice-box {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.security-callout {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.22);
  font-size: 0.78rem;
  color: var(--bad);
}

.cards-3 {
  display: grid;
  gap: 1.15rem;
}

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

.service-card {
  padding: 1.35rem;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

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

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.btn-primary {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
}

html[data-theme="dark"] .btn-primary {
  background: var(--purple-600);
}

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

.btn-primary-inline {
  width: auto;
  padding: 0.6rem 1.2rem;
}

.contact-aside {
  padding: 1.35rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

html[data-theme="dark"] .contact-aside {
  background: var(--card-bg);
  border-color: rgba(124, 58, 237, 0.2);
}

.contact-aside h3 {
  margin: 0 0 0.85rem;
}

.contact-line {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.contact-line strong {
  display: block;
  color: var(--purple-400);
  margin-bottom: 0.12rem;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.75rem 0 1.75rem;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

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

.site-footer .logo {
  color: var(--white);
}

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

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

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

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

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

.reveal-delay-1 {
  transition-delay: 0.07s;
}
.reveal-delay-2 {
  transition-delay: 0.14s;
}
.reveal-delay-3 {
  transition-delay: 0.2s;
}
