/* ===== TRACE Metrics Section (wrapper) ===== */

.trace-metrics {
  background: var(--primary-color);
  color: #fff;
  padding-block: 3.5rem;
  padding-inline: 1.5rem;
}

.trace-metrics__inner {
  max-width: 1200px;
  margin-inline: auto;
}

/* ===== Metrics Grid ===== */

.trace-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

/* ===== Metric Card ===== */

.trace-metric {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 1.75rem;
  padding-block: 1.9rem 1.7rem;
  padding-inline: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  text-align: start; /* يعمل صح مع RTL/LTR حسب dir */
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

.trace-metric__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.8;
  margin-block-end: 0.55rem;
}

.trace-metric__value {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-block-end: 0.55rem;
}

.trace-metric__note {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.92;
}

/* Hover effect on cards */

.trace-metric:hover {
  border-color: var(--secondary-color);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

/* ===== Callout under metrics (Updated Design) ===== */

.trace-metrics__callout {
  position: relative;
  margin-top: 3rem;
  max-width: 1000px;
  margin-inline: auto;

  padding-block: 2rem;
  padding-inline: 2.2rem;

  background: rgba(255, 255, 255, 0.05); /* أفتح و أنعم */
  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 1.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);

  overflow: hidden;
}

/* شريط جانبي متدرّج */

.trace-metrics__callout::before {
  content: "";
  position: absolute;
  inset-block: 20%;
  inset-inline-start: 1.4rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    var(--secondary-color),
    rgba(255, 255, 255, 0.45)
  );
  opacity: 0.9;
}

/* في RTL ينقل الشريط للجانب التاني */

:dir(rtl) .trace-metrics__callout::before {
  inset-inline-start: auto;
  inset-inline-end: 1.4rem;
}

.trace-callout__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-bottom: 0.55rem;
  text-align: start;
}

.trace-callout__text {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.92;
  text-align: start;
}

/* padding للنص جنب الشريط */

.trace-callout__eyebrow,
.trace-callout__text {
  padding-inline-start: 1.75rem;
}

:dir(rtl) .trace-callout__eyebrow,
:dir(rtl) .trace-callout__text {
  padding-inline-start: 0;
  padding-inline-end: 1.75rem;
}

/* Hover على الكال أوت */

.trace-metrics__callout:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
  transition: all 0.18s ease-out;
}

/* ===== RTL Text Helpers ===== */

:dir(rtl) .trace-metric__label,
:dir(rtl) .trace-metric__value,
:dir(rtl) .trace-metric__note {
  text-align: start; /* right في RTL و left في LTR */
}

/* لو عايز ترتيب الكروت يعكس في RTL:
   شيل الكومنت من السطر ده */
/* :dir(rtl) .trace-metrics__grid { direction: rtl; } */

/* ===== Responsiveness ===== */

@media (max-width: 1200px) {
  .trace-metrics__inner {
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .trace-metrics {
    padding-block: 3rem;
  }

  .trace-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .trace-metric {
    padding-inline: 1.6rem;
  }

  .trace-metric__value {
    font-size: 2rem;
  }

  .trace-metrics__callout {
    padding-inline: 1.6rem;
    margin-top: 2.3rem;
  }
}

@media (max-width: 576px) {
  .trace-metrics {
    padding-block: 2.5rem;
    padding-inline: 1.25rem;
  }

  .trace-metrics__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trace-metric {
    border-radius: 1.25rem;
  }

  .trace-metric__value {
    font-size: 1.9rem;
  }

  .trace-metrics__callout {
    border-radius: 1.35rem;
    padding-inline: 1.4rem;
  }
}















/* ======================= WHY TRACE · BASE ======================= */

.wt-section {
  padding-block: 4rem;
}

.wt-panel__title{
  color: white;
}
.wt-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wt-section + .wt-section {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

/* reveal base (تتحكم فيها الـ JS) */
.wt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

.wt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================= SECTION 1 · INTRO ======================= */

.wt-intro {
  padding-block: 4.5rem 3.5rem;
}

.wt-intro__inner {
  text-align: left;
}

.wt-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.9rem;
}

.wt-intro__title {
  font-size: clamp(2.3rem, 3vw + 1.2rem, 3rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.wt-intro__subtitle {
  max-width: 640px;
  color: #4b5563;
  margin-bottom: 1.75rem;
}

.wt-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.wt-meta-item {
  min-width: 150px;
}

.wt-meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.1rem;
}

.wt-meta-value {
  font-size: 0.9rem;
  color: #111827;
}

.wt-link-inline {
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-decoration: none;
}

.wt-link-inline:hover {
  text-decoration: underline;
}

/* ======================= SECTION 2 · MARKET & DEMAND ======================= */

.wt-section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.wt-section-title {
  font-size: clamp(1.9rem, 2vw + 1rem, 2.3rem);
  margin-bottom: 0.7rem;
  color: var(--primary-color);
}

.wt-section-subtitle {
  color: #4b5563;
  font-size: 0.98rem;
}

.wt-market__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* اللوحات الرئيسية */

.wt-panel {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 1.4rem;
  border: 1px solid transparent;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* كارد primary بلون primary-color */
.wt-panel--primary {
  background: var(--primary-color);
  border-color: var(--primary-hover-color, var(--primary-color));
}

/* الكارد التاني secondary بلون secondary-color */
.wt-panel--secondary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.wt-panel::after {
  content: "";
  position: absolute;
  inset: auto -30%;
  top: -40%;
  height: 40%;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  opacity: 0.45;
  pointer-events: none;
}

.wt-panel__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.wt-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wt-chip--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.wt-panel__title {
  font-size: 1.1rem;
}

.wt-panel__body {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.wt-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
}

.wt-panel__list li + li {
  margin-top: 0.35rem;
}

.wt-panel__list li::before {
  content: "•";
  margin-inline-end: 0.4rem;
  color: var(--warning-color);
}

.wt-panel__link {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--warning-color);
}

.wt-panel__link:hover {
  text-decoration: underline;
}

/* ======================= SECTION 3 · MRV TRANSITION ======================= */

.wt-mrv__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.wt-mrv__cards {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.wt-mini-card {
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #f9fafb;
  font-size: 0.9rem;
  color: #111827;
}

.wt-mini-card--accent {
  background: var(--primary-color);
  color: #e5e7eb;
  border-color: transparent;
}

.wt-mini-card__title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}
.wt-mini-card--accent .wt-mini-card__title {
  color: #ffffff;
}
.wt-mini-card__link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--warning-color);
}

.wt-mini-card--accent .wt-mini-card__link {
  color: #fffbeb;
}

.wt-mini-card__link:hover {
  text-decoration: underline;
}

/* صورة / دياجرام */

.wt-mrv__media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wt-image-frame {
  border-radius: 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 0.9rem;
  background: #f9fafb;
}

.wt-image-placeholder {
  border-radius: 1.2rem;
  min-height: 320px; /* ← أطول زي ما طلبت */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #9ca3af;
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
}

.wt-caption {
  font-size: 0.82rem;
  color: #6b7280;
}

/* ======================= INTERACTIONS (TILT) ======================= */

.wt-tilt {
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.wt-tilt.is-tilting {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

/* ======================= RESPONSIVE ======================= */

@media (max-width: 960px) {
  .wt-market__grid {
    grid-template-columns: 1fr;
  }

  .wt-mrv__layout {
    grid-template-columns: 1fr;
  }

  .wt-intro__inner {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .wt-section {
    padding-block: 3rem;
  }

  .wt-intro__title {
    font-size: 2.1rem;
  }

  .wt-intro__meta {
    flex-direction: column;
  }
}

















/* ======================= DEEP DIVE · BASE ======================= */

.dd-section {
  padding-block: 4.5rem;
}

.dd-section + .dd-section {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.dd-section--ports {
  background: #f9fafb;
}

.dd-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* scroll reveal base */

.dd-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.dd-reveal.dd-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dd-reveal-item {
  opacity: 0;
  transform: translateY(16px);
}

.dd-reveal-item.dd-is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

/* ======================= HERO ======================= */

.dd-hero {
  max-width: 700px;
  margin-bottom: 3rem;
}

.dd-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.04);
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.dd-pill--ports {
  color: var(--primary-color);
}

.dd-hero__title {
  font-size: clamp(2.1rem, 2.7vw + 1rem, 2.7rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.dd-hero__subtitle {
  color: #4b5563;
  font-size: 0.98rem;
}

/* ======================= BLOCKS ======================= */

.dd-block {
  margin-bottom: 2.8rem;
}

.dd-block__header {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.dd-block__title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

.dd-block__body {
  color: #475569;
  font-size: 0.96rem;
}

.dd-block--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.dd-block--columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.8rem;
  align-items: stretch;
}

.dd-block__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dd-block__aside {
  align-self: stretch;
}

/* ======================= TYPO & LISTS ======================= */

.dd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #1f2933;
}

.dd-list li + li {
  margin-top: 0.45rem;
}

.dd-list li::before {
  content: "•";
  margin-inline-end: 0.45rem;
  color: var(--warning-color);
}

.dd-list--two {
  column-count: 2;
  column-gap: 1.5rem;
}

.dd-note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: #6b7280;
}

/* subscript for CO2 */

.dd-sub {
  font-size: 0.8em;
  vertical-align: sub;
}

/* ======================= CARDS & HIGHLIGHTS ======================= */

.dd-card {
  border-radius: 1.5rem;
  padding: 1.35rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.06),
    0 1px 6px rgba(15, 23, 42, 0.04);
}

.dd-highlight {
  border-radius: 1.5rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover-color, var(--primary-color))
  );
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.2);
}

.dd-highlight__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* grid for small cards */

.dd-grid {
  display: grid;
  gap: 1.4rem;
}

.dd-grid--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ======================= TIMELINE ======================= */

.dd-timeline {
  position: relative;
  margin-top: 1.3rem;
  padding-left: 1.6rem;
}

.dd-timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.4rem;
  width: 2px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--primary-hover-color, var(--primary-color))
  );
  transition: height 0.8s ease-out;
}

.dd-timeline.dd-timeline--active::before {
  height: 100%;
}

.dd-timeline--ports::before {
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--primary-hover-color, var(--secondary-color))
  );
}

.dd-timeline__item {
  position: relative;
  margin-bottom: 1.4rem;
  padding-left: 0.6rem;
  font-size: 0.92rem;
  color: #475569;
}

.dd-timeline__item:last-child {
  margin-bottom: 0;
}

.dd-timeline__item::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: #ffffff;
}

.dd-timeline__label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

/* ======================= INTERACTIONS · CARD TILT ======================= */

.dd-card-tilt {
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.dd-card-tilt.dd-tilting {
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.16),
    0 2px 10px rgba(15, 23, 42, 0.06);
}

/* ======================= RESPONSIVE ======================= */

@media (max-width: 980px) {
  .dd-block--split,
  .dd-block--columns {
    grid-template-columns: 1fr;
  }

  .dd-list--two {
    column-count: 1;
  }

  .dd-grid--cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dd-section {
    padding-block: 3.3rem;
  }

  .dd-hero {
    margin-bottom: 2.4rem;
  }

  .dd-hero__title {
    font-size: 2rem;
  }

  .dd-card,
  .dd-highlight {
    border-radius: 1.3rem;
  }
}














/* ======================= HOW TRACE WORKS · BASE ======================= */



.hw-container {
  /* نستخدم نفس الـ container بتاع dd، الكلاس موجود بس بنسيبه لو حبيت تزود حاجات لاحقاً */
}

.hw-hero {
  margin-bottom: 3rem;
}

/* ======================= STEPS TIMELINE ======================= */

.hw-block--steps {
  margin-bottom: 3rem;
}

.hw-block__intro {
  margin-bottom: 1.8rem;
}

/* نستخدم dd-timeline الموجودة بالفعل كـ base، ونضيف عليها شوية ستايل للـ badges */

.dd-timeline.dd-timeline--works::before {
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--primary-hover-color, var(--primary-color))
  );
}

.hw-step {
  padding-left: 2.3rem; /* مساحة للبادج الدائري */
}

.hw-step__badge {
  position: absolute;
  left: -1.6rem;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.hw-step__number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ======================= STAKEHOLDERS GRID ======================= */

.hw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.hw-card {
  /* dd-card already gives padding, radius, shadow */
}

.hw-card__title {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #0f172a;
}

.hw-card__body {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ======================= RESPONSIVE ======================= */

@media (max-width: 980px) {
  .hw-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hw-block--steps {
    margin-bottom: 2.4rem;
  }
}



































/* ======================= HOME · BASE ======================= */

.hm-section {
  padding-block: 4rem;
}

.hm-hero {
  background: #f8fafc;
  padding-block: 4.5rem;
}

.hm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hm-hero__title {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.1rem);
  line-height: 1.05;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.hm-hero__subtitle {
  font-size: 0.98rem;
  color: #475569;
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.hm-btn--primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.hm-btn--primary:hover {
  background: var(--primary-hover-color, var(--primary-color));
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.22);
}

.hm-btn--ghost {
  background: #ffffff;
  color: var(--primary-color);
  border-color: rgba(148, 163, 184, 0.5);
}

.hm-btn--ghost:hover {
  background: #f9fafb;
}

/* Hero image */

.hm-hero__media {
  display: flex;
  justify-content: center;
}

.hm-hero-image {
  position: relative;
  border-radius: 1.8rem;
  padding: 1.6rem;
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  min-height: 260px;
  max-width: 360px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.16),
    0 1px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  overflow: hidden;
}

/* دوائر خفيفة بلفة بسيطة حوالين الصورة */

.hm-hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  pointer-events: none;
  animation: hm-orbit 16s linear infinite;
}

.hm-hero-orbit--telecom {
  width: 120%;
  height: 120%;
}

.hm-hero-orbit--ports {
  width: 80%;
  height: 80%;
  animation-duration: 20s;
  animation-direction: reverse;
}

@keyframes hm-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ======================= GENERIC SECTION ELEMENTS ======================= */

.hm-section-title {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--primary-color);
}

.hm-section-subtitle {
  font-size: 0.96rem;
  color: #4b5563;
  max-width: 36rem;
}

.hm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hm-split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

/* Lists & links */

.hm-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.1rem;
  font-size: 0.92rem;
  color: #1f2933;
}

.hm-list li + li {
  margin-top: 0.45rem;
}

.hm-list li::before {
  content: "•";
  margin-inline-end: 0.45rem;
  color: var(--warning-color);
}

.hm-link {
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-decoration: none;
}

.hm-link:hover {
  text-decoration: underline;
}

/* Image placeholders */

.hm-image {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: #9ca3af;
  text-align: center;
}

.hm-image--how {
  min-height: 220px;
}

.hm-image--why {
  min-height: 220px;
}

/* ======================= WHY TRACE HOME ======================= */

.hm-why {
  background: #f9fafb;
}

/* ======================= SECTORS HOME ======================= */

.hm-sectors {
  background: #ffffff;
}

.hm-sectors__header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 2rem;
}

.hm-grid--sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.hm-sector {
  border-radius: 1.6rem;
}

.hm-sector__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.04);
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.hm-sector__tag--ports {
  color: var(--secondary-color);
}

.hm-sector__title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.hm-sector__body {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.hm-sector__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: #1f2933;
}

.hm-sector__list li + li {
  margin-top: 0.35rem;
}

.hm-sector__list li::before {
  content: "•";
  margin-inline-end: 0.45rem;
  color: var(--warning-color);
}

/* ======================= HOW TRACE WORKS HOME ======================= */

.hm-how {
  background: #f8fafc;
}

.hm-how__content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hm-steps {
  margin: 0.9rem 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #1f2933;
}

/* ======================= ABOUT HOME ======================= */

.hm-about {
  background: #ffffff;
}

.hm-about__content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hm-about__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hm-about__pilot {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hm-pilot__title {
  font-size: 1rem;
  color: #0f172a;
}

.hm-pilot__body {
  font-size: 0.9rem;
  color: #4b5563;
}

.hm-pilot__btn {
  margin-top: 0.2rem;
}

.hm-pilot__meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.hm-pilot__meta a {
  color: var(--secondary-color);
  text-decoration: none;
}

.hm-pilot__meta a:hover {
  text-decoration: underline;
}

/* ======================= RESPONSIVE ======================= */

@media (max-width: 1024px) {
  .hm-hero__inner {
    grid-template-columns: 1.1fr;
  }

  .hm-hero__media {
    justify-content: flex-start;
  }

  .hm-hero-image {
    max-width: 320px;
  }
}

@media (max-width: 960px) {
  .hm-split,
  .hm-split--reverse {
    grid-template-columns: 1fr;
  }

  .hm-grid--sectors {
    grid-template-columns: 1fr;
  }

  .hm-section {
    padding-block: 3.2rem;
  }

  .hm-hero {
    padding-block: 3.6rem;
  }
}

@media (max-width: 640px) {
  .hm-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hm-btn {
    width: 100%;
  }
}