/* palette: burgundy-sand */
:root {
  --primary-color: #6B0F1A;
  --secondary-color: #7D1220;
  --accent-color: #A06830;
  --background-color: #FDF5F5;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* Base Styles & Mobile-First Layout */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--alt-font);
}
.container {
  margin: 0 auto;
}
/* Soft-Organic Preset Core Rules */
section {
  padding: 72px 16px;
}
@media (min-width: 1024px) {
  section {
    padding: 88px 24px;
  }
}
body {
  line-height: 1.85;
}
.card {
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
}
.btn {
  border-radius: 9999px;
  padding: 14px 32px;
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* Typography Scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}
h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.4;
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

/* CSS-Only Animations */
@keyframes reveal-up { 
  from { opacity: 0; transform: translateY(32px); } 
  to { opacity: 1; transform: translateY(0); } 
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view(); 
  animation-range: entry 0% entry 30%;
}

@property --bar { 
  syntax: '<integer>'; 
  initial-value: 0; 
  inherits: false; 
}
.bar-fill {
  --pct: 80;
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 50%;
  background: var(--accent-color); 
  height: 12px; 
  border-radius: 999px;
}
@keyframes fill-bar { 
  from { --bar: 0; } 
  to { --bar: var(--pct); } 
}
.bar-track { 
  background: var(--border-color); 
  border-radius: 999px; 
  overflow: hidden; 
}

/* Header & Mobile Navigation */
header {
  background: var(--secondary-color);
  padding: 16px 24px;
  position: relative;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  max-height: 40px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}
.burger-btn .bar {
  width: 100%;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  z-index: 999;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #ffffff;
  font-family: var(--alt-font);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}
.site-nav a:hover {
  color: #f5f5f5;
  opacity: 0.9;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 32px;
  }
}

/* Hero Section (layered-depth) */
.hero-layered {
  position: relative;
  min-height: 73vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-layer-1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.5);
}
.hero-layer-2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--primary-color);
  opacity: 0.55;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
}
.hero-layer-3 {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  padding: 48px 16px;
  text-align: center;
  color: #ffffff;
}
.hero-content h1 {
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-content p {
  color: #f5f5f5;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--alt-font);
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  border: none;
  text-align: center;
  min-height: 44px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}
.btn-outline-white {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-color);
}

/* Gradient Stats Strip */
.stats-strip {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #ffffff;
  clip-path: ellipse(120% 100% at 50% 0%);
}
.stats-strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-strip-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stat-item {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .stat-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
  .stat-item:last-child {
    border-right: none;
  }
}
.stat-value {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  font-family: var(--alt-font);
  opacity: 0.85;
}

/* Feature Spotlight */
.feature-spotlight {
  background: var(--background-color);
}
.spotlight-header {
  margin-bottom: 48px;
}
.spotlight-rows {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.spotlight-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .spotlight-row {
    flex-direction: row;
    gap: 64px;
  }
  .spotlight-row.reversed {
    flex-direction: row-reverse;
  }
  .spotlight-visual, .spotlight-text {
    flex: 1;
    width: 50%;
  }
}
.spotlight-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.spotlight-image {
  width: 100%;
  max-width: 450px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.spotlight-visual .icon-circle {
  width: 120px;
  height: 120px;
  font-size: 3rem;
  font-weight: bold;
  font-family: var(--main-font);
}
.spotlight-text h3 {
  margin-bottom: 16px;
}
.spotlight-text p {
  margin-bottom: 24px;
}
.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spotlight-list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--alt-font);
  font-size: 0.95rem;
  color: var(--text-color);
}
.spotlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Interactive Checklist */
.interactive-checklist {
  background: #ffffff;
}
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .checklist-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.checklist-input {
  display: none;
}
.checklist-label {
  position: relative;
  padding-left: 36px;
  cursor: pointer;
  font-family: var(--alt-font);
  font-size: 1.05rem;
  line-height: 1.5;
  user-select: none;
  transition: color 0.3s ease;
}
.checklist-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
}
.checklist-input:checked + .checklist-label {
  text-decoration: line-through;
  color: var(--accent-color);
}
.checklist-input:checked + .checklist-label::before {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.checklist-input:checked + .checklist-label::after {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 1px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.checklist-progress {
  background: var(--background-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.checklist-progress h3 {
  margin-bottom: 12px;
}
.checklist-progress p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.progress-note {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Split Testimonial */
.split-testimonial {
  background: var(--background-color);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.testimonial-quote-side {
  position: relative;
  padding-left: 40px;
}
.quote-mark {
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 8rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 0.8;
  font-family: var(--main-font);
}
.testimonial-blockquote {
  font-family: var(--main-font);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--dark-color);
}
.testimonial-author {
  font-family: var(--alt-font);
  font-weight: bold;
  color: var(--primary-color);
}
.testimonial-profile-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  font-family: var(--main-font);
}
.profile-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.profile-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}
.rating-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  text-align: center;
}
.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
}
.cta-banner-content h2 {
  color: #ffffff;
  margin-bottom: 16px;
}
.cta-banner-content p {
  color: #f5f5f5;
  margin-bottom: 32px;
}

/* Contact + FAQ Section */
.contact-faq-section {
  background: #ffffff;
}
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-info-side h2 {
  margin-bottom: 24px;
}
.contact-info-side p {
  margin-bottom: 32px;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  font-family: var(--alt-font);
  font-size: 1rem;
  color: var(--text-color);
}
.contact-form-side {
  background: var(--background-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--alt-font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-color);
}
.form-group input, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--alt-font);
  font-size: 0.95rem;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-color);
}
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-group input {
  margin-top: 4px;
}
.checkbox-group label {
  font-weight: normal;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #555555;
}
.faq-divider {
  height: 1px;
  background: var(--border-color);
  margin: 64px 0;
}
.faq-section h2 {
  margin-bottom: 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.faq-item {
  background: var(--background-color);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
}
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

/* Footer styling */
footer {
  background: var(--dark-color);
  color: #ffffff;
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 35px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .footer-nav {
    flex-direction: row;
    gap: 24px;
  }
}
.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-family: var(--alt-font);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #ffffff;
}
.footer-copy {
  font-family: var(--alt-font);
  font-size: 0.85rem;
  color: #999999;
  margin: 0;
}