/* ===================================
   PLAIN SIGHT – STYLESHEET
   =================================== */

/* --- Custom Properties --- */
:root {
  /* Dark mode (default) */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-2: #161616;
  --color-border: #222222;
  --color-text: #ffffff;
  --color-text-muted: #888888;
  --color-accent: #ffffff;
  --color-dot: rgba(255, 255, 255, 0.12);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-2: #ebebeb;
  --color-border: #e0e0e0;
  --color-text: #0a0a0a;
  --color-text-muted: #666666;
  --color-accent: #0a0a0a;
  --color-dot: rgba(0, 0, 0, 0.10);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  background-image: radial-gradient(var(--color-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

/* Ensure [hidden] always wins over display:flex/grid rules */
[hidden] { display: none !important; }

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Screen reader only --- */
.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;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   NAVIGATION
   =================================== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  border-bottom-color: var(--color-border);
}

/* backdrop-filter on pseudo-element so nav doesn't create a fixed containing block */
#main-nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}

[data-theme="light"] #main-nav.scrolled::before {
  background: rgba(245, 245, 245, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Fallback text style if image fails to load */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.nav-cta {
  color: var(--color-text) !important;
  border: 1px solid var(--color-border);
  padding: 8px 20px;
  border-radius: 100px;
  transition: border-color var(--transition), background var(--transition) !important;
}

.nav-cta:hover {
  border-color: #444 !important;
  background: rgba(255, 255, 255, 0.05);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  z-index: 201;
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

[data-theme="light"] .nav-toggle {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  scroll-margin-top: 0;
}

/* Animated gradient mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,255,255,0.035) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255,255,255,0.02) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,255,255,0.025) 0%, transparent 50%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.highlight {
  color: var(--color-text);
  background: linear-gradient(120deg, rgba(251,191,36,0.13) 0%, rgba(244,114,182,0.10) 100%);
  border: 1px solid rgba(251,191,36,0.22);
  border-radius: 6px;
  padding: 2px 10px;
  display: inline-block;
}

[data-theme="light"] .highlight {
  background: linear-gradient(120deg, rgba(217,119,6,0.10) 0%, rgba(219,39,119,0.08) 100%);
  border-color: rgba(217,119,6,0.20);
}

.hero-title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
  border-radius: 2px;
}

.hero-ingress {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 44px;
  font-weight: 300;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-border));
  margin: 0 auto;
  animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0; transform: scaleY(0.5) translateY(-10px); }
  50%       { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: #e8e8e8;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: #444;
  background: rgba(255, 255, 255, 0.04);
}

/* ===================================
   MARQUEE
   =================================== */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12px;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.marquee-content .dot {
  color: var(--color-border);
  font-size: 1.2rem;
  line-height: 1;
}

/* ===================================
   SECTION COMMON
   =================================== */
section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-header {
  margin-bottom: 64px;
  max-width: 560px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===================================
   SERVICES
   =================================== */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.service-card:hover {
  border-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card--featured {
  border-color: rgba(255,255,255,0.15);
  background: var(--color-surface-2);
}

.service-card--featured::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-text);
  padding: 3px 10px;
  border-radius: 100px;
}

.card-icon {
  color: var(--color-text-muted);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.card-footer {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition), gap var(--transition);
}

.card-link:hover {
  color: var(--color-text);
  gap: 10px;
}

.services-cta {
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  background: var(--color-surface);
}

.services-cta p {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   SOCIAL PROOF
   =================================== */
.social-proof {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 64px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 36px;
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.testimonial {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  background: var(--color-bg);
  opacity: 0.5;
}

.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===================================
   FAQ
   =================================== */
.faq {
  background: var(--color-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 32px;
  text-align: left;
  background: var(--color-surface);
  gap: 24px;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-surface-2);
}

.faq-question[aria-expanded="true"] {
  background: var(--color-surface-2);
}

.faq-question span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  flex: 1;
}

.faq-icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 32px 28px;
  background: var(--color-surface-2);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 20px;
}

/* Form */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  resize: none;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #444;
}

#contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  margin-top: 4px;
}

#contact-submit:hover:not(:disabled) {
  background: #e8e8e8;
  transform: translateY(-1px);
}

#contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

.form-feedback p {
  flex: 1;
}

.form-feedback a {
  color: var(--color-text);
  text-decoration: underline;
}

.form-feedback--success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.form-feedback--error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #f87171;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
  background: var(--color-bg);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 100px;
}

.footer-social:hover {
  color: var(--color-text);
  border-color: #444;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2) { transition-delay: 100ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 200ms; }

.faq-list .faq-item:nth-child(1) { transition-delay: 0ms; }
.faq-list .faq-item:nth-child(2) { transition-delay: 60ms; }
.faq-list .faq-item:nth-child(3) { transition-delay: 120ms; }
.faq-list .faq-item:nth-child(4) { transition-delay: 180ms; }
.faq-list .faq-item:nth-child(5) { transition-delay: 240ms; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:last-child {
    grid-column: span 2;
  }

  .contact-inner {
    gap: 48px;
  }
}

@media (max-width: 860px) {
  section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex; /* becomes fixed circle at bottom center */
  }

  .nav-links {
    display: none;
    position: fixed;
    bottom: 96px; /* above hamburger circle (28px + 52px + 16px gap) */
    left: 16px;
    right: 16px;
    z-index: 200;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  }

  [data-theme="light"] .nav-links {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-cta {
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 20px !important;
    color: var(--color-text) !important;
  }

  /* Hero */
  .hero {
    padding: 100px 0 72px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: span 1;
  }

  .services-cta {
    padding: 32px 24px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* FAQ */
  .faq-question {
    padding: 22px 24px;
  }

  .faq-answer {
    padding: 0 24px 22px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stat-item {
    padding: 28px 24px;
  }

  .testimonial {
    padding: 32px 24px;
  }

  .services-cta {
    padding: 28px 20px;
  }
}

/* ===================================
   ABOUT
   =================================== */
#about {
  padding: 120px 24px;
  display: flex;
  justify-content: center;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  gap: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

.about-image-wrapper img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  filter: grayscale(20%);
}

.about-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 8px 0 0;
}

.about-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.about-founder {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-founder-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.about-founder-title {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.about-founder-bio {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 8px 0 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.about-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .gradient-mesh {
    animation: none;
  }

  .scroll-line {
    animation: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .status-dot {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
