/* ==========================================================================
   AddFuels — static rebuild of the WordPress homepage on Bootstrap 5.3
   Fonts: Clash Grotesk (Fontshare), Offside + Poppins (Google Fonts)
   ========================================================================== */

:root {
  --af-red: #be1e2d;
  --af-red-dark: #a01826;
  --af-ink: #261723;          /* body text + footer background */
  --af-charcoal: #3f3d3d;     /* dark portfolio card */
  --af-grey-bg: #f5f5f5;
  --af-about-bg: #e4e9eb;
  --af-faq-bg: #f6f7fb;
  --af-faq-active: #e7eaf2;
  --af-font: "Clash Grotesk", "Poppins", system-ui, sans-serif;
  --af-display: "Offside", "Clash Grotesk", sans-serif;
  --af-poppins: "Poppins", system-ui, sans-serif;
  --bs-body-font-family: var(--af-font);
  --bs-body-color: var(--af-ink);
  --bs-body-font-size: 1.125rem;
  --bs-body-line-height: 1.6;
}

html { scroll-behavior: smooth; }
body { font-weight: 400; overflow-x: clip; } /* clip (not hidden) keeps position:sticky working */
h1, h2, h3, h4 { color: var(--af-ink); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.font-display { font-family: var(--af-display); font-weight: 400; }
.font-poppins { font-family: var(--af-poppins); }
.text-af-red { color: var(--af-red) !important; }
.section-pad { padding: 5rem 0; }
.section-head h2 { font-family: var(--af-display); font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 400; color: #000; }
.section-head p { font-family: var(--af-poppins); font-size: 1rem; color: #333; }

/* ---------- Buttons ---------- */
.btn-af {
  --bs-btn-bg: var(--af-red); --bs-btn-border-color: var(--af-red); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--af-red-dark); --bs-btn-hover-border-color: var(--af-red-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--af-red-dark); --bs-btn-active-border-color: var(--af-red-dark);
  font-weight: 600; font-size: .95rem; text-transform: uppercase; border-radius: 4px; padding: 1rem 2.1rem;
}
.btn-af-white {
  --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-color: var(--af-ink);
  --bs-btn-hover-bg: var(--af-ink); --bs-btn-hover-border-color: var(--af-ink); --bs-btn-hover-color: #fff;
  font-weight: 600; font-size: .95rem; text-transform: uppercase; border-radius: 4px; padding: 1rem 2.1rem;
}
.btn-af-outline {
  --bs-btn-color: var(--af-red); --bs-btn-border-color: var(--af-red);
  --bs-btn-hover-bg: var(--af-red); --bs-btn-hover-border-color: var(--af-red); --bs-btn-hover-color: #fff;
  font-family: var(--af-poppins); letter-spacing: .08em; text-transform: uppercase; font-size: 1rem;
  border-radius: 4px; border-width: 2px; padding: .9rem 2.2rem;
}

/* ---------- Header ---------- */
.af-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30; height: 82px;
  background: rgba(0, 0, 0, .4); display: flex; align-items: stretch; padding-left: 15px;
  transition: background .3s ease, transform .35s ease;
}
.af-header.is-hidden { transform: translateY(-100%); }
.af-header.is-sticky { position: fixed; background: rgba(38, 23, 35, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .2); }
.af-logo { display: flex; align-items: center; padding: 0 0 0 6.5rem; margin-right: auto; }
.af-logo img { width: 175px; height: auto; }
.af-header > nav { display: flex; align-items: stretch; }
.af-nav { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.af-nav li { display: flex; }
.af-nav a {
  display: flex; align-items: center; padding: 0 1.25rem; color: #fff; text-decoration: none;
  font-weight: 500; font-size: 1rem; border-left: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s ease;
}
.af-nav a:hover, .af-nav a.active { background: rgba(255, 255, 255, .1); }
.af-search {
  display: flex; align-items: center; gap: .5rem; padding: 0 1.25rem; min-width: 180px;
  border-left: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75); background: none; border-top: 0; border-bottom: 0; border-right: 0;
  font-size: 1rem;
}
.af-search i { font-size: 1.15rem; }
.af-cta {
  display: flex; align-items: center; padding: 0 1.6rem; background: var(--af-red); color: #fff;
  text-decoration: none; font-weight: 500; font-size: 1rem;
}
.af-cta:hover { background: var(--af-red-dark); color: #fff; }
.af-dots {
  width: 82px; background: #fff; border: 0; display: grid; place-items: center; padding: 0;
}
.af-dots span { display: grid; grid-template-columns: repeat(3, 6px); gap: 5px; }
.af-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--af-red); display: block; }

/* ---------- Hero ---------- */
.af-hero {
  position: relative; min-height: 800px; overflow: hidden; color: #fff;
  border-radius: 0 0 48px 48px; background: #111;
}
.af-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.af-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, 0) 60%);
}
.af-hero-content { position: relative; z-index: 2; min-height: 800px; display: flex; align-items: center; padding: 120px 0 60px; }
.af-hero-content .inner { padding-left: 6.5rem; max-width: 640px; }
.af-hero h1 { font-family: var(--af-display); font-weight: 600; color: #fff; font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.05; margin-bottom: 1.6rem; }
.af-hero p { font-family: var(--af-poppins); font-size: 1.05rem; line-height: 1.75; border-left: 2px solid #fff; padding-left: 1.3rem; max-width: 30rem; margin-bottom: 2.2rem; }
.af-hero .btn-af-white { font-family: var(--af-poppins); font-weight: 500; }
.af-hero-social {
  position: absolute; right: 0; top: 82px; bottom: 0; width: 82px; z-index: 3;
  background: rgba(0, 0, 0, .12); border-left: 1px solid rgba(255, 255, 255, .25);
  border-radius: 0 0 48px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
}
.af-hero-social a { color: #fff; font-size: 1.1rem; opacity: .9; }
.af-hero-social a:hover { opacity: 1; color: var(--af-red); }

/* ---------- Tagline + values ---------- */
.af-tagline { font-family: var(--af-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.2; text-align: center; letter-spacing: .02em; margin: 2.5rem 0 2rem; }
.af-tagline .tag-chip { display: inline-block; width: 1.6em; height: 1.1em; background: var(--af-ink); border-radius: 6px; vertical-align: -.1em; margin-left: .3em; }
.value-card { background: #f4f4f4; border-radius: 24px; padding: 2rem; height: 100%; }
.value-card h3 { color: var(--af-red); font-size: 1.25rem; font-weight: 500; margin-bottom: .75rem; }
.value-card p { font-family: var(--af-poppins); font-size: 1rem; line-height: 1.5; margin: 0; }

/* ---------- About card ---------- */
.af-about {
  position: relative; background: var(--af-about-bg) url("../img/about-bg.webp") center / cover no-repeat;
  border-radius: 24px; overflow: hidden; margin-top: 2.5rem;
}
.af-about-text { padding: 4.5rem 0 3.5rem 5rem; font-size: 1rem; line-height: 1.95; }
.af-about-text p { margin: 0; }
.af-about-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; }
.af-about-visual img { width: 100%; max-width: 440px; }
.play-btn {
  position: absolute; left: 50%; top: 52%; translate: -10% -50%; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); border: 10px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center; color: #6c8fc7; font-size: 1.6rem; text-decoration: none;
  animation: af-pulse 2.4s ease-out infinite;
}
@keyframes af-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 100% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); } }
.af-about-bar { display: flex; align-items: stretch; max-width: 785px; }
.af-about-bar .know-btn {
  display: flex; align-items: center; gap: 1rem; background: var(--af-red); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 1.35rem; padding: 2rem 2.9rem; border-bottom-left-radius: 24px; white-space: nowrap;
}
.af-about-bar .know-btn:hover { background: var(--af-red-dark); }
.af-about-bar .avatars { flex: 1; background: #fff; display: flex; align-items: center; padding: 0 2rem; }
.af-about-bar .avatars img {
  width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid #e4e9eb; margin-left: -22px; background: #0a2463;
}
.af-about-bar .avatars img:first-child { margin-left: 0; }

/* ---------- Solutions ---------- */
.af-solutions { text-align: center; padding: 1.5rem 0 3rem; }
.af-solutions h2 { font-family: var(--af-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.05; max-width: 40rem; margin: 0 auto 1rem; letter-spacing: .03em; }
.af-solutions p { font-family: var(--af-poppins); font-size: 1rem; line-height: 1.75; max-width: 37rem; margin: 0 auto 2.5rem; }
.af-solutions-img { border-radius: 0 0 48px 48px; overflow: hidden; }
.af-solutions-img img { width: 100%; display: block; aspect-ratio: 1440 / 960; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }

/* ---------- Bold ideas / stats ---------- */
.af-bold h2 { font-family: var(--af-display); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: 1.4; text-align: center; margin: 2.5rem 0 3rem; }
.af-bold-grid { border-top: 2px solid var(--af-ink); border-bottom: 2px solid var(--af-ink); }
.af-bold-grid .col-text { padding: 5.5rem 2rem 5rem 0; }
.af-bold-grid .col-text p { font-size: 1rem; line-height: 1.75; max-width: 26.5rem; margin-bottom: 1.75rem; }
.af-bold-grid .col-stats { border-left: 2px solid var(--af-ink); padding: 4.5rem 0 4rem 4rem; }
.stat { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.stat strong { color: var(--af-red); font-weight: 400; font-size: clamp(3.5rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.02em; }
.stat .label { font-size: 1.4rem; line-height: 1.15; }

/* ---------- Portfolio (stacking cards) ----------
   Desktop: every card sticks to the top and shrinks to 80% as the next card
   slides over it (scale driven by main.js). Mobile: plain stacked cards. */
.af-work { padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.work-card {
  border-radius: 32px; color: #fff; overflow: hidden; margin-bottom: 20px;
  background-image: url("../img/noise.webp"); background-repeat: repeat;
  transform-origin: 50% 50%;
}
.work-card.is-red { background-color: var(--af-red); }
.work-card.is-dark { background-color: var(--af-charcoal); }
.work-card > .row { padding: 20px; }
.work-card .work-body { max-width: 540px; padding: 60px 1rem 50px 70px; }
.work-card h3 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 500; line-height: 1; padding-bottom: 15px; margin: 0; }
.work-card p { font-size: 1.25rem; line-height: 30px; padding-bottom: 25px; margin: 0; }
.work-card ul { list-style: none; padding: 0; margin: 0 0 4.5rem; font-size: 1.25rem; }
.work-card li { margin-bottom: 5px; padding-left: 1.6rem; position: relative; }
.work-card li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05em; font-size: 1.1rem; }
.work-card .btn-af-white { font-size: .9rem; padding: 1rem 2.1rem; }
.work-card .work-img { height: 100%; overflow: hidden; border-radius: 32px; }
.work-card .work-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 992px) {
  /* image fills the card height set by the text column, whatever its own aspect ratio */
  .work-card .work-img { position: relative; min-height: 480px; margin-left: 30px; }
  .work-card .work-img img { position: absolute; inset: 0; }
}
@media (min-width: 1200px) {
  /* main.js sets a negative "top" on cards taller than the screen so they scroll fully into view before pinning */
  .af-work[data-stack] .work-card { position: sticky; top: 0; will-change: transform; }
}

/* ---------- Clients (tiles with running-border hover) ---------- */
.af-clients { background: var(--af-grey-bg); border-top: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; padding: 3.5rem 0 3rem; margin-top: 1.25rem; }
.clients-wrap { max-width: 1470px; margin: 0 auto; padding: 0 15px; }
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding-top: 10px; }
.client-tile {
  position: relative; isolation: isolate; width: 210px; height: 100px; overflow: hidden;
  border-radius: 12px; border: 1px solid #f3f3f3; display: flex;
}
.client-inner {
  position: relative; z-index: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid transparent; background-clip: padding-box; border-radius: 12px;
}
.client-inner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client-glow {
  position: absolute; z-index: 0; top: 50%; left: 50%; width: 750px; height: 750px; border-radius: 12px;
  background: conic-gradient(from 1deg, #f3f3f3 0%, #eb9191 10%, #f3f3f3 12%, transparent 17%);
  opacity: 0; visibility: hidden; transform: translate(-50%, -50%);
  transition: opacity .5s, visibility .5s; animation: af-border-line 3s linear infinite;
}
.client-tile:hover .client-glow { opacity: 1; visibility: visible; }
@keyframes af-border-line {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (max-width: 1024px) { .client-grid { gap: 0; } }
@media (max-width: 575.98px) { .client-grid { gap: 12px; } .client-tile { width: calc(50% - 6px); height: 84px; } }
@media (prefers-reduced-motion: reduce) { .client-glow { animation: none; } }

/* ---------- Testimonials (marquee) ---------- */
.af-testimonials { padding: 3.5rem 0 4rem; overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 2.4rem; padding: .75rem 0; animation: af-marquee 60s linear infinite; }
.marquee.is-reverse { animation-direction: reverse; margin-top: 2rem; }
.marquee:hover { animation-play-state: paused; }
@keyframes af-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testi-card { width: 380px; flex: 0 0 auto; background: #fff; border-radius: 6px; padding: 2rem 1.9rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.testi-card .stars { color: #f4b30c; font-size: .9rem; letter-spacing: .3rem; margin-bottom: 1rem; }
.testi-card p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; color: #555; }
.testi-card h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 .25rem; }
.testi-card small { font-size: .9rem; color: #444; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- Services ---------- */
.af-services { padding: 2rem 0 5rem; }
.svc-item { position: relative; padding: 1.75rem 2.5rem 1.75rem 0; }
.svc-item .svc-icon { width: 64px; height: 64px; margin-bottom: 1.1rem; }
.svc-item .svc-arrow { position: absolute; top: 2.25rem; right: 3rem; width: 39px; opacity: 0; transform: translate(-10px, 10px); transition: all .3s ease; }
.svc-item:hover .svc-arrow { opacity: 1; transform: none; }
.svc-item h3 { font-size: 1.9rem; font-weight: 500; margin-bottom: .9rem; color: #000; }
.svc-item h3 a { text-decoration: none; }
.svc-item h3 a:hover { color: var(--af-red); }
.svc-item p { font-size: 1rem; line-height: 1.8; max-width: 20rem; margin: 0; }

/* ---------- FAQ ---------- */
.af-faq { padding: 3rem 0 9rem; }
.af-faq h2 { font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 500; text-align: center; margin-bottom: 2.4rem; }
.af-faq .accordion { max-width: 800px; margin: 0 auto; --bs-accordion-border-color: #e3e6ef; --bs-accordion-border-radius: 12px; --bs-accordion-inner-border-radius: 12px; --bs-accordion-btn-focus-box-shadow: none; }
.af-faq .accordion-item { background: var(--af-faq-bg); border: 1px solid #e3e6ef !important; border-radius: 12px !important; margin-bottom: .5rem; overflow: hidden; }
.af-faq .accordion-item:has(.accordion-collapse.show) { background: var(--af-faq-active); }
.af-faq .accordion-button {
  background: transparent; box-shadow: none; color: var(--af-ink); font-weight: 500; font-size: 1.2rem;
  padding: 1.55rem 2rem 1.55rem 3.4rem; position: relative;
}
.af-faq .accordion-button::after { display: none; }
.af-faq .accordion-button::before {
  content: ""; position: absolute; left: 2rem; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--af-red); opacity: .7; top: calc(1.55rem + .8em); transform: translateY(-50%);
}
.af-faq .accordion-button:not(.collapsed)::before { opacity: 1; }
.af-faq .accordion-button:not(.collapsed) { padding-bottom: .6rem; }
.af-faq .accordion-body { padding: 0 5rem 2.6rem 3.4rem; font-size: 1rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.af-footer {
  position: relative; background: var(--af-ink) url("../img/footer-noise.webp") repeat; color: #fff;
  border-radius: 48px 48px 0 0; overflow: hidden;
}
.af-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.af-footer a:hover { color: #fff; }
.af-lets { padding: 8.5rem 0 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.af-lets h2 { color: #fff; font-weight: 600; text-transform: uppercase; font-size: clamp(3.5rem, 9vw, 8rem); line-height: .78; margin: 0; letter-spacing: -.01em; }
.af-lets .lets-arrow {
  display: inline-grid; place-items: center; width: .68em; height: .68em; border-radius: 50%;
  background: var(--af-red); color: #fff; font-size: 1em; vertical-align: .02em; transition: transform .3s ease;
}
.af-lets .lets-arrow i { font-size: .3em; line-height: 1; }
.af-lets .lets-arrow:hover { transform: rotate(45deg); color: #fff; }
.to-top {
  width: 43px; height: 43px; border-radius: 4px; background: var(--af-red); color: #fff !important;
  display: grid; place-items: center; font-size: 1.3rem;
}
.af-footer-main { padding: 4.25rem 0 2rem; position: relative; }
.af-footer-main h3 { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: .6rem; }
.af-footer-main p, .af-footer-main li { font-size: 1rem; color: rgba(255, 255, 255, .8); line-height: 1.4; }
.af-footer-main ul { list-style: none; padding: 0; }
.af-footer-main ul li { margin-bottom: .75rem; }
.af-footer-main .addr { max-width: 9.5rem; }
.footer-logo img { width: 330px; }
.footer-shape { position: absolute; left: 4.6%; bottom: -2rem; width: 240px; opacity: .14; pointer-events: none; }
.af-copy { padding: 2.5rem 0 3.25rem; font-size: 1rem; }
.af-copy p { margin: 0; color: rgba(255, 255, 255, .8); }
.af-copy p strong { color: #fff; font-weight: 500; }
.af-copy ul { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Contact page ---------- */
.af-contact { padding: 130px 0 50px; }
.af-contact .container-xl { max-width: 1240px; }
.af-contact h1 { font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 500; color: rgba(0, 0, 0, .83); margin-bottom: 2.5rem; }
.af-contact h2 { font-size: clamp(1.4rem, 1.9vw, 1.7rem); font-weight: 500; margin-bottom: 2rem; }
.af-form { max-width: 590px; }
.af-field { margin-bottom: 1.6rem; }
.af-field label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .1rem; }
.af-field input, .af-field textarea {
  display: block; width: 100%; border: 0; border-bottom: 2px solid #e9e9e9; border-radius: 0; background: #fff;
  font-size: 18px; color: #000; padding: 1px 2px; height: 40px; outline: 0; transition: border-color .2s ease;
}
.af-field textarea { height: 75px; padding-top: 10px; resize: vertical; }
.af-field input::placeholder, .af-field textarea::placeholder { color: #9a9a9a; opacity: 1; }
.af-field input:focus, .af-field textarea:focus { border-bottom-color: var(--af-red); }
.af-field.is-invalid input, .af-field.is-invalid textarea { border-bottom-color: #dc3545; }
.af-field .af-error { color: #dc3545; font-size: .85rem; margin-top: .3rem; }
.af-submit { font-size: 16px; padding: 19.5px 30px; line-height: 1; margin-top: .4rem; }
.af-submit[disabled] { opacity: .7; }
.af-form-status { margin-top: 1rem; font-size: 1rem; }
.af-form-status.is-success { color: #198754; }
.af-form-status.is-error { color: #dc3545; }
.af-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-contact-img { width: 100%; max-width: 680px; height: auto; }
@media (max-width: 991.98px) {
  .af-contact { padding: 110px 0 40px; }
  .af-contact-img { max-width: 420px; }
}

/* ---------- Offcanvas ---------- */
.af-offcanvas { --bs-offcanvas-width: 420px; background: var(--af-ink); color: #fff; }
.af-offcanvas .btn-close { filter: invert(1); }
.af-offcanvas h4 { color: #fff; font-size: 1.1rem; margin: 2rem 0 1rem; }
.af-offcanvas a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.af-offcanvas a:hover { color: var(--af-red); }
.af-offcanvas .oc-nav a { display: block; font-size: 1.4rem; font-weight: 500; padding: .3rem 0; }
.af-offcanvas .oc-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: inline-grid; place-items: center; margin-right: .5rem; }

/* Search modal */
.af-search-modal .modal-content { background: transparent; border: 0; }
.af-search-modal .form-control { font-size: 1.4rem; padding: 1rem 1.25rem; border-radius: 6px 0 0 6px; }

/* Missing-media fallbacks: keep layout intact until assets are downloaded */
.work-img { background: rgba(0, 0, 0, .15); }
.af-solutions-img { background: rgba(0, 0, 0, .15); }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .af-logo, .af-hero-content .inner { padding-left: 3rem; }
  .af-nav a { padding: 0 1rem; }
  .af-search { min-width: 140px; }
}
@media (max-width: 1199.98px) {
  .af-nav, .af-search { display: none; }
  .work-card .work-body { padding-left: 15px; max-width: 425px; }
  .af-about-text { padding: 3.5rem 2rem 2rem 3rem; }
}
@media (max-width: 991.98px) {
  .af-header { height: 70px; }
  .af-logo { padding-left: .5rem; }
  .af-logo img { width: 150px; }
  .af-dots { width: 70px; }
  .af-hero, .af-hero-content { min-height: 640px; }
  .af-hero-content .inner { padding: 0 1rem; }
  .af-hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 100%); }
  .af-hero-social { display: none; }
  .af-about-text { padding: 2.5rem 1.75rem 1rem; }
  .af-about-visual img { max-width: 340px; }
  .af-about-bar { max-width: none; }
  .af-bold-grid .col-text { padding: 3rem 0 2rem; }
  .af-bold-grid .col-stats { border-left: 0; border-top: 2px solid var(--af-ink); padding: 3rem 0 2rem; }
  .af-work { padding: 0 12px; }
  .work-card > .row { padding: 15px; }
  .work-card .work-body { max-width: 100%; padding: 20px 15px 30px; }
  .work-card ul { margin-bottom: 2rem; }
  .work-card .work-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-item { padding-right: 0; }
  .af-faq { padding-bottom: 5rem; }
  .af-lets { padding-top: 5rem; }
  .footer-logo img { width: 240px; }
}
@media (max-width: 480px) {
  .work-card h3 { font-size: 30px; }
  .work-card p, .work-card ul { font-size: 1rem; line-height: 24px; }
}
@media (max-width: 575.98px) {
  .af-cta { display: none; }
  .af-about-bar { flex-direction: column; }
  .af-about-bar .know-btn { border-radius: 0; justify-content: center; padding: 1.4rem; }
  .af-about-bar .avatars { padding: 1rem; justify-content: center; }
  .testi-card { width: 300px; }
  .af-faq .accordion-button { font-size: 1.05rem; padding-left: 2.75rem; }
  .af-faq .accordion-button::before { left: 1.4rem; }
  .af-faq .accordion-body { padding: 0 1.4rem 1.75rem 2.75rem; }
  .af-copy ul { gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
}
