/* QQuack About page — extends base.html */
:root {
  --qa-yellow: #ffd900;
  --qa-yellow-dark: #d5a900;
  --qa-black: #05090c;
  --qa-ink: #111519;
  --qa-muted: #5d666d;
  --qa-font: "Inter", Arial, sans-serif;
}
.qquack-about-page { color: var(--qa-ink); font-family: var(--qa-font); font-size: 16px; line-height: 1.6; overflow: hidden; background: #fff; }
.qquack-about-page * { box-sizing: border-box; }
.qa-container { width: min(1200px, 88%); margin: 0 auto; }

/* Shared bits */
.qa-eyebrow { margin: 0 0 14px; color: var(--qa-yellow); font-size: 13px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.qa-eyebrow > span { display: inline-block; width: 32px; height: 3px; margin: 0 10px 4px 0; border-radius: 2px; background: var(--qa-yellow); }
.qa-eyebrow-dark { color: #1b1f23; }
.qa-hero h1 em, .qa-who h2 em, .qa-section-heading h2 em, .qa-how h2 em, .qa-cta h2 em { color: var(--qa-yellow); font-style: inherit; }
.qa-who h2 em, .qa-how h2 em { color: #f5c800; }
.qa-btn { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 6px 7px 6px 24px; border-radius: 40px; background: linear-gradient(180deg, #ffe94d, var(--qa-yellow)); color: #090b0d; font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px -10px #ffd900aa; transition: transform .2s, box-shadow .2s; }
.qa-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px #ffd900dd; }
.qa-btn span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #080b0d; color: var(--qa-yellow); transition: transform .2s; }
.qa-btn:hover span { transform: translateX(3px); }

/* Hero */
.qa-hero, .qa-cta { position: relative; isolation: isolate; color: #fff; background-color: #05090c; background-size: cover; }
.qa-hero { min-height: 540px; display: flex; align-items: center; background-image: url("../images/qquack-about-hero.jpg"); background-position: center 56%; }
.qa-hero-overlay, .qa-cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,6,9,.92) 0%, rgba(2,6,9,.72) 32%, rgba(2,6,9,.18) 58%, rgba(2,6,9,0) 100%); }
.qa-hero-inner { padding: 88px 0 80px; }
.qa-hero-copy { max-width: 660px; animation: qa-rise .7s ease-out both; }
.qa-hero h1 { margin: 0; color: #fff; font-size: clamp(46px, 5.6vw, 78px); line-height: .98; font-weight: 900; font-style: italic; letter-spacing: -2px; text-shadow: 0 4px 22px #000; }
.qa-hero h1 em { white-space: nowrap; }
.qa-hero-description { max-width: 500px; margin: 24px 0 34px; color: #f0f2f3; font-size: 18px; line-height: 1.65; text-shadow: 0 2px 10px #000; }

/* Who we are */
.qa-who { background: #fff url("../images/about1.jpg") center bottom / cover no-repeat; }
.qa-who-grid { min-height: 500px; display: grid; grid-template-columns: 1fr .95fr; align-items: stretch; gap: 56px; }
.qa-who-copy { align-self: center; padding: 80px 0; }
.qa-who h2, .qa-how h2 { margin: 0 0 20px; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; font-weight: 900; letter-spacing: -1.2px; }
.qa-who-copy > p:not(.qa-eyebrow) { max-width: 540px; margin: 0; color: #343b40; font-size: 20px; line-height: 1.7; }
.qa-mini-features { display: flex; flex-wrap: wrap; gap: 24px 36px; margin-top: 36px; }
.qa-mini-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.qa-mini-feature > span { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border: 2px solid var(--qa-yellow); border-radius: 50%; background: #080c0f; color: var(--qa-yellow); font-size: 19px; box-shadow: 0 6px 16px -6px #0006; }
.qa-mini-feature strong { font-weight: 700; }
.qa-who-visual { min-height: 265px; position: relative; }
.qa-visual-caption { position: absolute; right: 14px; bottom: 16px; padding: 11px 15px; border-radius: 8px; background: #05090ce8; color: white; font-size: 13px; font-weight: 700; }
.qa-visual-caption i { color: var(--qa-yellow); margin-right: 7px; }

/* Why choose */
.qa-why { padding: 100px 0 104px; color: white; background: radial-gradient(ellipse at 50% 0%, #15212a, #05090c 70%); }
.qa-section-heading { text-align: center; margin-bottom: 56px; }
.qa-section-heading .qa-eyebrow { margin-bottom: 14px; }
.qa-section-heading h2 { margin: 0; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.qa-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.qa-benefit-card { padding: 44px 26px 40px; border: 1px solid #1b252c; border-radius: 16px; background: linear-gradient(145deg, #121b21, #080c0f); text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s; }
.qa-benefit-card:hover { transform: translateY(-6px); border-color: #ffd90088; box-shadow: 0 0 0 1px #ffd90044, 0 16px 34px -12px #ffd90055; }
.qa-benefit-icon { width: 66px; height: 66px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ffe94d, var(--qa-yellow)); color: #080b0d; font-size: 26px; box-shadow: 0 0 0 6px #ffd90022, 0 0 24px #ffd90055; }
.qa-currency { font-size: 30px; font-weight: 900; }
.qa-benefit-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.qa-benefit-card p { margin: 0; color: #c4cbd0; font-size: 15px; line-height: 1.55; }

/* Steps */
.qa-how { padding: 100px 0; background: #f6f7f8; }
.qa-how-grid { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 40px; }
.qa-how-title .qa-eyebrow { margin-bottom: 16px; }
.qa-how h2 { margin-bottom: 0; font-size: clamp(30px, 2.9vw, 42px); }
.qa-how h2 em { white-space: nowrap; }
.qa-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qa-step { flex: 1; min-width: 0; text-align: center; }
.qa-step-icon { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ffe94d, var(--qa-yellow)); color: #0a0c0e; font-size: 23px; box-shadow: 0 0 0 6px #ffd90026; transition: transform .25s; }
.qa-step:hover .qa-step-icon { transform: translateY(-4px) scale(1.05); }
.qa-step-number { display: block; font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.qa-step h3 { margin: 0 0 8px; font-size: 16px; white-space: nowrap; font-weight: 800; }
.qa-step p { margin: 0; color: var(--qa-muted); font-size: 14px; line-height: 1.5; }
.qa-step-arrow { flex: 0 0 auto; margin-top: 23px; color: #a3aaae; font-size: 14px; }

/* Stats */
.qa-stats { color: white; background: linear-gradient(90deg, rgba(7,16,22,.93), rgba(7,16,22,.8)), url("../images/qquack-about-hero.jpeg") center 70% / cover no-repeat; }
.qa-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 64px 0; }
.qa-stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 12px; border-right: 1px solid #ffffff2b; }
.qa-stat:last-child { border-right: 0; }
.qa-stat > i { color: var(--qa-yellow); font-size: 38px; }
.qa-stat strong, .qa-stat span { display: block; }
.qa-stat strong { font-size: 40px; line-height: 1.05; font-weight: 900; }
.qa-stat span { margin-top: 4px; color: #dfe3e6; font-size: 16px; }

/* Mission, vision and values */
.qa-mvv { background: #fff; }
.qa-mvv-grid { display: grid; grid-template-columns: .85fr 1fr 1fr 1fr; align-items: center; gap: 40px; min-height: 280px; }
.qa-mvv-image { position: relative; align-self: stretch; min-height: 280px; margin-left: calc((100vw - min(1200px, 88vw)) / -2); overflow: hidden; background: url("../images/tyres-card.webp") left center / auto 135% no-repeat; }
.qa-mvv-image:after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, transparent 0 34px, var(--qa-yellow) 34px 58px) right / 45% 100% no-repeat; clip-path: polygon(55% 0, 100% 0, 100% 100%, 40% 100%); }
.qa-mvv-item { display: flex; align-items: flex-start; gap: 18px; padding: 28px 0; }
.qa-mvv-item:not(:last-child) { border-right: 1px solid #e0e3e5; padding-right: 32px; }
.qa-mvv-item > i { color: #e6b900; font-size: 34px; margin-top: 2px; }
.qa-mvv-item h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.qa-mvv-item p { margin: 0; color: #434b51; font-size: 15px; line-height: 1.6; }

/* Bottom CTA */
.qa-cta { min-height: 440px; display: flex; align-items: center; background-image: url("../images/whychooseus.jpg"); background-position: 70% center; }
.qa-cta-overlay { background: linear-gradient(90deg, rgba(2,6,9,.96), rgba(2,6,9,.78) 42%, rgba(2,6,9,.1) 75%); }
.qa-cta-inner { padding: 96px 0; }
.qa-cta h2 { margin: 0 0 18px; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -1px; text-shadow: 0 4px 18px #000; }
.qa-cta-inner > div > p:not(.qa-eyebrow) { margin: 0 0 32px; color: #e1e5e7; font-size: 18px; }

@keyframes qa-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .qa-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-how-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .qa-who-grid { gap: 20px; }
  .qa-mini-features { gap: 16px; }
  .qa-mvv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 56px 0; }
  .qa-mvv-image { display: none; }
  .qa-stat strong { font-size: 32px; }
  .qa-stat > i { font-size: 30px; }
}
@media (max-width: 620px) {
  .qquack-about-page { font-size: 15px; }
  .qa-container { width: calc(100% - 32px); }
  .qa-eyebrow { font-size: 12px; }
  .qa-hero { min-height: 380px; background-position: 62% center; }
  .qa-hero-overlay { background: linear-gradient(90deg, rgba(2,6,9,.93), rgba(2,6,9,.63)); }
  .qa-hero-inner { padding: 64px 0 60px; }
  .qa-hero h1 { font-size: clamp(34px, 10vw, 47px); letter-spacing: -1.5px; }
  .qa-hero-description { font-size: 16px; }
  .qa-who-grid { grid-template-columns: 1fr; gap: 0; }
  .qa-who-copy { padding: 56px 0 32px; }
  .qa-who h2, .qa-how h2, .qa-section-heading h2 { font-size: 32px; }
  .qa-who-copy > p:not(.qa-eyebrow) { font-size: 15px; }
  .qa-mini-feature { font-size: 14px; }
  .qa-mini-feature > span { width: 44px; height: 44px; flex-basis: 44px; font-size: 17px; }
  .qa-who { background-size: auto 300px; background-position: 72% bottom; }
  .qa-who-visual { min-height: 300px; }
  .qa-why { padding: 64px 0; }
  .qa-section-heading { margin-bottom: 36px; }
  .qa-benefit-grid { gap: 14px; }
  .qa-benefit-card { padding: 28px 14px; }
  .qa-benefit-icon { width: 54px; height: 54px; font-size: 22px; }
  .qa-benefit-card h3 { font-size: 17px; }
  .qa-benefit-card p { font-size: 13px; }
  .qa-how { padding: 64px 0; }
  .qa-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .qa-step-arrow { display: none; }
  .qa-step h3 { font-size: 16px; }
  .qa-step p { font-size: 13px; }
  .qa-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 8px; padding: 48px 0; }
  .qa-stat { justify-content: flex-start; border: 0; padding-left: 4px; gap: 12px; }
  .qa-stat > i { font-size: 26px; }
  .qa-stat strong { font-size: 28px; }
  .qa-stat span { font-size: 14px; }
  .qa-mvv-grid { grid-template-columns: 1fr; gap: 0; padding: 40px 0; }
  .qa-mvv-item { border-bottom: 1px solid #e5e7e9; padding: 24px 0; }
  .qa-mvv-item:not(:last-child) { border-right: 0; padding-right: 0; }
  .qa-mvv-item:last-child { border-bottom: 0; }
  .qa-cta { min-height: 360px; background-position: 75% center; }
  .qa-cta-overlay { background: linear-gradient(90deg, rgba(2,6,9,.94), rgba(2,6,9,.7)); }
  .qa-cta h2 { font-size: 34px; }
  .qa-cta-inner > div > p:not(.qa-eyebrow) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .qa-hero-copy { animation: none; } }
