/* ═══════════════════════════════════════════════════════════
   Benson Unlimited Sober Living — Custom Styles
   Palette: Terracotta (#C2704E) + Sand (#D4B068) + Bark (#3D2517)
   Fonts: Nunito (headings) + Lora (body)
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── Navbar ── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194, 112, 78, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled.scrolled {
  background: rgba(253, 248, 243, 0.97);
  box-shadow: 0 2px 20px rgba(61, 37, 23, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #C2704E;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 60%; }

/* Mobile menu */
#mobileMenu { animation: slideDown 0.25s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3d2517;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/31837693/pexels-photo-31837693.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 37, 23, 0.82) 0%,
    rgba(140, 71, 47, 0.72) 50%,
    rgba(61, 37, 23, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  padding: 8rem 1.5rem 6rem;
  color: #fdf8f3;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(253, 251, 247, 0.15);
  border: 1px solid rgba(253, 251, 247, 0.25);
  color: #f5ecda;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: #fdf8f3;
}
.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: #f5ecda;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f5ecda;
  opacity: 0.85;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253, 248, 243, 0.5);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #C2704E;
  color: #fff;
  box-shadow: 0 4px 16px rgba(194, 112, 78, 0.35);
}
.btn-primary:hover {
  background: #a85a3c;
  box-shadow: 0 6px 24px rgba(194, 112, 78, 0.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(253, 251, 247, 0.15);
  color: #fdf8f3;
  border: 1.5px solid rgba(253, 251, 247, 0.35);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(253, 251, 247, 0.25);
  border-color: rgba(253, 251, 247, 0.6);
  transform: translateY(-2px);
}
.btn-light {
  background: #fdf8f3;
  color: #C2704E;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.btn-outline-light {
  background: transparent;
  color: #fdf8f3;
  border: 1.5px solid rgba(253, 251, 247, 0.5);
}
.btn-outline-light:hover {
  background: rgba(253, 251, 247, 0.12);
  border-color: #fdf8f3;
  transform: translateY(-2px);
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
}
.section-alt {
  background: #faf5eb;
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #3d2517;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}
.tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C2704E;
  background: rgba(194, 112, 78, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.section-body {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #6b5848;
  margin: 0;
}

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(61, 37, 23, 0.06);
  border: 1px solid rgba(194, 112, 78, 0.08);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(61, 37, 23, 0.12);
  border-color: rgba(194, 112, 78, 0.2);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #C2704E, #e2957c);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(194, 112, 78, 0.3);
}
.card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #3d2517;
  margin: 0 0 0.6rem;
}
.card-body {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b5848;
  margin: 0;
}

/* ── Stats ── */
.stat-card {
  background: linear-gradient(135deg, #C2704E, #a85a3c);
  border-radius: 1rem;
  padding: 1.25rem 1.75rem;
  color: #fff;
  min-width: 140px;
  box-shadow: 0 4px 16px rgba(194, 112, 78, 0.3);
}
.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ── About Image ── */
.about-img-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(61, 37, 23, 0.15);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: #C2704E;
  border-radius: 1.5rem;
  opacity: 0.2;
  z-index: -1;
}

/* ── Approach ── */
.approach-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(194, 112, 78, 0.1);
  box-shadow: 0 2px 12px rgba(61, 37, 23, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C2704E, #e2957c);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.approach-card:hover::before { opacity: 1; }
.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(61, 37, 23, 0.1);
}
.approach-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(194, 112, 78, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.approach-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3d2517;
  margin: 0 0 0.6rem;
}
.approach-body {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #6b5848;
  margin: 0;
}

/* ── Testimonials ── */
.testimonial {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(61, 37, 23, 0.06);
  border: 1px solid rgba(194, 112, 78, 0.08);
  position: relative;
  transition: all 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(61, 37, 23, 0.12);
}
.testimonial-quote {
  font-family: 'Nunito', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #C2704E;
  line-height: 1;
  opacity: 0.2;
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
}
.testimonial-body {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #6b5848;
  margin: 0 0 1.25rem;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}
.testimonial-author {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #C2704E;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #3d2517 0%, #8c472f 100%);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/593451/pexels-photo-593451.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600') center/cover no-repeat;
  opacity: 0.15;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #fdf8f3;
}
.cta-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fdf8f3;
  margin: 0 0 1rem;
}
.cta-body {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f5ecda;
  margin: 0 0 2.5rem;
  opacity: 0.9;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Contact ── */
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(194, 112, 78, 0.1);
}
.contact-item:first-child { border-top: 1px solid rgba(194, 112, 78, 0.1); }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(194, 112, 78, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C2704E;
  flex-shrink: 0;
}
.contact-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C2704E;
  margin-bottom: 0.2rem;
}
.contact-value {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #3d2517;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(61, 37, 23, 0.08);
  border: 1px solid rgba(194, 112, 78, 0.1);
}
.form-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #3d2517;
  margin: 0 0 0.4rem;
}
.form-subtitle {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: #6b5848;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-group label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3d2517;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(194, 112, 78, 0.25);
  border-radius: 0.75rem;
  background: #fdf8f3;
  color: #3d2517;
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #C2704E;
  box-shadow: 0 0 0 3px rgba(194, 112, 78, 0.12);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a37939;
  opacity: 0.5;
}
.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(194, 112, 78, 0.1);
  border: 1px solid rgba(194, 112, 78, 0.25);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8c472f;
}
.form-success.show { display: flex; }

/* Map */
.map-wrap {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 37, 23, 0.1);
}

/* ── Footer ── */
.footer {
  background: #2a1a0f;
  padding: 4rem 0 2rem;
  color: #f5ecda;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-desc {
  max-width: 300px;
  line-height: 1.7;
}
.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4b068;
  margin: 0 0 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-bottom {
  border-top: 1px solid rgba(212, 176, 104, 0.15);
  padding-top: 1.5rem;
  text-align: center;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-content { padding: 7rem 1.25rem 5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .about-img-accent { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
