/* ==========================================================================
   ZYROSEC — Subpage Styles
   ========================================================================== */

/* Breadcrumb */
.page-breadcrumb {
  padding: 100px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.page-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.page-breadcrumb a:hover {
  color: var(--accent);
  opacity: 1;
}

.bc-sep {
  margin: 0 10px;
  color: var(--text-muted);
}

/* Page Hero */
.page-hero {
  padding: 60px 0 80px;
}

.page-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  margin-top: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero-intro p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-hero-intro p:last-child {
  margin-bottom: 0;
}

.page-hero-visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  min-width: 0;
}

#service-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Page Intro (used on services / about overview pages — no visual) */
.page-intro {
  padding: 0 0 80px;
  border-bottom: 1px solid var(--border);
}

.page-intro p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 20px;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

/* Features Grid */
.page-features {
  padding: 100px 0;
}

.page-features .section-title-lg {
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}

.feature-card {
  border: 1px solid var(--border);
  padding: 36px 28px;
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  color: var(--text-secondary);
  margin-bottom: 18px;
  transition: color var(--transition);
}

.feature-card:hover .feature-icon {
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.feature-card p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Service Assurance */
.page-assurance {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.assurance-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.assurance-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.assurance-inner p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* Page CTA */
.page-cta {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.page-cta-inner {
  text-align: center;
}

.page-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-cta-inner p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Services Overview Page */
.services-cat-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  margin-top: 60px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.services-cat-title:first-child {
  margin-top: 0;
}

.services-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-bottom: 20px;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
}

.service-card-link:hover {
  opacity: 1;
}

.services-overview-grid {
  padding: 80px 0 100px;
}

/* About Page */
.about-text-block {
  max-width: 820px;
}

.about-text-block p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.mv-card {
  border: 1px solid var(--border);
  padding: 40px 32px;
  background: var(--bg-card);
  transition: all var(--transition);
}

.mv-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
}

.mv-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* 404 Page */
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: var(--border-light);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 960px) {
  .page-hero-body { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-visual { height: 280px; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .services-cat-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 2rem; }
  .page-hero-visual { height: 240px; }
}
