:root {
  --primary-color: #100c0a;
  --secondary-color: #4E2E18;
  --accent-color: #D4A055;
  --light-color: #FBF5EC;
  --dark-color: #2A1508;
  --gradient-primary: linear-gradient(135deg, #6B4226 0%, #D4A055 100%);
  --hover-color: #4E2E18;
  --background-color: #FDFAF4;
  --text-color: #2C1F0F;
  --border-color: rgba(212, 160, 85, 0.24);
  --divider-color: rgba(107, 66, 38, 0.12);
  --shadow-color: rgba(107, 66, 38, 0.14);
  --highlight-color: #F7DC6F;
  --main-font: 'Lora', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 1000;
}

.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1rem 0; }

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(8px);
}

/* Feature Cards — left accent stripe + divider line style */
.feature-card {
  background: white;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 6px 22px var(--shadow-color);
  border: 2px solid var(--border-color);
  transition: all 0.38s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-stripe {
  height: 6px;
  background: var(--gradient-primary);
  width: 100%;
  transition: height 0.38s ease;
}

.feature-card:hover .feature-card-stripe {
  height: 10px;
}

.feature-card-inner {
  padding: 1.8rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 64px;
  transition: transform 0.38s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.18) rotate(-3deg); }

.feature-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1rem 0;
  transition: background 0.38s ease;
}

.feature-card:hover .feature-divider {
  background: var(--accent-color);
}

/* Dossier cards (random block) */
.dossier-card {
  background: white;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 6px 22px var(--shadow-color);
  border: 2px solid var(--border-color);
  transition: all 0.38s ease;
  align-items: stretch;
}

.dossier-card:hover {
  transform: translateX(8px);
  box-shadow: 0 14px 36px var(--shadow-color);
  border-color: var(--accent-color);
}

.dossier-left {
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 0.8rem;
  gap: 0.5rem;
}

.dossier-emoji { font-size: 2.6rem; line-height: 1; }

.dossier-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-family: var(--alt-font);
}

.dossier-right {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.dossier-title {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.dossier-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dossier-fact {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text-color);
  font-family: var(--alt-font);
}

.dossier-fact-icon { font-size: 0.95rem; }

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 7px 24px var(--shadow-color);
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.36s ease;
  overflow: hidden;
}

.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial:hover::after { transform: scaleX(1); }

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px var(--shadow-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 14px;
  padding: 2rem 2.4rem;
  margin: 1.2rem 0;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.36s ease;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 0 14px 14px 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.36s ease;
}

.faq-item:hover::before { transform: scaleY(1); }

.faq-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

/* Inputs */
input, textarea {
  transition: all 0.35s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(107, 66, 38, 0.08);
  transform: translateY(-2px);
}

input:hover, textarea:hover { border-color: var(--accent-color); }

/* Buttons */
button, .btn {
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 6px 20px rgba(107, 66, 38, 0.3);
}

button::before, .btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

button:hover::before, .btn:hover::before { width: 300%; height: 300%; }

button:hover, .btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 30px rgba(107, 66, 38, 0.38);
}

html { scroll-behavior: smooth; }

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--dark-color) 100%);
}

h1, h2, h3 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.07);
  font-family: var(--main-font);
  font-weight: 700;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 18px var(--shadow-color);
}

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: var(--light-color);
  padding: 4.5rem 0 1.5rem;
}

header img[alt="logo"],
footer img[alt="logo"] { filter: brightness(0) invert(1); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.85s ease-out; }

/* Pattern: subtle diagonal hatching + warm tint */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(212, 160, 85, 0.05) 0px,
      rgba(212, 160, 85, 0.05) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(107, 66, 38, 0.03) 0px,
      rgba(107, 66, 38, 0.03) 1px,
      transparent 1px,
      transparent 18px
    );
}

.contact-block { width: 80%; margin: 0 auto; }

/* Stat section for random block header */
.dossier-stat {
  text-align: center;
  padding: 1.6rem 1rem;
}

.dossier-stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: var(--main-font);
  color: white;
  line-height: 1.1;
}

.dossier-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.4rem;
  font-family: var(--alt-font);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.3rem; }
  .container { padding: 0 1.5rem; }
  .contact-block { width: 100%; }
  .dossier-card { grid-template-columns: 80px 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .contact-block { width: 100%; }
  .dossier-card { grid-template-columns: 1fr; }
  .dossier-left { flex-direction: row; padding: 1rem 1.4rem; justify-content: flex-start; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: high) {
  :root {
    --text-color: #000;
    --background-color: #fff;
    --border-color: #000;
    --primary-color: #000;
    --secondary-color: #000;
  }
}