/* =====================================================================
   pages/info.css — locate, about, contact, blog, article, legal
   ===================================================================== */

/* Shared search row in page heroes */
.locate-search {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: var(--sp-5) auto 0;
}

.locate-search .toolbar__search {
  flex: 1;
  background: var(--surface);
  box-shadow: var(--sh-md);
}

@media (max-width: 480px) {
  .locate-search .btn span { display: none; }
}

/* Search row at the top of locate / blog (pages without a hero) */
.page-top-search {
  padding-top: var(--sp-6);
}

.page-top-search .locate-search {
  margin-top: 0;
}

/* =====================================================================
   LOCATE
   ===================================================================== */
.locate {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-6);
  align-items: start;
}

@media (max-width: 1023px) {
  .locate { grid-template-columns: 1fr; }
  .locate__map { order: -1; }
}

.locate__list {
  display: grid;
  gap: var(--sp-3);
}

.locate__count {
  color: var(--text-2);
}

.centre-card {
  position: relative;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease-out);
}

.centre-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.centre-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100), var(--sh-md);
}

.centre-card__head {
  display: flex;
  gap: 12px;
  margin-bottom: var(--sp-3);
}

.centre-card__head h2 {
  margin-bottom: 4px;
  font-size: var(--fs-md);
}

.centre-card__head .badge + .badge {
  margin-left: 4px;
}

.centre-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
}

.centre-card__addr {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.centre-card__addr svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--primary);
}

.centre-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-4);
}

.locate__map {
  position: sticky;
  top: 90px;
  display: grid;
  gap: var(--sp-4);
}

@media (max-width: 1023px) {
  .locate__map { position: static; }
}

.map-frame {
  position: relative;
  overflow: hidden;
  height: min(70vh, 560px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--grad-soft);
  box-shadow: var(--sh-lg);
}

.map-frame--short {
  height: 260px;
}

@media (max-width: 1023px) {
  .map-frame { height: 320px; }
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transition: opacity 0.35s ease;
}

.map-frame.is-loading iframe {
  opacity: 0.3;
}

.home-promo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.home-promo > div {
  flex: 1;
}

.home-promo p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.home-promo .help-band__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-hero .eyebrow {
  margin-bottom: var(--sp-3);
}

.story-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .story-split { grid-template-columns: 1fr; }
}

.mv-cards {
  display: grid;
  gap: var(--sp-4);
}

.mv-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 6px;
}

.mv-card p {
  color: var(--text-2);
}

/* Quality pipeline with a light pulse travelling along the line */
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}

.pipeline::before,
.pipeline::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-strong);
}

.pipeline::after {
  height: 3px;
  top: 35.5px;
  background: linear-gradient(90deg, transparent, var(--cta), transparent) no-repeat;
  background-size: 90px 100%;
  filter: drop-shadow(0 0 6px var(--cta));
  animation: pipeline-pulse 3.5s linear infinite;
}

@keyframes pipeline-pulse {
  from { background-position: -90px 0; }
  to   { background-position: calc(100% + 90px) 0; }
}

@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline::before,
  .pipeline::after { display: none; }
}

.pipeline__step {
  position: relative;
  text-align: center;
}

@media (max-width: 900px) {
  .pipeline__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    text-align: left;
  }
  .pipeline__step .pipeline__icon { grid-row: span 2; margin: 0; }
}

.pipeline__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-4);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  color: var(--primary);
}

.pipeline__icon svg {
  width: 30px;
  height: 30px;
}

.pipeline__icon b {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  font-size: 12px;
}

.pipeline__step h3 {
  font-size: var(--fs-base);
}

.pipeline__step p {
  margin-top: 4px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--sp-4);
}

.dept {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: scale 0.4s var(--ease-out), translate 0.4s var(--ease-out), box-shadow 0.4s;
}

.dept:hover {
  box-shadow: var(--sh-lg);
}

.dept small {
  color: var(--muted);
}

.concern__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--primary);
}

.concern__icon svg {
  width: 30px;
  height: 30px;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 1023px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
}

.contact-card-link {
  display: block;
}

.contact-card-link:hover {
  transform: translateY(-4px);
}

.contact-card-link h2 {
  font-size: var(--fs-md);
}

.contact-card-link p {
  margin-top: 4px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card-link small {
  color: var(--muted);
}

.contact-card-link .card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-6);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-side {
  display: grid;
  gap: var(--sp-4);
}

.contact-side .help-band {
  flex-wrap: nowrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =====================================================================
   BLOG
   ===================================================================== */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--sp-6);
}

.chip.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

.featured-post {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  transition: transform var(--dur) var(--ease-out);
}

.featured-post:hover {
  transform: translateY(-4px);
}

@media (max-width: 800px) {
  .featured-post { grid-template-columns: 1fr; }
}

.featured-post__cover,
.post-hero__cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.featured-post__cover > svg,
.post-hero__cover > svg {
  width: 96px;
  height: 96px;
  stroke-width: 1.3;
  animation: float 6s var(--ease-in-out) infinite;
}

.featured-post__ring {
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  animation: ping 3.5s var(--ease-out) infinite;
}

.featured-post__body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.featured-post__body .badge + .badge {
  margin-top: -6px;
}

.featured-post__body h2 {
  font-size: var(--fs-xl);
}

.featured-post__body p {
  color: var(--text-2);
}

/* Article */
.post-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--sp-6);
  align-items: center;
}

@media (max-width: 900px) {
  .post-hero__inner { grid-template-columns: 1fr; }
  .post-hero__cover { display: none; }
}

.post-hero h1 {
  margin-top: var(--sp-3);
}

.post-hero__cover {
  min-height: 240px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--sp-5);
}

.post-meta small {
  display: block;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--sp-6);
  align-items: start;
}

@media (max-width: 1023px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.article-aside {
  position: sticky;
  top: 90px;
  display: grid;
  gap: var(--sp-4);
}

@media (max-width: 1023px) {
  .article-aside { position: static; }
}

.article-aside h2 {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-aside .article-cta h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--dur-fast);
}

.toc a:hover,
.toc a.is-active {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary);
}

.share__btns {
  display: flex;
  gap: 8px;
}

.share__btns .btn-icon {
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.share__btns svg {
  width: 20px;
  height: 20px;
}

.article-cta {
  border-color: var(--primary-100);
  background: linear-gradient(180deg, var(--primary-50), var(--surface) 60%);
}

.article-cta__list {
  display: grid;
  gap: 8px;
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
}

.article-cta__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.article-cta__list a strong {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.article-cta__list small {
  color: var(--muted);
}

.article-cta__list .price__now {
  font-size: var(--fs-base);
}

/* Readable long-form text */
.prose {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-2);
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: var(--fs-xl);
  color: var(--text);
  scroll-margin-top: 110px;
}

.prose h3 {
  margin-top: 1.4em;
  font-size: var(--fs-lg);
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose ul li::marker {
  color: var(--primary);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  padding: 12px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--primary-50);
  color: var(--text);
}

.prose img {
  border-radius: var(--r-md);
}

.disclaimer {
  display: flex;
  gap: 10px;
  margin-top: 2em !important;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

.disclaimer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
