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

:root {
  --primary: #0f172a;
  --secondary: #b45309;
  --secondary-hover: #92400e;
  --bg-light: #fdfbf7;
  --bg-alt: #f1f5f9;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

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

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

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

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary);
  color: var(--text-light);
  padding: 8px 16px;
  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;
}

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

/* Header */
header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}

.logo-link svg {
  width: 40px;
  height: 40px;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-menu a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 1rem;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-light);
  border: none;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background-color: var(--bg-alt);
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

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

/* Stats */
.stats {
  padding: 40px 0;
  background-color: var(--primary);
  color: var(--text-light);
}

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

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

.stat-item p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

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

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

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

/* How It Works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: white;
  padding: 32px 24px;
  border-radius: 8px;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 16px;
}

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

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

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

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

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

.service-card-body p {
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.features-content ul {
  list-style: none;
  margin-top: 24px;
}

.features-content li {
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.features-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: bold;
}

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

.pricing-card {
  background: white;
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 3px solid var(--secondary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 4px 16px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2.5rem;
  font-family: var(--font-title);
  color: var(--primary);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

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

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

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

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

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

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

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

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

.checkbox-group input {
  width: auto;
  margin-top: 6px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-muted);
}

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

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

.faq-item-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-family: var(--font-title);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item-trigger::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--secondary);
}

.faq-item.active .faq-item-trigger::after {
  content: '−';
}

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

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

/* Trust Layer & Footer */
.trust-layer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 48px 0;
  border-bottom: 1px solid #334155;
  font-size: 0.9rem;
}

.trust-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.trust-text h4 {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.trust-links h4 {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.trust-links ul {
  list-style: none;
}

.trust-links li {
  margin-bottom: 8px;
}

.trust-links a {
  color: #94a3b8;
}

.trust-links a:hover {
  color: var(--secondary);
}

footer {
  background-color: var(--primary);
  color: #cbd5e1;
  padding: 32px 0;
  font-size: 0.9rem;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal-links a {
  color: #cbd5e1;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 600px;
  background: var(--primary);
  color: var(--text-light);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 10000;
  display: none;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--secondary);
  font-family: var(--font-title);
  font-size: 1.25rem;
}

.cookie-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-link {
  color: #cbd5e1;
  text-decoration: underline;
  font-size: 0.85rem;
  margin-left: auto;
}

.cookie-link:hover {
  color: var(--secondary);
}

/* Custom Page Layouts (About, Legal, etc.) */
.page-hero {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

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

.page-hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
}

.page-content {
  padding: 60px 0;
}

.rich-text {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text h2 {
  font-size: 1.8rem;
  margin: 32px 0 16px;
}

.rich-text p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.rich-text ul, .rich-text ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.rich-text li {
  margin-bottom: 8px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-block {
  background-color: var(--bg-alt);
  padding: 40px;
  border-radius: 12px;
}

.contact-info-block h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.contact-method {
  margin-bottom: 24px;
}

.contact-method strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary);
}

.contact-method p {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .services-grid, .features-grid, .pricing-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
  nav {
    position: relative;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: -24px;
    background-color: var(--primary);
    width: 250px;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 0 12px;
  }
  .nav-menu.active {
    display: flex;
  }
  .burger {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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