:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --accent: #C5A880;
  --accent-hover: #AF946F;
  --bg-light: #FAF9F6;
  --bg-card: #FFFFFF;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --border-color: #E2E8F0;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.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 & Navigation */
header {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a:focus {
  color: var(--accent);
  outline: none;
}

.nav-cta {
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
}

/* Mobile menu */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.75rem;
  cursor: pointer;
}

#mobile-menu {
  display: none;
  background-color: var(--primary-light);
  padding: 1rem 5%;
}

#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#mobile-menu a {
  display: block;
  color: #FFFFFF;
  padding: 0.5rem 0;
}

/* Main layouts */
main {
  min-height: 70vh;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Wave Pattern Separator */
.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

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

/* Statistics */
.stats-bar {
  background-color: var(--primary-light);
  color: #FFFFFF;
  padding: 3rem 5%;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards & Sections */
.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

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

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.card-body {
  padding: 2rem;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Features (Asymmetric) */
.features-section {
  background-color: #FFFFFF;
  padding: 5rem 0;
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

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

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.price-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.price-card.popular {
  border: 2px solid var(--accent);
  transform: scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.price-features li {
  margin-bottom: 0.75rem;
}

/* Form section */
.form-section {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  padding: 5rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container h2 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

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

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

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: #94A3B8;
}

.form-checkbox a {
  text-decoration: underline;
  color: var(--accent);
}

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

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
  color: var(--text-light);
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Legal Trust Layer & Footer */
.trust-layer {
  background-color: #E2E8F0;
  padding: 3rem 5%;
  font-size: 0.85rem;
  color: #475569;
  border-top: 1px solid #CBD5E1;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-title {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

footer {
  background-color: var(--primary);
  color: #94A3B8;
  padding: 4rem 5% 2rem 5%;
  border-top: 1px solid var(--primary-light);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-col li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--primary-light);
  padding-top: 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  border: 1px solid var(--primary-light);
}

#cookie-banner p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #CBD5E1;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

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

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

.cookie-btn-decline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Page Contact Styles & Iframe */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.map-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 300px;
}

/* Accessibility: reduce 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 adjustments */
@media (max-width: 968px) {
  .hero-grid, .stats-grid, .asymmetric-grid, .pricing-grid, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  #menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
}