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

:root {
  --color-primary: #0d3b39;
  --color-primary-light: #14605c;
  --color-primary-dark: #082623;
  --color-accent: #c8824b;
  --color-accent-light: #d99a66;
  --color-accent-dark: #a86d3a;
  --color-bg: #faf7f2;
  --color-bg-alt: #f3ede4;
  --color-bg-dark: #e8e0d4;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5348;
  --color-text-light: #787065;
  --color-border: #e0dbd2;
  --color-border-light: #ebe6de;
  --color-success: #3a7d5a;
  --color-error: #b8453a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
}

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

/* ===== NAVIGATION (.navbar class) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.navbar-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.navbar-links { display: flex; align-items: center; gap: 32px; }

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}

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

.navbar-links a:hover { color: var(--color-primary); }
.navbar-links a:hover::after { width: 100%; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-nav:hover { background: var(--color-primary-light); transform: translateY(-1px); }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

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

.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(170deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(13,59,57,0.04);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(200,130,75,0.06);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

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

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

.hero p {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,59,57,0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
}

.hero-card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.hero-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.hero-card p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

.hero-card-stats .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.hero-card-stats .stat-label {
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-accent-shape {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: rgba(200,130,75,0.15);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero-accent-shape-2 {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(13,59,57,0.08);
  border-radius: 50%;
  z-index: 1;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

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

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--color-surface);
}

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

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  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;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

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

.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 60px;
  box-shadow: var(--shadow-lg);
}

.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-image-badge .badge-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.about-image-badge .badge-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

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

.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature .feature-icon {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature span {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

/* ===== STATS ===== */
.stats {
  padding: 70px 0;
  background: var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 14px;
  color: #d0d9d8;
  font-weight: 500;
}

/* ===== PROCESS ===== */
.process {
  padding: 100px 0;
  background: var(--color-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

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

.process-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-step-num {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.process-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.cta h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--color-surface);
}

.contact .container {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: 34px;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-detail h4 {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 3px;
  font-family: var(--font-sans);
}

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

.contact-form-wrapper {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,59,57,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.form-submit:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--color-success);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary-dark);
  color: #c0c8c7;
  padding: 60px 0 30px;
}

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

.footer-brand h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.footer-brand p {
  font-size: 13px;
  color: #a0a8a7;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: #b0b8b7;
  transition: color 0.2s ease;
}

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

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

.footer-bottom p { font-size: 13px; color: #88908f; }

.footer-legal-links { display: flex; gap: 20px; }

.footer-legal-links a {
  font-size: 13px;
  color: #b0b8b7;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-legal-links a:hover { color: var(--color-accent-light); }

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

.fade-up:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 34px; }

  .navbar-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    align-items: flex-start;
  }

  .navbar-links.open { transform: translateX(0); }

  .navbar-toggle { display: flex; }

  .about .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-header h2 { font-size: 30px; }
  .about-content h2 { font-size: 28px; }
  .cta h2 { font-size: 28px; }
  .contact-info h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item .stat-number { font-size: 36px; }
}
