/* ============================================================
   Emerald FCS Inc — Construction & Development
   Master Stylesheet
   Colors derived from logo: Emerald Green + Charcoal Gray
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary — Emerald Green from logo */
  --primary: #0B7A3E;
  --primary-dark: #065A2B;
  --primary-light: #0E9B4F;
  --primary-ultra-light: #E8F5ED;

  /* Secondary — Charcoal Gray from logo */
  --secondary: #4A4A4A;
  --secondary-dark: #2D2D2D;
  --secondary-light: #6B6B6B;

  /* Accent — Gold for CTAs (complements emerald) */
  --accent: #C8963E;
  --accent-dark: #A67A2E;
  --accent-light: #D4A843;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #EAEAEA;
  --medium-gray: #CCCCCC;
  --dark: #1A1A1A;
  --text: #333333;
  --text-light: #666666;

  /* Typography */
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

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

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

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

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

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

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* --- Section Styles --- */
.section {
  padding: var(--section-padding);
}

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

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

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

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-green p {
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  padding: 10px 0;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

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

.header-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .header-logo img {
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}

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

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

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

/* scrolled state inherits default dark nav link colors */

.nav-cta {
  display: inline-flex;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--secondary-dark);
  transition: var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(11,122,62,0.06)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 120px 0 80px;
}

.hero-content {
  flex: 1;
  max-width: 700px;
}

.hero-logo-scroll {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 280px;
  height: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-ultra-light);
  border: 1px solid rgba(11, 122, 62, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--secondary-dark);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-light);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* Hero decorative shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border: 2px solid rgba(11, 122, 62, 0.1);
  border-radius: 50%;
}

.hero-shapes .shape-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  border-width: 3px;
  border-color: rgba(11, 122, 62, 0.08);
}

.hero-shapes .shape-2 {
  width: 350px;
  height: 350px;
  bottom: 5%;
  left: -5%;
  border-color: rgba(11, 122, 62, 0.06);
}

.hero-shapes .shape-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 25%;
  background: rgba(11, 122, 62, 0.03);
  border-color: rgba(11, 122, 62, 0.08);
}

/* --- Problem Section --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

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

.problem-card .icon {
  width: 56px;
  height: 56px;
  background: var(--primary-ultra-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card .icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.problem-card h3 {
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.95rem;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.service-card-image {
  height: 220px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.service-card-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--light-gray) 100%);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card-body .service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-body .service-link:hover {
  gap: 10px;
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.benefits-content h2 {
  margin-bottom: 20px;
}

.benefits-content > p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.benefit-item .check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-ultra-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.benefit-item .check svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.benefit-item h4 {
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.benefits-image {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--light-gray) 100%);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Process Section --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--accent-light);
  opacity: 0.4;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  border: 3px solid var(--primary);
  position: relative;
  z-index: 2;
}

.section-dark .step-number {
  background: var(--secondary-dark);
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* --- Testimonials Section --- */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  text-align: center;
  padding: 48px 40px;
  display: none;
}

.testimonial-card.active {
  display: block;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  font-weight: 700;
  color: var(--secondary-dark);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-gray);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* --- FAQ Section --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary-dark);
  transition: var(--transition);
}

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

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 20px;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--secondary);
  transition: var(--transition);
}

.faq-question .faq-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question .faq-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-question .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.cta-section .btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.cta-phone {
  display: block;
  margin-top: 20px;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.cta-phone a {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 2px solid #fff;
  text-decoration: none;
}

.cta-phone a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- Articles/Blog Preview --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.article-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-card-body {
  padding: 24px;
}

.article-card-body .category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.article-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-body h3 a {
  color: var(--secondary-dark);
}

.article-card-body h3 a:hover {
  color: var(--primary);
}

.article-card-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.read-more {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: var(--primary-light);
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a:hover {
  color: var(--white);
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ultra-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--light-gray) 100%);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
}

/* --- Blog / Article Page --- */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-body .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-card-body h3 {
  margin-bottom: 10px;
}

.blog-card-body h3 a {
  color: var(--secondary-dark);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background: var(--off-white);
  padding: 28px;
  border-radius: var(--radius-md);
}

.sidebar-widget h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul li {
  margin-bottom: 10px;
}

.sidebar-widget ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.sidebar-widget ul li a:hover {
  color: var(--primary);
}

/* Article single */
.article-content {
  max-width: 780px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.article-meta {
  text-align: center;
  padding: 20px 0 40px;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 40px;
}

.article-meta .category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}

.article-meta .date {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .blog-card {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  /* Mobile navigation */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links a {
    color: var(--secondary-dark);
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 24px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile overlay */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Grid adjustments */
  .problem-grid,
  .services-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

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

  .benefits-image {
    height: 300px;
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-layout {
    flex-direction: column;
    text-align: center;
    padding: 100px 0 60px;
    gap: 30px;
  }

  .hero-logo-scroll {
    order: -1;
  }

  .hero-logo-img {
    width: 180px;
  }

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

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .page-header {
    padding: 140px 0 60px;
  }
}
