/* =============================================
   GLOBAL DESIGN TOKENS & BASE STYLES
   Shared variables, resets, typography, buttons, containers and utility helpers.
   ============================================= */

:root {
  --primary-color: #0a0a0a;
  --secondary-color: #f4f4f4;
  --accent-color: #a68a64;
  --text-color: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --black: #000000;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1440px;
  --header-height: 90px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 40px;
}

.dark-section {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: 18px 40px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

/* =============================================
   RESPONSIVE FIXES - STATS SECTION (CRITICAL)
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 12px 10px;
}

.stat-number {
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  line-height: 1.4;
  max-width: 120px;
  margin: 0 auto;
}

/* RESPONSIVE STATS - Fix for mobile */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 26px;
  }

  .stat-number {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 240px;
    margin: 0 auto;
  }

  .stat-item {
    padding: 6px 0;
  }

  .stat-number {
    font-size: 50px;
  }

  .stat-label {
    font-size: 13.5px;
    max-width: 100%;
  }
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.feature-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 3px;
}

.feature-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   OUR EXPERTISE CARDS — UNIFORM IMAGE SIZES
   All cards maintain exact same dimensions on desktop + mobile
   regardless of source image size.
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* === UNIFORM CARD SIZES (CRITICAL) === */
.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive Product Grid */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* General Responsive */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  .container {
    padding: 0 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-title {
    font-size: clamp(2.1rem, 7vw, 3.1rem);
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 46px;
  }

  .btn {
    padding: 16px 32px;
    font-size: 13px;
  }
}
/* Shared extracted utility styles - START
   These classes replace repeated inline style attributes across generated pages,
   footer legal links, and CTA kicker subtitles. */
.footer-heading-spaced {
  margin-top: 32px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-cta-kicker {
  color: var(--accent-color);
  display: block;
  margin-bottom: 20px;
}

.site-intro-kicker {
  color: var(--accent-color);
  display: block;
  margin-bottom: 18px;
}

.centered-copy {
  margin-left: auto;
  margin-right: auto;
}
/* Shared extracted utility styles - END */
