/* HORIZON MATERIALS PRIVATE LIMITED — Orchard Topographic Map company info (Neon Grove creative) */

@keyframes a36-topo-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}
@keyframes a36-topo-spin {
  to { transform: rotate(360deg); }
}

.page-company-topo.a36-company-creative {
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --topo-ink: #0B1320;
  --topo-panel: #121B2E;
  --topo-surface: #F4F0E8;
  --topo-muted: #5C6778;
  --topo-line: rgba(11, 19, 32, 0.1);
  --topo-mint: #4ECDC4;
  --topo-mango: #FF9F1C;
  --topo-berry: #E63946;
  --topo-contour: rgba(78, 205, 196, 0.12);
  background:
    radial-gradient(circle at 0% 100%, rgba(90, 24, 154, 0.05) 0%, transparent 42%),
    var(--topo-surface);
}

.a36-topo {
  padding: 0 0 3.75rem;
}

/* ── Hero ── */
.a36-topo-hero {
  position: relative;
  padding: 2.5rem 0 2.25rem;
  overflow: hidden;
  background: var(--topo-panel);
  color: #fff;
  margin-bottom: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.a36-topo-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 205, 196, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 205, 196, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}

.a36-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
    ),
    radial-gradient(ellipse 55% 50% at 88% 15%, rgba(255, 159, 28, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.a36-topo-hero-arch {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--topo-mango), var(--topo-mint), var(--topo-berry));
  opacity: 0.85;
  pointer-events: none;
}

.a36-topo-watermark {
  position: absolute;
  top: 0.5rem;
  right: 3%;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
}

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

.a36-topo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--topo-mint);
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.22);
}

.a36-topo-kicker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--topo-mango);
  box-shadow: 0 0 8px rgba(255, 159, 28, 0.45);
  animation: a36-topo-glow 2.5s ease-in-out infinite;
}

.a36-topo-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.a36-topo-hero h1 em {
  font-style: normal;
  color: var(--topo-mango);
  position: relative;
}

.a36-topo-hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.32em;
  background: rgba(255, 159, 28, 0.22);
  z-index: -1;
  transform: skewX(-6deg);
}

.a36-topo-tagline {
  margin: 0 0 0.65rem;
  max-width: 50ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

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

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

.a36-topo-crumb a:hover {
  color: var(--topo-mango);
}

.a36-topo-crumb span:last-child {
  color: rgba(255, 255, 255, 0.45);
}

/* Compass rose */
.a36-topo-compass {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 205, 196, 0.22);
  display: grid;
  place-items: center;
  text-align: center;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.a36-topo-compass-ring {
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(78, 205, 196, 0.28);
  animation: a36-topo-spin 22s linear infinite;
  pointer-events: none;
}

.a36-topo-compass strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--topo-mango);
  line-height: 1;
  z-index: 1;
}

.a36-topo-compass em {
  position: absolute;
  bottom: 0.55rem;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

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

.a36-topo-marker {
  position: relative;
  padding: 1rem 0.85rem 0.85rem 2.5rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  box-shadow: 0 8px 22px rgba(11, 19, 32, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.a36-topo-marker:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 19, 32, 0.1);
}

.a36-topo-marker-post {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 2.25rem;
  background: linear-gradient(180deg, var(--topo-mango), var(--topo-mint));
  clip-path: polygon(0 0, 100% 4px, 100% calc(100% - 4px), 0 100%);
}

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

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

.a36-topo-marker > span:last-child {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topo-muted);
}

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

.a36-topo-map {
  background: #fff;
  border: 1px solid var(--topo-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  box-shadow: 0 20px 50px rgba(11, 19, 32, 0.1);
}

.a36-topo-map-head {
  padding: 0.85rem 1.25rem;
  background: var(--topo-ink);
  color: #fff;
  position: relative;
}

.a36-topo-map-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--topo-mango), var(--topo-mint));
}

.a36-topo-map-head span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--topo-mint);
  margin-bottom: 0.2rem;
}

.a36-topo-map-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

/* Trail index */
.a36-topo-trails {
  padding: 1.15rem 1rem;
  background:
    linear-gradient(rgba(78, 205, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 205, 196, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  background-color: var(--topo-surface);
  border-right: 2px dashed rgba(78, 205, 196, 0.22);
}

.a36-topo-trails-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--topo-mint);
  margin-bottom: 0.65rem;
}

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

.a36-topo-trail-list::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--topo-mango), var(--topo-mint));
  opacity: 0.45;
}

.a36-topo-trail-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  color: var(--topo-ink);
  text-decoration: none !important;
  font-size: 0.76rem;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
  transition: background 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}

.a36-topo-trail-list a:hover {
  background: rgba(78, 205, 196, 0.12);
  color: var(--topo-mango);
  transform: translateX(3px);
}

.a36-topo-trail-pin {
  width: 10px;
  height: 10px;
  background: var(--topo-mango);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(255, 159, 28, 0.35);
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.a36-topo-trail-num {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--topo-mint);
  min-width: 1.25rem;
}

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

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

.a36-topo-legend-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--topo-mango);
}

.a36-topo-legend h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--topo-ink);
}

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

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

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

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

.a36-topo-cairn {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  background: var(--topo-panel);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(78, 205, 196, 0.12);
  font-size: 0.76rem;
  line-height: 1.4;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: transform 0.2s;
}

.a36-topo-cairn:hover {
  transform: translateY(-2px);
}

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

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

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

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

.a36-topo-cairn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topo-mango);
  margin-bottom: 0.15rem;
}

.a36-topo-cairn span {
  color: rgba(255, 255, 255, 0.55);
}

/* Survey registry */
.a36-topo-survey {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 16px 40px rgba(11, 19, 32, 0.08);
}

.a36-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;
  position: relative;
}

.a36-topo-survey-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--topo-mango), var(--topo-mint));
}

.a36-topo-survey-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--topo-mint);
}

.a36-topo-survey-head h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.a36-topo-survey-code {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.3rem 0.55rem;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.22);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
}

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

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

.a36-topo-table th {
  width: 34%;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topo-muted);
  background: var(--topo-surface);
}

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

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

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

.a36-topo-camp {
  position: relative;
  padding: 1rem 1rem 0.85rem;
  background: #fff;
  border: 1px solid var(--topo-line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: transform 0.2s, box-shadow 0.2s;
}

.a36-topo-camp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 19, 32, 0.08);
}

.a36-topo-camp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--topo-mango), var(--topo-mint));
}

.a36-topo-camp-flag {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 3px;
  height: 14px;
  background: rgba(78, 205, 196, 0.35);
}

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

.a36-topo-camp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topo-mint);
  margin-bottom: 0.3rem;
}

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

.a36-topo-camp a {
  color: var(--topo-mango);
  font-weight: 600;
  text-decoration: none;
}

.a36-topo-camp a:hover {
  color: var(--topo-mint);
}

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

.a36-topo-btn {
  display: inline-block;
  padding: 0.62rem 1.1rem;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s, background 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.a36-topo-btn--primary {
  background: var(--topo-mango);
  color: var(--topo-ink);
}

.a36-topo-btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.a36-topo-btn--ghost {
  background: rgba(78, 205, 196, 0.12);
  color: var(--topo-ink);
  border: 1px solid rgba(78, 205, 196, 0.28);
}

.a36-topo-btn--ghost:hover {
  background: rgba(78, 205, 196, 0.2);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .a36-topo-hero {
    clip-path: none;
  }

  .a36-topo-hero-inner {
    grid-template-columns: 1fr;
  }

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

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

  .a36-topo-map {
    clip-path: none;
  }

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

  .a36-topo-trails {
    border-right: 0;
    border-bottom: 2px dashed rgba(78, 205, 196, 0.22);
  }

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

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

  .a36-topo-survey {
    clip-path: none;
  }

  .a36-topo-cairn {
    clip-path: none;
  }
}

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

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

  .a36-topo-actions .a36-topo-btn {
    width: 100%;
  }

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

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

  .a36-topo-watermark {
    display: none;
  }

  .a36-topo-marker {
    clip-path: none;
  }

  .a36-topo-camp {
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a36-topo-kicker::before,
  .a36-topo-compass-ring {
    animation: none;
  }
}
