/* =============================================
   TopShine — Ebony & Clover Palette
   Primary: #1B1F2B, Accent: #D3A16F
   Green: #5B7553, Light BG: #F6F2EC
   ============================================= */

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C3340;
  background-color: #F6F2EC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
}

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;
}

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

.fade-up.hidden-initially {
  opacity: 0;
  transform: translateY(32px);
}

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

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1B1F2B;
  padding: 0;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(27, 31, 43, 0.3);
}

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

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #F6F2EC;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D3A16F;
}

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

.navbar .nav-links a {
  color: #C4C9D0;
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

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

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #F6F2EC;
}

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

.navbar .nav-cta {
  background-color: #D3A16F;
  color: #1B1F2B !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background-color 0.3s ease !important;
}

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

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

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

.navbar .nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #F6F2EC;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ========== HERO SECTION ========== */
.hero-section {
  background-color: #1B1F2B;
  color: #F6F2EC;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211,161,111,0.15) 0%, transparent 70%);
}

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

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

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #F6F2EC;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 .accent {
  color: #D3A16F;
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: #B0B8C1;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background-color: #D3A16F;
  color: #1B1F2B;
}

.btn-primary:hover {
  background-color: #C18E5C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 161, 111, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: #F6F2EC;
  border: 2px solid #3D5A6E;
}

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

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

.hero-card {
  background: linear-gradient(135deg, #232940 0%, #1E2538 100%);
  border: 1px solid rgba(211, 161, 111, 0.2);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.hero-card .hero-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero-card h3 {
  font-size: 1.35rem;
  color: #F6F2EC;
  margin-bottom: 8px;
}

.hero-card p {
  color: #8FA4B0;
  font-size: 0.95rem;
  line-height: 1.65;
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #D3A16F;
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 2.35rem;
  color: #1B1F2B;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content .highlight {
  color: #5B7553;
}

.about-content p {
  color: #4A5565;
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.02rem;
}

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

.stat-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(27, 31, 43, 0.06);
  border: 1px solid #E8E3DB;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #D3A16F;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}

.about-image {
  position: relative;
}

.about-image .img-placeholder {
  background: linear-gradient(135deg, #3D5A6E 0%, #1B1F2B 100%);
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-image .img-placeholder::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px dashed rgba(211, 161, 111, 0.3);
  border-radius: 12px;
}

.about-image .decorative-dot {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #D3A16F;
  top: -16px;
  right: -16px;
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 100px 0;
  background-color: #1B1F2B;
  position: relative;
}

.services-section .section-label {
  text-align: center;
  display: block;
}

.services-section h2 {
  text-align: center;
  font-size: 2.35rem;
  color: #F6F2EC;
  margin-bottom: 16px;
}

.services-section .section-desc {
  text-align: center;
  color: #8FA4B0;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.service-card {
  background-color: #232940;
  border: 1px solid rgba(211, 161, 111, 0.1);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border: 1px solid rgba(211, 161, 111, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.service-card h3 {
  color: #F6F2EC;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #8FA4B0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  padding: 100px 0;
  background-color: #F6F2EC;
}

.features-section .section-label {
  text-align: center;
  display: block;
}

.features-section h2 {
  text-align: center;
  font-size: 2.35rem;
  color: #1B1F2B;
  margin-bottom: 16px;
}

.features-section .section-desc {
  text-align: center;
  color: #6B7280;
  max-width: 620px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.feature-item {
  text-align: center;
  padding: 40px 24px;
  background-color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(27, 31, 43, 0.05);
  border: 1px solid #E8E3DB;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27, 31, 43, 0.1);
}

.feature-item .feature-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  display: block;
}

.feature-item h3 {
  font-size: 1.15rem;
  color: #1B1F2B;
  margin-bottom: 10px;
}

.feature-item p {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== PROCESS SECTION ========== */
.process-section {
  padding: 100px 0;
  background-color: #3D5A6E;
  position: relative;
}

.process-section .section-label {
  text-align: center;
  display: block;
}

.process-section h2 {
  text-align: center;
  font-size: 2.35rem;
  color: #F6F2EC;
  margin-bottom: 16px;
}

.process-section .section-desc {
  text-align: center;
  color: #C0CBD4;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

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

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #D3A16F;
  color: #1B1F2B;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.process-step h3 {
  color: #F6F2EC;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: #A8B8C4;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 100px 0;
  background-color: #F6F2EC;
}

.testimonials-section .section-label {
  text-align: center;
  display: block;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.35rem;
  color: #1B1F2B;
  margin-bottom: 60px;
}

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

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 20px rgba(27, 31, 43, 0.05);
  border: 1px solid #E8E3DB;
  position: relative;
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  color: #E8D5C0;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 8px;
}

.testimonial-card p {
  color: #4A5565;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #5B7553;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author .author-info h4 {
  font-size: 0.95rem;
  color: #1B1F2B;
  font-weight: 600;
}

.testimonial-author .author-info span {
  font-size: 0.8rem;
  color: #6B7280;
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background-color: #1B1F2B;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #F6F2EC;
  margin-bottom: 16px;
}

.cta-section p {
  color: #8FA4B0;
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-section .btn-primary {
  font-size: 1.05rem;
  padding: 16px 40px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 100px 0;
  background-color: #5B7553;
}

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

.contact-info .section-label {
  display: block;
}

.contact-info h2 {
  color: #F6F2EC;
  font-size: 2.35rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: #D4DED6;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.contact-detail .contact-icon {
  font-size: 1.3rem;
  min-width: 32px;
  text-align: center;
}

.contact-detail .contact-text h4 {
  color: #F6F2EC;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail .contact-text p {
  color: #C8D3CA;
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.contact-form-wrapper h3 {
  font-size: 1.35rem;
  color: #1B1F2B;
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 2px solid #E0DBD3;
  border-radius: 8px;
  background-color: #FBF9F6;
  color: #1B1F2B;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

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

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 24px;
}

.form-status.success {
  color: #5B7553;
}

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

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

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

.footer-brand h3 {
  font-size: 1.35rem;
  color: #F6F2EC;
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #8FA4B0;
  max-width: 280px;
}

.footer-col h4 {
  color: #F6F2EC;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 700;
}

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

.footer-col ul li a {
  color: #8FA4B0;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(143, 164, 176, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #6B737F;
}

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

.footer-bottom .footer-legal-links a {
  font-size: 0.85rem;
  color: #6B737F;
  transition: color 0.25s ease;
}

.footer-bottom .footer-legal-links a:hover {
  color: #D3A16F;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-card {
    max-width: 320px;
  }
  .about-section .container {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-section .container {
    grid-template-columns: 1fr;
  }
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar .nav-toggle {
    display: flex;
  }
  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1B1F2B;
    flex-direction: column;
    padding: 96px 32px 32px;
    gap: 28px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  }
  .navbar .nav-links.open {
    right: 0;
  }
  .navbar .nav-links a {
    font-size: 1.1rem;
  }
  .hero-section {
    padding: 120px 0 80px;
    min-height: auto;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  .site-footer .container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .hero-section {
    padding: 100px 0 60px;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .section-label {
    font-size: 0.75rem;
  }
  h2 {
    font-size: 1.75rem !important;
  }
}
