/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terra: #C0603A;
  --terra-dark: #9E4A28;
  --terra-light: #D4856A;
  --sand: #F5E6D8;
  --sand-light: #FBF5EF;
  --sand-mid: #EDE0D4;
  --cream: #FFF9F4;
  --brown-dark: #3D2B1F;
  --brown-mid: #5C4033;
  --brown-text: #4A3728;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.10);
  --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Lora', serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--brown-text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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); }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--brown-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin-bottom: 1rem; }
em { font-style: italic; color: var(--terra); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-family: var(--font-heading);
  font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--terra); color: var(--white); border-color: var(--terra); }
.btn-primary:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: var(--white); color: var(--terra); border-color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 249, 244, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sand-mid);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--brown-dark); }
.logo-accent { color: var(--terra); }
.logo-icon { flex-shrink: 0; }

#main-nav { display: flex; align-items: center; gap: 8px; }
#main-nav a { padding: 8px 16px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--brown-text); }
#main-nav a:hover { background: var(--sand); color: var(--terra); }
.btn-nav { background: var(--terra); color: var(--white) !important; margin-left: 8px; }
.btn-nav:hover { background: var(--terra-dark); color: var(--white) !important; }

.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: var(--brown-dark); border-radius: 2px; transition: all var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,43,31,0.72) 0%, rgba(158,74,40,0.55) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding-top: 40px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px;
  background: rgba(255,255,255,0.15); color: var(--sand); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--sand); font-style: italic; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: 36px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.trust-item svg { opacity: 0.8; }

.scroll-down {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 50px;
  background: var(--sand); color: var(--terra); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-desc { color: var(--brown-mid); font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--sand-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--sand-mid);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--terra-light); }
.service-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--brown-mid); font-size: 0.98rem; line-height: 1.75; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--cream); }
.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-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -40px; right: -30px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--cream);
}
.about-img-float img { width: 260px; height: 220px; object-fit: cover; }
.about-stat {
  position: absolute; top: -24px; left: -20px;
  background: var(--terra); color: var(--white);
  padding: 20px 28px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); text-align: center;
}
.about-stat .stat-number { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; }
.about-stat .stat-label { font-size: 0.8rem; opacity: 0.85; }

.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--brown-mid); margin-bottom: 16px; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-features li { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--brown-dark); }

/* ===== BENEFITS ===== */
.benefits { padding: 100px 0; background: var(--sand-light); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.benefit {
  display: flex; gap: 20px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--sand-mid);
  transition: all var(--transition);
}
.benefit:hover { border-color: var(--terra-light); box-shadow: var(--shadow-md); }
.benefit-num {
  flex-shrink: 0; font-family: var(--font-heading); font-weight: 800;
  font-size: 2rem; color: var(--sand-mid); line-height: 1;
}
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--brown-mid); font-size: 0.95rem; margin-bottom: 0; }

/* ===== CTA ===== */
.cta { position: relative; padding: 100px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-content .section-tag { margin-bottom: 16px; }
.cta-content h2 { color: var(--white); margin-bottom: 20px; }
.cta-content h2 em { color: var(--sand); }
.cta-content p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-card {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px; border-radius: var(--radius-md); background: var(--white);
  border: 1px solid var(--sand-mid); margin-bottom: 20px;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--terra-light); box-shadow: var(--shadow-sm); }
.contact-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--sand); display: flex; align-items: center; justify-content: center; }
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--brown-mid); font-size: 0.95rem; }
.contact-card a { color: var(--terra); }
.contact-note {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px 24px;
  border-radius: var(--radius-md); background: var(--sand); font-size: 0.95rem;
  color: var(--brown-mid); line-height: 1.6;
}

/* ===== FORM ===== */
.contact-form-wrap { background: var(--white); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-md); border: 1px solid var(--sand-mid); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; color: var(--brown-dark); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--sand-mid); background: var(--sand-light);
  font-family: var(--font-body); font-size: 1rem; color: var(--brown-text);
  transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--terra); background: var(--white); box-shadow: 0 0 0 4px rgba(192,96,58,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #B8A498; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex; align-items: center; gap: 12px; padding: 18px 24px;
  border-radius: var(--radius-sm); background: #E8F5E9; margin-top: 16px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  color: #1A5632;
}

/* ===== MAP ===== */
.map-section { padding: 0; }
.map-container { border-radius: 0; overflow: hidden; }

/* ===== FOOTER ===== */
.site-footer { background: var(--brown-dark); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer-links a { display: block; padding: 6px 0; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-links a:hover { color: var(--sand); }
.footer-contact p { margin-bottom: 10px; font-size: 0.95rem; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--sand); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 0.88rem; color: rgba(255,255,255,0.4); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  #main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,249,244,0.98); backdrop-filter: blur(16px);
    flex-direction: column; padding: 24px; gap: 4px;
    border-bottom: 1px solid var(--sand-mid);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0;
    transition: all var(--transition); pointer-events: none;
  }
  #main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  #main-nav a { width: 100%; text-align: center; padding: 14px; }
  .btn-nav { margin-left: 0; margin-top: 8px; }
  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .about-img-float { right: 0; bottom: -30px; }
  .about-img-main img, .about-img-float img { height: 280px; }
  .contact-form-wrap { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .services, .about, .benefits, .cta, .contact { padding: 72px 0; }
  .service-card { padding: 28px 24px; }
}
