@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-accent: #1e293b;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #f1f5f9;
  --accent-color: #b45309;
  --accent-hover: #d97706;
  --border-color: #cbd5e1;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 1.1rem;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-color);
  color: white;
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.3s;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bg-dark);
}

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

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

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

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

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-accent) 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--border-color);
}

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

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

/* Stats Section */
.stats {
  padding: 60px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

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

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
}

/* General Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step-card {
  background-color: var(--bg-secondary);
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Feature Block (Asymmetric) */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

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

.feature-content ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-content ul li i {
  color: var(--accent-color);
  margin-top: 5px;
}

/* Services Page & Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}

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

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

.service-body {
  padding: 30px;
}

.service-body h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

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

.pricing-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 45px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

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

.price {
  font-size: 2.2rem;
  font-family: var(--font-title);
  color: var(--bg-dark);
  margin: 20px 0;
  font-weight: bold;
}

.pricing-card ul {
  list-style: none;
  margin: 25px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-card ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card ul li i {
  color: var(--accent-color);
  margin-right: 8px;
}

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

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 1.05rem;
  border-top: 0 solid var(--border-color);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
  border-top: 1px solid var(--border-color);
}

/* Lead Form Section */
.form-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.form-section h2, .form-section p {
  color: var(--text-light);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-dark-accent);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #334155;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--border-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid #475569;
  background-color: var(--bg-dark);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
}

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

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

.checkbox-group input {
  margin-top: 5px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: var(--border-color);
}

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

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

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

/* Trust Layer & Legal Blocks */
.trust-layer {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.trust-box {
  border-left: 3px solid var(--accent-color);
  padding-left: 20px;
}

.trust-box h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px 0;
  border-top: 1px solid #1e293b;
  font-size: 0.95rem;
}

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

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-col ul li a {
  color: var(--border-color);
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  text-align: center;
  color: #94a3b8;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: var(--bg-dark-accent);
  color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  border: 1px solid #475569;
}

.cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

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

.btn-cookie {
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

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

.btn-cookie-decline {
  background-color: transparent;
  color: var(--border-color);
  border: 1px solid #475569;
}

/* Legal Content styling */
.legal-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
}

.legal-content ul {
  padding-left: 20px;
}

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

@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;
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .pricing-grid, .steps-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-block, .contact-grid, .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 80px;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    width: 80%;
    max-width: 300px;
    padding: 50px 30px;
    align-items: flex-start;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
    transition: right 0.3s ease;
  }
  .nav-active {
    right: 0;
  }
  .burger {
    display: block;
  }
  .pricing-grid, .steps-grid, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}