/* ================================================================
   QUALZY — Sector Pages (shared)
   Used by all /sectors/*.html pages
   ================================================================ */


/* HERO — dark, immersive
   ---------------------------------------------------------------- */
.sec-hero {
  background: var(--dk);
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.sec-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(250, 88, 2, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sec-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.sec-back {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--t-fast);
  white-space: nowrap;
  flex: 1;
  text-align: left;
}

.sec-back:hover { color: rgba(255, 255, 255, 0.8); }

.sec-hero-top .ey { margin-bottom: 0; }
.sec-hero-top > span { flex: 1; }

.sec-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.sec-hero h1 em {
  color: var(--o);
  font-style: italic;
}

.sec-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 44px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.sec-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

/* Stat strip within hero */
.sec-hero .hst {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sec-hero .hst > div {
  border-color: rgba(255,255,255,0.12);
}

.sec-hero .sn {
  color: var(--o);
}

.sec-hero .sl {
  color: rgba(255,255,255,0.5);
}


/* USE CASES SECTION
   ---------------------------------------------------------------- */
.sec-uses { background: var(--wh); }

.sec-uses-hd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.sec-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sec-use-card {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sec-use-card:hover {
  border-color: var(--o);
  box-shadow: 0 8px 32px rgba(250, 88, 2, 0.08);
}

.sec-use-icon {
  width: 44px;
  height: 44px;
  background: var(--op);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sec-use-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sec-use-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sec-use-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}


/* HOW QUALZY HELPS — two-column alternating layout
   ---------------------------------------------------------------- */
.sec-detail { background: var(--op); }

.sec-detail-inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.sec-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sec-detail-row--flip .sec-detail-text { order: 2; }
.sec-detail-row--flip .sec-detail-visual { order: 1; }

.sec-detail-text .slbl { margin-bottom: 12px; }

.sec-detail-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--dk);
  line-height: 1.15;
  margin-bottom: 18px;
}

.sec-detail-text h2 em {
  color: var(--o);
  font-style: italic;
}

.sec-detail-text p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

.sec-detail-text p:last-of-type { margin-bottom: 0; }

.sec-detail-bullets {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sec-detail-bullets li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.sec-detail-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--o);
}

.sec-detail-visual {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-detail-visual-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 4px;
}

.sec-detail-stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.sec-detail-stat:last-child { border-bottom: none; padding-bottom: 0; }

.sec-dstat-n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--o);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}

.sec-dstat-l {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  padding-top: 2px;
}


/* PLATFORM FIT SECTION — dark
   ---------------------------------------------------------------- */
.sec-platform { background: var(--dk); }

.sec-platform-hd {
  text-align: center;
  margin-bottom: 52px;
}

.sec-platform-hd .slbl { color: rgba(255,255,255,0.45); }

.sec-platform-hd h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
}

.sec-platform-hd p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.sec-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sec-feat-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sec-feat-tile:hover {
  border-color: rgba(250, 88, 2, 0.4);
  background: rgba(250, 88, 2, 0.05);
}

.sec-feat-tile-icon {
  width: 38px;
  height: 38px;
  background: rgba(250, 88, 2, 0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sec-feat-tile-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sec-feat-tile h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.sec-feat-tile p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}


/* QUOTE / TESTIMONIAL
   ---------------------------------------------------------------- */
.sec-quote { background: var(--wh); }

.sec-quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sec-blockquote {
  border-left: 4px solid var(--o);
  padding-left: 30px;
}

.sec-blockquote p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--dk);
  line-height: 1.4;
  margin-bottom: 20px;
}

.sec-blockquote cite {
  font-size: 13px;
  color: var(--mu);
  font-style: normal;
  display: block;
}

.sec-q-context {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-top: 24px;
}

.sec-solutions-list {
  background: var(--op);
  border: 1.5px solid rgba(250, 88, 2, 0.2);
  border-radius: 16px;
  padding: 32px;
}

.sec-solutions-list h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 18px;
}

.sec-solutions-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sec-solutions-links li a {
  font-size: 14px;
  color: var(--o);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}

.sec-solutions-links li a:hover {
  gap: 10px;
}

.sec-solutions-links li a::before {
  content: '→';
  font-size: 12px;
}


/* RELATED SECTORS
   ---------------------------------------------------------------- */
.sec-related { background: var(--wh); }

.sec-related-hd {
  text-align: center;
  margin-bottom: 36px;
}

.sec-related-hd h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--dk);
}

.sec-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sec-rel-card {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 26px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sec-rel-card:hover {
  border-color: var(--o);
  box-shadow: 0 6px 24px rgba(250, 88, 2, 0.08);
}

.sec-rel-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 9px;
  line-height: 1.3;
}

.sec-rel-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.sec-rel-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--o);
  margin-top: auto;
}


/* RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sec-use-grid    { grid-template-columns: repeat(2, 1fr); }
  .sec-feat-grid   { grid-template-columns: repeat(2, 1fr); }
  .sec-rel-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sec-hero        { padding-top: 110px; padding-bottom: 64px; }
  .sec-detail-row  { grid-template-columns: 1fr; gap: 40px; }
  .sec-detail-row--flip .sec-detail-text  { order: 1; }
  .sec-detail-row--flip .sec-detail-visual { order: 2; }
  .sec-quote-inner { grid-template-columns: 1fr; gap: 40px; }
  .sec-rel-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sec-use-grid  { grid-template-columns: 1fr; }
  .sec-feat-grid { grid-template-columns: 1fr; }
  .pad { padding: 60px 24px; }
}
