/* =========================================================
   STARWEB PROHOST — ABOUT PAGE
   Local Reset + Local Tokens + Page Components Only
   (Hero handled by hero.css)
========================================================= */

/* ----------------------------
   RESET (local only)
---------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
html {
  font-family: 'Poppins', sans-serif;
  color: #111;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
body {
  background: #fff;
  overflow-x: hidden;
}

/* ----------------------------
   TOKENS (matches Services/Portfolio)
---------------------------- */
:root {
  --white-soft:#f9fafb;
  --blue:#0a1a33;
  --blue-600:#071327;
  --ink:#0a1a33;
  --ink-2:#12243b;
  --muted:#c5cbd3;

  --brand-gold:#FFD166;

  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:20px;

  --shadow-soft:0 8px 24px rgba(10,26,51,.08);
  --shadow-elev:0 10px 30px rgba(10,26,51,.16);

  --content-max:1280px;
  --section-max:1400px;
}

/* =========================================================
   HERO — custom variant using .hero-about
   (structure provided by hero.css)
========================================================= */

.hero-about {
  background-image: url('/images/services_top6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

/* stronger navy overlay */
.hero-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10,26,51,0.58) 0%,
      rgba(10,26,51,0.72) 45%,
      rgba(10,26,51,0.88) 100%
    ),
    rgba(10,26,51,0.36);
  z-index: 1;
}

.hero-about .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 38px 48px;
  text-align: center;
}

.hero-about h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}

.hero-about p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

/* =========================================================
   STORY (WHITE)
========================================================= */
.about-story {
  background:#fff;
  color:var(--ink);
  text-align:center;
  padding:100px 20px;
}

.about-story h2 {
  color:var(--blue);
  font-size:clamp(32px,5vw,48px);
  margin-bottom:30px;
  font-weight: 800;
}

.about-story p {
  max-width:820px;
  margin:0 auto;
  color:#444;
  font-size:1.1rem;
  line-height:1.7;
}

/* =========================================================
   MISSION (BLUE)
========================================================= */
.about-mission {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.about-mission h2 {
  color: #fff;
  font-size: clamp(32px,5vw,48px);
  font-weight: 800;
  margin-bottom: 40px;
}

.about-mission p {
  max-width:800px;
  margin:0 auto 40px;
  color:var(--white-soft);
  font-size:1.1rem;
  line-height:1.8;
}

.about-values {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  max-width:var(--content-max);
  margin:0 auto;
  text-align:left;
}

.value {
  background:#fff;
  color:var(--ink);
  border-radius:var(--radius-lg);
  padding:36px;
  box-shadow:0 8px 20px rgba(0,0,0,.1);
}

.value h3 {
  color:var(--blue);
  font-weight:800;
  margin-bottom:12px;
}

.value p {
  color:#333;
  line-height:1.6;
}

/* =========================================================
   PROOF (WHITE)
========================================================= */
.about-proof {
  background:#fff;
  color:var(--ink);
  text-align:center;
  padding:100px 20px;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.about-proof .inner {
  max-width:var(--content-max);
  margin:0 auto;
}

.about-proof h2 {
  color:var(--blue);
  font-size:clamp(30px,5vw,44px);
  margin-bottom:14px;
  font-weight:800;
}

.about-proof .sub {
  max-width:820px;
  margin:0 auto 36px;
  color:#555;
  font-size:1.05rem;
  line-height:1.7;
}

.proof-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.proof-card {
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius-lg);
  padding:28px;
  text-align:left;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

.proof-card h3 {
  margin:0 0 8px;
  color:var(--ink);
  font-weight:800;
}

.proof-card p {
  margin:0;
  color:#444;
  line-height:1.6;
}

.proof-stats {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin-top:28px;
}

.stat {
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:18px;
  text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}

.stat .num {
  font-size:clamp(24px,4.5vw,36px);
  font-weight:800;
  color:var(--blue);
  margin-bottom:6px;
}

.stat .label {
  font-size:.98rem;
  color:#566;
}

/* =========================================================
   CTA — Clean, Unified, Matches Homepage Style (Global-ish)
========================================================= */
.page-cta {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  background: url('/images/cta-01.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Unified hero overlay (matches hero.css) */
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10,26,51,0.25) 0%,
      rgba(10,26,51,0.55) 40%,
      rgba(10,26,51,0.88) 100%
  );
  z-index: 0;
}

/* Inner wrapper for consistent width */
.page-cta .cta-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Typography cleanup */
.page-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--white-soft);
  margin-bottom: 18px;
}

.page-cta p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--white-soft);
  opacity: 0.92;
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Scoped CTA button tweak */
.page-cta .btn-primary {
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--blue);
  color: #fff;
  border-radius: 40px;
  padding: 14px 32px;
  box-shadow: 0 10px 24px rgba(10,26,51,.30);
  transition: background .18s ease, transform .18s ease;
}

.page-cta .btn-primary:hover {
  background: #0c1e3a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-cta {
    padding: 72px 16px;              /* less vertical padding, tighter sides */
    background-position: center top; /* pulls the room up a bit */
  }

  .page-cta .cta-inner {
    max-width: 440px;                /* keeps text column nice and narrow */
  }

  .page-cta h2 {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
    margin-bottom: 12px;             /* slightly tighter */
  }

  .page-cta p {
    max-width: 360px;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 22px;             /* less gap under paragraph */
  }

  .page-cta .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 999px;
  }
}
/* =========================================================
   BUTTON — Global Unified
========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 24px rgba(10,26,51,.30);
  transition: background .18s ease, transform .18s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0c1e3a;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE (mirror Services + Portfolio)
========================================================= */
@media (max-width: 680px) {
  .hero-about .hero-inner {
    padding: 26px 30px;
  }
  .about-story,
  .about-mission,
  .about-proof,
  .about-cta {
    padding: 80px 16px;
  }
}
