:root {
  --primary: #0B2545;
  --secondary: #134074;
  --accent: #C59B27;
  --accent-hover: #AA821E;
  --bg-light: #EEF4F8;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --success: #10B981;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: bold;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 10px;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

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

/* Header & Nav */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-serif);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--text-dark);
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--accent);
}

.nav-btn {
  background-color: var(--primary);
  color: var(--bg-white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}

.nav-btn:hover {
  background-color: var(--accent);
  color: var(--primary) !important;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: var(--bg-white);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 2000;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
}

.mobile-drawer.active {
  right: 0;
}

.close-drawer-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 100px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  color: var(--bg-white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: #D3E0EA;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
}

.btn-outline {
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 4px;
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary);
}

.hero-img-wrapper img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Stats Section */
.stats {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Services section */
.services-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card-body {
  padding: 25px;
}

.service-card-title {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Features */
.features {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-top: 30px;
}

.features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
}

.features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 2px;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.popular-tag {
  background-color: var(--accent);
  color: var(--primary);
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.price {
  font-size: 40px;
  font-family: var(--font-serif);
  color: var(--primary);
  margin-bottom: 25px;
}

.price span {
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  margin-bottom: 35px;
  text-align: left;
}

.pricing-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-list li i {
  color: var(--success);
  margin-right: 10px;
}

/* Form Section */
.form-section {
  padding: 100px 0;
  background-color: var(--primary);
  color: var(--bg-white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-info h2 {
  color: var(--bg-white);
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  color: var(--text-dark);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px;
}

.form-control:focus {
  outline: 2px solid var(--accent);
}

.checkbox-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-serif);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  margin-top: 15px;
  color: var(--text-muted);
  display: none;
}

/* Trust Layer */
.trust-layer {
  background-color: #051429;
  color: #8fa0b5;
  padding: 40px 0;
  border-bottom: 1px solid #132742;
  font-size: 13px;
}

.trust-layer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-header {
  font-weight: bold;
  color: var(--accent);
  font-size: 14px;
}

/* Footer */
.footer {
  background-color: #030a14;
  color: #7d8c9e;
  padding: 60px 0 30px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
  color: var(--bg-white);
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: #7d8c9e;
}

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

.footer-bottom {
  border-top: 1px solid #132742;
  padding-top: 30px;
  text-align: center;
}

.footer-legal-mention {
  margin-top: 15px;
  font-size: 11px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 14px;
  color: var(--text-dark);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn-reject {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* Map Frame */
.map-container {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .features-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .pricing-grid, .footer-container {
    grid-template-columns: 1fr;
  }
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-title {
    font-size: 32px;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}