/* ============================================
   Fedders Hydraulics — Design System
   Primary: #0057B7 | Accent: #FF6B35
   ============================================ */

/* --- Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+TC:wght@300;400;500;700;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- CSS Variables (Light Theme) --- */
:root {
  /* Brand Core */
  --brand-primary: #0057B7;
  --brand-primary-light: #2979D5;
  --brand-primary-dark: #003D80;
  --brand-accent: #FF6B35;
  --brand-accent-light: #FF8C5A;

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0F4FF;
  --bg-hero: #0A1628;
  --bg-footer: #0A1628;

  /* Text */
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-on-dark: #F7FAFC;
  --text-on-dark-secondary: #A0AEC0;

  /* UI */
  --border: #E2E8F0;
  --border-hover: #CBD5E0;
  --divider: #EDF2F7;

  /* Feedback */
  --success: #38A169;
  --warning: #D69E2E;
  --error: #E53E3E;
  --info: #3182CE;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Typography */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tc: 'Noto Sans TC', 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Noto Sans TC', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 80px 0;
  --section-padding-mobile: 48px 0;

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

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

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

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

body.lang-zh {
  font-family: var(--font-tc);
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--brand-accent); }

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

body.lang-zh .btn {
  font-family: var(--font-tc);
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

.btn-accent:hover {
  background: #E55A2B;
  border-color: #E55A2B;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-primary);
  text-decoration: none;
}

.navbar-logo-img {
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width var(--transition-normal);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--brand-primary);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-btn.active {
  background: var(--brand-primary);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: var(--brand-primary);
  background: var(--bg-secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* --- Hero Section --- */
.hero {
  min-height: 85vh;
  background: var(--bg-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.95) 0%,
    rgba(10,22,40,0.7) 50%,
    rgba(0,87,183,0.3) 100%
  );
  z-index: 1;
}

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

.hero-content {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  color: var(--brand-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--text-on-dark);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: var(--text-on-dark-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Small (Subpages) */
.hero-small {
  min-height: 35vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.hero-small .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.6) 100%
  );
}

.hero-small .container {
  position: relative;
  z-index: 2;
  padding: 3rem 24px;
}

.hero-small h1 {
  color: var(--text-on-dark);
  margin-bottom: 0.75rem;
}

.hero-small p {
  color: var(--text-on-dark-secondary);
  font-size: 1.125rem;
  max-width: 600px;
}

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

.section-alt {
  background: var(--bg-secondary);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--text-on-dark);
}

.section-dark .section-desc {
  color: var(--text-on-dark-secondary);
}

.section-dark .contact-form {
  background: var(--bg-primary);
  border-color: var(--border);
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary-light);
  background: var(--bg-card-hover);
  color: inherit;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,87,183,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card .card-link {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.service-card .card-link svg {
  transition: transform var(--transition-fast);
}

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

/* --- Client Logos --- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  padding: 2rem 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all var(--transition-normal);
  padding: 1rem;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.logo-placeholder {
  width: 120px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* --- Promise Section --- */
.promise-section {
  background: var(--brand-primary);
  padding: 3rem 0;
  text-align: center;
}

.promise-section blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
}

.promise-section cite {
  display: block;
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-style: normal;
}

/* --- Page Header / Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: var(--border-hover);
}

.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- About Page --- */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--brand-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--brand-primary);
}

.timeline-year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition-normal);
}

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

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Subpage Content --- */
.subpage-content {
  padding: 3rem 0;
}

.subpage-content .container {
  max-width: 900px;
}

.subpage-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.subpage-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.subpage-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.subpage-content ul,
.subpage-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

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

.subpage-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  padding-top: 3.5rem;
}

.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(0,87,183,0.15);
  line-height: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0,87,183,0.12);
}

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

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

/* --- Contact Info --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.contact-info-card .info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,87,183,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
}

.contact-info-card h4 {
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Products Page --- */
.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.product-card-img {
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.product-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* --- Training Page --- */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

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

.course-card h3 {
  margin-bottom: 0.5rem;
}

.course-card .course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.course-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
  background: var(--bg-footer);
  padding: 4rem 0 0;
  color: var(--text-on-dark-secondary);
}

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

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
}

.footer h4 {
  color: var(--text-on-dark);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-on-dark-secondary);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer-contact-item .label {
  color: var(--text-on-dark);
  font-weight: 500;
  min-width: 60px;
}

.footer-contact-item .value {
  color: var(--text-on-dark-secondary);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
}

/* --- Map Placeholder --- */
.map-placeholder {
  width: 100%;
  height: 350px;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  border: 1px dashed var(--border);
  margin: 2rem 0;
}

/* --- Gallery Placeholder --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  border: 1px solid var(--border);
}

/* --- Coverage Map --- */
.coverage-map {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
}

.map-svg {
  width: 100%;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

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

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

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 24px;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-link {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--divider);
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 0.75rem;
  }

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

  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

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

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

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

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

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

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .section {
    padding: var(--section-padding-mobile);
  }
}

@media (max-width: 480px) {
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Utility --- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
