/* Storm & Cedar — Unique Color Palette */
:root {
  --deep: #1d2a3a;
  --deep-light: #2d3e54;
  --accent: #b8704a;
  --accent-hover: #9c5b38;
  --accent-light: #d4a284;
  --green: #5c8d7a;
  --green-dark: #4b7565;
  --green-light: #7faa98;
  --green-bg: #e9f2ee;
  --cream: #f7f4ed;
  --cream-light: #fcfaf7;
  --cream-dark: #ebe6dc;
  --white: #ffffff;
  --text: #1d1d1d;
  --text-light: #595959;
  --text-lighter: #7a7a7a;
  --border: #e5ded4;
  --border-light: #f0ebe2;
  --card-shadow: 0 2px 16px rgba(29, 42, 58, 0.07);
  --card-shadow-hover: 0 6px 28px rgba(29, 42, 58, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
}

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

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

/* ========== Navigation ========== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--deep);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
  background-color: #151f2c;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand span {
  color: var(--accent-light);
}

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

.nav-links a {
  color: #c5cdd7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  background-color: var(--deep);
  background-image:
    linear-gradient(135deg, rgba(29, 42, 58, 0.94) 0%, rgba(29, 42, 58, 0.88) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(184, 112, 74, 0.03) 3px, rgba(184, 112, 74, 0.03) 6px),
    repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(92, 141, 122, 0.03) 3px, rgba(92, 141, 122, 0.03) 6px);
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #bcc6d1;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 112, 74, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid #5a6b7e;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== About Section ========== */
.about-section {
  padding: 100px 0;
  background-color: var(--cream);
}

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

.about-image-area {
  position: relative;
  background: linear-gradient(135deg, var(--deep) 0%, var(--green-dark) 100%);
  border-radius: 12px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.03) 12px, rgba(255,255,255,0.03) 14px);
}

.about-badge {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-badge .badge-number {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.03em;
}

.about-badge .badge-label {
  font-size: 1.1rem;
  color: #c5cdd7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-heading.light {
  color: var(--white);
}

.section-text {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ========== Services Section ========== */
.services-section {
  padding: 100px 0;
  background-color: var(--cream-light);
}

.services-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

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

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== Stats Section ========== */
.stats-section {
  padding: 80px 0;
  background-color: var(--deep);
}

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

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: #9aa8b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-item .stat-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

/* ========== Contact Section ========== */
.contact-section {
  padding: 100px 0;
  background-color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green-bg);
  border-radius: 10px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--cream-light);
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 112, 74, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.form-submit:hover {
  background-color: var(--accent-hover);
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: #c0392b;
}

/* ========== Footer ========== */
.site-footer {
  background-color: var(--deep);
  padding: 48px 0 32px;
}

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

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-desc {
  color: #9aa8b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9aa8b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  color: #6b7b8d;
  font-size: 0.82rem;
}

/* ========== Scroll Reveal ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

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

/* ========== Utility ========== */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-area {
    min-height: 260px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .nav-links a {
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

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

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

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

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

  .stat-item .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 100px 16px 60px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
