/* palette: hunter-sand */
:root {
  --primary-color: #1A3D1A;
  --secondary-color: #2A5C2A;
  --accent-color: #C8A060;
  --background-color: #F0FAF4;
  --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 resets & typography scale */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--alt-font);
  background-color: #ffffff;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 17px);
  overflow-x: hidden;
}

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;
}

p {
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CORPORATE PRESET STYLES */
section {
  padding: 60px 16px;
}
@media(min-width:1024px) {
  section {
    padding: 72px 24px;
  }
}
.card {
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 6px;
  background-color: #ffffff;
}
section + section {
  border-top: 1px solid #F3F4F6;
}
.btn {
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.section-title.text-white,
.section-intro.text-gray-300 {color: #fff;}
/* Header & CSS-only Burger */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.logo img {
  max-height: 40px;
  width: auto;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 999;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--border-color);
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
}
.site-nav a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: var(--primary-color);
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.burger-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    border-top: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 24px;
  }
}

/* Kickers & Section Intros */
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.kicker.light {
  color: var(--accent-color);
}
.section-title {
  color: var(--primary-color);
  margin-bottom: 16px;
}
.section-intro {
  color: var(--text-color);
  opacity: 0.85;
  margin-bottom: 32px;
}

/* HERO: oversized-word */
.hero-section {
  min-height: 73vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--background-color);
  padding: 48px 16px;
}
.oversized-bg {
  font-size: clamp(5rem, 20vw, 16rem);
  opacity: 0.05;
  font-weight: 900;
  position: absolute;
  z-index: 0;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  color: var(--primary-color);
  font-family: var(--main-font);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 {
  color: var(--primary-color);
  margin-bottom: 24px;
}
.hero-subtitle {
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: var(--secondary-color);
}
.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
  background-color: transparent;
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

/* SECTION 1: Key Questions */
.section-questions {
  background-color: #ffffff;
  min-height: 440px;
}
.questions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.question-item {
  border-left: 3px solid var(--accent-color);
  padding-left: 16px;
}
.question-item h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}
.visual-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  max-height: 400px;
}

/* SECTION 2: Before/After Text */
.section-comparative {
  background-color: var(--background-color);
  min-height: 360px;
}
.comparative-card {
  padding: 24px;
  height: 100%;
}
.card-header-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.card-header-status h3 {
  margin: 0;
  font-size: 1.2rem;
}
.card-header-status.error {
  color: #c0392b;
}
.card-header-status.success {
  color: var(--primary-color);
}
.comparative-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparative-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}
.comparative-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* SECTION 3: Stats Counter (with CSS @property) */
@property --count { 
  syntax: '<integer>'; 
  initial-value: 0; 
  inherits: false; 
}
.stats-counter-section {
  background-image: linear-gradient(rgba(26, 61, 26, 0.92), rgba(26, 61, 26, 0.96)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f5f5f5;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
  display: inline-block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--accent-color);
}
.stat-num::after { 
  content: counter(n); 
}
.stat-unit {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--main-font);
}
.stat-label {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}
@keyframes count-up { 
  from { --count: 0; } 
  to { --count: var(--target); } 
}

/* SECTION 4: Dense Icon Grid */
.section-habits {
  background-color: #ffffff;
  min-height: 280px;
}
.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.icon-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.icon-grid-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}
.icon-grid-item h4 {
  font-family: var(--alt-font);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin: 0;
}

/* SECTION 5: Split Testimonial */
.section-split-testimonial {
  background-color: var(--background-color);
  min-height: 360px;
  display: flex;
  align-items: center;
}
.testimonial-left {
  position: relative;
  padding-left: 32px;
}
.quote-mark {
  font-size: 8rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 0.8;
  position: absolute;
  top: -40px;
  left: 0;
  font-family: var(--main-font);
}
.testimonial-quote {
  font-family: var(--main-font);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.testimonial-stars {
  color: var(--accent-color);
  display: flex;
  gap: 4px;
}
.testimonial-right {
  padding: 32px;
}
.testimonial-author-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (min-width: 480px) {
  .testimonial-author-box {
    flex-direction: row;
  }
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-avatar span {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--main-font);
}
.author-info h3 {
  margin: 0 0 4px 0;
  color: var(--primary-color);
  font-size: 1.25rem;
}
.author-title {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 8px;
}
.author-text {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* SECTION 6: Contact + FAQ */
.section-contact-faq {
  background-color: #ffffff;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 4px;
}
.contact-detail-item h4 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.contact-detail-item p {
  margin: 0;
  color: var(--text-color);
  font-size: 0.95rem;
}

.contact-form-block {
  padding: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
}
.form-group input, 
.form-group textarea {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  font-family: var(--alt-font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--primary-color);
}
.form-group-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-group-checkbox input {
  margin-top: 4px;
}
.form-group-checkbox label {
  font-size: 0.8rem;
  color: var(--text-color);
  line-height: 1.4;
}

/* FAQ Inner Grid */
.faq-item {
  padding: 24px;
}
.faq-item h4 {
  font-family: var(--main-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 48px 16px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
footer img[alt="logo"] { 
  filter: brightness(0) invert(1);
  max-height: 35px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent-color);
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-nav {
    justify-content: flex-end;
  }
}

/* Animations (Scroll Reveal) */
@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%;
}

/* Cascade for cards */
.card:nth-child(1) { animation-delay: 0s; } 
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; } 
.card:nth-child(4) { animation-delay: .36s; }