/* ========================================
   CSS VARIABLES - INDUSTRIAL DESIGN SYSTEM
   ======================================== */

:root {
  /* Color Palette - Maroon & Gray */
  --primary: #4a5568;           /* Cool gray */
  --primary-dark: #2d3748;      /* Darker gray */
  --secondary: #718096;         /* Mid gray */
  --accent: #8B1538;            /* Maroon/burgundy */
  --accent-dark: #6B1128;       /* Darker maroon */
  --dark: #1a1a1a;              /* Deep black */
  --light: #e5e7eb;             /* Light gray */
  --background: #f3f4f6;        /* Off-white gray */
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --gray-600: #718096;
  --gray-700: #4a5568;
  --gray-800: #2d3748;
  --gray-900: #1a202c;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3.5rem;
  --spacing-xl: 5rem;
  --spacing-xxl: 7rem;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.25);

  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1200px;
  --container-wide: 1400px;
}

/* ========================================
   BASE STYLES
   ======================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

h1 {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h3 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

h5 {
  font-size: 1.25rem;
  font-weight: 700;
}

h6 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: var(--spacing-sm);
}

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

a:hover {
  color: var(--accent-dark);
}

ul, ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

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

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

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

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}

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

.section-gray {
  background-color: var(--gray-100);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-container {
  position: fixed;
  top: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--container-max);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all var(--transition-base);
}

.nav-container.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow-xl);
  background: rgba(26, 26, 26, 0.98);
  padding: 0.75rem 2rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.nav-logo a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.nav-logo a:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--white);
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-top: 0.2rem;
}

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

.nav-links > a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links > a:hover {
  background: var(--accent);
  color: var(--white);
}

/* Navigation CTA Button */
.nav-cta-btn {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.625rem 1.75rem !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.nav-cta-btn:hover {
  background: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.nav-cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.nav-cta-btn:active {
  transform: translateY(0);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-btn:hover {
  background: var(--accent);
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  background: var(--dark);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xs);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown.active .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-content a {
  display: block;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.nav-dropdown-content a:hover {
  background: var(--accent);
  color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav > a {
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.mobile-nav > a:hover {
  background: var(--accent);
}

.mobile-dropdown-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.mobile-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: var(--spacing-sm);
  margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: flex;
}

.mobile-dropdown-content a {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.85rem;
}

.mobile-dropdown-content a:hover {
  background: var(--accent);
}

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

.hero {
  background: var(--white);
  padding: calc(var(--spacing-xxl) + 100px) 0 0 0;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  padding-bottom: var(--spacing-xxl);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  height: 600px;
  overflow: hidden;
  animation: fadeInLeft 0.8s ease-out;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 200px;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

/* Hero Content */
.hero-content {
  padding-left: var(--spacing-lg);
}

.hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--spacing-md);
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.hero h1 {
  color: var(--dark);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: var(--spacing-xl);
  max-width: 550px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
  position: relative;
}

.hero-wave .shape-fill {
  fill: var(--gray-100);
}

/* Page Hero (non-homepage heroes) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: calc(var(--spacing-xxl) + 120px) 0 calc(var(--spacing-xxl) + 40px) 0;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero .hero-content {
  max-width: 900px;
  color: var(--white);
  padding-left: 0;
  animation: fadeInUp 0.8s ease-out;
}

.page-hero h1 {
  color: var(--white);
  font-size: 4rem;
  text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.4);
  animation: none;
  margin-bottom: var(--spacing-lg);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero .hero-subtitle {
  color: var(--white);
  opacity: 1;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
  animation: none;
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-xl) + var(--spacing-md));
  font-weight: 400;
}

.page-hero .hero-accent {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.page-hero .hero-buttons {
  animation: none;
  gap: var(--spacing-lg);
  justify-content: center;
}

.page-hero .hero-wave .shape-fill {
  fill: var(--white);
}

/* Service-specific hero backgrounds */
.page-hero.sealing-hero {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(52, 73, 94, 0.88) 100%), url('/images/sealing/IMG_0841.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.staining-hero {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.92) 0%, rgba(44, 62, 80, 0.88) 100%), url('/images/staining/IMG_0635.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.epoxy-hero {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.92) 0%, rgba(44, 62, 80, 0.88) 100%), url('/images/epoxy/IMG_2834.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.sealing-hero .hero-accent,
.page-hero.staining-hero .hero-accent,
.page-hero.epoxy-hero .hero-accent {
  color: var(--accent);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1.125rem 2.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.section-header h2 {
  margin-bottom: var(--spacing-md);
}

.section-header p {
  font-size: 1.1875rem;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 400;
}

.section-dark .section-header p {
  color: var(--light);
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: var(--spacing-lg) var(--spacing-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
  text-align: center;
  border: 1px solid var(--gray-200);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(139, 21, 56, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-base);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin: 0;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

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

.service-card:hover .service-icon-wrapper {
  background: rgba(139, 21, 56, 0.1);
  transform: scale(1.05);
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(139, 21, 56, 0.2);
}

.service-card h3 {
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-card p {
  color: var(--gray-600);
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
}

.service-card .btn {
  margin-top: auto;
  flex-shrink: 0;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.process-step {
  position: relative;
  text-align: left;
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.process-number {
  width: 56px;
  height: 56px;
  margin: 0 0 var(--spacing-md) 0;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  transition: transform var(--transition-base);
}

.process-step:hover .process-number {
  transform: rotate(360deg) scale(1.1);
}

.process-step h4 {
  margin-bottom: var(--spacing-md);
  color: var(--dark);
  font-size: 1.375rem;
}

.process-step p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1.0625rem;
}

.section-dark .process-step h4 {
  color: var(--dark);
}

.section-dark .process-step p {
  color: var(--gray-600);
}

/* ========================================
   BENEFITS GRID
   ======================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.benefit-item {
  background: var(--white);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(139, 21, 56, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(139, 21, 56, 0.2);
}

.benefit-item:hover .benefit-icon-wrapper {
  background: rgba(139, 21, 56, 0.1);
  transform: scale(1.05);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin: 0;
  transition: all var(--transition-base);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
  color: var(--primary);
}

.benefit-item h4 {
  color: var(--dark);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  font-weight: 700;
}

.benefit-item p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-section {
  position: relative;
  overflow: hidden;
}

.why-choose-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.why-choose-curve svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
  position: relative;
  transform: translateZ(0);
}

.why-choose-curve .shape-fill {
  fill: #ffffff;
}

.why-choose-header {
  max-width: 800px;
  margin: 0 auto var(--spacing-xxl) auto;
}

.why-choose-intro {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: rgba(139, 21, 56, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
}

.section-dark .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.why-choose-intro h2 {
  margin-bottom: var(--spacing-md);
  font-size: 3rem;
  font-weight: 800;
}

.why-choose-intro p {
  font-size: 1.1875rem;
  color: var(--light);
  line-height: 1.7;
  opacity: 0.9;
}

.benefits-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
  position: relative;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.benefit-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  letter-spacing: -0.02em;
  transition: transform var(--transition-base);
}

.benefit-card:hover .benefit-number {
  transform: scale(1.1);
}

.benefit-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.benefit-card p {
  color: var(--light);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.85;
}

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

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

.cta-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.6s ease-out;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 2.75rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* CTA Curve */
.cta-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.cta-curve svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.cta-curve .shape-fill {
  fill: var(--dark);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  transition: transform var(--transition-base);
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 1.125rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.section-dark .stat-label {
  color: var(--light);
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

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

.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.content-text h2 {
  margin-bottom: var(--spacing-md);
}

.content-text p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
  font-size: 1.0625rem;
}

.content-text ul {
  margin-bottom: var(--spacing-md);
}

.content-text ul li {
  color: var(--gray-600);
  margin-bottom: var(--spacing-xs);
  font-size: 1.0625rem;
}

.content-image {
  width: 100%;
  height: 400px;
  background: var(--gray-300);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  overflow: hidden;
}

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

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

.footer {
  background: var(--dark);
  color: var(--light);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-md);
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--spacing-md);
}

.footer-icon {
  width: 36px;
  height: 36px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0;
  line-height: 1;
}

.footer-subtitle {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-top: 0.3rem;
  display: block;
}

.footer-section h4 {
  color: var(--accent);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: var(--gray-400);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ========================================
   PHOTO GALLERY
   ======================================== */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid var(--gray-200);
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  border-color: var(--accent);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.featured-work-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
  /* Typography */
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-container {
    width: 95%;
  }

  /* Content sections */
  .content-section {
    grid-template-columns: 1fr;
  }

  .content-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  h2 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  body {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl) 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero-image-wrapper {
    height: 400px;
    order: 2;
  }

  .hero-image {
    border-radius: 0 0 0 100px;
  }

  .hero-content {
    padding-left: 0;
    order: 1;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 1.0625rem;
  }

  .hero-wave svg {
    height: 70px;
  }

  .page-hero {
    min-height: 400px;
    padding: calc(var(--spacing-xl) + 100px) 0 calc(var(--spacing-xl) + 30px) 0;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .page-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
  }

  .page-hero .hero-buttons {
    gap: var(--spacing-md);
  }

  .why-choose-curve svg {
    height: 70px;
  }

  .cta-curve svg {
    height: 60px;
  }

  .hero-buttons {
    flex-direction: row;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Benefits Showcase */
  .benefits-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-number {
    font-size: 3rem;
  }

  .why-choose-intro h2 {
    font-size: 2.25rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Sections */
  .section {
    padding: var(--spacing-xl) 0;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  /* Typography */
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  /* Navigation */
  .nav-container {
    width: 100%;
    border-radius: 0;
    top: 0;
  }

  .nav-container.scrolled {
    top: 0;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-subtitle {
    font-size: 0.6rem;
  }

  /* Hero */
  .hero {
    padding: calc(var(--spacing-xl) + 60px) 0 var(--spacing-xl) 0;
  }

  .hero-image-wrapper {
    height: 350px;
  }

  .hero-image {
    border-radius: 0 0 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-label {
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .hero-wave svg {
    height: 50px;
  }

  .page-hero {
    min-height: 350px;
    padding: calc(var(--spacing-xl) + 80px) 0 calc(var(--spacing-xl) + 20px) 0;
  }

  .page-hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .page-hero .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
  }

  .page-hero .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .page-hero .hero-buttons .btn {
    width: 100%;
  }

  /* Featured Work Buttons */
  .featured-work-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .featured-work-buttons .btn {
    width: 100%;
  }

  .why-choose-curve svg {
    height: 50px;
  }

  .cta-curve svg {
    height: 40px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Benefits Showcase */
  .benefits-showcase {
    grid-template-columns: 1fr;
  }

  .benefit-number {
    font-size: 2.5rem;
  }

  .benefit-card {
    padding: var(--spacing-lg);
  }

  .section-label {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  /* Spacing */
  :root {
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }

  .container,
  .container-wide {
    padding: 0 var(--spacing-sm);
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

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

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
