/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #3D2B1F;
  background: #FDF6EE;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 800; line-height: 1.2; color: #2C1A0F; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  padding: 12px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary { background: #C0603A; color: #fff; border-color: #C0603A; }
.btn-primary:hover { background: #A84E2C; border-color: #A84E2C; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,96,58,0.35); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Tags ── */
.section-tag {
  display: inline-block; font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #C0603A; background: rgba(192,96,58,0.1);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { color: #6B5344; font-size: 17px; }
.section { padding: 96px 0; }
.section-alt { background: #F7EBE0; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,246,238,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,96,58,0.1);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(61,43,31,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 18px; color: #2C1A0F; }
.logo-icon { flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a:not(.btn) { font-weight: 600; font-size: 15px; color: #5C4033; transition: color 0.2s; }
.main-nav a:not(.btn):hover { color: #C0603A; }

/* ── Nav Toggle ── */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #3D2B1F; border-radius: 2px; transition: all 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background: linear-gradient(135deg, #8B4528 0%, #C0603A 50%, #D4845E 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/34744048/pexels-photo-34744048.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=900') center/cover no-repeat;
  opacity: 0.18;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; }
.hero-card { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px;
  color: #FDEBD3; background: rgba(255,255,255,0.15);
  padding: 8px 18px; border-radius: 50px; margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-headline {
  font-size: clamp(32px, 5vw, 52px); color: #fff;
  margin-bottom: 20px; line-height: 1.15;
}
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 18px 22px; border-radius: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.stat-card:hover { transform: translateX(6px); background: rgba(255,255,255,0.2); }
.stat-icon { color: #FDEBD3; flex-shrink: 0; }
.stat-label { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }

/* ── Product Grid ── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(61,43,31,0.12); }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 400/260; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: #C0603A; color: #fff;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: 50px;
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 20px; margin-bottom: 10px; color: #2C1A0F; }
.product-body p { color: #6B5344; font-size: 15px; line-height: 1.6; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(61,43,31,0.1); }
.service-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192,96,58,0.1); border-radius: 14px; color: #C0603A;
}
.service-card h3 { font-size: 19px; margin-bottom: 8px; color: #2C1A0F; }
.service-card p { color: #6B5344; font-size: 15px; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px rgba(61,43,31,0.12); }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-tag { margin-bottom: 14px; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text { color: #6B5344; font-size: 16px; margin-bottom: 16px; }
.about-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #3D2B1F; }
.about-feature svg { color: #C0603A; flex-shrink: 0; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(61,43,31,0.1); }
.testimonial-stars { display: flex; gap: 4px; color: #E8A84C; margin-bottom: 16px; }
.testimonial-text { color: #5C4033; font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; color: #2C1A0F; }
.author-location { font-size: 13px; color: #9A7B6A; }

/* ── CTA ── */
.cta-section { padding: 96px 0; background: linear-gradient(135deg, #8B4528, #C0603A); }
.cta-card {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px; padding: 56px;
}
.cta-content { max-width: 520px; }
.cta-title { font-size: clamp(26px, 4vw, 38px); color: #fff; margin-bottom: 16px; }
.cta-text { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-visual { opacity: 0.5; flex-shrink: 0; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06); margin-bottom: 16px;
  transition: transform 0.2s ease;
}
.contact-card:hover { transform: translateX(4px); }
.contact-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192,96,58,0.1); border-radius: 12px; color: #C0603A;
}
.contact-card h3 { font-size: 17px; margin-bottom: 4px; color: #2C1A0F; }
.contact-card p { color: #6B5344; font-size: 15px; }
.contact-card a { color: #C0603A; font-weight: 600; transition: color 0.2s; }
.contact-card a:hover { color: #A84E2C; }

/* ── Form ── */
.contact-form-wrap { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 4px 20px rgba(61,43,31,0.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px; color: #3D2B1F; margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 2px solid #E8D5C8; border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: #3D2B1F;
  background: #FDF6EE; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #B89B8A; }
.form-group input:focus, .form-group textarea:focus { border-color: #C0603A; box-shadow: 0 0 0 3px rgba(192,96,58,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; align-items: center; gap: 10px;
  background: rgba(192,96,58,0.1); color: #C0603A;
  font-weight: 600; font-size: 14px; padding: 14px 18px; border-radius: 12px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { flex-shrink: 0; }

/* ── Footer ── */
.site-footer { background: #2C1A0F; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.logo-light .logo-text { color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-links h4 { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #D4845E; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: #D4845E; transition: color 0.2s; }
.footer-bottom a:hover { color: #E8A84C; }

/* ── Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Menu ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(253,246,238,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 24px; gap: 20px;
    border-bottom: 1px solid rgba(192,96,58,0.1);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 8px 24px rgba(61,43,31,0.1);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 140px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-visual { display: none; }
  .cta-actions { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
}
