:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #b45309;
  --accent-hover: #92400e;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --bg-light: #fdfbf7;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

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

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

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

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

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

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}

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

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

/* Header */
header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--accent);
}

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

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

.logo-block span {
  font-family: var(--font-serif);
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.burger-menu {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 8rem 2rem 6rem;
  text-align: center;
  background-image: radial-gradient(rgba(180, 83, 9, 0.15) 1px, transparent 0), radial-gradient(rgba(180, 83, 9, 0.15) 1px, transparent 0);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--text-light);
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text-light) !important;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Stats Section */
.stats {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 4rem 0;
}

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

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.8;
}

/* Steps Section */
.steps {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

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

.step-card {
  background: var(--bg-card);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent);
  text-align: center;
}

.step-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Trust block */
.trust-principles {
  background-color: #f1f5f9;
  padding: 5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.trust-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary);
}

.trust-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Services */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

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

.features-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.features-image {
  flex: 1 1 450px;
}

.features-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: block;
}

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

.features-text h2 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.features-list {
  list-style: none;
  margin-top: 1.5rem;
}

.features-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Lead Form */
.form-section {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--text-light);
}

.form-section h2 {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 650px;
  margin: 0 auto;
  background: var(--secondary);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--text-muted);
  background-color: var(--primary);
  color: var(--text-light);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* Accordion FAQ Teaser */
.faq-teaser {
  padding: 5rem 0;
}

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

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

.faq-item-title {
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item-content {
  display: none;
  padding-top: 1rem;
  color: var(--text-muted);
}

.faq-item.active .faq-item-content {
  display: block;
}

.faq-item.active .faq-item-title::after {
  content: "−";
}

.faq-item-title::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
}

/* Trust Layer (Global) */
.trust-layer {
  background-color: #f8fafc;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-layer h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.trust-layer p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.trust-layer .disclaimer {
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 2.5rem 0;
  border-top: 2px solid var(--accent);
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

footer p {
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-light);
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Cookie Banner */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 1000;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

#cookie-banner p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
}

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

.cookie-btn-decline {
  background-color: var(--secondary);
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary);
    padding: 1.5rem;
    border-bottom: 2px solid var(--accent);
  }

  nav ul.active {
    display: flex;
  }

  .burger-menu {
    display: block;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

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