:root {
  --primary: #0f342e;
  --secondary: #c5a059;
  --accent: #aa843d;
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --text-dark: #2c3531;
  --text-muted: #5e6b66;
  --border: #e5e1da;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.6;
}

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

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 9999;
  font-weight: bold;
  text-decoration: none;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

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

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
}

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

.logo-text {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: bold;
}

.nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary);
}

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

/* Unique SVG Pattern Decoration */
.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23c5a059' fill-opacity='0.05'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-67c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Common Section Layout */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 15px auto 0;
}

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

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

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e6e4;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

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

.btn-secondary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Statistics */
.stats {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
}

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

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

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

/* Step Block */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 32px;
  color: var(--secondary);
  margin-bottom: 20px;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

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

.service-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.service-card p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

/* Features Block (Asymmetric) */
.feature-asymmetric {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 50px;
  align-items: center;
}

.feature-asymmetric img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-bullets {
  list-style: none;
  margin-top: 20px;
}

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

.feature-bullets li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

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

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(15, 52, 46, 0.1);
  transform: scale(1.03);
}

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

.price-box {
  margin: 25px 0;
}

.price {
  font-size: 44px;
  font-weight: bold;
  color: var(--primary);
  font-family: var(--font-title);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

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

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--bg-white);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #b0b8b5;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #dfdfdf;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
}

.checkbox-label a {
  color: var(--secondary);
  text-decoration: underline;
}

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

.faq-item {
  background: var(--bg-white);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.faq-header {
  padding: 20px;
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
  user-select: none;
}

.faq-header:hover {
  background: #fdfcf9;
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 16px;
}

.faq-item.active .faq-content {
  padding: 0 20px 20px;
  max-height: 500px;
}

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

/* Trust Layer (Common legal bar before footer) */
.trust-layer {
  background: #f1ede6;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.trust-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.trust-box p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.trust-box code {
  background: #e5dfd5;
  padding: 2px 6px;
  border-radius: 4px;
}

.trust-box .disclaimer {
  font-style: italic;
  font-size: 13px;
}

/* Footer styling */
.main-footer {
  background: var(--primary);
  color: var(--bg-white);
  padding: 60px 0 30px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-brand .footer-logo {
  width: 35px;
  height: 35px;
}

.footer-brand p {
  color: #b0b8b5;
}

.footer-links h4, .footer-legal-links h4 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-family: var(--font-title);
}

.footer-links ul, .footer-legal-links ul {
  list-style: none;
}

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

.footer-links a, .footer-legal-links a {
  color: #b0b8b5;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover, .footer-legal-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom .legal-string {
  font-size: 12px;
  color: #92a09c;
  margin-top: 10px;
}

/* Contact Details Page Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.15);
  padding: 25px;
  z-index: 9999;
  backdrop-filter: blur(8px);
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
  bottom: 20px;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.cookie-banner a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* Focus Indicator styling */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

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

/* Responsive Overrides */
@media (max-width: 992px) {
  .hero-grid, .services-grid, .pricing-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-asymmetric {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .nav-menu.active {
    display: block;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }
  .burger-btn {
    display: block;
  }
}

@media (max-width: 576px) {
  .stats-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
}