:root {
  --primary-color: #6B4C3B;
  --secondary-color: #4E3328;
  --accent-color: #C4896A;
  --light-color: #F7EDE6;
  --dark-color: #22140D;
  --gradient-primary: linear-gradient(135deg, #6B4C3B 0%, #C4896A 100%);
  --hover-color: #4E3328;
  --background-color: #FBF5F1;
  --text-color: #30201A;
  --border-color: rgba(107, 76, 59, 0.18);
  --divider-color: rgba(107, 76, 59, 0.12);
  --shadow-color: rgba(34, 20, 13, 0.1);
  --highlight-color: #F2D57F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#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: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  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: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow-color);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: var(--primary-color);
}

/* Grids */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* Feature Cards — horizontal step/pill style: big accent number left, content right */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.6rem 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  align-items: center;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(107, 76, 59, 0.2);
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(107, 76, 59, 0.3);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-card-body h3 {
  margin-bottom: 0.4rem;
}

.feature-card-body p {
  margin: 0;
  font-size: 0.98rem;
}

/* Testimonials */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(107, 76, 59, 0.18);
  border-color: var(--accent-color);
}

/* FAQ Items */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  padding: 1.8rem 2rem;
  width: 100%;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 18px rgba(107, 76, 59, 0.15);
}

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(107, 76, 59, 0.12);
}

/* Buttons */
.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(107, 76, 59, 0.28);
}

.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(107, 76, 59, 0.4);
}

/* Contact */
.contact-wrapper {
  width: 80%;
  margin: 0 auto;
}

/* Pattern — organic wave blobs */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80px 40px at 10% 20%, rgba(196, 137, 106, 0.1) 0%, transparent 100%),
    radial-gradient(ellipse 60px 80px at 85% 60%, rgba(107, 76, 59, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 120px 50px at 50% 90%, rgba(196, 137, 106, 0.07) 0%, transparent 100%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 30px,
      rgba(107, 76, 59, 0.025) 30px,
      rgba(107, 76, 59, 0.025) 31px
    );
  pointer-events: none;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.75;
}

/* Extra block */
.extra-block {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
}

.extra-block h2,
.extra-block h3 {
  color: white;
}

.extra-block p {
  color: rgba(255,255,255,0.9);
}

/* Symptom radar cards — random block */
.risk-zone {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.risk-zone::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 14px 14px;
}

.risk-zone.low::after  { background: rgba(160, 220, 150, 0.8); }
.risk-zone.mid::after  { background: rgba(242, 213, 127, 0.8); }
.risk-zone.high::after { background: rgba(240, 120, 100, 0.75); }

.risk-title {
  font-family: var(--main-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.risk-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.risk-tag.low  { background: rgba(160, 220, 150, 0.25); color: #b8f0b0; }
.risk-tag.mid  { background: rgba(242, 213, 127, 0.25); color: var(--highlight-color); }
.risk-tag.high { background: rgba(240, 120, 100, 0.25); color: #ffb8b0; }

.risk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.risk-list li {
  color: rgba(255,255,255,0.87);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.risk-list li::before {
  content: '·';
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Checklist block */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 1rem;
}

.checklist-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.3rem 1.2rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .contact-wrapper {
    width: 100%;
  }

  .grid-2col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .testimonial,
  .faq-item {
    padding: 1.5rem 1rem;
  }

  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}