:root {
  --primary-color: #B5622A;
  --secondary-color: #8A4318;
  --accent-color: #D98B56;
  --light-color: #FDF4EE;
  --dark-color: #2C1A0E;
  --gradient-primary: linear-gradient(135deg, #B5622A 0%, #D98B56 100%);
  --hover-color: #8A4318;
  --background-color: #FEFAF6;
  --text-color: #312318;
  --border-color: rgba(181, 98, 42, 0.2);
  --divider-color: rgba(138, 67, 24, 0.15);
  --shadow-color: rgba(181, 98, 42, 0.1);
  --highlight-color: #4A8C6F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Poppins', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Feature Cards — numbered cards with large counter */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2.4rem 2rem 2rem;
  box-shadow: 0 3px 18px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-number {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--border-color);
  font-family: var(--main-font);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  transition: color 0.3s;
  user-select: none;
}

.feature-card:hover .feature-number {
  color: rgba(181, 98, 42, 0.18);
}

.feature-icon {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.2rem 0;
  box-shadow: 0 4px 14px rgba(181, 98, 42, 0.25);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.testimonial {
  background: white;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-right: 4px solid var(--primary-color);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonial::before {
  content: '❝';
  position: absolute;
  top: -14px;
  left: 20px;
  font-size: 2.4rem;
  color: var(--primary-color);
  opacity: 0.25;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 0 12px 12px 0;
}

.faq-item:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 25px var(--shadow-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  padding-left: 1.8rem;
  position: relative;
}

.faq-item h3::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  font-weight: 900;
  color: white;
  background: var(--primary-color);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
  text-align: center;
  margin-top: 0.15rem;
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem;
  background-color: white;
  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(181, 98, 42, 0.1);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.6rem;
  border-radius: 8px;
  font-weight: 600;
  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(181, 98, 42, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(181, 98, 42, 0.4);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 75% 20%, rgba(181, 98, 42, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 25% 80%, rgba(217, 139, 86, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(74, 140, 111, 0.03) 0%, transparent 50%);
  background-size: 100% 100%;
}

/* Random block — Day timeline */
.timeline-banner {
  width: 100%;
  background: linear-gradient(150deg, #2C1A0E 0%, #8A4318 55%, #B5622A 100%);
  padding: 4.5rem 0;
  color: white;
}

.timeline-track {
  position: relative;
  margin-top: 3rem;
  padding-bottom: 1rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  z-index: 0;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.t-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  transition: all 0.3s;
  flex-shrink: 0;
}

.timeline-step:hover .t-dot {
  background: rgba(255,255,255,0.22);
  border-color: var(--highlight-color);
}

.t-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  font-family: var(--alt-font);
}

.t-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
  font-family: var(--main-font);
  line-height: 1.3;
}

.t-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* Contact Section */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
    max-width: 100vw;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 0 0.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .testimonial,
  .faq-item {
    margin: 1rem 0;
    padding: 2rem 1.5rem;
    max-width: 100%;
    word-wrap: break-word;
  }

  .timeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .timeline-track::before {
    display: none;
  }

  .contact-inner {
    width: 100%;
  }

  .space-x-8 {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    padding: 0 0.5rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 0.5rem;
  }

  input, textarea {
    font-size: 16px;
    padding: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}