/* ===========================
   index.css — styles unique to index.html
   Shared styles are in site.css
   =========================== */

/* Homepage body — radial gradient background */
body {
  background: radial-gradient(ellipse at 50% 0%, #f9f5e8 0%, var(--white) 60%);
}

/* -------------------------
   Hero
   ------------------------- */
.hero {
  padding: 180px 0 120px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--black);
}

.hero-content h1 .highlight {
  position: relative;
  display: inline;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  opacity: 0.6;
  z-index: -1;
}

.hero-content .subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 524px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-video {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
}

.hero-video::before {
  content: '';
  width: 48px;
  height: 48px;
  background: var(--gray-300);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 495px;
  aspect-ratio: 495 / 576;
  background-color: #e8e8e8;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-left: auto;
}

.hero-chart {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 200px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.hero-chart-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--black);
}

.hero-chart .stat {
  margin-bottom: 12px;
}

.hero-chart .stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.hero-chart .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.hero-chart hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0;
}

/* -------------------------
   Clients
   ------------------------- */
.clients {
  padding: 48px 0 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.clients h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.client-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logo {
  height: 32px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.client-logo:hover { opacity: 1; }

/* -------------------------
   About
   ------------------------- */
.about {
  padding: 100px 24px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.about-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--black);
}

.about h2 .highlight {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.about-desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 495px;
  line-height: 1.6;
}

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

.about-step {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.about-step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.about-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.about-step-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.about-image {
  width: 100%;
  max-width: 495px;
  aspect-ratio: 495 / 600;
  background-color: #e8e8e8;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-left: auto;
}

/* -------------------------
   Services (dark bg + diamond pattern overlay)
   ------------------------- */
.services {
  background: var(--bg-dark);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23333' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

/* -------------------------
   Blog (homepage 2-col variant)
   ------------------------- */
.blog {
  padding: 100px 24px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.blog .section-header {
  margin-bottom: 56px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.blog-card .image {
  width: 100%;
  aspect-ratio: 600 / 399;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: block;
}

.blog-card .tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* -------------------------
   Responsive — homepage-specific only
   ------------------------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    text-align: center;
  }

  .hero-content .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-chart {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .about-image {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

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

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

  .clients-inner {
    gap: 16px;
  }

  .client-logo {
    height: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content .subtitle {
    font-size: 0.9375rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .hero-buttons a {
    font-size: 0.875rem;
    padding: 12px 20px;
  }
}
