/* site2_swiss_routes: Alpine Route Architecture - Modern Precision */
:root {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #0f172a;
  --accent: #047857;
  --accent-soft: #ecfdf5;
  --accent-hover: #065f46;
  --accent-blue: #0284c7;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container-max: 1140px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-tag {
  background: var(--bg-subtle);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

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

.header-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero-section {
  padding: 56px 0 44px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--text-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Photo Box */
.editorial-photo-box {
  margin: 36px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.editorial-photo-box img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.photo-caption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-caption-loc {
  font-weight: 600;
  color: var(--text-primary);
}

/* Three Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Timeline Showcase */
.timeline-section {
  padding: 64px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 40px;
}

.timeline-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.timeline-header {
  background: var(--bg-subtle);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.timeline-flow {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

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

.step-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

.step-meta {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  font-family: var(--font-mono);
}

/* Route Frameworks Grid */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.framework-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.framework-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.framework-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.framework-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.framework-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.framework-specs {
  list-style: none;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.framework-specs li {
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

/* Lead Section & Layout */
.intake-section {
  padding: 72px 0;
}

.intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.intake-info h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.intake-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.intake-deliverables {
  list-style: none;
}

.intake-deliverables li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-icon {
  color: var(--accent);
  font-weight: 800;
}

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

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

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.hidden-field {
  display: none !important;
  visibility: hidden !important;
}

/* Footer */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 48px 0 32px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 440px;
}

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  text-align: center;
}

.modal-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.modal-btn {
  padding: 11px 24px;
  background: var(--text-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title {
    font-size: 32px;
  }
  .pillars-grid, .frameworks-grid {
    grid-template-columns: 1fr;
  }
  .intake-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .timeline-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-meta {
    text-align: left;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  .mobile-toggle {
    display: block;
  }
}
