/* ============================================
   DOUG MOORE @ ORIGINPOINT — CUSTOM STYLES
   Color Palette: Emerald Green + Cream
   ============================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50: #fafaf5;
  --cream-100: #f5f5ee;
  --cream-200: #ecedd8;
  --cream-300: #e2e4cc;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(6, 78, 59, 0.14), 0 8px 20px rgba(0,0,0,0.08);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--stone-800);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--emerald-800);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: box-shadow var(--transition-fast);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald-800);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
}
.logo-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-600);
}

/* ---------- NAV ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu li a {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stone-600);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-menu li a:hover {
  color: var(--emerald-700);
  background: rgba(6, 78, 59, 0.06);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--emerald-700);
  color: white;
  border-color: var(--emerald-700);
}
.btn--primary:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--small {
  padding: 8px 20px;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}
.btn--full {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1rem;
}
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.btn--ghost-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn--light {
  background: white;
  color: var(--emerald-800);
  border-color: white;
}
.btn--light:hover {
  background: var(--cream-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  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(6, 78, 59, 0.82) 0%,
    rgba(4, 120, 87, 0.65) 50%,
    rgba(6, 95, 70, 0.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 720px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-accent {
  color: var(--cream-200);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-item svg {
  color: rgba(255,255,255,0.6);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: float 2.4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- SECTION COMMON ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--stone-900);
  margin-bottom: 20px;
  font-weight: 400;
}
.text-accent { color: var(--emerald-700); }
.section-desc {
  font-size: 1.125rem;
  color: var(--stone-500);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}
section {
  padding: 100px 0;
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--cream-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--stone-200);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200, rgba(16, 185, 129, 0.2));
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6,78,59,0.08), rgba(16,185,129,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--stone-900);
  margin-bottom: 12px;
  font-weight: 400;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--emerald-700);
  transition: gap var(--transition-fast);
}
.service-link:hover { gap: 10px; }

/* ---------- ABOUT ---------- */
.about {
  background: var(--cream-100);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--emerald-600);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}
.about-content .section-desc { margin-bottom: 32px; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--emerald-800);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--stone-500);
}

/* ---------- PROCESS ---------- */
.process {
  background: var(--cream-50);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-200);
  transition: all var(--transition-med);
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.2);
}
.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--emerald-200, rgba(16,185,129,0.3));
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--stone-900);
  margin-bottom: 10px;
  font-weight: 400;
}
.step-content p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--emerald-800);
  color: white;
}
.testimonials .section-label { color: var(--emerald-300, #6ee7b7); }
.testimonials .section-label::before { background: var(--emerald-500); }
.testimonials .section-title { color: white; }
.testimonials .text-accent { color: var(--cream-200); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-med);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.testimonial-quote {
  color: var(--emerald-400, #34d399);
  margin-bottom: 20px;
  opacity: 0.6;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.88) 0%,
    rgba(4, 120, 87, 0.75) 100%
  );
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: white;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.2;
}
.cta-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--cream-100);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
}
.contact-item dt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
  width: 100%;
}
.contact-item dt svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--emerald-600);
}
.contact-item dt span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 4px;
}
.contact-item dd {
  font-size: 1rem;
  color: var(--stone-700);
  line-height: 1.6;
}
.contact-item dd a {
  color: var(--emerald-700);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.contact-item dd a:hover { color: var(--emerald-500); }

/* ---------- FORM ---------- */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-200);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--stone-800);
  background: var(--cream-50);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  background: white;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------- FORM SUCCESS ---------- */
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--stone-900);
}
.form-success p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--stone-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer .logo { color: white; margin-bottom: 16px; }
.footer .logo-sub { color: var(--emerald-400, #34d399); }
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: white; }
.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}
.footer-contact a:hover { color: white; }
.footer-nmls {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}
.footer-legal { font-size: 0.75rem; }

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 245, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition-med), opacity var(--transition-med);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .hero-content { padding-top: 96px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hide-mobile { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 72px 0; }
  .service-card { padding: 28px 24px; }
  .process-step { padding: 24px; }
  .hero-badge { font-size: 0.75rem; }
}
