/* Appily Thirtyfour — Orchard Topographic Map company info (unique cartographic layout) */

.page-company-topo {
  --topo-cream: #FEF7ED;
  --topo-warm: #FFF9F3;
  --topo-paper: #FFFEF8;
  --topo-ink: #2C2416;
  --topo-muted: #6B5E52;
  --topo-line: #E8DFD4;
  --topo-terra: #C84B31;
  --topo-olive: #5A7247;
  --topo-sage: #52796F;
  --topo-gold: #D4A017;
  --topo-contour: rgba(82, 121, 111, 0.18);
  --topo-trail: #8B7355;
  background: var(--topo-warm);
}

.a34-topo {
  padding: 0 0 3.5rem;
}

/* ── Hero with contours ── */
.a34-topo-hero {
  position: relative;
  padding: 2.5rem 0 2.25rem;
  background: linear-gradient(165deg, #e8ebe4 0%, var(--topo-cream) 50%, var(--topo-warm) 100%);
  overflow: hidden;
}

.a34-topo-contours {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      ellipse 120% 80% at 30% 40%,
      transparent 0,
      transparent 28px,
      var(--topo-contour) 28px,
      var(--topo-contour) 29px
    ),
    repeating-radial-gradient(
      ellipse 100% 70% at 70% 60%,
      transparent 0,
      transparent 22px,
      rgba(200, 75, 49, 0.06) 22px,
      rgba(200, 75, 49, 0.06) 23px
    );
  pointer-events: none;
}

.a34-topo-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.a34-topo-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--topo-olive);
}

.a34-topo-hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--topo-ink);
}

.a34-topo-hero h1 em {
  font-style: italic;
  color: var(--topo-terra);
}

.a34-topo-tagline {
  margin: 0 0 0.65rem;
  max-width: 50ch;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--topo-muted);
}

.a34-topo-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.a34-topo-crumb a {
  color: var(--topo-sage);
  text-decoration: none !important;
}

.a34-topo-crumb a:hover {
  color: var(--topo-terra);
  text-decoration: underline !important;
}

.a34-topo-crumb span:last-child {
  color: var(--topo-muted);
}

/* Compass rose */
.a34-topo-compass {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--topo-sage);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.1);
}

.a34-topo-compass-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed var(--topo-line);
  pointer-events: none;
}

.a34-topo-compass-ring::before,
.a34-topo-compass-ring::after {
  content: '';
  position: absolute;
  background: var(--topo-line);
}

.a34-topo-compass-ring::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  margin-top: -0.5px;
}

.a34-topo-compass-ring::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
}

.a34-topo-compass strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--topo-terra);
  line-height: 1;
  z-index: 1;
}

.a34-topo-compass em {
  position: absolute;
  bottom: 0.65rem;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--topo-muted);
}

/* ── Trail markers (stats) ── */
.a34-topo-markers {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.a34-topo-marker {
  position: relative;
  padding: 1rem 0.85rem 0.85rem 2.5rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(44, 36, 22, 0.05);
}

.a34-topo-marker-post {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2.25rem;
  background: var(--topo-trail);
  border-radius: 2px;
}

.a34-topo-marker-post::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 10px;
  background: var(--topo-terra);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.a34-topo-marker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--topo-ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.a34-topo-marker > span:last-child {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--topo-muted);
}

/* ── Map panel ── */
.a34-topo-stage {
  margin-top: 1.5rem;
}

.a34-topo-map {
  background: var(--topo-paper);
  border: 1px solid var(--topo-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44, 36, 22, 0.08);
}

.a34-topo-map-head {
  padding: 0.85rem 1.25rem;
  background: var(--topo-sage);
  color: #fff;
}

.a34-topo-map-head span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.a34-topo-map-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.a34-topo-map-body {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  min-height: 280px;
}

/* Trail index */
.a34-topo-trails {
  padding: 1.15rem 1rem;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(82, 121, 111, 0.06) 11px,
      rgba(82, 121, 111, 0.06) 12px
    ),
    var(--topo-cream);
  border-right: 2px dashed var(--topo-trail);
}

.a34-topo-trails-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--topo-sage);
  margin-bottom: 0.65rem;
}

.a34-topo-trail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  position: relative;
}

.a34-topo-trail-list::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--topo-trail) 0,
    var(--topo-trail) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.5;
}

.a34-topo-trail-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  color: var(--topo-ink);
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.15s;
  position: relative;
  z-index: 1;
}

.a34-topo-trail-list a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--topo-terra);
}

.a34-topo-trail-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--topo-terra);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--topo-terra);
  flex-shrink: 0;
}

.a34-topo-trail-num {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--topo-sage);
  min-width: 1.25rem;
}

.a34-topo-trail-name {
  line-height: 1.3;
}

/* Legend / company story */
.a34-topo-legend {
  padding: 1.25rem 1.35rem;
  background: #fff;
}

.a34-topo-legend-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--topo-terra);
}

.a34-topo-legend h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--topo-ink);
}

.a34-topo-legend p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--topo-muted);
}

.a34-topo-legend p:last-child {
  margin-bottom: 0;
}

.a34-topo-muted {
  font-size: 0.82rem !important;
  color: var(--topo-muted) !important;
  font-style: italic;
}

/* Benefits cairns */
.a34-topo-cairns {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.a34-topo-cairn {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.a34-topo-cairn-stack {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.75rem;
  position: relative;
}

.a34-topo-cairn-stack::before,
.a34-topo-cairn-stack::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--topo-trail);
  border-radius: 2px;
}

.a34-topo-cairn-stack::before {
  bottom: 0;
  width: 1.25rem;
  height: 6px;
}

.a34-topo-cairn-stack::after {
  bottom: 8px;
  width: 0.85rem;
  height: 5px;
  box-shadow: 0 -9px 0 var(--topo-trail);
}

.a34-topo-cairn strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--topo-sage);
  margin-bottom: 0.15rem;
}

.a34-topo-cairn span {
  color: var(--topo-ink);
}

/* Survey registry */
.a34-topo-survey {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.06);
}

.a34-topo-survey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: var(--topo-ink);
  color: #fff;
}

.a34-topo-survey-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--topo-gold);
  opacity: 0.9;
}

.a34-topo-survey-head h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.a34-topo-survey-code {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.a34-topo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.a34-topo-table th,
.a34-topo-table td {
  padding: 0.7rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--topo-line);
  vertical-align: top;
}

.a34-topo-table th {
  width: 34%;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--topo-muted);
  background: var(--topo-warm);
}

.a34-topo-table td {
  color: var(--topo-ink);
  font-weight: 600;
}

.a34-topo-table tr:last-child th,
.a34-topo-table tr:last-child td {
  border-bottom: 0;
}

/* Contact camps */
.a34-topo-camps {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.a34-topo-camp {
  position: relative;
  padding: 1rem 1rem 0.85rem;
  background: var(--topo-cream);
  border: 1px solid var(--topo-line);
  border-radius: 12px;
  border-top: 3px solid var(--topo-olive);
}

.a34-topo-camp-flag {
  position: absolute;
  top: -1px;
  right: 1rem;
  width: 3px;
  height: 14px;
  background: var(--topo-trail);
}

.a34-topo-camp-flag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  width: 16px;
  height: 10px;
  background: var(--topo-terra);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.a34-topo-camp strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topo-olive);
  margin-bottom: 0.3rem;
}

.a34-topo-camp p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--topo-ink);
}

.a34-topo-camp a {
  color: var(--topo-terra);
  font-weight: 600;
}

/* Actions */
.a34-topo-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.a34-topo-actions .btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .a34-topo-hero-inner {
    grid-template-columns: 1fr;
  }

  .a34-topo-compass {
    justify-self: start;
  }

  .a34-topo-markers {
    grid-template-columns: 1fr;
  }

  .a34-topo-map-body {
    grid-template-columns: 1fr;
  }

  .a34-topo-trails {
    border-right: 0;
    border-bottom: 2px dashed var(--topo-trail);
  }

  .a34-topo-cairns {
    grid-template-columns: repeat(2, 1fr);
  }

  .a34-topo-camps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .a34-topo-cairns {
    grid-template-columns: 1fr;
  }

  .a34-topo-actions {
    flex-direction: column;
  }

  .a34-topo-actions .btn {
    width: 100%;
    text-align: center;
  }

  .a34-topo-table th,
  .a34-topo-table td {
    display: block;
    width: 100%;
  }

  .a34-topo-table th {
    padding-bottom: 0.25rem;
    border-bottom: 0;
  }
}
