/* ==========================================================================
   HYTES — sections.css
   Layout for each page section.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

/* Two soft light sources, no heavy gradients */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 46rem; height: 30rem;
  top: -12rem; right: -10rem;
  background: radial-gradient(closest-side, rgba(2, 99, 254, 0.34), transparent);
}
.hero::after {
  width: 34rem; height: 26rem;
  bottom: -14rem; left: -12rem;
  background: radial-gradient(closest-side, rgba(110, 75, 255, 0.26), transparent);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { color: var(--white); margin-block: 1.4rem 1.5rem; }
.hero h1 .line { display: block; }

.hero__lede { color: var(--text-on-dark-muted); max-width: 52ch; font-size: var(--step-1); line-height: 1.6; }
.hero .btn-row { margin-top: 2.1rem; }

.hero__meta {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.hero__meta li { display: grid; gap: 0.3rem; }
.hero__meta dt, .hero__meta .k {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.hero__meta .v {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 110;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--white);
}

/* Map panel — the page's signature element */
.map-panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-dark);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
  padding: 0.85rem 0.85rem 0.6rem;
  box-shadow: 0 40px 90px -50px rgba(3, 204, 254, 0.65);
  overflow: hidden;
}

.map-panel__canvas-wrap {
  position: relative;
  aspect-ratio: 216 / 118;
  width: 100%;
}

.map-panel canvas { width: 100%; height: 100%; }

.map-panel__ticker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.5rem 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  min-height: 2.3rem;
}
.map-panel__ticker .route { color: var(--white); }
.map-panel__ticker .arrow { color: var(--cyan); }
.map-panel__ticker .tag { margin-left: auto; color: var(--cyan); opacity: 0.85; }

@media (max-width: 560px) {
  .map-panel__ticker .tag { display: none; }
}

/* --------------------------------------------------------------------------
   2. Trust strip
   -------------------------------------------------------------------------- */

.trust { background: var(--ink); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }

.trust__head {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108;
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--white);
  max-width: 30ch;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.trust__grid {
  margin-top: 2.25rem;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trust__item {
  background: var(--ink);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.trust__item .icon { color: var(--cyan); width: 22px; height: 22px; }
.trust__item h3 { font-size: 1.031rem; color: var(--white); font-variation-settings: "wdth" 104; }
.trust__item p { font-size: 0.875rem; color: var(--text-on-dark-muted); line-height: 1.55; }

@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   3. About — the question ladder
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
}
@media (max-width: 940px) { .about__grid { grid-template-columns: 1fr; } }

.about__copy p + p { margin-top: 1.1rem; }

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.about__tag {
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(2, 99, 254, 0.07);
  border: 1px solid rgba(2, 99, 254, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

/* The ladder: the four questions every exporter has to answer, in order */
.ladder { display: grid; gap: 0; position: relative; }

.ladder__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.ladder__row:first-child { padding-top: 0; }
.ladder__row:last-child { border-bottom: 0; padding-bottom: 0; }

.ladder__rail { position: relative; display: grid; justify-items: center; }
.ladder__rail::before {
  content: "";
  position: absolute;
  top: 22px; bottom: -1.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), rgba(2, 99, 254, 0.15));
}
.ladder__row:last-child .ladder__rail::before { display: none; }

.ladder__node {
  width: 13px; height: 13px;
  border-radius: 50%;
  margin-top: 7px;
  border: 2px solid var(--blue);
  background: var(--white);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ladder__row:hover .ladder__node { background: var(--blue); box-shadow: 0 0 0 5px rgba(2, 99, 254, 0.14); }

.ladder__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  font-size: var(--step-2);
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--navy);
}
.ladder__a { margin-top: 0.5rem; color: var(--text-muted); font-size: 0.969rem; }
.ladder__a strong { color: var(--blue); font-weight: 600; }

/* --------------------------------------------------------------------------
   4. Services
   -------------------------------------------------------------------------- */

.services__grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.35rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .services__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   5. Process — numbering encodes a real sequence
   -------------------------------------------------------------------------- */

.process { background: var(--navy); color: var(--text-on-dark); overflow: hidden; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  position: relative;
  border-top: 1px solid var(--line-dark);
}

/* the travelling line that connects the stages */
.process__grid::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--blue) 55%, var(--violet));
  box-shadow: 0 0 14px rgba(3, 204, 254, 0.7);
  transition: width 1.6s var(--ease);
}

.step { padding: 2rem 1.4rem 0 0; position: relative; }
.step + .step { padding-left: 1.4rem; }
.step + .step::before {
  content: "";
  position: absolute;
  left: 0; top: 2.2rem; bottom: 0.5rem;
  width: 1px;
  background: var(--line-dark);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.step h3 {
  margin-top: 0.9rem;
  font-size: var(--step-1);
  color: var(--white);
  font-variation-settings: "wdth" 104;
}
.step p { margin-top: 0.6rem; font-size: 0.906rem; color: var(--text-on-dark-muted); line-height: 1.6; }

@media (max-width: 940px) {
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step::before { display: none; }
  .step, .step + .step { padding: 1.6rem 1.2rem; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__grid::after { display: none; }
}

/* --------------------------------------------------------------------------
   6. Who we help
   -------------------------------------------------------------------------- */

.sectors__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sector {
  background: var(--white);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  transition: background 0.3s var(--ease);
}
.sector:hover { background: #f7faff; }
.sector .icon { color: var(--blue); width: 22px; height: 22px; }
.sector h3 { font-size: 1rem; font-variation-settings: "wdth" 102; }
.sector p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 940px) { .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sectors__grid { grid-template-columns: 1fr; } }

.sectors__note {
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(2, 99, 254, 0.2);
  background: linear-gradient(120deg, rgba(2, 99, 254, 0.06), rgba(110, 75, 255, 0.05));
  font-size: var(--step-0);
  color: var(--navy);
  max-width: 84ch;
}

/* --------------------------------------------------------------------------
   7. Global reach
   -------------------------------------------------------------------------- */

.reach { background: var(--ink); color: var(--text-on-dark); overflow: hidden; }

.reach__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}
@media (max-width: 940px) { .reach__grid { grid-template-columns: 1fr; } }

.reach__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }

.reach__caveat {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(3, 204, 254, 0.35);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Why HYTES
   -------------------------------------------------------------------------- */

.why__grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.35rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.why__item { grid-column: span 2; }
.why__item:nth-child(4), .why__item:nth-child(5) { grid-column: span 3; }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item:nth-child(4), .why__item:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .why__grid { grid-template-columns: 1fr; }
}

.why__item .n {
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.why__item h3 { margin-top: 0.8rem; font-size: var(--step-1); }
.why__item p { margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   9. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% -10% auto;
  height: 46rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 99, 254, 0.32), transparent 70%);
  filter: blur(40px);
}
.cta-band__inner { text-align: center; display: grid; justify-items: center; gap: 1.35rem; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 58ch; color: var(--text-on-dark-muted); font-size: var(--step-1); }
.cta-band .btn-row { margin-top: 0.6rem; justify-content: center; }

/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}
@media (max-width: 940px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__aside p { margin-top: 1.1rem; }

.contact__points { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__point { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact__point .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.contact__point strong { display: block; font-weight: 600; color: var(--navy); }
.contact__point span { font-size: 0.906rem; color: var(--text-muted); }

.contact__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}

.map-panel__ticker .k { opacity: 0.66; }

/* Contact details block — inherits the existing .contact__point layout. */
.contact__point a { color: var(--blue); }
.contact__point a:hover { text-decoration: underline; }
.contact__address,
.footer__address { font-style: normal; margin: 0; }
.contact__address { display: block; margin-bottom: 0.35rem; }
