/* CSS @property registration for animations */
@property --count { syntax: '<integer>'; initial-value: 0; inherits: false; }
@property --bar { syntax: '<integer>'; initial-value: 0; inherits: false; }
@property --deg { syntax: '<integer>'; initial-value: 0; inherits: false; }

: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: 'Merriweather', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--alt-font);
}

/* MINIMAL-LIGHT Preset Styles */
section {
  padding: 96px 16px;
}

@media(min-width: 1024px) {
  section {
    padding: 120px 24px;
  }
}

body {
  font-weight: 300;
  line-height: 1.9;
}

.card {
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btn {
  border-radius: 999px;
  padding: 14px 36px;
  font-family: var(--alt-font);
  font-weight: 500;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  min-height: 44px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

section + section {
  border: none;
}

/* Typography Scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
}

h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-color);
}

h4 {
  font-family: var(--alt-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

.text-muted {
  color: #666666;
}

/* Header & Navigation */
header {
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  position: relative;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: 24px;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#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);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* 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%;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 70%; }
  50% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
  75% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

/* Hero Section: morphing-blob */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--background-color);
  padding: 48px 16px;
  text-align: center;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  opacity: 0.12;
  animation: blob-morph 8s ease-in-out infinite;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content p {
  margin-top: 24px;
  margin-bottom: 40px;
  color: var(--text-color);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(107, 15, 26, 0.05);
}

/* Section 1: Key Questions */
.question-item {
  border-bottom: 1px solid var(--border-color);
}

.question-item:last-child {
  border-bottom: none;
}

.rounded-img {
  border-radius: var(--radius-lg);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Section 2: Before/After Text */
.comparison-card {
  border-radius: var(--radius-lg);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.before-card {
  border-left: 6px solid #EF4444;
}

.after-card {
  border-left: 6px solid #22C55E;
}

.icon-marker {
  font-weight: bold;
  margin-right: 8px;
}

/* Section 3: Stats Counter */
.stats-section {
  position: relative;
}

.stat-num {
  --target: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  font-family: var(--alt-font);
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
  display: inline-block;
}

.stat-num::after {
  content: counter(n);
}

.stat-suffix {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: inherit;
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
}

/* Section 4: Dense Icon Grid */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(160, 104, 48, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto;
}

/* Section 5: Split Testimonial */
.split-testimonial-container {
  background-color: #FFFFFF;
}

.quote-mark {
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 0.8;
  display: block;
}

.testimonial-text {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-family: var(--main-font);
  line-height: 1.6;
}

.rating {
  color: #FBBF24;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-color);
}

.profile-title {
  font-size: 14px;
  color: #666666;
}

/* Section 6: Contact + FAQ */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(107, 15, 26, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.form-input {
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  font-family: var(--alt-font);
  color: var(--dark-color);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary-color);
}

.faq-question {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

footer img {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #FFFFFF;
}