:root {
  --primary-color: #1A365D;
  --primary-light: #2A4365;
  --accent-color: #D69E2E;
  --accent-hover: #B7791F;
  --text-dark: #2D3748;
  --text-light: #718096;
  --bg-light: #F7FAFC;
  --bg-white: #FFFFFF;
  --error-color: #E53E3E;
  --border-color: #E2E8F0;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', -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-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.65;
  font-size: 18px;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

.skip-link:focus {
  top: 0;
}

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

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Main Container */
main {
  min-height: calc(100vh - 140px);
}

/* Sections */
section {
  padding: 80px 20px;
}

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

.bg-alt {
  background-color: var(--bg-light);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(26,54,93,0.95) 0%, rgba(42,67,101,0.9) 100%), url('images/hero.jpg') no-repeat center center/cover;
  color: var(--bg-white);
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  color: var(--bg-white);
  font-size: 48px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  color: #E2E8F0;
}

.hero-btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #FFFFFF;
  color: var(--primary-color);
}

/* Statistics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-top: 4px solid var(--accent-color);
}

.stat-number {
  font-size: 42px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-family: var(--font-title);
}

.stat-label {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
}

/* Process Section */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

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

.step-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  position: relative;
  border: 1px solid var(--border-color);
}

.step-num {
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 48px;
  font-family: var(--font-title);
  color: rgba(214, 158, 46, 0.2);
  font-weight: bold;
}

.step-card i {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.step-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Asymmetric Feature Block */
.asymmetric-block {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.asymmetric-img {
  flex: 1 1 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.asymmetric-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asymmetric-text {
  flex: 1 1 450px;
}

.asymmetric-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.asymmetric-text ul {
  list-style: none;
  margin-top: 25px;
}

.asymmetric-text li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.asymmetric-text li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent-color);
}

/* Services Page & Blocks */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  padding: 30px;
}

.service-info h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.service-price {
  font-size: 20px;
  color: var(--accent-color);
  font-weight: bold;
  margin-top: 15px;
  display: block;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.price-card.featured {
  border: 2px solid var(--accent-color);
  box-shadow: 0 8px 30px rgba(214,158,46,0.15);
  transform: scale(1.03);
}

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

.price-name {
  font-size: 22px;
  margin-bottom: 15px;
}

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

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

.price-features li {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-dark);
}

.price-features li i {
  color: var(--accent-color);
  margin-right: 10px;
}

.price-btn {
  display: block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
}

.price-card.featured .price-btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

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

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.faq-question span {
  flex-grow: 1;
}

.faq-question i {
  font-size: 16px;
  margin-left: 15px;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-light);
  font-size: 17px;
  padding-right: 20px;
}

.faq-answer p {
  padding-top: 15px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact & Form Section */
.contact-layout {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 400px;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-details i {
  font-size: 22px;
  color: var(--accent-color);
  margin-top: 4px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.form-container {
  flex: 1 1 500px;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-white);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-checkbox label {
  font-size: 14px;
  color: var(--text-light);
}

.submit-btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

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

/* Trust Layer & Footer */
.trust-layer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 20px;
  font-size: 14px;
  color: var(--text-light);
}

.trust-layer-title {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 50px 20px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: var(--accent-color);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: #E2E8F0;
  font-size: 15px;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #CBD5E0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 20px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: bottom 0.5s ease-out;
}

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

.cookie-text {
  flex: 1 1 700px;
  font-size: 14px;
  line-height: 1.5;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.cookie-btn.accept {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.cookie-btn.deny {
  background-color: transparent;
  color: var(--bg-white);
  border: 1px solid var(--bg-white);
}

/* Responsive Rules */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  
  section {
    padding: 50px 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-top: 1px solid var(--border-color);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
  }
}

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