/* ==========================================================================
   Components: reusable blocks used across one or more pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero (home) and page banner (inner pages)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  background: var(--navy);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 80% 15%, rgba(192, 39, 45, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--red);
}

.hero--banner { min-height: 0; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 80px 32px;
}

.hero--banner .hero__inner { padding: 72px 32px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(192, 39, 45, 0.15);
  border: 1px solid rgba(192, 39, 45, 0.4);
  color: var(--red-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero--banner .hero__title { font-size: clamp(32px, 5vw, 52px); }

.hero__title em { font-style: italic; color: var(--red-light); }

.hero__text {
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.75;
}

.hero--banner .hero__text { margin-bottom: 0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Stats bar
   -------------------------------------------------------------------------- */

.stats-bar {
  background: var(--red);
  padding: 24px var(--gutter);
}

.stats-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.stat:last-child { border-right: none; }

.stat__number {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat__label {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Two-column split layout (about, contact)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--top { align-items: start; margin-top: 48px; }

.prose p:not([class]) {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Highlight panel (navy box with pills)
   -------------------------------------------------------------------------- */

.highlight {
  padding: 40px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
}

.highlight__label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.highlight__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.highlight__text {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pill {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(192, 39, 45, 0.2);
  border: 1px solid rgba(192, 39, 45, 0.4);
  color: var(--red-light);
  font-size: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Info cards (mission / vision)
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card-grid--thirds { grid-template-columns: repeat(3, 1fr); }

.info-card {
  padding: 36px;
  border-radius: 12px;
  border-left: 4px solid var(--navy);
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.info-card--accent { border-left-color: var(--red); }

.info-card__title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.info-card__text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 20px;
  background: #F8F8F8;
}

.product-card__media img {
  max-height: 168px;
  object-fit: contain;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__badge--live { background: #10B981; }
.product-card__badge--soon { background: var(--navy); }

.product-card__body { padding: 28px; }

.product-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.product-card__text {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact details list
   -------------------------------------------------------------------------- */

.contact-intro {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(192, 39, 45, 0.2);
  font-size: 18px;
}

.contact-detail__label {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-detail__value {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.contact-detail__value a { color: inherit; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-form {
  padding: 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.form-field__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field__input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}

.form-field__input::placeholder { color: rgba(255, 255, 255, 0.27); }
.form-field__input:focus { border-color: var(--red); }

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

.form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.form-status:empty { display: none; }
.form-status--error { color: var(--red-light); }
.form-status--success { color: var(--success); }
.form-status a { color: inherit; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .card-grid,
  .card-grid--thirds { grid-template-columns: 1fr; }
  .stats-bar { padding: 24px 16px; }
  .stat { padding: 8px 24px; }
}

@media (max-width: 600px) {
  .stat {
    padding: 8px 14px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .stat:last-child { border-bottom: none; }
}
