/* ============================================
   AQUROV About Page Styles
   Based on AQUROV Design System
   ============================================ */

/* CSS Custom Properties */
:root {
  --about-blue: #0F5FB8;
  --about-blue-dark: #0A4D95;
  --about-cyan: #1697B8;
  --about-navy: #0D1B2A;
  --about-navy-2: #102438;
  --about-bg: #F5F7FA;
  --about-surface: #FFFFFF;
  --about-surface-2: #EEF3F7;
  --about-line: #DBE3EA;
  --about-text: #17212B;
  --about-muted: #687684;
  --about-green: #2F7B4B;
  --about-amber: #A86A12;
  --about-red: #BD4545;
  --about-radius: 6px;
  --about-max: 1220px;
  --about-shadow: 0 18px 48px rgba(13, 27, 42, 0.08);
}

/* Base */
.about-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--about-bg);
  color: var(--about-text);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* The theme has no global box-sizing rule, so a full-width button with padding
   overflows its container on narrow screens. Scope border-box to this page. */
.about-page,
.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-page a {
  text-decoration: none;
  color: inherit;
}

.about-wrap {
  max-width: var(--about-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.about-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--about-radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* The button colours are scoped to the page on purpose: `.about-page a` above
   is a class + element rule, so a bare class lost to it, and the outline button
   inherited the band's white text and disappeared into its own white
   background. */
.about-page .about-btn-primary {
  background: var(--about-blue);
  color: #fff;
}

.about-page .about-btn-primary:hover {
  background: var(--about-blue-dark);
}

/* The outline button is the quiet action on the dark closing band: white fill
   with the brand blue label, so it reads as a button rather than a blank chip.
   Both rules must keep the .about-page scope: without it the page-level link
   colour (.about-page a, specificity 0,1,1) beats the single class here and the
   label inherits white on a white fill. */
.about-page .about-btn-outline {
  background: #fff;
  color: var(--about-blue);
  border-color: #b9c8d6;
}

.about-page .about-btn-outline:hover {
  border-color: var(--about-blue);
  background: #f7fbff;
}

.about-page .about-btn-darkghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

.about-page .about-btn-darkghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Typography */
.about-kicker {
  color: #7ccfe0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-eyebrow {
  color: var(--about-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Media blocks
   Every photo sits in a fixed-ratio wrapper, so a real image dropped in
   later cannot shift the layout or overflow its column. */
.about-media {
  position: relative;
  display: block;
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--about-line);
  background: var(--about-surface-2);
  overflow: hidden;
}

/* The picture fills its wrapper the way .home-board-img does, by absolute
   positioning rather than a percentage height: the wrapper's height comes from
   its aspect-ratio, so `min-height: 100%` is resolved against it differently
   between engines and left a strip of panel showing under the hero on a phone.
   `cover` scales the file to the frame's height; `contain` would show the whole
   picture and leave the panel visible as a strip above and below it. */
.about-media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* The hero frame is 760 x 560 (about 1.36:1), a shade wider than the 4:3 picture
   it holds (AQUROV_About_AB01_Hero_09.webp is 1600 x 1200), so `cover` scales the
   file to the frame's width and trims about 2% of its height — some 21 px of 1200,
   half at the top and half at the bottom. The earlier 2:1 export lost a sixth of
   each side here. */
.about-media-hero {
  aspect-ratio: 760 / 560;
  border-color: rgba(255, 255, 255, 0.13);
  background: #0e2333;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.about-media-portrait {
  aspect-ratio: 560 / 640;
}

.about-media-icon {
  width: 88px;
  height: 88px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}

.about-media-cat {
  aspect-ratio: 480 / 300;
}

.about-media-dark {
  aspect-ratio: 640 / 480;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.about-media-trust {
  aspect-ratio: 560 / 420;
}

.about-media-wide {
  aspect-ratio: 1200 / 480;
  margin-bottom: 32px;
}

/* Hero Section */
.about-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(22, 151, 184, 0.22), transparent 27%),
    radial-gradient(circle at 65% 80%, rgba(15, 95, 184, 0.18), transparent 30%),
    linear-gradient(180deg, #10263b 0%, #0b1927 100%);
  color: #fff;
  padding: 80px 0 72px;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.about-hero-content h1 {
  margin: 0 0 20px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 640px;
  font-weight: 800;
}

.about-hero-content p {
  margin: 0 0 30px;
  color: #b7c6d4;
  font-size: 17px;
  max-width: 580px;
  line-height: 1.7;
}

.about-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.about-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.about-hero-meta span {
  color: #9fb1c1;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(124, 207, 224, 0.14);
  color: #87d9e8;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 10px;
  font-style: normal;
}

/* Sections */
.about-section {
  padding: 72px 0;
}

.about-section-white {
  background: var(--about-surface);
}

.about-section-dark {
  background: var(--about-navy);
  color: #fff;
}

.about-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.about-section-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.about-section-head p {
  margin: 0;
  color: var(--about-muted);
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
}

.about-section-dark .about-section-head p {
  color: #99adbf;
}

/* Grid Layouts */
.about-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Text Blocks */
.about-text-block {
  background: var(--about-surface-2);
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 28px;
}

.about-text-block h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.about-text-block p {
  margin: 0 0 14px;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.75;
}

.about-text-block p:last-child {
  margin-bottom: 0;
}

/* Who We Are — portrait photo beside the two text blocks */
.about-who {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.about-who-text {
  align-content: start;
}

/* Capabilities */
.about-capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.about-capability {
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s ease;
}

.about-capability:hover {
  transform: translateY(-3px);
  box-shadow: var(--about-shadow);
  border-color: #a9bfd2;
}

.about-capability .about-media-icon {
  margin-bottom: 16px;
}

.about-cap-num {
  font-size: 12px;
  color: var(--about-blue);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.about-capability h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.about-capability p {
  margin: 0;
  color: var(--about-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Categories */
.about-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-category {
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: 7px;
  padding: 22px;
  transition: all 0.2s ease;
}

.about-category:hover {
  transform: translateY(-2px);
  border-color: #a9bfd2;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
}

.about-category .about-media-cat {
  margin-bottom: 18px;
}

.about-cat-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d1e2ef;
  display: grid;
  place-items: center;
  color: var(--about-blue);
  font-weight: 800;
  font-size: 15px;
}

.about-category h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

/* The family heading links to the live category archive. */
.about-category h3 a {
  color: inherit;
  text-decoration: none;
}

.about-category h3 a:hover,
.about-category h3 a:focus-visible {
  color: var(--about-blue);
  text-decoration: underline;
}

.about-category p {
  margin: 0;
  color: var(--about-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* How We Work (Dark Section) — the journey from first enquiry to after-sales support */
.about-process-journey {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.about-process-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 8px;
  padding: 28px;
}

.about-process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-process-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.about-step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(124, 207, 224, 0.35);
  background: rgba(22, 151, 184, 0.12);
  color: #7ccfe0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.about-step-body h4 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
}

.about-step-body p {
  margin: 0;
  color: #9eb0c0;
  font-size: 13px;
  line-height: 1.6;
}

/* Trust Grid — photo beside the four evidence cards */
.about-trust-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-trust {
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: 7px;
  padding: 24px;
  transition: all 0.2s ease;
}

.about-trust:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
}

.about-trust-num {
  font-size: 28px;
  font-weight: 850;
  color: var(--about-blue);
  margin-bottom: 8px;
}

.about-trust h3 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 700;
}

.about-trust p {
  font-size: 12px;
  color: var(--about-muted);
  margin: 0;
  line-height: 1.6;
}

/* Regions */
.about-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.about-region {
  background: var(--about-surface-2);
  border: 1px solid var(--about-line);
  border-radius: 7px;
  padding: 22px;
}

.about-region h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.about-region p {
  margin: 0;
  color: var(--about-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Company & Contact */
.about-section-company {
  background: var(--about-bg);
}

.about-company {
  background: var(--about-surface);
  border: 1px solid var(--about-line);
  border-radius: 8px;
  padding: 34px;
  max-width: 940px;
}

.about-company h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.about-company p {
  margin: 0 0 22px;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 720px;
}

.about-company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.about-company-links a {
  color: var(--about-blue);
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(15, 95, 184, 0.3);
}

.about-company-links a:hover {
  border-bottom-color: var(--about-blue);
}

/* CTA Section */
.about-cta {
  background:
    radial-gradient(circle at 82% 16%, rgba(22, 151, 184, 0.15), transparent 27%),
    linear-gradient(180deg, #10263b 0%, #0b1927 100%);
  color: #fff;
  padding: 80px 0;
}

.about-cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.about-cta-content h2 {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-cta-content p {
  margin: 0 0 32px;
  color: #b7c6d4;
  font-size: 16px;
  line-height: 1.7;
}

.about-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1000px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-content h1 {
    font-size: 42px;
  }

  .about-who,
  .about-process-journey,
  .about-trust-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-capabilities {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-regions {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .about-wrap {
    padding: 0 16px;
  }

  .about-hero {
    padding: 56px 0;
  }

  .about-hero-content h1 {
    font-size: 34px;
  }

  .about-hero-content p {
    font-size: 15px;
  }

  .about-section {
    padding: 52px 0;
  }

  .about-section-head h2 {
    font-size: 28px;
  }

  .about-grid-2,
  .about-capabilities,
  .about-categories,
  .about-trust-grid,
  .about-regions {
    grid-template-columns: 1fr;
  }

  .about-media-wide {
    margin-bottom: 24px;
  }

  .about-company {
    padding: 22px;
  }

  .about-company h2 {
    font-size: 24px;
  }

  .about-process-panel {
    padding: 20px;
  }

  .about-cta-content h2 {
    font-size: 28px;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-cta-actions .about-btn {
    width: 100%;
    max-width: 320px;
  }
}
