/* ============================================================================
   KOMMÆRSJ - TRD Commercial Hub
   Vanilla CSS Stylesheet
   ============================================================================ */

/* ============================================================================
   CSS RESET & BASE
   ============================================================================ */

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

:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-bg-card: #1a1a1a;
  --color-accent: #d4af37;
  --color-accent-hover: #f0e68c;
  --color-text: #ffffff;
  --color-text-muted: #cccccc;
  --color-text-dark: #888888;
  --color-text-darker: #666666;
  --color-border: #333333;
  --color-border-light: #2a2a2a;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Max width */
  --max-width: 1280px;
}

/* ============================================================================
   LOADING OVERLAY
   ============================================================================ */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-overlay.hidden {
  display: none;
}

/* Content hidden ONLY during loading overlay animation (index.html first load) */
/* Uses .has-loading-overlay class added by JS when overlay is present */
body.has-loading-overlay:not(.content-visible) .navbar,
body.has-loading-overlay:not(.content-visible) main,
body.has-loading-overlay:not(.content-visible) footer {
  opacity: 0;
}

/* Fade in animation only for pages with loading overlay */
body.has-loading-overlay.content-visible .navbar,
body.has-loading-overlay.content-visible main,
body.has-loading-overlay.content-visible footer {
  animation: contentFadeIn 1s ease forwards;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Skip animation if already shown (returning to index) */
.loading-complete .navbar,
.loading-complete main,
.loading-complete footer {
  opacity: 1 !important;
  animation: none !important;
}

.loading-content {
  text-align: center;
  padding: 0 1rem;
  max-width: 100%;
}

.loading-taglines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0;
}

.loading-tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 768px) {
  .loading-tagline {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
  }
}

.loading-tagline.animate {
  animation: fadeSlideUp 0.6s ease forwards;
}

.loading-tagline-1.animate {
  animation-delay: 0.5s;
}

.loading-tagline-2.animate {
  animation-delay: 0.7s;
}

.loading-brand {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.loading-brand-text {
  font-size: clamp(1.75rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(30px);
  display: block;
}

@media (min-width: 768px) {
  .loading-brand-text {
    letter-spacing: 0.1em;
  }
}

.loading-brand-text.animate {
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.4s;
}

.loading-divider {
  width: 4px;
  height: 0;
  background: var(--color-accent);
  margin: 1rem auto;
}

.loading-divider.animate {
  animation: expandVertical 0.6s ease forwards;
  animation-delay: 1s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandVertical {
  from {
    height: 0;
  }
  to {
    height: 60px;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

::selection {
  background-color: var(--color-accent);
  color: #000;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea {
  font-family: inherit;
}

/* ============================================================================
   TYPOGRAPHY
   Design System: Mobile-first with md: (768px) and lg: (1024px) breakpoints
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* H1 (Hero): text-5xl md:text-7xl font-bold tracking-tight leading-tight */
/* Using clamp() for fluid scaling on very small screens */
h1 { 
  font-size: clamp(1.75rem, 6.5vw, 3rem); /* Fluid: min 1.75rem, preferred 6.5vw, max 3rem on mobile */
  letter-spacing: -0.025em; /* tracking-tight */
  line-height: 1.1; /* leading-tight */
}

/* H2 (Section): text-3xl font-bold tracking-wide */
h2 { 
  font-size: clamp(1.5rem, 5vw, 1.875rem); /* Fluid scaling for small screens */
  letter-spacing: 0.025em; /* tracking-wide */
}

/* H3 (Card Title): text-xl or text-2xl font-bold */
h3 { 
  font-size: clamp(1.125rem, 4vw, 1.25rem); /* Fluid scaling */
}

h4 { font-size: 1.125rem; }

/* Responsive typography - md: breakpoint (768px) */
@media (min-width: 768px) {
  h1 { 
    font-size: clamp(3rem, 5vw, 4.5rem); /* Fluid desktop: scales between 3rem and 4.5rem */
  }
  h2 { 
    font-size: 1.875rem; /* text-3xl - stays same */
  }
  h3 { 
    font-size: 1.5rem; /* text-2xl */
  }
}

/* Text colors - matching Tailwind naming */
.text-accent { color: var(--color-accent); } /* text-accent-gold */
.text-muted { color: var(--color-text-muted); } /* text-text-secondary */
.text-dark { color: var(--color-text-dark); }
.text-primary { color: var(--color-text); } /* text-text-primary */
.text-black { color: #000000; }
.text-center { text-align: center; }

/* Font sizes - Tailwind scale */
.text-sm { font-size: 0.875rem; } /* 14px */
.text-xs { font-size: 0.75rem; } /* 12px */
.text-base { font-size: 1rem; } /* 16px */
.text-lg { font-size: 1.125rem; } /* 18px */
.text-xl { font-size: 1.25rem; } /* 20px */
.text-2xl { font-size: 1.5rem; } /* 24px */
.text-3xl { font-size: 1.875rem; } /* 30px */
.text-4xl { font-size: 2.25rem; } /* 36px */
.text-5xl { font-size: 3rem; } /* 48px */
.text-7xl { font-size: 4.5rem; } /* 72px */

/* Letter spacing - tracking */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.2em; }

/* Line height - leading */
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }

/* Responsive font sizes at md: breakpoint */
@media (min-width: 768px) {
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

/* ============================================================================
   LAYOUT UTILITIES
   ============================================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }

.overflow-hidden { overflow: hidden; }

/* Spacing utilities */
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }

/* Responsive layout utilities - md: breakpoint (768px) */
@media (min-width: 768px) {
  /* Responsive display */
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:grid { display: grid !important; }
  
  /* Responsive flex direction */
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  
  /* Responsive grid columns */
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  
  /* Responsive padding */
  .md\:p-12 { padding: 3rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  
  /* Responsive gap */
  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
}

/* Responsive layout utilities - lg: breakpoint (1024px) */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Main Content */
main {
  flex-grow: 1;
  padding-top: 5rem;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* ============================================================================
   NAVBAR
   ============================================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  max-width: 100%;
  overflow: hidden;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover .logo-icon {
  background-color: var(--color-accent-hover);
}

.logo:hover .logo-text {
  color: var(--color-accent);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-normal);
}

.logo-icon span {
  font-weight: 700;
  font-size: 1.25rem;
  color: #000;
}

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

.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  transition: color var(--transition-normal);
}

.logo-subtext {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-normal);
}

.logo:hover .logo-img {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 36px;
  }
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background-color: var(--color-accent);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.nav-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--color-text);
}

.menu-toggle:hover {
  color: var(--color-accent);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
}

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

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-accent);
}

.mobile-nav-cta {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: clamp(0.8rem, 4vw, 1rem); /* Fluid font size for small screens */
  text-align: center;
  border-radius: var(--radius-sm);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

/* ============================================================================
   BUTTONS
   Design System:
   - Primary (Solid Gold): px-8 py-4 bg-accent-gold text-black text-lg font-bold rounded-sm 
                           hover:bg-accent-gold-light transition-all transform hover:-translate-y-1
   - Secondary (Outline): px-8 py-4 border border-accent-gold text-accent-gold text-lg font-bold 
                          rounded-sm hover:bg-accent-gold/10 transition-all
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem; /* Smaller padding on mobile */
  font-weight: 700; /* font-bold */
  font-size: clamp(0.875rem, 4vw, 1.125rem); /* Fluid font size: min 14px, max 18px */
  border-radius: var(--radius-sm); /* rounded-sm */
  transition: all var(--transition-normal); /* transition-all */
  cursor: pointer;
  text-decoration: none;
  max-width: 100%; /* Prevent overflow */
  white-space: nowrap;
}

/* Larger padding on screens 400px+ */
@media (min-width: 400px) {
  .btn {
    padding: 1rem 2rem; /* py-4 px-8 */
  }
}

/* Primary Button (Solid Gold) */
.btn-primary {
  background-color: var(--color-accent); /* bg-accent-gold */
  color: #000; /* text-black */
}

.btn-primary:hover {
  background-color: var(--color-accent-hover); /* hover:bg-accent-gold-light */
  transform: translateY(-4px); /* hover:-translate-y-1 */
}

/* Secondary Button (Outline) */
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-accent); /* border border-accent-gold */
  color: var(--color-accent); /* text-accent-gold */
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1); /* hover:bg-accent-gold/10 */
}

/* Dark Button */
.btn-dark {
  background-color: #000;
  color: var(--color-text);
}

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

/* Button sizes */
.btn-lg {
  padding: 0.875rem 1.5rem; /* Smaller on mobile */
  font-size: clamp(0.875rem, 4vw, 1.125rem); /* Fluid */
}

@media (min-width: 400px) {
  .btn-lg {
    padding: 1.25rem 2.5rem; /* Larger padding on bigger screens */
  }
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Link-style button (Text only) */
.btn-link {
  padding: 0;
  background: transparent;
  color: var(--color-accent); /* text-accent-gold */
  font-weight: 700; /* font-bold */
  border-bottom: 1px solid var(--color-accent); /* border-b border-accent-gold */
  padding-bottom: 0.25rem; /* pb-1 */
  border-radius: 0;
}

.btn-link:hover {
  color: var(--color-accent-hover); /* hover:text-accent-gold-light */
}

/* ============================================================================
   CARDS
   Design System: bg-bg-secondary border border-[#333333] p-8 rounded-sm 
                  hover:border-accent-gold transition-all group
   ============================================================================ */

.card {
  background-color: var(--color-bg-card); /* bg-bg-secondary */
  border: 1px solid var(--color-border); /* border border-[#333333] */
  border-radius: var(--radius-sm); /* rounded-sm */
  padding: 1.25rem; /* Smaller padding on mobile */
  transition: all var(--transition-normal); /* transition-all */
}

@media (min-width: 400px) {
  .card {
    padding: 1.5rem; /* Medium padding */
  }
}

@media (min-width: 768px) {
  .card {
    padding: 2rem; /* p-8 on desktop */
  }
}

.card:hover {
  border-color: var(--color-accent); /* hover:border-accent-gold */
}

.card-service {
  background-color: var(--color-bg);
  padding: 1.25rem;
}

@media (min-width: 400px) {
  .card-service {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .card-service {
    padding: 2rem; /* p-8 */
  }
}

.card-service:hover h3 {
  color: var(--color-accent); /* group-hover:text-accent-gold */
}

.card-feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-normal);
}

.card:hover .card-feature-icon {
  background-color: var(--color-accent);
}

.card:hover .card-feature-icon svg {
  color: #000;
}

.card-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: color var(--transition-normal);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  min-height: calc(90vh + 5rem);
  margin-top: -5rem;
  padding-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}

@media (min-width: 400px) {
  .hero-content {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 2rem;
  }
}

.hero-label {
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-label {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  max-width: 90%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-title {
    max-width: 850px;
  }
}

.hero-desc {
  font-size: clamp(0.875rem, 4vw, 1rem); /* Fluid font size */
  color: var(--color-text-muted);
  max-width: 100%;
  margin: 0 auto 1.5rem;
  font-weight: 300;
  padding: 0 0.25rem; /* Small horizontal padding */
}

@media (min-width: 400px) {
  .hero-desc {
    margin: 0 auto 2rem;
  }
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.hero-buttons .btn {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-buttons .btn {
    width: auto;
  }
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.section {
  padding: 4rem 0; /* Reduced padding on mobile */
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0; /* py-24 on desktop */
  }
}

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

.section-light {
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.section-accent {
  background-color: var(--color-accent);
  color: #000;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--color-accent);
  margin: 0 auto;
  border-radius: var(--radius-full);
}

/* Eyebrow/Label: text-sm font-bold tracking-widest uppercase text-accent-gold */
.section-label {
  color: var(--color-accent); /* text-accent-gold */
  font-size: 0.875rem; /* text-sm */
  font-weight: 700; /* font-bold */
  letter-spacing: 0.2em; /* tracking-widest */
  text-transform: uppercase; /* uppercase */
  margin-bottom: 0.5rem;
}

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================================
   FEATURE LIST
   ============================================================================ */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-dark);
}

.feature-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.feature-check svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* ============================================================================
   PROCESS STEPS
   ============================================================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
  }
}

.process-step {
  position: relative;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .process-step {
    padding-left: 0;
  }
}

.process-number {
  font-size: 6rem;
  font-weight: 900;
  color: #1a1a1a;
  position: absolute;
  top: -4.4rem;
  left: -1rem;
  z-index: 0;
  opacity: 0.5;
  user-select: none;
}

.process-content {
  position: relative;
  z-index: 10;
  padding-top: 1rem;
  padding-left: 1rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.process-line {
  display: none;
  position: absolute;
  top: 3rem;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #333333, transparent);
  transform: translateX(50%);
  z-index: 1;
}

@media (min-width: 768px) {
  .process-line {
    display: block;
  }
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */

.testimonial-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  position: relative;
}

.testimonial-quote-mark {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  font-family: var(--font-serif);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: background-color var(--transition-normal);
}

.testimonial-card:hover .testimonial-avatar {
  background-color: var(--color-accent);
}

.testimonial-card:hover .testimonial-avatar svg {
  color: #000;
}

.testimonial-avatar svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  fill: var(--color-accent);
}

/* ============================================================================
   FAQ ACCORDION
   ============================================================================ */

.faq-item {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-normal);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 24px;
  height: 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

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

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: border-color var(--transition-normal);
}

.contact-item:hover .contact-icon {
  border-color: var(--color-accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-label {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.contact-value:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  background-color: var(--color-bg-card);
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 3rem;
  }
}

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

@media (min-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

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

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.form-submit {
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-darker);
  margin-top: 1rem;
}

/* ============================================================================
   SERVICES PAGE
   ============================================================================ */

.service-row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.service-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .service-row {
    flex-direction: row;
    gap: 3rem;
  }
  
  .service-row.reverse {
    flex-direction: row-reverse;
  }
}

.service-content {
  flex: 1;
}

.service-visual {
  flex: 1;
  width: 100%;
}

.service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.service-title {
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-card-visual {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.service-card-visual:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.service-card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background-color: var(--color-accent);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  display: inline-block;
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.service-card-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ============================================================================
   SERVICE DETAIL PAGE
   ============================================================================ */

.service-detail {
  max-width: 1024px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  transition: color var(--transition-normal);
}

.back-link:hover {
  color: var(--color-accent);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.detail-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.detail-title {
  margin-bottom: 2rem;
}

.detail-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.detail-box {
  background-color: var(--color-bg-card);
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.detail-box-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.detail-feature span {
  font-size: 1.125rem;
  color: #e0e0e0;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  padding-left: 2rem;
  margin-left: 1rem;
  border-left: 1px solid var(--color-border);
}

.timeline-step {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 24px;
  height: 24px;
  background-color: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.timeline-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.sidebar-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  background-color: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-normal);
}

.sidebar-cta:hover {
  background-color: var(--color-accent-hover);
}

.sidebar-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-darker);
  margin-top: 1rem;
}

.sidebar-quote {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
  }
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background-color: var(--color-bg-card);
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--color-accent);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .about-image-wrap {
    aspect-ratio: auto;
  }
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.1);
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--color-accent);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
}

@media (min-width: 768px) {
  .about-image-badge {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .about-image-badge {
    display: block;
  }
}

.about-image-badge-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #000;
}

.about-image-badge-text {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.8);
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  background-color: var(--color-bg-card);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .philosophy-card {
    padding: 2rem;
  }
}

.philosophy-icon {
  margin-bottom: 1rem;
}

.philosophy-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  margin: 0 auto;
}

.philosophy-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.philosophy-desc {
  color: var(--color-text-muted);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Mission Section */
.mission-section {
  max-width: 768px;
  margin: 0 auto;
}

.mission-label {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mission-text {
  color: var(--color-text-muted);
  font-size: clamp(0.9375rem, 3.5vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.mission-text:last-child {
  margin-bottom: 0;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.team-card:hover {
  border-color: var(--color-accent);
}

.team-image-container {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-card);
}

@media (min-width: 768px) {
  .team-image-container {
    aspect-ratio: 3 / 2;
  }
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-image {
  transform: scale(1.03);
}

.team-info {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .team-info {
    padding: 2rem;
  }
}

.team-name {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.team-title {
  color: var(--color-accent);
  font-size: clamp(0.8rem, 3vw, 0.875rem);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.team-description {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: clamp(0.8125rem, 3.5vw, 0.9375rem);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.expertise-tag {
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ============================================================================
   REVIEWS PAGE
   ============================================================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background-color: var(--color-bg-card);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-normal);
}

.review-card:hover {
  border-color: var(--color-accent);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  fill: var(--color-accent);
}

.review-quote {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal);
}

.review-card:hover .review-avatar {
  background-color: var(--color-accent);
}

.review-card:hover .review-avatar svg {
  color: #000;
}

.review-avatar svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

.review-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-normal);
}

.review-card:hover .review-name {
  color: var(--color-text);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
  padding-bottom: 2rem;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.footer-brand-icon span {
  font-weight: 700;
  font-size: 1.125rem;
  color: #000;
}

.footer-brand-text {
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

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

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-darker);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
  background-color: var(--color-accent);
  padding: 6rem 0;
  text-align: center;
}

.cta-title {
  color: #000;
  margin-bottom: 1.5rem;
}

.cta-desc {
  color: #000;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

/* Fade-in animations ONLY apply on pages with loading overlay (index.html) */
body.has-loading-overlay .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.has-loading-overlay .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* For pages WITHOUT loading overlay - no fade animations, instant visibility */
body:not(.has-loading-overlay) .fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Hero elements should be visible after intro animation (index only) */
body.has-loading-overlay.content-visible .hero .fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Skip hero animation if already shown */
.loading-complete .hero .fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

/* Delays only apply on index page */
body.has-loading-overlay .fade-in-delay-1 { transition-delay: 0.1s; }
body.has-loading-overlay .fade-in-delay-2 { transition-delay: 0.2s; }
body.has-loading-overlay .fade-in-delay-3 { transition-delay: 0.3s; }
body.has-loading-overlay .fade-in-delay-4 { transition-delay: 0.4s; }

/* Founder Section (Homepage) */
.founder-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-section {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.founder-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 2;
}

@media (min-width: 768px) {
  .founder-image-wrap {
    aspect-ratio: 3 / 2;
  }
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(30%);
  transition: filter var(--transition-slow);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.1);
}

.founder-image:hover {
  filter: grayscale(0%);
}

/* ============================================================================
   MISC
   ============================================================================ */

.checklist-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .checklist-section {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist-image {
  width: 100%;
  border-radius: var(--radius-sm);
  filter: grayscale(100%);
  transition: filter var(--transition-slow);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.1);
}

.checklist-image:hover {
  filter: grayscale(0%);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.checklist-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.checklist-icon svg {
  width: 14px;
  height: 14px;
  color: #000;
}

.checklist-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 256px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-text {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-accent);
  background-color: rgba(0, 0, 0, 0.5);
}

/* Service link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: color var(--transition-normal);
}

.service-link:hover {
  text-decoration: underline;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* 404 Page */
.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  margin-bottom: 1rem;
}

.not-found a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ============================================================================
   VERY SMALL SCREENS (< 350px)
   Extra adjustments for very narrow devices
   ============================================================================ */

@media (max-width: 350px) {
  /* Reduce container padding */
  .container {
    padding: 0 0.75rem;
  }
  
  /* Reduce section padding */
  .section {
    padding: 4rem 0;
  }
  
  /* Smaller card padding */
  .card,
  .card-service {
    padding: 1rem;
  }
  
  /* Smaller button padding */
  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.25rem;
  }
  
  /* Smaller hero buttons gap */
  .hero-buttons {
    gap: 0.75rem;
  }
  
  /* Reduce mobile nav padding */
  .mobile-nav-cta {
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
  }
  
  /* Adjust text sizes */
  .text-xl {
    font-size: 1rem;
  }
  
  .text-2xl {
    font-size: 1.25rem;
  }
}
