/* ============================================================
   SecureTech Solutions — Main Stylesheet
   ============================================================ */

/* ── 1. GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── 2. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary:   #0A0B0F;
  --bg-surface:   #111318;
  --bg-elevated:  #161B27;
  --border:       #1E2130;
  --blue:         #3B82F6;
  --violet:       #7C3AED;
  --gradient:     linear-gradient(135deg, #3B82F6, #7C3AED);
  --glow:         rgba(59, 130, 246, 0.15);
  --glow-strong:  rgba(59, 130, 246, 0.30);
  --text-primary: #F1F5F9;
  --text-muted:   #94A3B8;
  --text-heading: #FFFFFF;

  /* Typography scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --transition: 0.3s ease;

  /* Layout */
  --container: 1200px;
  --section-py: 96px;
}

/* ── 3. RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 4. UTILITY CLASSES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-center {
  text-align: center;
}

.section-center .section-sub {
  margin-inline: auto;
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.30);
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.55);
  transform: scale(1.02);
}

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

.btn-secondary:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
}

.btn-white {
  background: #fff;
  color: #0A0B0F;
  font-weight: 700;
}

.btn-white:hover {
  background: #e8eef7;
  transform: scale(1.02);
}

/* ── 6. TOPBAR ───────────────────────────────────────────── */
.topbar {
  background: #0D0F14;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

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

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.topbar-item svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* ── 7. NAVBAR ───────────────────────────────────────────── */
.navbar-cta {
  display: inline-flex;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), backdrop-filter var(--transition), background var(--transition);
}

.navbar.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 11, 15, 0.85);
  border-bottom-color: var(--border);
}

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

/* Logo */
.navbar-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-heading);
  flex-shrink: 0;
  line-height: 1;
}

.navbar-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-heading);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.navbar-hamburger:hover {
  background: var(--bg-elevated);
}

.navbar-hamburger svg {
  color: var(--text-primary);
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.navbar-mobile.open {
  display: block;
}

.navbar-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}

.navbar-mobile-links a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.navbar-mobile-links a:last-child {
  border-bottom: none;
}

.navbar-mobile-links a:hover,
.navbar-mobile-links a.active {
  color: var(--text-heading);
}

.navbar-mobile-cta {
  padding: 0 24px 24px;
}

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

/* ── 8. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background-image:
    linear-gradient(rgba(10, 11, 15, 0.72), rgba(10, 11, 15, 0.72)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?fm=webp&w=1600&q=82&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  gap: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
              var(--gradient) border-box;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

.hero-pill svg {
  color: var(--blue);
}

.hero-title {
  font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-inline: auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.hero-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.hero-stat-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(59, 130, 246, 0.12);
}

.hero-img-wrap picture,
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── 9. SERVICES CARDS (Home) ────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-alt {
  background: var(--bg-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 36px var(--glow);
  border-color: rgba(59, 130, 246, 0.40);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.service-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 10px;
}

/* ── 10. WHY CHOOSE US ───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-item:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 24px var(--glow);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  background: var(--glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.why-item-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-heading);
}

.why-item-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 11. PROCESS SECTION ─────────────────────────────────── */
.process-section {
  position: relative;
  padding: var(--section-py) 0;
  background-image:
    linear-gradient(rgba(10, 11, 15, 0.88), rgba(10, 11, 15, 0.88)),
    url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?fm=webp&w=1200&q=82&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.4;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.process-step-num {
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.process-step-num-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px var(--glow);
}

.process-step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
}

.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 12. TESTIMONIALS ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 32px var(--glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── 13. CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
}

.cta-banner .btn-white {
  margin-top: 8px;
}

/* ── 14. FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.footer-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-location {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom-right a:hover {
  color: var(--blue);
}

/* ── 15. PAGE HEROES (non-home) ──────────────────────────── */
.page-hero {
  padding: 96px 0 80px;
  background-image:
    linear-gradient(rgba(10, 11, 15, 0.78), rgba(10, 11, 15, 0.78)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?fm=webp&w=1600&q=82&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── 16. ABOUT PAGE ──────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: var(--text-base);
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(59, 130, 246, 0.10);
}

.about-img-wrap picture,
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.mvv-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 28px var(--glow);
}

.mvv-card-icon {
  width: 52px;
  height: 52px;
  background: var(--glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.mvv-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
}

.mvv-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.culture-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.culture-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.culture-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── 17. SERVICES PAGE ───────────────────────────────────── */
.service-section {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.service-layout.reverse .service-content {
  order: 2;
}

.service-layout.reverse .service-img-wrap {
  order: 1;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: var(--text-base);
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.service-bullet svg {
  color: var(--blue);
  flex-shrink: 0;
}

.service-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(59, 130, 246, 0.10);
  aspect-ratio: 4 / 3;
}

.service-img-wrap picture,
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 18. CONTACT PAGE ────────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 28px var(--glow);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  background: var(--glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-info-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 840px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-label span {
  color: var(--blue);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--text-base);
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-select {
  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='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

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

.contact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.contact-note svg {
  color: var(--blue);
  flex-shrink: 0;
}

/* ── 19. TERMS & PRIVACY ─────────────────────────────────── */
.legal-wrap {
  max-width: 820px;
  margin-inline: auto;
  padding: 80px 0 96px;
}

.legal-wrap h1 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.legal-section p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-section ul li {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 20. PLACEHOLDER ─────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #111318, #1E2130);
  min-height: 320px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px dashed var(--border);
  letter-spacing: 0.05em;
}

/* ── 21. DIVIDER ─────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── 22. ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* Intersection observer target */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── 23. RESPONSIVE — TABLET (≤ 1024px) ─────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-inner {
    gap: 40px;
  }

  .about-story,
  .culture-wrap {
    gap: 40px;
  }

  .service-layout {
    gap: 48px;
  }

  .mvv-grid {
    gap: 20px;
  }

  .contact-form-wrap {
    padding: 36px;
  }
}

/* ── 24. RESPONSIVE — MOBILE (≤ 768px) ──────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  /* Prevent horizontal overflow globally on mobile */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  * {
    max-width: 100%;
  }

  img, picture, svg {
    max-width: 100%;
    height: auto;
  }

  /* Topbar */
  .topbar {
    display: none;
  }

  /* Navbar */
  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

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

  .hero-inner {
    gap: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-4xl));
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas .btn {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .hero-pill {
    font-size: 0.7rem;
  }

  /* Grids → single column */
  .services-grid,
  .why-grid,
  .testimonials-grid,
  .mvv-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Two-col layouts */
  .about-story,
  .culture-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-layout,
  .service-layout.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-layout.reverse .service-content,
  .service-layout.reverse .service-img-wrap {
    order: unset;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* CTA banner */
  .cta-banner {
    padding: 56px 0;
  }

  /* Buttons */
  .btn {
    padding: 14px 24px;
  }

  /* Legal */
  .legal-wrap {
    padding: 56px 0 72px;
  }

  /* Page hero */
  .page-hero {
    padding: 72px 0 60px;
  }
}

/* ── 25. FOCUS VISIBLE (ACCESSIBILITY) ───────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
