/* ===== MARPLE BUILD - MAIN STYLESHEET ===== */
/* Color Palette: Deep Eggplant + Antique White + Rusted Bronze + Silver Green */

:root {
  --color-dark: #1E1424;
  --color-dark-alt: #2C2135;
  --color-bg: #FBF5EC;
  --color-accent: #A85A3B;
  --color-accent-light: #D4724F;
  --color-accent-dark: #8A4A31;
  --color-secondary: #89A494;
  --color-secondary-dark: #6B8A76;
  --color-text: #2B2421;
  --color-muted: #6B6360;
  --color-white: #FFFFFF;
  --color-light: #F3EDE4;
  --color-border: #E5DDD2;
  --color-success: #5C8C6F;
  --color-error: #C75B39;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-dark);
}

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

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

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-dark);
  border-bottom: 2px solid rgba(168, 90, 59, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: var(--color-dark);
  box-shadow: 0 4px 24px rgba(30, 20, 36, 0.4);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.3px;
}

.nav-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-white);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #C3BDB8;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-light);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-accent-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 140px 0 100px;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,90,59,0.12) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137,164,148,0.08) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(168, 90, 59, 0.15);
  color: var(--color-accent-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(168, 90, 59, 0.25);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--color-accent-light);
}

.hero p {
  font-size: 18px;
  color: #B0A8A0;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 90, 59, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--color-dark-alt);
  border: 1px solid rgba(137, 164, 148, 0.2);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-card-stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card-stat .stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent-light);
  display: block;
  line-height: 1.1;
}

.hero-card-stat .stat-label {
  font-size: 12px;
  color: #8C8580;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 6px;
  display: block;
}

.hero-card-tagline {
  font-size: 17px;
  color: var(--color-white);
  text-align: center;
  font-weight: 500;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-alt {
  background: var(--color-dark);
}

.section-alt .section-header h2 {
  color: var(--color-white);
}

.section-alt .section-header p {
  color: #9E9590;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30, 20, 36, 0.1);
  border-color: var(--color-accent);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-accent);
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-text h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.features-text h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.features-text p {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-dark);
}

.feature-list li::before {
  content: '▪';
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}

.features-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 20, 36, 0.08);
}

.feature-box .feature-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.feature-box .feature-desc {
  font-size: 14px;
  color: var(--color-muted);
}

/* ===== PROCESS SECTION ===== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(to right, rgba(168,90,59,0.3), rgba(137,164,148,0.3), rgba(168,90,59,0.3));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.process-step:hover .process-circle {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(168, 90, 59, 0.3);
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-muted);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  background: var(--color-dark-alt);
  border-radius: 16px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137, 164, 148, 0.2);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-secondary));
}

.about-image-inner {
  text-align: center;
  color: var(--color-white);
  padding: 40px;
}

.about-image-inner .about-logo-text {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--color-accent-light);
  display: block;
}

.about-image-inner .about-logo-sub {
  font-size: 14px;
  color: #8C8580;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.about-content h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-content p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-white);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.about-stat .a-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  line-height: 1;
}

.about-stat .a-label {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
  display: block;
}

/* ===== TESTIMONIALS / CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
  border-radius: 16px;
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 164, 148, 0.15);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-secondary), var(--color-accent));
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: 17px;
  color: #9E9590;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-banner .btn-primary {
  font-size: 16px;
  padding: 16px 36px;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-info p {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact-detail span {
  font-size: 15px;
  color: var(--color-muted);
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(168, 90, 59, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background: #E8F5EB;
  color: #2D5A3C;
  border: 1px solid #A3D4AE;
}

.form-message.error {
  display: block;
  background: #FDEBEB;
  color: #8B2E2E;
  border: 1px solid #F0B2B2;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark);
  color: #9E9590;
  padding: 60px 0 30px;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #8C8580;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #9E9590;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--color-accent-light);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== COUNTER ANIMATION ===== */
.counter {
  display: inline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-dark-alt);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 17px;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 30px;
  }

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

  .features-visual {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .features-visual {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-header h2 {
    font-size: 26px;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }
}
