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

:root {
  --terra-50:  #fdf0eb;
  --terra-100: #fce4d8;
  --terra-200: #f7c4aa;
  --terra-400: #e67a4e;
  --terra-500: #d4603a;
  --terra-600: #c2785a;
  --terra-700: #a86046;
  --terra-800: #8c503c;
  --sand-50:   #fefdf8;
  --sand-100:  #fdf9ee;
  --sand-200:  #faf0d4;
  --cream:     #FDF8F0;
  --warm:      #F5EDE3;
  --warm-dark: #E8DDD0;
  --text-dark: #3D2C24;
  --text-mid:  #6B5344;
  --text-light:#9A8070;
  --white:     #FFFFFF;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(61,44,36,.06), 0 1px 2px rgba(61,44,36,.04);
  --shadow-md: 0 4px 16px rgba(61,44,36,.08), 0 2px 4px rgba(61,44,36,.04);
  --shadow-lg: 0 12px 40px rgba(61,44,36,.12), 0 4px 12px rgba(61,44,36,.06);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terra-600);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--terra-400);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--terra-200); outline-offset: 2px; }

.btn-primary {
  background: var(--terra-600);
  color: var(--white);
  border-color: var(--terra-600);
}
.btn-primary:hover {
  background: var(--terra-700);
  border-color: var(--terra-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--terra-700);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--sand-50);
  border-color: var(--sand-50);
  color: var(--terra-700);
  box-shadow: var(--shadow-lg);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,248,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194,120,90,0.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}
.logo:hover { color: var(--text-dark); }

.logo-icon { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}
.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra-500);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-menu a:hover { color: var(--terra-600); }
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}
.menu-icon-close { display: none; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--terra-800);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61,44,36,0.82) 0%,
    rgba(140,80,60,0.72) 50%,
    rgba(168,96,70,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--terra-200);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.hero-headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(253,240,235,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(253,240,235,0.8);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { opacity: 0.7; }

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

/* ── Section Base ─────────────────────────────────────── */
.section {
  padding: 100px 0;
}

/* ── Services ─────────────────────────────────────────── */
.services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terra-100);
  background: var(--white);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--terra-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--terra-100);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── About ────────────────────────────────────────────── */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.about-img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.about-img-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--terra-100);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-content { padding: 8px 0; }
.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-dark);
}
.stat { flex: 1; text-align: center; }
.stat-number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terra-600);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: var(--warm-dark);
  align-self: stretch;
}

/* ── Approach ─────────────────────────────────────────── */
.approach {
  background: linear-gradient(135deg, var(--terra-700) 0%, var(--terra-800) 100%);
  color: var(--white);
}
.approach .section-label { color: var(--terra-200); }
.approach .section-label::before { background: var(--terra-400); }
.approach .section-title { color: var(--white); }
.approach .section-desc { color: rgba(253,240,235,0.75); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: all var(--transition);
}
.step:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.step-number {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--terra-200);
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.step-content p {
  font-size: 0.9rem;
  color: rgba(253,240,235,0.7);
  line-height: 1.7;
}
.step-content a {
  color: var(--terra-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step-content a:hover { color: var(--terra-100); }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials {
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: var(--terra-100);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  margin-bottom: 16px;
  opacity: 0.3;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terra-700);
}

/* ── CTA ──────────────────────────────────────────────── */
.cta {
  background: var(--cream);
  padding: 80px 0;
}
.cta-card {
  background: linear-gradient(135deg, var(--terra-600) 0%, var(--terra-800) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-content .section-label { color: var(--terra-200); }
.cta-content .section-label::before { background: var(--terra-400); }
.cta-text {
  font-size: 1.05rem;
  color: rgba(253,240,235,0.8);
  line-height: 1.75;
  max-width: 480px;
  margin-top: 16px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact ──────────────────────────────────────────── */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--terra-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.contact-item a { color: var(--terra-600); }

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

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--terra-50);
}
.form-title {
  font-size: 1.3rem;
  margin-bottom: 28px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  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(--warm-dark);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--sand-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terra-500);
  box-shadow: 0 0 0 3px rgba(194,120,90,0.15);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 12px 0 8px;
  font-family: 'DM Sans', sans-serif;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.form-success a { color: var(--terra-600); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(253,240,235,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 300px;
}
.footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terra-200);
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer ul a {
  color: rgba(253,240,235,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer ul a:hover { color: var(--terra-200); }
.footer-logo { margin-bottom: 4px; }
.footer-logo .logo-name { color: var(--terra-200); }

.footer-bottom {
  border-top: 1px solid rgba(253,240,235,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(253,240,235,0.45);
}
.footer-bottom a { color: rgba(253,240,235,0.5); }
.footer-bottom a:hover { color: var(--terra-200); }

/* ── Reveal Animations ────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fallback: always visible if JS disabled */
.no-js .reveal,
.reveal { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 48px; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253,248,240,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.1rem; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .menu-icon-open { display: block; }
  .menu-icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 16px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrapper img { height: 350px; }
  .about-img-accent { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrapper { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
}
