/* ===== RESET & BASE ===== */
*, *::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: #1D1D1D;
  background-color: #FBF7F0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: #1D1D1D;
}

a {
  color: #C05A4A;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #9A4033;
}

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

ul, ol {
  list-style: none;
}

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

/* ===== NAVIGATION — CLASS-BASED ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #263C3F;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  height: 72px;
}

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

.nav-logo {
  font-size: 26px;
  font-weight: 800;
  color: #FBF7F0;
  letter-spacing: -0.5px;
}

.nav-logo:hover {
  color: #D4914A;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #D4C9B8;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #FBF7F0;
  background: rgba(255,255,255,0.08);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FBF7F0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: #D4914A;
  color: #FBF7F0;
  border-color: #D4914A;
}

.btn-primary:hover {
  background-color: #C07B38;
  border-color: #C07B38;
  color: #FBF7F0;
}

.btn-secondary {
  background-color: transparent;
  color: #D4914A;
  border-color: #D4914A;
}

.btn-secondary:hover {
  background-color: #D4914A;
  color: #FBF7F0;
}

/* ===== HERO SECTION — CLASS-BASED ===== */
.hero-section {
  padding: 160px 0 100px;
  background-color: #263C3F;
  position: relative;
  overflow: hidden;
}

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

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

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212,145,74,0.15);
  color: #D4914A;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #FBF7F0;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-text {
  font-size: 17px;
  color: #C4D0CC;
  margin-bottom: 16px;
  max-width: 540px;
}

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

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.hero-card {
  background-color: #2D474A;
  border-radius: 16px;
  padding: 28px 32px;
  width: 220px;
  border: 1px solid rgba(212,145,74,0.15);
}

.hero-card-offset {
  margin-right: 40px;
}

.hero-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: #D4914A;
}

.hero-card-stat {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero-card-number {
  font-size: 42px;
  font-weight: 800;
  color: #FBF7F0;
}

.hero-card-suffix {
  font-size: 22px;
  font-weight: 600;
  color: #D4914A;
}

.hero-card-label {
  font-size: 14px;
  color: #9AABA6;
  margin-top: 4px;
}

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

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background-color: #EDE4D8;
  color: #C05A4A;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #1D1D1D;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: #6E7E7C;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION — CLASS-BASED ===== */
.about-section {
  padding: 100px 0;
  background-color: #FBF7F0;
}

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

.about-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 36px 30px;
  border: 1px solid #E5DFD8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(38,60,63,0.08);
}

.about-card-num {
  font-size: 48px;
  font-weight: 800;
  color: #EDE4D8;
  margin-bottom: 12px;
  line-height: 1;
}

.about-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1D1D1D;
  margin-bottom: 14px;
}

.about-card-text {
  font-size: 15px;
  color: #5A5A5A;
  line-height: 1.7;
}

/* ===== SERVICES SECTION — CLASS-BASED ===== */
.services-section {
  padding: 100px 0;
  background-color: #F3EFE9;
}

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

.service-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 34px 30px;
  border: 1px solid #E5DFD8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(38,60,63,0.08);
}

.service-icon {
  font-size: 24px;
  color: #D4914A;
  margin-bottom: 16px;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: #1D1D1D;
  margin-bottom: 12px;
}

.service-text {
  font-size: 14.5px;
  color: #5A5A5A;
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 14px;
  color: #263C3F;
  padding: 5px 0 5px 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D4914A;
}

/* ===== STATS SECTION — CLASS-BASED ===== */
.stats-section {
  padding: 80px 0;
  background-color: #2D474A;
}

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

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  color: #FBF7F0;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 600;
  color: #D4914A;
}

.stat-label {
  font-size: 15px;
  color: #9AABA6;
  font-weight: 500;
}

/* ===== CONTACT SECTION — CLASS-BASED ===== */
.contact-section {
  padding: 100px 0;
  background-color: #FBF7F0;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #C05A4A;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 16px;
  color: #4A4A4A;
}

.contact-info-item a:hover {
  color: #D4914A;
}

/* Contact Form */
.contact-form {
  background-color: #FFFFFF;
  padding: 36px;
  border-radius: 14px;
  border: 1px solid #E5DFD8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #263C3F;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #D4C9B8;
  border-radius: 8px;
  background-color: #FBF7F0;
  color: #1D1D1D;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #D4914A;
}

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

/* ===== FOOTER ===== */
.site-footer {
  background-color: #1E302F;
  padding: 60px 0 0;
  color: #B4C0BE;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #FBF7F0;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo:hover {
  color: #D4914A;
}

.footer-desc {
  font-size: 14px;
  color: #8A9C99;
  line-height: 1.7;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #D4914A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

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

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

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

.footer-links-col a:hover {
  color: #FBF7F0;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #6E7E7C;
}

.footer-bottom a {
  color: #D4914A;
}

.footer-bottom a:hover {
  color: #FBF7F0;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-visual {
    display: none;
  }
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: #263C3F;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .nav-links.open {
    max-height: 300px;
    padding: 16px 24px;
  }
  .nav-link {
    display: block;
    padding: 12px 18px;
    width: 100%;
    border-radius: 6px;
  }
  .hero-section {
    padding: 130px 0 70px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-text {
    font-size: 15px;
  }
  .section-title {
    font-size: 28px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
