:root {
  --primary-color: #8B3A3A;
  --secondary-color: #6B2626;
  --accent-color: #C0E0B1;
  --light-color: #FDF4F0;
  --dark-color: #1E0E0E;
  --gradient-primary: linear-gradient(135deg, #8B3A3A 0%, #6B2626 100%);
  --hover-color: #541D1D;
  --background-color: #FBF5F2;
  --text-color: #3A2A2A;
  --border-color: rgba(139, 58, 58, 0.18);
  --divider-color: rgba(107, 38, 38, 0.12);
  --shadow-color: rgba(139, 58, 58, 0.10);
  --highlight-color: #F7DC6F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

header {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(30, 14, 14, 0.28);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 50px; width: auto; }

.navigation ul { display: flex; list-style: none; gap: 2rem; margin: 0; }

.navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navigation a:hover { color: var(--highlight-color); }

.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: var(--secondary-color);
  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: 12px; 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.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

.hero {
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; color: white; text-align: center;
  min-height: 80vh;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 14, 14, 0.72);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }

.hero h1 { font-size: 3.2rem; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; line-height: 1.8; }

button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.5rem; border-radius: 6px; 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 10px rgba(139,58,58,0.3);
  text-transform: uppercase; letter-spacing: 0.5px;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139,58,58,0.4);
  background: linear-gradient(135deg, #541D1D 0%, #1E0E0E 100%);
}

section { padding: 4rem 0; }

.pattern-bg {
  background-color: var(--background-color);
  background-image:
    radial-gradient(circle at 75% 15%, rgba(139, 58, 58, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(192, 224, 177, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30, 14, 14, 0.03) 0%, transparent 60%);
  background-size: 550px 550px, 700px 700px, 900px 900px;
}

/* Feature cards — centered number-badge style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(139,58,58,0.18);
}

.feature-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 3px 10px rgba(139,58,58,0.3);
}

.feature-icon {
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  background: var(--light-color);
  border-radius: 50%;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: var(--accent-color);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.testimonial {
  background: white;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow-color);
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139,58,58,0.18);
}

.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  background: white;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 3px 12px var(--shadow-color);
}

.faq-item:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(139,58,58,0.18);
  border-color: var(--primary-color);
}

.faq-item h3 { color: var(--primary-color); margin-bottom: 1rem; }

input, textarea {
  width: 100%; transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 8px; padding: 1.2rem;
  background-color: white; color: var(--text-color);
  font-size: 1rem; margin-bottom: 1rem;
}

input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(139,58,58,0.1); transform: translateY(-2px);
}

input:hover, textarea:hover {
  border-color: var(--accent-color); box-shadow: 0 2px 8px var(--shadow-color);
}

footer {
  background-color: var(--dark-color); color: var(--light-color);
  padding: 2rem 0 1rem;
}

footer .container > div:first-child {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 0; flex-wrap: wrap;
}

footer nav ul { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }

footer a { color: var(--light-color); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: var(--highlight-color); }

footer img[alt="logo"] { filter: brightness(0) invert(1); }

#contact .contact-grid-wrap { max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { #contact .contact-grid-wrap { width: 80%; } }
@media (max-width: 767px) { #contact .contact-grid-wrap { width: 100%; } }

.contact-info p { margin-bottom: 1rem; line-height: 1.8; }

.image-text-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.image-text-section img {
  width: 100%; border-radius: 12px; box-shadow: 0 6px 20px var(--shadow-color);
}

/* Random block — day-by-day timeline */
.timeline-banner {
  width: 100%;
  padding: 4rem 0;
  background-color: var(--light-color);
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
}

.timeline-banner h2 {
  text-align: center;
  font-size: 1.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
}

.timeline-banner .sub {
  text-align: center;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(139,58,58,0.3);
  position: relative;
  z-index: 1;
}

.timeline-content {
  background: white;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  border: 1px solid var(--border-color);
  flex: 1;
}

.timeline-content strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-family: var(--main-font);
  font-size: 1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .image-text-section { grid-template-columns: 1fr; }
  footer .container > div:first-child { flex-direction: column; text-align: center; gap: 2rem; }
  footer nav ul { flex-direction: column; gap: 1rem; align-items: center; }
  .timeline::before { display: none; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
}