/* ========================================
   VCG QLD v2 — About Page Styles
   Styles specific to about.html
   ======================================== */

/* ========================================
   1. HERO
   ======================================== */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lg-hero-bg);
  padding: var(--lg-hero-pad-top) var(--lg-hero-pad-x) var(--lg-hero-pad-bottom);
  text-align: center;
  overflow: hidden;
}

.about-hero-content {
  position: relative;
  z-index: var(--z-raised);
  max-width: 700px;
}

.about-hero-sub {
  font-size: var(--text-body-lg);
  color: var(--lg-hero-text-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--lh-prose);
}

/* ========================================
   2. STORY SECTION
   ======================================== */
.about-story {
  background: var(--color-bg);
  padding: var(--space-section-y) var(--space-page-x);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}

.story-text h2 {
  margin-bottom: var(--gap-card);
}

.story-text p {
  margin-bottom: var(--space-md);
  font-size: var(--text-body);
  line-height: var(--lh-prose);
}

.story-text p strong {
  color: var(--color-text);
  font-weight: 600;
}

.story-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.story-visual-inner {
  position: relative;
  width: 100%;
  /* Sized to balance the (shortened) story text beside it — slightly
     taller than the text block, centred by the grid. */
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--color-bg-pool) 0%, var(--color-bg-lighter) 50%, var(--color-bg-lighter) 100%);
  border: var(--lg-border);
  box-shadow: var(--lg-shadow);
  overflow: hidden;
}

.story-visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ========================================
   3. MISSION SECTION
   ======================================== */
.about-mission {
  background: var(--color-surface-light);
  padding: var(--space-section-y) var(--space-page-x);
  position: relative;
}

.mission-content {
  max-width: 720px;
  margin: 0 auto;
}

.mission-content p {
  font-size: var(--text-body);
  line-height: var(--lh-prose);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.mission-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   4. VALUES SECTION
   ======================================== */
.about-values {
  background: var(--color-bg);
  padding: var(--space-section-y) var(--space-page-x);
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-section);
}

/* Static informational card — not clickable, so no hover affordance. */
.value-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: var(--padding-card-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  text-align: center;
}

.value-card-icon {
  width: var(--icon-box-lg);
  height: var(--icon-box-lg);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-bg-pool), var(--color-bg-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-card-icon svg {
  width: var(--icon-md);
  height: var(--icon-md);
  color: var(--color-deep);
}

.value-card h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: var(--text-sm-plus);
  color: var(--color-text-secondary);
  line-height: var(--lh-prose);
}

/* ========================================
   5. CERTIFICATIONS SECTION
   ======================================== */
.about-certifications {
  background: var(--color-surface-light);
  padding: var(--space-section-y) var(--space-page-x);
  position: relative;
  overflow: hidden;
}

.certifications-grid {
  max-width: 800px;
  margin: 0 auto;
}

.certifications-content h2 {
  margin-bottom: var(--space-md);
}

.certifications-content p {
  font-size: var(--text-body);
  line-height: var(--lh-prose);
  margin-bottom: var(--space-1);
}

.certification-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--gap-card);
}

.certification-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  /* Content chip — translucent fill only, no blur (content is never glass). */
  background: var(--glass-regular);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) 1.1rem;
  border: 1px solid var(--border-medium);
}

.certification-feature svg {
  width: var(--icon-inline);
  height: var(--icon-inline);
  color: var(--color-deep);
  flex-shrink: 0;
}

.certification-feature span {
  font-size: var(--text-sm-plus);
  font-weight: 500;
  color: var(--color-text);
  line-height: var(--lh-normal);
}

/* Certificate image — full width below text */
.certifications-image {
  margin-top: var(--gap-lg);
  display: flex;
  justify-content: center;
}

.certifications-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.badge-ring-1 {
  width: 310px;
  height: 310px;
  animation: ringPulse var(--anim-ring-pulse) ease-in-out infinite;
}

.badge-ring-2 {
  width: 360px;
  height: 360px;
  animation: ringPulse var(--anim-ring-pulse) ease-in-out 1s infinite;
}

/* ========================================
   6. SERVICE AREAS
   ======================================== */
.about-areas {
  background: var(--color-bg);
  padding: var(--space-section-y) var(--space-page-x);
  position: relative;
}

.areas-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  max-width: 700px;
  margin: 0 auto;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-1-5);
  background: var(--color-bg-pool);
  border-radius: var(--radius-button);
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-deep);
  /* Areas with a landing page render as <a>, the rest as <span>; the chip must
     look identical either way. */
  text-decoration: none;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
  border: 1px solid var(--badge-border);
}

.area-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}

/* CTA — styles in global.css */

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-on-dark-muted);
  font-size: var(--text-sm-plus);
  font-weight: 500;
}

.cta-contact-item svg {
  width: var(--icon-inline);
  height: var(--icon-inline);
  color: var(--text-on-dark-ghost);
}

.cta-contact-item span {
  color: var(--text-on-dark-ghost);
  font-size: var(--text-xs-plus);
}

.cta-contact-item a {
  color: var(--text-on-dark);
  transition: color var(--ease-fast);
}

.cta-contact-item a:hover {
  color: var(--color-white);
  opacity: 1;
}

/* Scroll to top — styles in global.css */

/* ========================================
   9. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .story-visual-inner {
    max-width: 400px;
    margin: 0 auto;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .certifications-badge {
    order: -1;
  }

  .badge-container {
    width: 220px;
    height: 220px;
  }

  .badge-ring-1 {
    width: 260px;
    height: 260px;
  }

  .badge-ring-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: var(--lg-hero-pad-top-m) var(--lg-hero-pad-x-m) var(--lg-hero-pad-bottom-m);
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .areas-tags {
    gap: var(--space-xs);
  }

  .area-tag {
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-md);
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: var(--hero-pad-top-m) var(--space-page-x-sm) var(--hero-pad-bottom-sm);
  }

  .about-hero-sub {
    font-size: var(--text-body);
  }

  .badge-container {
    width: 180px;
    height: 180px;
  }

  .badge-inner svg {
    width: 40px;
    height: 40px;
  }

  .badge-text {
    font-size: var(--text-body);
  }

  .badge-ring-1 {
    width: 220px;
    height: 220px;
  }

  .badge-ring-2 {
    width: 260px;
    height: 260px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn-white {
    justify-content: center;
    width: 100%;
  }

  .cta-contact {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
