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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: #1A1F26;
  background-color: #F5F0E8;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.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-color: #1E2D3D;
  transition: background-color 0.3s ease;
}

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

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: #FEFCF9;
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: #D5CFC7;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #E8A441;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #E8A441;
  transition: width 0.3s ease;
}

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

.nav-cta {
  background-color: #E8A441;
  color: #1E2D3D !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background-color 0.25s ease !important;
}

.nav-cta:hover {
  background-color: #D4932F;
}

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #FEFCF9;
  border-radius: 2px;
  transition: all 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 ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1E2D3D 0%, #243849 40%, #1E2D3D 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 164, 65, 0.12) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 111, 0.1) 0%, transparent 70%);
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: #FEFCF9;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #E8A441;
}

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

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

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #E8A441;
  color: #1E2D3D;
}

.btn-primary:hover {
  background-color: #D4932F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 164, 65, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: #FEFCF9;
  border: 2px solid #4F5863;
}

.btn-outline:hover {
  border-color: #E8A441;
  color: #E8A441;
  transform: translateY(-2px);
}

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

.hero-card {
  background-color: #FEFCF9;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
}

.hero-card-icon {
  width: 60px;
  height: 60px;
  background-color: #5B8C6F;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}

.hero-card h3 {
  font-size: 20px;
  color: #1A1F26;
  margin-bottom: 12px;
}

.hero-card p {
  font-size: 15px;
  color: #4F5863;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #D5CFC7;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #1E2D3D;
}

.hero-stat-label {
  font-size: 12px;
  color: #6B7583;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background-color: #FEFCF9;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E8A441;
  margin-bottom: 12px;
}

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

.section-subtitle {
  font-size: 17px;
  color: #4F5863;
  max-width: 600px;
  line-height: 1.6;
}

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

.service-card {
  background-color: #F5F0E8;
  border-radius: 12px;
  padding: 36px 30px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: #E8A441;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: #1E2D3D;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
  color: #E8A441;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1A1F26;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #4F5863;
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background-color: #EAE5DD;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  background: linear-gradient(135deg, #1E2D3D, #243849);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-inner {
  text-align: center;
  color: #FEFCF9;
  z-index: 1;
}

.about-image-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.about-image-inner p {
  font-size: 14px;
  color: #B0BEC5;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background-color: #E8A441;
  border-radius: 20px;
  z-index: 2;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-content p {
  font-size: 16px;
  color: #4F5863;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

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

.about-feature-check {
  width: 28px;
  height: 28px;
  background-color: #5B8C6F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FEFCF9;
  font-size: 14px;
  font-weight: 700;
}

.about-feature span {
  font-size: 15px;
  color: #1A1F26;
  font-weight: 500;
}

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 100px 0;
  background-color: #F5F0E8;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 56px;
}

.capabilities-header .section-subtitle {
  margin: 0 auto;
}

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

.capability-card {
  text-align: center;
  padding: 36px 20px;
  background-color: #FEFCF9;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.capability-card:hover {
  box-shadow: 0 8px 28px rgba(30, 45, 61, 0.1);
  transform: translateY(-4px);
}

.capability-number {
  font-size: 42px;
  font-weight: 800;
  color: #E8A441;
  margin-bottom: 8px;
}

.capability-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1F26;
  margin-bottom: 6px;
}

.capability-card p {
  font-size: 14px;
  color: #4F5863;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E2D3D, #243849);
  text-align: center;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #FEFCF9;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 17px;
  color: #B0BEC5;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background-color: #FEFCF9;
}

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

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1A1F26;
  margin-bottom: 14px;
}

.contact-info > p {
  font-size: 16px;
  color: #4F5863;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  background-color: #F5F0E8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #E8A441;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1A1F26;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 15px;
  color: #4F5863;
  line-height: 1.5;
}

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

.contact-form {
  background-color: #F5F0E8;
  border-radius: 14px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1F26;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A1F26;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D5CFC7;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1A1F26;
  background-color: #FEFCF9;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #E8A441;
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background-color: #1E2D3D;
  color: #FEFCF9;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form-submit:hover {
  background-color: #E8A441;
  color: #1E2D3D;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success h3 {
  color: #1A1F26;
  margin-bottom: 8px;
}

.form-success p {
  color: #4F5863;
  font-size: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #151D28;
  padding: 60px 0 32px;
}

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

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: #FEFCF9;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: #6B7583;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FEFCF9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: #6B7583;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #E8A441;
}

.footer-bottom {
  border-top: 1px solid #243849;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #4F5863;
}

/* ===== 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);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities-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: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1E2D3D;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  }
  .nav-links.active {
    right: 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-visual {
    display: none;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .about .container {
    grid-template-columns: 1fr;
  }
  .about-image {
    height: 280px;
  }
  .about-accent {
    width: 100px;
    height: 100px;
    bottom: -14px;
    right: -14px;
  }
  .contact .container {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .section-title {
    font-size: 26px;
  }
}
