/* ═══════════════════════════════════════════════════════════
   home.css — Page-specific styles for index.html
   Global styles live in css/style.css
═══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: var(--fill-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 0;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0) brightness(1.1) opacity(0.06);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  border: 0.5px solid var(--accent-mid);
  border-radius: var(--r-pill);
  padding: 5px 14px 5px 10px;
  margin-bottom: 32px;
  animation: hero-badge-in 0.6s 0.1s var(--spring) both;
}

@keyframes hero-badge-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-text);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero-badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
  letter-spacing: -0.1px;
}

/* Heading */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(60px, 8.5vw, 116px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 0.95;
  color: var(--label-primary);
  margin-bottom: 28px;
  animation: hero-title-in 0.8s 0.2s var(--spring) both;
}

@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero h1 .light {
  font-weight: 300;
  color: var(--label-tertiary);
}

/* Sub-copy */
.hero-sub {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--label-secondary);
  max-width: 560px;
  margin-bottom: 44px;
  animation: hero-sub-in 0.75s 0.35s var(--spring) both;
}

@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Action row */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 80px;
  animation: hero-actions-in 0.65s 0.5s var(--spring) both;
}

@keyframes hero-actions-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Stats shelf */
.hero-shelf {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--fill-secondary);
  border-top: 0.5px solid var(--separator);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-shelf-item {
  padding: 28px 0;
  text-align: center;
  border-right: 0.5px solid var(--separator);
  animation: shelf-in 0.6s var(--spring) both;
}
.hero-shelf-item:nth-child(1) { animation-delay: 0.55s; }
.hero-shelf-item:nth-child(2) { animation-delay: 0.62s; }
.hero-shelf-item:nth-child(3) { animation-delay: 0.69s; }
.hero-shelf-item:nth-child(4) { animation-delay: 0.76s; border-right: none; }

@keyframes shelf-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.shelf-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--label-primary);
  line-height: 1;
}

.shelf-lbl {
  font-size: 12px;
  font-weight: 400;
  color: var(--label-tertiary);
  margin-top: 4px;
}

/* ─── ABOUT SECTION ─── */
.about-section {
  background: var(--fill-primary);
  padding: 140px 40px;
  border-bottom: 0.5px solid var(--separator);
}

.intro-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--fill-secondary);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: background 0.2s, transform 0.3s var(--spring), box-shadow 0.3s;
}
.stat-card:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1;
  color: var(--label-primary);
}

.stat-card-unit {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.stat-card-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--label-secondary);
  margin-top: 8px;
}

.stat-card-desc {
  font-size: 13px;
  color: var(--label-tertiary);
  margin-top: 8px;
  line-height: 1.55;
}

/* ─── STATEMENT BANNER ─── */
.statement-section {
  background: var(--label-primary);
  padding: 130px 40px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.statement-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,248,208,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

.statement-content {
  position: relative;
  z-index: 2;
}

.statement-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
  display: block;
}

.statement-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 28px;
}

.statement-body {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── PRODUCT SHOWCASE ─── */
.products-showcase {
  background: var(--fill-secondary);
  padding: 120px 0;
}

.products-showcase-header {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.products-showcase-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  position: relative;
  background: var(--fill-grouped);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring);
}
.product-tile:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.product-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--spring);
}
.product-tile:hover img { transform: scale(1.06); }

.product-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.product-tile-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
}

.product-tile-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

/* ─── CERTIFICATIONS ─── */
.certs-section {
  background: var(--fill-primary);
  padding: 120px 0;
}

.certs-header {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 40px;
}

.certs-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-card {
  background: var(--fill-secondary);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  text-align: center;
  transition: background 0.2s, transform 0.35s var(--spring), box-shadow 0.35s;
}
.cert-card:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: var(--fill-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--spring);
}
.cert-card:hover .cert-icon { transform: scale(1.1) rotate(-3deg); }

.cert-icon svg {
  width: 28px;
  height: 28px;
  color: var(--label-secondary);
}

.cert-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--label-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.cert-body {
  font-size: 14px;
  color: var(--label-secondary);
  line-height: 1.65;
}

.cert-placeholder {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--label-quaternary);
  background: var(--fill-tertiary);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  font-weight: 500;
}

/* ─── RESPONSIVE — home only ─── */
@media (max-width: 960px) {
  .hero { padding: 60px 20px 0; }
  .hero h1 { letter-spacing: -2.5px; }
  .hero-shelf { grid-template-columns: repeat(2, 1fr); }

  .about-section { padding: 80px 20px; }
  .intro-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-cards { grid-template-columns: repeat(2, 1fr); }

  .statement-section { padding: 80px 20px; }

  .products-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .products-showcase-header { padding: 0 20px; }

  .certs-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .certs-header { padding: 0 20px; }
}

@media (max-width: 560px) {
  .products-showcase-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
}
