/* ═══════════════════════════════════════════════════════════════════
   TH Multi-services · Ultra-Premium Design System v3
   Author: Custom Build — All rights reserved
═══════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --c-blue-light: #1a6dff;
  --c-blue: #1259e0;
  --c-blue-mid: #0a43c4;
  --c-blue-dark: #052c8a;
  --c-gold: #d97706;

  /* Neutrals */
  --c-ink: #0f172a;
  --c-ink-2: #ffffff;
  --c-ink-3: #f8fafc;
  --c-ink-4: #f1f5f9;
  --c-grey: #64748b;
  --c-grey-light: #334155;
  --c-white: #0f172a;

  /* Semantic */
  --c-bg: #ffffff;
  --c-surface: #f8fafc;
  --c-border: rgba(15, 23, 42, 0.08);
  --c-border-hover: rgba(15, 23, 42, 0.15);
  /* Typography */
  --f-display: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --f-body: 'Inter', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms;
  --t-med: 350ms;
  --t-slow: 600ms;
  --t-crawl: 900ms;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 0 40px rgba(26,109,255,0.1);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-white);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-ink-3); }
::-webkit-scrollbar-thumb { background: var(--c-ink-4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }

/* ─── Noise Texture Layer ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  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.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  transition:
    background var(--t-med) var(--ease-out),
    border-color var(--t-med) var(--ease-out),
    backdrop-filter var(--t-med) var(--ease-out),
    box-shadow var(--t-med) var(--ease-out);
  will-change: background, border-color;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--c-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--c-border), var(--shadow-sm);
}

#mainNav .nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

#mainNav .nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--t-fast);
}
#mainNav .nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(26,109,255,0.35));
  transition: transform var(--t-med) var(--ease-spring), filter var(--t-med);
}
#mainNav .nav-logo:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 16px rgba(26,109,255,0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-grey-light);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px;
  height: 2px;
  background: var(--c-blue);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-spring);
}
.nav-links li a:hover {
  color: var(--c-ink);
  background: rgba(15, 23, 42, 0.05);
}
.nav-links li a:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-grey-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--t-fast);
}
.nav-phone:hover { color: var(--c-ink); }
.nav-phone svg { color: var(--c-blue); flex-shrink: 0; }

/* Hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
#nav-toggle:hover { background: var(--c-surface); }
#nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
#nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
  z-index: 999;
  padding: 1.5rem 2rem;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility var(--t-med) var(--ease-out);
}
#nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#nav-mobile a {
  display: block;
  font-weight: 500;
  color: var(--c-grey-light);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 1rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
#nav-mobile a:hover {
  color: var(--c-white);
  padding-left: 0.5rem;
}
#nav-mobile a:last-child { border-bottom: none; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  padding: 0.8125rem 1.625rem;
  cursor: pointer;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med) var(--ease-out),
    opacity var(--t-fast),
    background var(--t-fast);
  will-change: transform;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 109, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(26, 109, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--c-grey-light);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--c-ink-3);
  border-color: var(--c-border-hover);
}

.btn-xl { padding: 1.125rem 2.25rem; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.8125rem; border-radius: 8px; }

/* ─── Hero ───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 2rem 0;
  gap: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/header-bg-nw.png');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.06);
  transition: transform 20s linear;
}

.hero-bg-overlay {
  display: none;
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatOrb 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,109,255,0.06) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation-duration: 10s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,109,255,0.05) 0%, transparent 70%);
  top: 10%; right: -5%;
  animation-duration: 13s;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(18,89,224,0.04) 0%, transparent 70%);
  bottom: 0; right: 30%;
  animation-duration: 9s;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(20px, -30px); }
  66%       { transform: translate(-15px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin-top: auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(26, 109, 255, 0.55);
  border: 1px solid rgba(100, 170, 255, 0.5);
  border-radius: 100px;
  padding: 0.375rem 1.125rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s var(--ease-out) both;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}
.hero-badge span.dot {
  width: 6px; height: 6px;
  background: #6099ff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  /* margin-bottom: 1.5rem; */
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 12px 48px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.7s 0.1s var(--ease-out) both;
}

.hero-h1 .text-gradient {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  background-clip: initial;
  color: #ffffff;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.55);
  animation: fadeUp 0.7s 0.2s var(--ease-out) both;
}

.hero-title-badge {
  display: block;
  max-width: 160px;
  width: auto;
  height: auto;
  margin: 0.75rem auto 0.85rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.55);
  animation: fadeUp 0.7s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 0.7s 0.3s var(--ease-out) both;
}

/* Stats bar */
.hero-stats {
  position: relative;
  margin-top: auto;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 4.5rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  padding: 1.375rem 3.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.7s 0.5s var(--ease-out) both;
  white-space: nowrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.hero-stat-num span { color: var(--c-blue); }
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-top: 0.25rem;
}

.hero-divider {
  width: 1px;
  background: var(--c-border-hover);
  align-self: stretch;
}

/* ─── Section Commons ────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
}

.section-light {
  background: #f7f9fc;
  color: var(--c-ink);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1rem;
}
.section-light .eyebrow { color: var(--c-blue-mid); }

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-grey);
}
.section-light .section-subtitle { color: #5a6574; }

/* ─── Services ───────────────────────────────────────────────────── */
#services {
  padding: 8rem 0;
  background: var(--c-ink-2);
}
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-hover), transparent);
}
.services-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7rem;
  padding-top: 2rem;
}

.services-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--c-border) 0%, rgba(26,109,255,0.3) 15%, rgba(26,109,255,0.3) 85%, var(--c-border) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left-Right Alternating Layout */
.service-timeline-item:nth-child(even) .service-timeline-image {
  order: 2;
}
.service-timeline-item:nth-child(even) .service-timeline-content {
  order: 1;
}

.service-timeline-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--c-ink-3);
  transition: transform var(--t-med) var(--ease-spring), border-color var(--t-med);
}

.service-timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.service-timeline-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,9,14,0.4) 100%);
  pointer-events: none;
}

.service-timeline-item:hover .service-timeline-image {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(26,109,255,0.35);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(26,109,255,0.15);
}

.service-timeline-item:hover .service-timeline-image img {
  transform: scale(1.05);
}

.service-timeline-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-timeline-number {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(26, 109, 255, 0.18);
  letter-spacing: -0.05em;
  margin-bottom: -0.5rem;
  transition: color var(--t-med);
}

.service-timeline-item:hover .service-timeline-number {
  color: var(--c-blue);
}

.service-timeline-content h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-white);
  margin-bottom: 0.25rem;
}

.service-timeline-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-grey-light);
}

.service-timeline-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.service-timeline-features li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--c-grey);
  font-weight: 500;
  transition: color var(--t-fast);
}

.service-timeline-item:hover .service-timeline-features li {
  color: var(--c-white);
}

.service-timeline-features li svg {
  color: var(--c-blue);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(26,109,255,0.3));
}

@media (max-width: 1024px) {
  .service-timeline-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-timeline::before {
    display: none;
  }
  .service-timeline-item:nth-child(even) .service-timeline-image {
    order: 2;
  }
  .service-timeline-item:nth-child(even) .service-timeline-content {
    order: 1;
  }
  .services-timeline {
    gap: 5rem;
  }
  .service-timeline-number {
    font-size: 3rem;
  }
  .service-timeline-content h3 {
    font-size: 1.75rem;
  }
}

/* ─── Why Us / Trust Strip ───────────────────────────────────────── */
#trust {
  padding: 6rem 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border-radius: 24px;
  overflow: hidden;
}

.trust-item {
  background: var(--c-ink-2);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background var(--t-fast);
}
.trust-item:hover { background: var(--c-ink-3); }

.trust-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.trust-title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--c-grey);
  line-height: 1.6;
}

/* ─── Portfolio ──────────────────────────────────────────────────── */
#portfolio {
  padding: 8rem 0;
  background: var(--c-ink-2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}

.portfolio-card img,
.portfolio-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}

.portfolio-video-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-video-badge i {
  font-size: 0.625rem;
  color: #6099ff;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,9,14,0.93) 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  transition: transform var(--t-med) var(--ease-spring);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-title {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  transform: translateY(10px);
  transition: transform var(--t-med) 50ms var(--ease-spring);
}

.portfolio-expand {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--t-fast), transform var(--t-med) var(--ease-spring);
}
.portfolio-expand svg { width: 16px; height: 16px; }

.portfolio-card:hover img,
.portfolio-card:hover video { transform: scale(1.07); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover .portfolio-tag { transform: translateY(0); }
.portfolio-card:hover .portfolio-title { transform: translateY(0); }
.portfolio-card:hover .portfolio-expand { opacity: 1; transform: scale(1); }

.portfolio-video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.portfolio-video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #0b0d12;
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,0.08));
}

.portfolio-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── About / Values ─────────────────────────────────────────────── */
#about {
  padding: 8rem 0;
  background: var(--c-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .eyebrow { display: block; margin-bottom: 0.75rem; }
.about-text .section-title { text-align: left; margin-bottom: 1.25rem; }
.about-text .section-subtitle { text-align: left; margin-bottom: 2.5rem; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1.375rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-med) var(--ease-spring);
}
.value-item:hover {
  border-color: rgba(26,109,255,0.25);
  background: rgba(26,109,255,0.04);
  transform: translateX(4px);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-text h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}
.value-text p {
  font-size: 0.875rem;
  color: var(--c-grey);
  line-height: 1.6;
}

/* About visual side */
.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  aspect-ratio: 4/5;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  border-radius: 18px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 8px 32px rgba(26,109,255,0.35), 0 0 0 4px var(--c-bg);
  text-align: center;
}
.about-badge-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}
.about-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

/* ─── Service Area Map Section ───────────────────────────────────── */
#service-area {
  padding: 8rem 0;
  background: var(--c-ink-3);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-area-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.area-subtitle {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast), background var(--t-fast);
}

.area-list li:hover {
  transform: translateX(6px);
  border-color: rgba(26, 109, 255, 0.3);
  background: rgba(26, 109, 255, 0.03);
}

.area-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
}

.area-badge {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0.75rem 0 1rem;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.area-details {
  font-size: 0.875rem;
  color: var(--c-grey);
  line-height: 1.5;
}

.service-area-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-wrapper {
  position: relative;
  background: var(--c-ink-2);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-med) var(--ease-spring), border-color var(--t-med), box-shadow var(--t-med);
}

.map-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(26, 109, 255, 0.35);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(26, 109, 255, 0.15);
}

.map-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* ─── Contact / CTA ──────────────────────────────────────────────── */
#contact {
  padding: 8rem 0;
  background: var(--c-ink-2);
  border-top: 1px solid var(--c-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info .section-subtitle { text-align: left; margin-bottom: 2.5rem; }

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--c-grey-light);
}
.contact-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(26,109,255,0.1);
  border: 1px solid rgba(26,109,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.contact-phone-big:hover {
  color: var(--c-blue);
  border-color: var(--c-blue);
}

/* Form */
.form-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.form-group {
  margin-bottom: 0.875rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-grey);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--c-ink);
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.875rem 1.125rem;
  outline: none;
  transition:
    border-color var(--t-fast),
    background var(--t-fast),
    box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder { color: rgba(15, 23, 42, 0.4); }
.form-control:focus {
  border-color: var(--c-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.15);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238492a6' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
select.form-control option {
  background: #ffffff;
  color: var(--c-ink);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--c-border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.upload-zone:hover {
  border-color: rgba(26,109,255,0.4);
  background: rgba(26,109,255,0.03);
}
.upload-label {
  font-size: 0.875rem;
  color: var(--c-grey);
  pointer-events: none;
}
.upload-label strong { color: var(--c-blue); }
#photos { display: none; }

#preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.875rem;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
  max-width: 180px;
  animation: fadeUp 0.25s var(--ease-out) both;
}
.preview-thumb {
  width: 26px; height: 26px;
  object-fit: cover;
  border-radius: 4px;
}
.preview-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,0.8);
}
.preview-remove {
  color: var(--c-grey);
  font-size: 1rem;
  line-height: 1;
  transition: color var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
}
.preview-remove:hover { color: #f87171; transform: scale(1.2); }

/* Form feedback */
.form-feedback {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  margin-bottom: 1rem;
}
.form-feedback.success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
  display: block;
}
.form-feedback.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
  display: block;
}

#submitButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--c-ink-3);
  border-top: 1px solid var(--c-border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(26,109,255,0.15));
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--c-grey);
}
.footer-copy a {
  color: var(--c-grey-light);
  transition: color var(--t-fast);
}
.footer-copy a:hover { color: var(--c-blue); }

.footer-email {
  font-size: 0.875rem;
  color: var(--c-grey);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--t-fast);
}
.footer-email:hover { color: var(--c-blue); }

/* ─── Modals ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 14, 0.75);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--c-ink-3);
  border: 1px solid var(--c-border-hover);
  border-radius: 28px;
  padding: 0;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-med) var(--ease-spring);
  position: relative;
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
}

.modal-body {
  padding: 2.5rem;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.modal-desc {
  color: var(--c-grey);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-grey-light);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-spring);
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--c-ink);
  transform: rotate(90deg) scale(1.05);
}

/* ─── Scroll Reveal Animations ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}
[data-reveal="up"]    { transform: translateY(32px); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal].revealed { opacity: 1; transform: none !important; }

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ─── Global Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpStats {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.85); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Apply spin to SVG inside disabled button */
#submitButton:disabled svg {
  animation: spin 0.8s linear infinite;
}

/* ─── Reviews ────────────────────────────────────────────────────── */
#reviews {
  padding: 8rem 0;
  background: var(--c-ink-3);
  position: relative;
}
#reviews::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-hover), transparent);
}
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 3rem;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto 4rem;
  box-shadow: var(--shadow-md);
}
.summary-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  color: var(--c-white);
}
.summary-info {
  flex: 1;
}
.summary-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.rating-num {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.rating-stars {
  display: flex;
  gap: 0.125rem;
  color: var(--c-gold);
  font-size: 1.25rem;
}
.summary-text {
  font-size: 0.875rem;
  color: var(--c-grey-light);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-spring), border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 109, 255, 0.3);
  background: #ffffff;
  box-shadow: var(--shadow-md), 0 8px 30px rgba(26, 109, 255, 0.08);
}
.review-card::before {
  content: '“';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--f-display);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15, 23, 42, 0.03);
  pointer-events: none;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
/* Avatar gradients */
.avatar-j { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); }
.avatar-m { background: linear-gradient(135deg, #1a6dff 0%, #66a3ff 100%); }
.avatar-b { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.avatar-c { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); }
.avatar-p { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }
.avatar-n { background: linear-gradient(135deg, #eab308 0%, #facc15 100%); }

.reviewer-meta {
  display: flex;
  flex-direction: column;
}
.reviewer-name {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
}
.reviewer-verified {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 500;
}
.reviewer-verified svg {
  color: #10b981;
  flex-shrink: 0;
}
.review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1rem;
}
.review-rating .stars {
  color: var(--c-gold);
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}
.review-date {
  color: var(--c-grey);
  font-weight: 500;
}
.review-content {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-grey-light);
  flex: 1;
}
.review-tag {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  border: 1px solid transparent;
}
.tag-decor {
  background: rgba(26, 109, 255, 0.06);
  color: #1a6dff;
  border-color: rgba(26, 109, 255, 0.15);
}
.tag-move {
  background: rgba(26, 109, 255, 0.06);
  color: #1259e0;
  border-color: rgba(26, 109, 255, 0.15);
}
.tag-waste {
  background: rgba(16, 185, 129, 0.06);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.15);
}
.tag-succession {
  background: rgba(139, 92, 246, 0.06);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.15);
}
.tag-delivery {
  background: rgba(236, 72, 153, 0.06);
  color: #db2777;
  border-color: rgba(236, 72, 153, 0.15);
}
.reviews-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.reviews-footer p {
  font-size: 1.0625rem;
  color: var(--c-grey-light);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-img-main { aspect-ratio: 16/9; }
  .about-badge { left: 50%; transform: translateX(-50%); bottom: -1.5rem; }
  .service-area-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .nav-phone { display: none; }
  #nav-toggle { display: flex; }
  #nav-mobile { display: block; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-video-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-overlay { opacity: 1; }
  .portfolio-tag,
  .portfolio-title {
    transform: none;
  }
  .portfolio-tag {
    font-size: 0.625rem;
    padding: 0.2rem 0.5rem;
  }
  .portfolio-title {
    font-size: 1rem;
  }
  .portfolio-video-badge {
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.625rem;
  }
  .portfolio-expand {
    opacity: 1;
    width: 38px;
    height: 38px;
  }
  .trust-grid { grid-template-columns: 1fr 1fr; }

  #hero {
    min-height: auto;
    padding: 7.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    position: static;
    transform: none;
    margin-top: 3.5rem;
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 420px;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    animation: fadeUp 0.7s 0.4s var(--ease-out) both;
  }
  
  .hero-stat {
    text-align: center;
  }
  
  .hero-stat-num {
    font-size: 1.5rem;
  }

  .hero-divider { display: none; }
  .hero-stat:nth-child(4) { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-phone-big { font-size: 1.25rem; }

  .reviews-summary {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .summary-rating {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-badge { left: 50%; transform: translateX(-50%); }
  .form-card { padding: 1.5rem; }
  .modal-img { height: 200px; }
  .modal-body { padding: 1.5rem; }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}