:root {
  --primary: #152238;
  --secondary: #c5a880;
  --secondary-dark: #b19266;
  --dark: #1c1c1c;
  --light: #fdfdfc;
  --gray: #f4f4f1;
  --text: #2c2c2a;
  --border: #e0dbd3;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
}

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

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

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

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--dark);
  padding: 10px 20px;
  z-index: 10000;
  transition: top 0.2s ease;
  font-weight: bold;
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Header */
header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  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: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

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

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(21, 34, 56, 0.85), rgba(21, 34, 56, 0.85)), url('images/hero.jpg') no-repeat center center/cover;
  color: var(--light);
  padding: 120px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--dark);
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--light);
  border: 2px solid var(--light);
  margin-left: 15px;
}

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

/* Statistics Section */
.stats {
  background: var(--primary);
  color: var(--light);
  padding: 60px 20px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

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

/* Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

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

.section-subtitle {
  text-align: center;
  color: var(--secondary-dark);
  font-style: italic;
  margin-bottom: 50px;
}

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

.step-card {
  background: var(--gray);
  padding: 40px 30px;
  border-radius: 6px;
  border-top: 4px solid var(--secondary);
  text-align: center;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

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

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

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-content {
  padding: 30px;
}

.service-content h3 {
  margin-bottom: 15px;
}

/* Feature Block */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--gray);
  padding: 60px;
  border-radius: 8px;
  margin-bottom: 60px;
}

.feature-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 400px;
}

.feature-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

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

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--secondary-dark);
}

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

.pricing-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.15);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: var(--dark);
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
}

.price {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--primary);
  margin: 20px 0;
  font-weight: bold;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

/* Form Section */
.form-section {
  background: var(--primary);
  color: var(--light);
  padding: 80px 20px;
}

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

.form-container h2 {
  color: var(--light);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.form-container p {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 40px;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--dark);
}

textarea.form-control {
  resize: vertical;
  height: 120px;
}

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

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

.checkbox-group label {
  font-size: 0.95rem;
  font-weight: normal;
}

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

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding-right: 20px;
}

.accordion-content p {
  padding: 15px 0;
  color: var(--text);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Trust Layer */
.trust-layer {
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
}

.trust-layer-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

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

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 20px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  border-bottom: 1px solid #333;
  padding-bottom: 40px;
}

.footer-brand h3 {
  color: var(--light);
  margin-bottom: 15px;
}

.footer-brand p {
  color: #aaa;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: var(--secondary);
  margin-bottom: 15px;
}

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

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

.footer-links a {
  color: #ccc;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
}

.footer-bottom-links a {
  color: #888;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--light);
  border: 2px solid var(--secondary);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 25px;
  z-index: 10000;
  display: none;
}

#cookie-banner h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text);
}

#cookie-banner a {
  text-decoration: underline;
  color: var(--primary);
}

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-family: var(--font-sans);
}

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

.cookie-btn-decline {
  background: var(--gray);
  color: var(--dark);
  border: 1px solid var(--border);
}

/* Custom wave graphic */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: var(--light);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
  fill: var(--gray);
}

/* Accessibility settings for reduced motion */
@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 */
@media (max-width: 992px) {
  .feature-block {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .feature-img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  }
  .nav-active {
    display: flex;
  }
  .burger {
    display: block;
  }
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}