@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES & DESIGN SYSTEM
============================================ */
:root {
  /* Brand Colors — Based on DGP Logo */
  --brand-red: #e8291c;
  --brand-orange: #f97316;
  --brand-yellow: #fbbf24;
  --brand-pink: #ec4899;
  --brand-blue: #2563eb;
  --brand-navy: #1e3a5f;
  --brand-green: #22c55e;

  /* Gradient Definitions */
  --gradient-brand: linear-gradient(135deg, #e8291c 0%, #f97316 25%, #fbbf24 50%, #ec4899 75%, #2563eb 100%);
  --gradient-primary: linear-gradient(135deg, #e8291c 0%, #ec4899 50%, #2563eb 100%);
  --gradient-warm: linear-gradient(135deg, #e8291c 0%, #f97316 50%, #fbbf24 100%);
  --gradient-cool: linear-gradient(135deg, #2563eb 0%, #ec4899 100%);
  --gradient-nav: linear-gradient(90deg, #1e3a5f 0%, #0f1f35 100%);
  --gradient-dark: linear-gradient(180deg, #0a0f1e 0%, #1a1f3a 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));

  /* Light/White Base */
  --bg-base: #ffffff;
  --bg-section: #f5f7ff;
  --bg-card: #ffffff;
  --bg-dark: #0a0f1e;

  /* Typography Colors */
  --text-primary: #0a0f1e;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-white: #ffffff;
  --text-navy: #1e3a5f;

  /* Borders */
  --border-light: rgba(0,0,0,0.08);
  --border-brand: rgba(232,41,28,0.3);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.15);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.2);
  --shadow-brand: 0 8px 32px rgba(232,41,28,0.25);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.25);
  --shadow-glow: 0 0 40px rgba(236,72,153,0.2);

  /* Border Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-full: 9999px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-ui: 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 60px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-normal: 0.3s ease;
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   LAYOUT
============================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }
.section-dark { background: var(--bg-dark); }
.section-tinted { background: var(--bg-section); }

/* ============================================
   TYPOGRAPHY
============================================ */
.display-1 { font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.display-2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
.heading-xl { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.heading-lg { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.heading-md { font-size: 1.5rem; font-weight: 600; }
.heading-sm { font-size: 1.125rem; font-weight: 600; }
.body-lg { font-size: 1.2rem; line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }
.label { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* Gradient Text */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cool {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all var(--t-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::before { opacity: 1; }

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-gradient:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(232,41,28,0.35);
}

.btn-gradient-warm {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 8px 32px rgba(249,115,22,0.3);
}
.btn-gradient-warm:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(249,115,22,0.4);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--brand-navy);
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn-navy:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(30,58,95,0.4);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

/* ============================================
   BADGE/CHIP
============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-gradient {
  background: linear-gradient(135deg, rgba(232,41,28,0.1), rgba(37,99,235,0.1));
  border: 1px solid rgba(232,41,28,0.25);
  color: var(--brand-red);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}
.badge-dot-animated {
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ============================================
   SITE HEADER WRAPPER (fixed, contains topbar + nav)
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Topbar — always visible at the very top */
.site-header .topbar {
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: relative;
  z-index: 1;
  transition: background var(--t-normal), box-shadow var(--t-normal);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 40px;
}
.nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.08);
}
.nav-transparent {
  background: rgba(5,10,21,0.3);
  backdrop-filter: blur(4px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
  background: rgba(232,41,28,0.06);
}

.nav-transparent .nav-link { color: rgba(255,255,255,0.85); }
.nav-transparent .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-transparent .nav-logo-sub { color: rgba(255,255,255,0.85); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(232,41,28,0.06);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-red);
  transition: all var(--t-fast);
}
.nav-contact-pill:hover { background: rgba(232,41,28,0.12); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 1000;
  cursor: pointer;
  background: transparent;
  border: none;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-normal);
}
.nav-transparent .mobile-toggle span,
.mobile-toggle.open span {
  background: white !important;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Topbar */
.topbar {
  background: var(--brand-navy);
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  transition: color var(--t-fast);
}
.topbar-item:hover { color: white; }
.lang-switcher {
  display: flex;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  padding: 3px;
}
.lang-btn {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.65);
  transition: all var(--t-fast);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--brand-red);
  color: white;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050a15;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(5,10,21,0.95) 0%,
    rgba(5,10,21,0.8) 40%,
    rgba(37,99,235,0.15) 70%,
    rgba(232,41,28,0.1) 100%
  );
}
/* Animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite;
}
.mesh-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,41,28,0.2) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.mesh-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  top: 20%; right: -50px;
  animation-delay: -3s;
}
.mesh-blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -6s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 10px) scale(0.95); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 180px; /* accounts for topbar (~38px) + nav (76px) + breathing room */
  padding-bottom: 100px;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  margin-bottom: 28px;
}
.hero-title {
  margin-bottom: 24px;
  color: white;
}
.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
}
.hero-visual-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,10,21,0.7) 100%);
}
/* Floating stat cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 10;
}
.float-card-1 { top: 20px; left: -30px; animation-delay: 0s; }
.float-card-2 { bottom: 40px; right: -20px; animation-delay: -3s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.float-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.float-card-icon-brand { background: linear-gradient(135deg, #e8291c, #ec4899); }
.float-card-icon-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.float-card-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.float-card-lbl { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; font-family: var(--font-ui); }

/* ============================================
   SECTION HEADINGS
============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, rgba(232,41,28,0.08), rgba(37,99,235,0.08));
  border: 1px solid rgba(232,41,28,0.2);
  border-radius: var(--r-full);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   SERVICES SECTION
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--r-xl);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

/* Service card gradient variants */
.service-card-1::before { background: linear-gradient(135deg, rgba(232,41,28,0.04), rgba(249,115,22,0.04)); border: 1px solid rgba(232,41,28,0.15); }
.service-card-2::before { background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(6,182,212,0.04)); border: 1px solid rgba(37,99,235,0.15); }
.service-card-3::before { background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(6,182,212,0.04)); border: 1px solid rgba(34,197,94,0.15); }
.service-card-4::before { background: linear-gradient(135deg, rgba(236,72,153,0.04), rgba(249,115,22,0.04)); border: 1px solid rgba(236,72,153,0.15); }
.service-card-5::before { background: linear-gradient(135deg, rgba(251,191,36,0.04), rgba(249,115,22,0.04)); border: 1px solid rgba(251,191,36,0.15); }
.service-card-6::before { background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(37,99,235,0.04)); border: 1px solid rgba(99,102,241,0.15); }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.service-icon-1 { background: linear-gradient(135deg, #e8291c, #f97316); box-shadow: 0 8px 24px rgba(232,41,28,0.3); }
.service-icon-2 { background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.service-icon-3 { background: linear-gradient(135deg, #22c55e, #06b6d4); box-shadow: 0 8px 24px rgba(34,197,94,0.3); }
.service-icon-4 { background: linear-gradient(135deg, #ec4899, #f97316); box-shadow: 0 8px 24px rgba(236,72,153,0.3); }
.service-icon-5 { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 8px 24px rgba(251,191,36,0.3); }
.service-icon-6 { background: linear-gradient(135deg, #6366f1, #2563eb); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.service-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--bg-section);
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.service-card:hover .service-tag {
  background: rgba(232,41,28,0.08);
  color: var(--brand-red);
}
.service-arrow {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-normal);
  font-family: var(--font-ui);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-arrow {
  color: var(--brand-red);
  gap: 12px;
}

/* Services Featured Large Card */
.service-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #0a0f1e 0%, #1a1f3a 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
.service-card-featured:hover {
  box-shadow: 0 30px 80px rgba(232,41,28,0.2);
  border-color: rgba(232,41,28,0.3);
}
.service-card-featured .service-title { color: white; font-size: 1.8rem; }
.service-card-featured .service-desc { color: rgba(255,255,255,0.65); font-size: 1rem; }
.service-card-featured::before { background: none; }
.service-featured-image {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   STATS SECTION
============================================ */
.stats-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-suffix {
  font-size: 2rem;
  display: inline;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   WHY CHOOSE US
============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-image-block {
  position: relative;
}
.why-image-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.why-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.why-card-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gradient-primary);
  color: white;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-brand);
  min-width: 200px;
}
.why-card-accent-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.why-card-accent-text {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 6px;
  font-family: var(--font-ui);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.why-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  transition: all var(--t-normal);
  background: var(--bg-card);
}
.why-feature:hover {
  transform: translateX(8px);
  border-color: rgba(232,41,28,0.2);
  box-shadow: var(--shadow-md);
}
.why-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-feature-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.why-feature-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   CONTACT / QUERY BOX
============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block { padding-top: 8px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-section);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--t-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--brand-red);
  background: white;
  box-shadow: 0 0 0 4px rgba(232,41,28,0.08);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
select.form-control { appearance: none; cursor: pointer; }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-brand);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer-brand .footer-logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--t-fast);
  border: 1px solid rgba(255,255,255,0.08);
}
.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-3px);
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover {
  color: white;
  gap: 12px;
}
.footer-link::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-red);
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-link {
  color: rgba(255,255,255,0.35);
  transition: color var(--t-fast);
}
.footer-bottom-link:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  background: var(--gradient-dark);
  padding: 150px 0 80px; /* top accounts for fixed topbar (~38px) + nav (76px) + breathing room */
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-blob {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(232,41,28,0.1) 0%, transparent 70%);
  filter: blur(60px);
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.page-hero h1 { color: white; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.65); position: relative; z-index: 1; margin-top: 16px; }

/* ============================================
   BREADCRUMB
============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current { color: var(--brand-orange); }

/* ============================================
   PROCESS TIMELINE
============================================ */
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-pink), var(--brand-blue));
  z-index: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS / CTA
============================================ */
.cta-section {
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section h2, .cta-section p { color: white; position: relative; z-index: 1; }
.cta-section .section-label {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}
.cta-actions { position: relative; z-index: 1; display: flex; gap: 16px; justify-content: center; margin-top: 40px; }

/* ============================================
   PAYMENT SECTION
============================================ */
.payment-cards {
  display: flex;
  gap: 16px;
}
.payment-card {
  flex: 1;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  border: 2px solid var(--border-light);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-normal);
}
.payment-card:hover, .payment-card.active {
  border-color: var(--brand-red);
  background: rgba(232,41,28,0.04);
  box-shadow: 0 0 0 4px rgba(232,41,28,0.08);
  transform: translateY(-4px);
}
.payment-card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.payment-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.payment-card-desc { font-size: 0.82rem; color: var(--text-secondary); }

/* ============================================
   QUOTE PAGE HERO
============================================ */
.quote-hero {
  background: var(--gradient-dark);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================
   UTILITY CLASSES
============================================ */
.text-center { text-align: center; }
.text-white { color: white; }
.text-muted { color: var(--text-muted); }
.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-3 { gap: 12px; }
.mb-8 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 16px; }
.mt-8 { margin-top: 32px; }
.mt-6 { margin-top: 24px; }
.w-full { width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-section); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE — COMPLETE OVERHAUL
============================================ */

/* ---- TABLET LANDSCAPE (≤1200px) ---- */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content { padding-top: 170px; text-align: center; }
  .hero-badge, .hero-actions, .hero-stats { justify-content: center; }
  .hero-actions { flex-wrap: wrap; }
  .hero-stats { justify-content: center; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: span 2; flex-direction: column; gap: 28px; }
  .service-featured-image { width: 100%; height: 220px; }
  .why-grid { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .quote-layout { grid-template-columns: 1fr 1.3fr; gap: 40px; }
}

/* ---- TABLET PORTRAIT (≤1024px) ---- */
@media (max-width: 1024px) {
  .nav-inner { gap: 20px; }
  .nav-menu { gap: 2px; }
  .nav-link { padding: 8px 10px; font-size: 0.85rem; }
  .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
}

/* ---- MOBILE (≤768px) ---- */
@media (max-width: 768px) {
  :root { --section-py: 60px; --section-py-sm: 40px; }

  html, body { overflow-x: hidden; }
  .container { padding: 0 18px; }

  /* TOPBAR */
  .topbar { padding: 8px 0; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }

  /* NAV */
  .nav-inner { height: 62px; gap: 12px; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .nav-logo-name { font-size: 1.1rem; }
  .nav-logo-sub { font-size: 0.58rem; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(5,10,21,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 1.6rem; font-weight: 700; color: white; padding: 14px 40px; border-radius: 12px; font-family: var(--font-display); }
  .nav-menu .nav-link:hover, .nav-menu .nav-link.active { background: rgba(255,255,255,0.08); color: var(--brand-orange); }

  /* HERO */
  .hero-content { padding-top: 130px; padding-bottom: 60px; text-align: center; }
  .display-1 { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .display-2 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-title { word-break: break-word; }
  .hero-desc { font-size: 1rem; }
  .hero-badge { display: flex; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 36px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; padding-top: 28px; }
  .hero-stat-value { font-size: 2rem; }

  /* SECTIONS */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-desc { font-size: 0.95rem; }
  .section-header { margin-bottom: 40px; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card-featured { grid-column: span 1; flex-direction: column; padding: 28px 24px; }
  .service-card { padding: 28px 24px; }
  .service-card-featured .service-title { font-size: 1.3rem; }
  .service-featured-image { width: 100%; height: 180px; border-radius: var(--r-md); }

  /* STATS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 24px 16px; }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-value { font-size: 2.4rem; }

  /* WHY / ABOUT */
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-image-block { order: -1; }
  .why-card-accent { position: relative; bottom: auto; right: auto; margin-top: 16px; display: inline-flex; }
  .why-features { grid-template-columns: 1fr; gap: 16px; }

  /* PROCESS */
  .process-steps { flex-direction: column; gap: 24px; }
  .process-steps::before { display: none; }
  .process-step { text-align: center; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* FORMS */
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }

  /* QUOTE */
  .quote-layout { grid-template-columns: 1fr; gap: 28px; }
  .quote-sidebar { position: static; }
  .quote-sidebar-card { padding: 28px 20px; }

  /* PAYMENT */
  .payment-cards { flex-direction: column; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-brand { text-align: center; }
  .social-links { justify-content: center; }

  /* PAGE HERO (inner pages) */
  .page-hero { padding: 130px 0 56px; text-align: center; }
  .breadcrumb { justify-content: center; }

  /* ABOUT / SERVICES PAGE GRIDS */
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .services-full-grid { grid-template-columns: 1fr !important; }

  /* MISC */
  .btn-lg { padding: 16px 32px; font-size: 0.95rem; }
  .tab-buttons { flex-direction: column; border-radius: var(--r-lg); }
  .tab-btn { border-radius: var(--r-md); }
}

/* ---- SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .display-1 { font-size: clamp(2rem, 10vw, 2.8rem); letter-spacing: -0.02em; }
  .display-2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .hero-content { padding-top: 120px; }
  .hero-stats { gap: 14px; }
  .hero-stat-value { font-size: 1.7rem; }
  .stat-value { font-size: 2rem; }
  .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .float-card { display: none; }
  .hero-actions .btn { font-size: 0.9rem; padding: 14px 24px; }
  .nav-logo-sub { display: none; }
  .service-card { padding: 22px 18px; }
  .form-card { padding: 20px 16px; border-radius: var(--r-lg); }
  .quote-sidebar-card { padding: 20px 16px; }
  .footer-grid { gap: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 28px; }
  .svc-card-header { padding: 22px 20px 16px; }
  .svc-card-body { padding: 0 20px 22px; }
}

