/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #FAFAFD;
  --color-bg-alt: #FFFFFF;
  --color-bg-dark: #0D1321; /* Deepest navy */
  --color-text-main: #1E293B; /* Slate 800 */
  --color-text-muted: #475569;
  --color-text-light: #FFFFFF;
  
  /* Gradient Accents */
  --color-accent-start: #D4AF37; /* Metallic Gold */
  --color-accent-end: #AA771C; /* Deep Bronze */
  --gradient-primary: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
  --gradient-hover: linear-gradient(135deg, #B5952F, #8A5F15);
  --gradient-light: linear-gradient(135deg, #FDFAF0 0%, #FFFFFF 100%);
  --color-border: #E2E8F0;

  /* Typography */
  --font-heading: 'Libre Baskerville', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Resets & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-main);
}

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

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

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-accent { 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1.1; }
.heading-lg { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.01em; line-height: 1.2; }
.heading-md { font-size: clamp(1.25rem, 2.5vw, 2rem); }
.text-lg { font-size: 1.125rem; line-height: 1.8; }

/* ==========================================================================
   Layout & Components
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-alt {
  background: var(--gradient-light);
  border-top: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-hover);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--color-text-light);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  /* Default transparent for hero over image */
  background: transparent; 
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
  transition: background var(--transition-fast);
}

.header.scrolled .logo-divider {
  background: var(--color-border);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.header.scrolled .logo-text {
  color: var(--color-text-main);
}

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

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.header.scrolled .logo-subtitle {
  color: var(--color-text-muted);
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.footer-logo-text-group {
  display: flex;
  flex-direction: column;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer-logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.header.scrolled .nav-links a {
  color: var(--color-text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  position: absolute;
  transition: all var(--transition-fast);
}

.header.scrolled .mobile-menu-btn span {
  background-color: var(--color-text-main);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background-color: var(--color-text-main); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); background-color: var(--color-text-main); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-xl);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
}

.hero-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-accent-start);
  display: flex;
  align-items: center;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  margin-right: 15px;
}

.heading-xxl {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-accolades {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
}

.accolade {
  display: flex;
  flex-direction: column;
}

.accolade-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.accolade-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  max-width: 150px;
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--color-bg-dark) 0%, rgba(13, 19, 33, 0.4) 40%, transparent 100%);
}

.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 150px;
  background: linear-gradient(0deg, var(--color-bg-dark) 0%, transparent 100%);
}

.floating-badge {
  position: absolute;
  bottom: 10%;
  right: 10%;
  background: rgba(13, 19, 33, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.badge-icon {
  font-size: 2rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  color: var(--color-text-light);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.badge-text span {
  color: var(--color-accent-start);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  padding: 2rem 0 0 2rem;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: var(--gradient-primary);
  opacity: 0.15;
  border-radius: 4px;
  z-index: 0;
  transform: translate(-15px, -15px);
  transition: transform var(--transition-slow);
}

.about-grid:hover .about-image::before {
  transform: translate(-25px, -25px);
}

.about-image img {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform var(--transition-slow);
}

.about-grid:hover .about-image img {
  transform: scale(1.02);
}

.about-content h2 {
  margin-bottom: var(--space-sm);
}

.about-content p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ==========================================================================
   Results Section
   ========================================================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.result-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-primary);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.result-category {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-start);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

.result-figure {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.result-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-main);
}

.result-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-card {
  background: white;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.contact-card:hover::after {
  transform: scaleX(1);
}

.contact-icon {
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-main);
}

.contact-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-link-primary {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: block;
  margin-top: var(--space-sm);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-link-primary:hover {
  color: var(--color-accent-start);
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  transition: all var(--transition-slow);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: white;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover p,
.service-card:hover h3 {
  color: white !important;
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-icon {
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  transition: transform var(--transition-fast);
}

.service-icon svg {
  transition: stroke var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.35rem;
  transition: color var(--transition-fast);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Stats / Why Choose Us
   ========================================================================== */
.stats-section {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
}

.stats-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: overlay;
  z-index: 0;
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(13, 19, 33, 0.9), rgba(13, 19, 33, 0.7));
  z-index: 0;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-item h4 {
  font-size: 2.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-item p {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  text-align: center;
  background: var(--gradient-light);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1000px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-start), transparent);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-sm);
}

.cta-phone {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: var(--space-md) 0;
  transition: transform var(--transition-fast);
}

.cta-phone:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0A0D14;
  color: rgba(255,255,255,0.6);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: var(--space-md);
}

.footer-heading {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

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

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  background-color: var(--color-bg-dark);
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.6) 0%, rgba(13, 19, 33, 0.9) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-start);
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.page-hero-desc {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Reversed About Grid (image on right) */
.about-grid-reverse {
  direction: rtl;
}

.about-grid-reverse > * {
  direction: ltr;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-image img { height: 400px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; }
  .hero-right { min-height: 60vh; order: -1; width: 100%; }
  .hero-image-overlay { background: linear-gradient(0deg, var(--color-bg-dark) 0%, transparent 100%); }
  .hero-left { padding-top: 0; padding: var(--space-xl) var(--space-md); }
  .floating-badge { bottom: 5%; right: 5%; padding: 1rem; }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
    --space-md: 1.5rem; /* Perfect, consistent edge padding for mobile */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--header-height) var(--space-md) var(--space-md);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--color-text-main);
    font-size: 1.125rem;
  }

  .mobile-menu-btn { display: block; }
  
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
