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

:root {
  --forest: #1a2328;
  --parchment: #f5f0e8;
  --wisteria: #6b4c8a;
  --teal: #4a7c6f;
  --honey: #e8c76b;
  --white: #ffffff;
  --border: #ddd5c8;
  --text-muted: #5c554a;
  --surface: #ede6db;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--forest);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--teal);
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}

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

.btn-primary:hover {
  background: #5a3d75;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--wisteria);
  color: var(--wisteria);
}

.btn-outline:hover {
  background: var(--wisteria);
  color: var(--white);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--forest);
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--honey);
  letter-spacing: -0.5px;
}

.navbar .logo span {
  color: var(--white);
}

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

.nav-links a {
  color: var(--parchment);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

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

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

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--honey);
  transition: all 0.3s;
}

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

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

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

/* ---------- HERO ---------- */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(170deg, var(--forest) 60%, var(--teal) 100%);
  color: var(--parchment);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(232, 199, 107, 0.15);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(107, 76, 138, 0.12);
}

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

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

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

.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #c8c0b4;
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-visual {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--wisteria) 0%, var(--teal) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 32px;
  border: 2px solid rgba(232,199,107,0.3);
}

.hero-visual-inner {
  text-align: center;
  color: var(--white);
}

.hero-visual-inner .icon-lg {
  font-size: 64px;
  display: block;
  margin-bottom: 12px;
}

.hero-visual-inner .label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--honey);
}

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 100px 0;
}

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

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

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.2;
}

.section-header h2 span {
  color: var(--teal);
}

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

/* ---------- SERVICES ---------- */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--parchment);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 35, 40, 0.1);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card .icon.purple {
  background: #f0e8f7;
  color: var(--wisteria);
}

.service-card .icon.teal {
  background: #e2f0eb;
  color: var(--teal);
}

.service-card .icon.gold {
  background: #faf3db;
  color: #b8952e;
}

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

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

/* ---------- ABOUT / STATS ---------- */
.about {
  background: var(--surface);
}

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

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text h2 span {
  color: var(--wisteria);
}

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

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

.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-card .count {
  font-size: 40px;
  font-weight: 800;
  color: var(--teal);
  display: block;
}

.stat-card .label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

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

.step-card {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wisteria);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

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

/* ---------- CONTACT ---------- */
.contact {
  background: var(--forest);
  color: var(--parchment);
}

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

.contact .section-header h2 span {
  color: var(--honey);
}

.contact .section-header p {
  color: #b8b0a4;
}

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

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-info p {
  color: #b8b0a4;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.contact-item .icon {
  font-size: 22px;
  color: var(--honey);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item .detail {
  font-size: 16px;
  font-weight: 500;
}

.contact-item .detail a {
  color: var(--honey);
}

.contact-form {
  background: #222c32;
  border-radius: 12px;
  padding: 36px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #3a454c;
  border-radius: 6px;
  background: #2c3740;
  color: var(--parchment);
  font-family: inherit;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wisteria);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7d8488;
}

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

.contact-form .btn {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
  color: var(--honey);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #151b20;
  color: #9a958a;
  padding: 48px 0 32px;
}

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

.footer-brand .logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--honey);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--parchment);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

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

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

.footer-col ul li a {
  font-size: 14px;
  color: #9a958a;
}

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

.footer-bottom {
  border-top: 1px solid #2a3238;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

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

/* ---------- SCROLL REVEAL ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 240px;
    height: 240px;
  }

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

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

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--forest);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

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

  .section {
    padding: 64px 0;
  }

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .hero-visual {
    width: 180px;
    height: 180px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

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

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