/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terra: #C1694F;
  --terra-dark: #A85438;
  --terra-deep: #8B4228;
  --sand: #F5EDE3;
  --sand-light: #FBF7F2;
  --sand-mid: #EDE3D7;
  --sand-dark: #C4B5A4;
  --warm-white: #FFFDF9;
  --text-dark: #2D2218;
  --text-mid: #5C4A3A;
  --text-light: #8A7563;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(45,34,24,0.06);
  --shadow-md: 0 8px 30px rgba(45,34,24,0.10);
  --shadow-lg: 0 16px 50px rgba(45,34,24,0.13);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terra); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--terra);
  color: #fff;
  border-color: var(--terra);
  box-shadow: 0 4px 16px rgba(193,105,79,0.30);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,105,79,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}
.btn-secondary:hover {
  background: var(--terra);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--terra);
  border-color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--sand-light);
  color: var(--terra-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Section shared ── */
.section-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,253,249,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,181,164,0.3);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  text-decoration: none;
}
.logo:hover { color: var(--terra); }

.nav .links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav .links a:not(.btn) {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
}
.nav .links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width var(--transition);
}
.nav .links a:not(.btn):hover { color: var(--terra); }
.nav .links a:not(.btn):hover::after { width: 100%; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(45,34,24,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-menu {
  position: absolute;
  right: 0;
  top: 72px;
  background: var(--warm-white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 0 var(--radius-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-overlay.open .mobile-menu { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark);
  text-decoration: none;
  padding: 4px 0;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, #F0E0D0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(193,105,79,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,181,164,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-scene {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--terra);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(193,105,79,0.18);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,34,24,0.08) 0%, transparent 40%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 8px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── SERVICES ── */
.services {
  padding: 100px 0;
  background: var(--warm-white);
}
.services .container { text-align: center; }
.services .section-subtitle { margin: 0 auto 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.service-card {
  background: var(--sand-light);
  border: 1px solid rgba(196,181,164,0.35);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(193,105,79,0.25);
  background: #fff;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(193,105,79,0.12) 0%, rgba(193,105,79,0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--terra);
}
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--warm-white) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--warm-white);
  aspect-ratio: 7/5;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }

.about-text .section-title { margin-bottom: 20px; }
.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--sand-mid);
  border-bottom: 1px solid var(--sand-mid);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── REVIEWS ── */
.reviews {
  padding: 100px 0;
  background: var(--warm-white);
}
.reviews .container { text-align: center; }
.reviews .section-subtitle { margin: 0 auto 56px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.review-card {
  background: var(--sand-light);
  border: 1px solid rgba(196,181,164,0.3);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(193,105,79,0.2);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ── CTA ── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--terra-deep) 0%, var(--terra) 60%, #D4785A 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.cta .container { position: relative; z-index: 1; }
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--warm-white) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(193,105,79,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--terra); }

.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid rgba(196,181,164,0.35);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form-wrap > p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand-mid);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--sand-light);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(193,105,79,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C4A3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(193,105,79,0.08);
  border: 1px solid rgba(193,105,79,0.2);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--terra-deep);
  line-height: 1.6;
}
.form-success a { color: var(--terra-dark); font-weight: 600; }

/* ── FOOTER ── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-address p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-address p:first-child { color: rgba(255,255,255,0.75); font-weight: 500; }

/* ── REVEAL (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fallback: always visible if JS is disabled */
.no-js .reveal { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-scene { gap: 40px; }
  .services-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav .links { display: none; }
  .menu-btn { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .hero-scene { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { max-width: 100%; }
  .hero-card { max-width: 480px; margin: 0 auto; }
  .hero-trust { justify-content: center; }

  .services, .about, .reviews, .contact { padding: 72px 0; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-images { max-width: 480px; }
  .about-img-float { right: -8px; bottom: -20px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .about-stats { flex-direction: column; gap: 20px; }
  .contact-form-wrap { padding: 28px 22px; }
}
