/* palette: magenta-gold */
:root {
  --primary-color: #880E4F;
  --secondary-color: #A81260;
  --accent-color: #8A5800;
  --background-color: #FCE4EC;
  --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', Georgia, serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* BASE RESET & MOBILE-FIRST */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* SWISS-GRID PRESET MANDATORY STYLES */
section {
  padding: 56px 16px;
  margin: 0;
}

@media(min-width:1024px) {
  section {
    padding: 64px 24px;
  }
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--dark-color);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.card {
  border-top: 4px solid var(--primary-color);
  border-radius: 0;
  background: #F8F8F8;
  padding: 24px;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.label, .tag, .badge {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  min-height: 44px;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary-color);
}

.btn-full {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-intro {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 32px;
  max-width: 700px;
}

/* HEADER & CSS BURGER NAV */
header {
  position: relative;
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background: var(--dark-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  padding: 24px;
  z-index: 999;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

@media(min-width: 768px) {
  .burger-btn {
    display: none;
  }
  
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
  }
  
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
  
  .site-nav a {
    color: var(--dark-color);
  }
  
  .site-nav a:hover {
    color: var(--primary-color);
  }
}

/* 1. HERO - SCROLL-PEEK VARIANT */
.hero-scroll-peek {
  position: relative;
  min-height: calc(84vh - 80px);
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: #ffffff;
}

.hero-content .label {
  color: var(--background-color);
}

.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media(min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* 2. KEY QUESTIONS */
.questions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.question-item {
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
}

.question-item h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}

/* 3. BEFORE / AFTER TEXT & IMAGE */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media(min-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tag-alert {
  color: #DC2626;
}

.tag-success {
  color: #16A34A;
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comparison-card i {
  margin-top: 4px;
}

.about-image-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media(min-width: 768px) {
  .about-image-block {
    grid-template-columns: 1fr 1fr;
  }
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* 4. STATS COUNTER WITH CSS @PROPERTY */
@property --count { 
  syntax: '<integer>'; 
  initial-value: 0; 
  inherits: false; 
}

.stat-num {
  --target: 80;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--main-font);
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after {
  content: counter(n);
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media(min-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-unit {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 8px;
}

/* 5. DENSE ICON GRID */
.dense-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media(min-width: 640px) {
  .dense-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 1024px) {
  .dense-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dense-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  gap: 12px;
}

.dense-item i {
  font-size: 2rem;
  color: var(--accent-color);
}

.dense-item span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 6. SPLIT TESTIMONIAL */
.split-testimonial-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 24px;
}

@media(min-width: 768px) {
  .split-testimonial-card {
    grid-template-columns: 2fr 1fr;
    padding: 48px;
  }
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent-color);
  font-family: var(--main-font);
  opacity: 0.4;
}

.quote-text {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  margin: 16px 0;
}

.stars {
  color: #F59E0B;
}

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 2px solid var(--border-color);
  padding-top: 24px;
}

@media(min-width: 768px) {
  .testimonial-profile {
    border-top: none;
    border-left: 2px solid var(--border-color);
    padding-top: 0;
    padding-left: 32px;
  }
}

.avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* 7. CONTACT & OPEN FAQ SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

@media(min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-list i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-family: var(--alt-font);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary-color);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.8rem;
  text-transform: none;
  font-weight: normal;
}

.faq-section {
  margin-top: 48px;
}

.faq-section h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

/* SCROLL REVEAL 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%;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* FOOTER */
footer {
  background: var(--dark-color);
  color: #ffffff;
  padding: 48px 24px 32px;
  border-top: 4px solid var(--primary-color);
}

.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);
  height: 36px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}