:root {
  --accent: #1F3A4D;
  --accent-hover: #142734;
  --bg-page: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-subtle: #F0F0EB;
  --text-main: #222222;
  --text-muted: #5A5A55;
  --text-body: #444444;
  --border-color: #D9D9D3;
  --border-input: #BDBDB6;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w-content: 1040px;
  --max-w-reading: 760px;
}

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(250, 250, 248, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: center;
  justify-content: space-between;
}

.brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-decoration: none;
}

.brand-name:hover {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 16px;
  align-items: center;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  padding-bottom: 3px;
}

.nav-link.active {
  border-bottom: 2px solid var(--text-main);
  font-weight: 600;
}

.nav-link.login-link {
  color: var(--text-muted);
}

/* Page Headers & Typography */
.page-header-section {
  max-width: var(--max-w-reading);
  margin: 0 auto;
  padding: 64px 24px 44px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-title {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-main);
}

.page-subtitle {
  font-size: 20px;
  color: var(--text-body);
}

.divider {
  max-width: var(--max-w-reading);
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.divider-wide {
  max-width: var(--max-w-content);
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF !important;
  padding: 13px 28px;
  font-size: 16px;
  letter-spacing: 0.03em;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* Slideshow Container */
.slider-container {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  max-height: 650px;
  overflow: hidden;
  background: #111827;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  max-width: 800px;
  color: #FFFFFF;
  text-align: center;
}

.slide-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.slide-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 16px;
}

.slide-text {
  font-size: 19px;
  color: #E2E8F0;
  margin-bottom: 26px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.slide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(15, 23, 42, 0.8);
}

.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #FFFFFF;
  width: 26px;
  border-radius: 6px;
}

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

.form-label {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border-input);
  background: #FFFFFF;
  color: var(--text-main);
  font-family: inherit;
}

.form-textarea {
  resize: vertical;
}

.form-input:focus, .form-textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

/* Cards & Layout Grids */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-bottom: 36px;
}

.step-card {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}

.step-number {
  font-size: 36px;
  line-height: 1;
  color: #8A8A84;
  min-width: 44px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
  background: var(--bg-page);
}

.footer-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 14px;
  color: var(--text-muted);
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a {
  color: var(--text-muted);
}