:root {
  --bg: #0a1628;
  --surface: #e8e2d6;
  --ink: #b8860b;
  --accent: #1b3b5c;
  --accent2: #8b5e3c;
  --text-main: #e8e2d6;
  --text-muted: #a0a8b5;
  --shadow-sm: 0 4px 12px rgba(10, 22, 40, 0.4);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.6);
  --shadow-lg: 0 16px 32px rgba(10, 22, 40, 0.8);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Antique Olive', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--surface);
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--surface);
}

p {
  font-size: 18px;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.site-grid {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.chevron-vertical {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  padding: 16px 0;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.05em;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

#menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--surface);
  margin: 5px 0;
  transition: var(--transition);
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.main-nav a:hover, .main-nav a:focus {
  border-color: var(--ink);
  color: var(--ink);
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--ink);
  z-index: 101;
  transition: width 0.1s linear;
}

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(30deg, transparent, transparent 19px, rgba(184, 134, 11, 0.15) 20px),
    repeating-linear-gradient(150deg, transparent, transparent 19px, rgba(184, 134, 11, 0.15) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(184, 134, 11, 0.15) 20px);
  background-size: 34.64px 40px;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 60px 24px;
}

.floating-container {
  background: rgba(27, 59, 92, 0.4);
  border: 1px solid rgba(184, 134, 11, 0.3);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

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

.btn-secondary {
  background: transparent;
  color: var(--surface);
  border: 2px solid var(--surface);
}

.btn-secondary:hover {
  background: rgba(232, 226, 214, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.chevron-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.stats-section {
  padding: 80px 0;
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius);
  background: rgba(27, 59, 92, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.about-section, .process-section, .features-section, .benefits-section, .testimonials-section, .faq-section, .contact-section, .cta-section {
  padding: 80px 0;
  position: relative;
}

.about-section .content-block {
  width: 60%;
  margin-right: auto;
  margin-left: 0;
}

.about-section .content-block h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--ink);
  margin: 16px 0 24px 0;
}

.process-section .content-block, .features-section .content-block, .benefits-section .content-block {
  width: 40%;
  margin-left: auto;
  margin-right: 0;
}

.process-section .content-block h2::after, .features-section .content-block h2::after, .benefits-section .content-block h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--ink);
  margin: 16px 0 24px 0;
  margin-left: auto;
}

.process-grid, .features-grid, .benefits-grid, .testimonials-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card, .benefit-card {
  background: rgba(27, 59, 92, 0.3);
  border: 1px solid var(--ink);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover, .benefit-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: var(--shadow-md);
}

.accent-block .corner-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.feature-icon, .benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.testimonials-section {
  background: rgba(27, 59, 92, 0.2);
}

.testimonial-card {
  background: var(--surface);
  color: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--ink);
}

.stars {
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.5;
}

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

.author-initial {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-section .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--surface);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--ink);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-bottom: 0;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
}

.faq-answer.open {
  max-height: 500px;
}

.contact-section form {
  max-width: 600px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-field input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(27, 59, 92, 0.5);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--surface);
  font-size: 16px;
}

.form-field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--accent2);
}

.field-error {
  color: #e74c3c;
  font-size: 14px;
  display: block;
  margin-top: 4px;
  min-height: 20px;
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--bg));
  padding: 100px 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.site-footer {
  background: #050d18;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand h3, .footer-nav h4, .footer-info h4, .footer-legal h4 {
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-nav a, .footer-info a, .footer-legal a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-nav a:hover, .footer-info a:hover, .footer-legal a:hover {
  color: var(--surface);
}

.footer-bottom {
  border-top: 1px solid rgba(184, 134, 11, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid var(--ink);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 16px;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-actions button {
  padding: 8px 16px;
  background: var(--accent);
  color: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.cookie-actions button:hover {
  background: var(--ink);
  color: var(--bg);
}

.legal-page .container {
  max-width: 900px;
}

.breadcrumb-section ol {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb-section a {
  color: var(--ink);
  text-decoration: none;
}

.legal-page-intro {
  padding: 60px 0;
  background: var(--bg);
}

.legal-content {
  padding: 40px 0 80px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 24px;
  color: var(--surface);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}

.legal-table th, .legal-table td {
  border: 1px solid rgba(184, 134, 11, 0.3);
  padding: 12px;
  text-align: left;
}

.legal-table th {
  background: var(--accent);
  color: var(--surface);
}

.thank-you-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.thank-you-card {
  background: var(--accent);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 600px;
  width: 100%;
  border: 1px solid var(--ink);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible, .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--ink);
  }

  .main-nav.open {
    display: flex;
  }

  .about-section .content-block, .process-section .content-block, .features-section .content-block, .benefits-section .content-block {
    width: 100%;
    margin: 0;
  }

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

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand, .footer-nav, .footer-info, .footer-legal {
    margin-bottom: 24px;
  }
}

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