/* ============================================
   JUMTA MONTĀŽA RĪGĀ — Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* PRIMARY — Forest Green */
  --color-primary: #1B4332;
  --color-primary-light: #2D6A4F;
  --color-primary-dark: #132E23;
  --color-primary-bg: #E8F0EC;

  /* ACCENT — Copper / Warm Amber */
  --color-accent: #C17817;
  --color-accent-light: #D4922F;
  --color-accent-dark: #9E6112;
  --color-accent-bg: #FDF5EB;

  /* SECONDARY — Slate Blue-Grey */
  --color-secondary: #475569;
  --color-secondary-light: #64748B;
  --color-secondary-dark: #334155;

  /* BACKGROUNDS */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F7F8F6;
  --color-bg-tertiary: #EDEEE9;
  --color-bg-dark: #132E23;
  --color-bg-hover: #F0F2ED;

  /* TEXT */
  --color-text-primary: #1A2332;
  --color-text-secondary: #4A5568;
  --color-text-tertiary: #718096;
  --color-text-light: #A0AEC0;
  --color-text-on-dark: #F7FAFC;

  /* UI */
  --color-border: #CBD5E0;
  --color-border-light: #E2E8F0;

  /* SEMANTIC */
  --color-success: #2F855A;
  --color-success-bg: #E6FFED;
  --color-error: #C53030;
  --color-error-bg: #FFF5F5;

  /* FORM */
  --color-input-bg: #FFFFFF;
  --color-input-border: #CBD5E0;
  --color-input-border-focus: #2D6A4F;
  --color-input-placeholder: #A0AEC0;

  /* REVIEWS */
  --color-star-filled: #D4922F;
  --color-star-empty: #E2E8F0;
  --color-review-bg: #FFFFFF;
  --color-review-border: #E2E8F0;

  /* GRADIENTS */
  --gradient-primary: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  --gradient-accent: linear-gradient(135deg, #C17817 0%, #D4922F 100%);
  --gradient-hero: linear-gradient(160deg, #132E23 0%, #1B4332 40%, #2D6A4F 100%);

  /* TYPOGRAPHY */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --h1-size: 2.25rem;
  --h2-size: 1.75rem;
  --h3-size: 1.125rem;
  --font-size-review: 0.9375rem;
  --font-size-review-author: 0.9375rem;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;

  /* TRANSITIONS */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

@media (min-width: 768px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.125rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --h1-size: 3.25rem;
    --h2-size: 2.5rem;
    --h3-size: 1.375rem;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: var(--font-semibold);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* --- Section base --- */
.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 96px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
  .header {
    height: 72px;
  }
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.header-logo img {
  height: 38px;
  width: auto;
}

@media (min-width: 1024px) {
  .header-logo img {
    height: 44px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-tertiary);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-switcher a:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-hover);
}

.lang-switcher a.active {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
}

.lang-switcher svg {
  width: 18px;
  height: 14px;
  border-radius: 2px;
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text-primary);
  z-index: 1001;
}

.header.scrolled .hamburger {
  color: var(--color-text-primary);
}

.header:not(.scrolled) .hamburger {
  color: var(--color-text-on-dark);
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

.hamburger .icon-close {
  display: none;
}

.hamburger.active .icon-menu {
  display: none;
}

.hamburger.active .icon-close {
  display: block;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  padding: 8px 16px;
}

.mobile-menu .lang-switcher {
  margin-top: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
  border-radius: 12px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

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

/* Primary Button */
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  padding: 14px 28px;
  font-size: var(--text-base);
  box-shadow: 0 4px 14px rgba(193, 120, 23, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(193, 120, 23, 0.4);
}

/* Primary Large */
.btn-primary-lg {
  background: var(--gradient-accent);
  color: #fff;
  padding: 18px 36px;
  font-size: var(--text-lg);
  box-shadow: 0 4px 14px rgba(193, 120, 23, 0.3);
  border-radius: 14px;
}

.btn-primary-lg:hover {
  box-shadow: 0 6px 20px rgba(193, 120, 23, 0.4);
}

/* Primary Small */
.btn-primary-sm {
  background: var(--gradient-accent);
  color: #fff;
  padding: 10px 20px;
  font-size: var(--text-sm);
  box-shadow: 0 2px 10px rgba(193, 120, 23, 0.25);
}

.btn-primary-sm:hover {
  box-shadow: 0 4px 14px rgba(193, 120, 23, 0.35);
}

/* Secondary Button */
.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  font-size: var(--text-base);
}

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

/* White Button */
.btn-white {
  background: #fff;
  color: var(--color-primary);
  padding: 18px 36px;
  font-size: var(--text-lg);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* CTA subtext */
.cta-subtext {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: 12px;
  justify-content: center;
}

.cta-subtext svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* ============================================
   HERO — Split Layout
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: 64px;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 72px;
  }
}

.hero-content-col {
  position: relative;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  width: 100%;
  padding: 48px 20px 56px;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content-col {
    padding: 56px 32px 64px;
  }
}

@media (min-width: 1024px) {
  .hero-content-col {
    width: 55%;
    padding: 80px 60px 80px 0;
    padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  }
}

/* Roof-line SVG Pattern */
.hero-content-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='50' viewBox='0 0 100 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 L50 10 L100 50' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100px 50px;
  pointer-events: none;
}

.hero-image-col {
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-col {
    display: block;
    width: 45%;
    position: relative;
  }

  .hero-image-col img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.hero-inner {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 24px;
  color: var(--color-accent-light);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  backdrop-filter: blur(4px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.hero-cta-wrap {
  margin-bottom: 24px;
}

.hero .cta-subtext {
  color: rgba(255, 255, 255, 0.6);
}

.hero .cta-subtext svg {
  color: var(--color-accent-light);
}

/* Response Badge */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(193, 120, 23, 0.15);
  border: 1px solid rgba(193, 120, 23, 0.25);
  border-radius: 100px;
  color: var(--color-accent-light);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: 28px;
  animation: subtle-pulse 3s ease-in-out infinite;
}

.response-badge svg {
  width: 16px;
  height: 16px;
}

@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 120, 23, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(193, 120, 23, 0); }
}

/* Hero Mini Review */
.hero-mini-review {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mini-review .stars {
  display: flex;
  gap: 2px;
}

.hero-mini-review .stars svg {
  width: 14px;
  height: 14px;
  color: var(--color-star-filled);
  fill: var(--color-star-filled);
}

.hero-mini-review .review-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.hero-mini-review .review-author {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Hero Animations */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
}

.hero-animate.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.hero-animate-delay-1 { animation-delay: 0.1s; }
.hero-animate-delay-2 { animation-delay: 0.2s; }
.hero-animate-delay-3 { animation-delay: 0.3s; }
.hero-animate-delay-4 { animation-delay: 0.4s; }
.hero-animate-delay-5 { animation-delay: 0.5s; }
.hero-animate-delay-6 { animation-delay: 0.6s; }
.hero-animate-delay-7 { animation-delay: 0.7s; }

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

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--color-bg-secondary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(0, 0, 0, 0.015) 40px,
    rgba(0, 0, 0, 0.015) 41px
  );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

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

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

.service-card {
  background: var(--color-bg-primary);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--h3-size);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.services-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--color-bg-dark);
  padding: 40px 0;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  text-align: center;
}

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

@media (min-width: 1024px) {
  .trust-stats {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
}

.trust-stat-icon svg {
  width: 20px;
  height: 20px;
}

.trust-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #fff;
}

.trust-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
}

.trust-stat.highlighted .trust-stat-value {
  color: var(--color-accent-light);
}

.trust-stat.highlighted .trust-stat-icon {
  background: rgba(193, 120, 23, 0.2);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.why-us-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

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

.why-us-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .why-us-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.benefit-card.highlighted {
  border-color: var(--color-accent);
  background: var(--color-accent-bg);
}

.benefit-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.benefit-card.highlighted .benefit-card-icon {
  background: rgba(193, 120, 23, 0.15);
  color: var(--color-accent-dark);
}

.benefit-card-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.benefit-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  background: var(--color-bg-secondary);
}

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

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

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

.review-card {
  background: var(--color-review-bg);
  border: 1px solid var(--color-review-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-star-filled);
  fill: var(--color-star-filled);
}

.review-text {
  font-size: var(--font-size-review);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-size: var(--font-size-review-author);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

.review-author-location {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.review-author-date {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ============================================
   PROCESS — Horizontal Timeline
   ============================================ */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

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

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

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

/* Connecting line */
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: var(--color-border-light);
  }
}

.process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base), background var(--transition-base);
}

.process-step:hover .process-step-number {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.process-step-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  color: var(--color-accent);
}

.process-step-icon svg {
  width: 100%;
  height: 100%;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.process-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   MATERIALS
   ============================================ */
.materials {
  background: var(--color-bg-secondary);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.material-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.material-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.material-card-icon svg {
  width: 28px;
  height: 28px;
}

.material-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.material-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

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

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

.area-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.area-tag:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-color: var(--color-primary-bg);
}

.area-tag svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================
   FAQ — Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-bg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--h3-size);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-tertiary);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='50' viewBox='0 0 100 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 L50 10 L100 50' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100px 50px;
  pointer-events: none;
}

.final-cta .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  color: #fff;
  margin-bottom: 16px;
  line-height: var(--leading-tight);
}

.final-cta .section-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.final-cta .cta-subtext {
  color: rgba(255, 255, 255, 0.6);
}

.final-cta .cta-subtext svg {
  color: var(--color-accent-light);
}

.final-cta-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 32px;
}

.final-cta-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.final-cta-guarantee svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-light);
}

.final-cta-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta-review .stars {
  display: flex;
  gap: 2px;
}

.final-cta-review .stars svg {
  width: 14px;
  height: 14px;
  color: var(--color-star-filled);
  fill: var(--color-star-filled);
}

.final-cta-review .review-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  padding: 32px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

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

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-center {
    align-items: flex-start;
  }
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer .lang-switcher a {
  color: rgba(255, 255, 255, 0.5);
}

.footer .lang-switcher a:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.footer .lang-switcher a.active {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FORM PANEL — Slide-in from Right
   ============================================ */
.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 4999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.form-overlay.open {
  opacity: 1;
  visibility: visible;
}

.form-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 32px;
}

.form-panel.open {
  transform: translateX(0);
}

@media (max-width: 767px) {
  .form-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    padding: 24px 20px 32px;
  }

  .form-panel.open {
    transform: translateY(0);
  }
}

.form-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-panel-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

.form-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: all var(--transition-fast);
}

.form-panel-close:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.form-panel-close svg {
  width: 18px;
  height: 18px;
}

.form-response-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-accent-bg);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: var(--text-sm);
  color: var(--color-accent-dark);
  font-weight: var(--font-medium);
}

.form-response-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Form Fields */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-input-bg);
  border: 1.5px solid var(--color-input-border);
  border-radius: 10px;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-input-border-focus);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23718096' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--color-error);
}

.form-group.error .form-error {
  display: block;
}

/* Honeypot */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Submit Button */
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: var(--text-base);
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  text-align: center;
  margin-top: 12px;
  line-height: var(--leading-relaxed);
}

.form-privacy a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.form-success p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.form-content.hidden {
  display: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Star animation */
@keyframes star-pop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.review-stars svg {
  animation: star-pop 0.3s ease forwards;
  opacity: 0;
}

.visible .review-stars svg:nth-child(1) { animation-delay: 0.1s; }
.visible .review-stars svg:nth-child(2) { animation-delay: 0.15s; }
.visible .review-stars svg:nth-child(3) { animation-delay: 0.2s; }
.visible .review-stars svg:nth-child(4) { animation-delay: 0.25s; }
.visible .review-stars svg:nth-child(5) { animation-delay: 0.3s; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   FOCUS STYLES
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   UTILITY
   ============================================ */
/* ============================================
   EMERGENCY SECTION
   ============================================ */
.emergency {
  background: var(--color-bg-alt, #faf7f2);
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

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

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

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

.emergency-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-light, #fef3e2);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid var(--color-accent);
  transition: transform var(--transition-base), background var(--transition-base);
}

.emergency-step:hover .emergency-step-number {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.1);
}

.emergency-step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  margin-bottom: 6px;
}

.emergency-step p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

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

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
