/* ============================================================
   Build Bloom — Digital Growth & Systems Design Consultancy
   Yangquan Jianmao Trading Co., Ltd.
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #F2F7F5;
  background-color: #0E3B34;
}

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

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

ul {
  list-style: none;
}

/* --- Utility: Button System ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
  border: none;
  white-space: nowrap;
}

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

.btn-primary {
  background-color: #128274;
  color: #F2F7F5;
  box-shadow: 0 4px 14px rgba(18, 130, 116, 0.35);
}

.btn-primary:hover {
  background-color: #14B8A6;
  box-shadow: 0 6px 22px rgba(20, 184, 166, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: #F2F7F5;
  border: 2px solid #128274;
}

.btn-outline:hover {
  background-color: rgba(18, 130, 116, 0.15);
  border-color: #14B8A6;
}

.btn-full {
  width: 100%;
}

/* --- Utility: Section Container --------------------------- */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(18, 130, 116, 0.18);
  color: #14B8A6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #F2F7F5;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: #8FA8A3;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   SITE NAVIGATION (Sticky Header)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #071F1C;
  border-bottom: 1px solid rgba(18, 130, 116, 0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #128274, #14B8A6);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #F2F7F5;
  letter-spacing: -0.3px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #8FA8A3;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #F2F7F5;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #14B8A6;
  transition: width 0.25s;
}

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

.nav-cta {
  margin-left: 8px;
}

/* Hamburger menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #F2F7F5;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-color: #0E3B34;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(18, 130, 116, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 176, 75, 0.12) 0%, transparent 50%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 31, 28, 0.5) 0%, rgba(14, 59, 52, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(18, 130, 116, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #14B8A6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 800;
  color: #F2F7F5;
  line-height: 1.08;
  max-width: 780px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-accent {
  color: #14B8A6;
}

.hero-subtitle {
  font-size: 19px;
  color: #8FA8A3;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-meta .stat-block {
  text-align: left;
}

.hero-meta .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #E8B04B;
}

.hero-meta .stat-label {
  font-size: 13px;
  color: #8FA8A3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background-color: #0A2E29;
}

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

.service-card {
  background-color: #123E36;
  border: 1px solid rgba(18, 130, 116, 0.15);
  border-radius: 14px;
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(20, 184, 166, 0.3);
  border-color: rgba(20, 184, 166, 0.4);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(18, 130, 116, 0.3), rgba(20, 184, 166, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2F7F5;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: #8FA8A3;
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 14px;
  color: #8FA8A3;
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #14B8A6;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background-color: #0E3B34;
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text {
  font-size: 17px;
  color: #8FA8A3;
  line-height: 1.7;
}

.about-visual {
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  background-color: #123E36;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(20, 184, 166, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(232, 176, 75, 0.1) 1px, transparent 1px);
  background-size: 24px 24px, 32px 32px;
  pointer-events: none;
}

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

.about-stat {
  background: #123E36;
  border: 1px solid rgba(18, 130, 116, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.about-stat .stat-number {
  font-size: 34px;
  font-weight: 700;
  color: #E8B04B;
  display: block;
}

.about-stat .stat-label {
  font-size: 13px;
  color: #8FA8A3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background-color: #0A2E29;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, #128274, rgba(18, 130, 116, 0.2));
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}

.step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #123E36;
  border: 2px solid #128274;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-number {
  font-size: 20px;
  font-weight: 700;
  color: #14B8A6;
}

.step-content {
  padding-top: 6px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2F7F5;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 15px;
  color: #8FA8A3;
  line-height: 1.6;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  background-color: #0E3B34;
}

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

.industry-item {
  background: #123E36;
  border: 1px solid rgba(18, 130, 116, 0.15);
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s, background-color 0.3s;
}

.industry-item:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background-color: rgba(18, 130, 116, 0.08);
}

.industry-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #14B8A6;
  flex-shrink: 0;
}

.industry-name {
  font-size: 15px;
  font-weight: 600;
  color: #F2F7F5;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background-color: #071F1C;
}

.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stat-block {
  text-align: center;
  padding: 32px 16px;
  border-radius: 12px;
  background: rgba(18, 62, 54, 0.5);
  border: 1px solid rgba(18, 130, 116, 0.15);
}

.stat-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #E8B04B;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #F2F7F5;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 13px;
  color: #8FA8A3;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background-color: #0E3B34;
}

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

.testimonial-card {
  background: #123E36;
  border: 1px solid rgba(18, 130, 116, 0.15);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.testimonial-quote {
  font-size: 15px;
  color: #F2F7F5;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  padding-top: 24px;
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 0;
  font-size: 48px;
  color: #14B8A6;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 130, 116, 0.2);
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: #F2F7F5;
}

.author-role {
  font-size: 13px;
  color: #8FA8A3;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background-color: #0A2E29;
}

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

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

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

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: #8FA8A3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value {
  font-size: 16px;
  color: #F2F7F5;
  font-weight: 500;
}

.contact-form {
  background: #123E36;
  border: 1px solid rgba(18, 130, 116, 0.2);
  border-radius: 14px;
  padding: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #F2F7F5;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #0E3B34;
  border: 1px solid rgba(18, 130, 116, 0.25);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: #F2F7F5;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #14B8A6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #8FA8A3;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #071F1C;
  border-top: 1px solid rgba(18, 130, 116, 0.15);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-text {
  font-size: 22px;
  margin-bottom: 4px;
}

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

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: #8FA8A3;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: #F2F7F5;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #14B8A6;
}

.footer-bottom {
  border-top: 1px solid rgba(18, 130, 116, 0.15);
  padding: 24px 32px;
  text-align: center;
  font-size: 13px;
  color: #8FA8A3;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: #071F1C;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

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

  .nav-link {
    font-size: 20px;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 32px 24px;
  }

  .hero-meta {
    gap: 24px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    min-height: 300px;
  }

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

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

  .testimonial-cards {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 560px) {
  .section-container {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-desc {
    font-size: 16px;
  }

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

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

  .process-steps::before {
    left: 17px;
  }

  .step-marker {
    width: 36px;
    height: 36px;
  }

  .step-number {
    font-size: 16px;
  }

  .step-content {
    padding-top: 0;
  }

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

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

  .testimonial-cards {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 24px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
