/* =============================================================================
   style.css — COMPILED OUTPUT for VAHA MEDYA. Do not edit directly.
   Source: assets/css/scss/main.scss (+ partials). Rebuild with:
     npx sass assets/css/scss/main.scss assets/css/style.css --style=compressed
   ============================================================================= */

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body { min-height: 100svh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
img, picture { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: #E30613; color: #fff; }

/* ---- Typography ------------------------------------------------------------ */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 400; line-height: 1.6;
  color: #111111; background-color: #FFFFFF;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 1.9437rem + 4.5070vw, 6rem); }
h2 { font-size: clamp(2.25rem, 1.6338rem + 2.6291vw, 4rem); }
h3 { font-size: clamp(1.75rem, 1.4859rem + 1.1268vw, 2.5rem); }
h4 { font-size: clamp(1.375rem, 1.2430rem + 0.5634vw, 1.75rem); }
p { line-height: 1.7; }
.eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #E30613;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: #E30613; }
.lead {
  font-size: clamp(1.125rem, 1.0810rem + 0.1878vw, 1.25rem);
  color: #4A4A4A; font-weight: 300;
}

/* ---- Utilities --------------------------------------------------------------- */
.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 9999;
  width: auto; height: auto; padding: 1rem 1.5rem; clip: auto; overflow: visible;
  white-space: normal; background: #111111; color: #FFFFFF; border-radius: 8px;
}
[data-reveal] { opacity: 0; }
[data-reveal="up"] { transform: translateY(48px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].is-revealed {
  opacity: 1; transform: none;
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.split-char { display: inline-block; will-change: transform, opacity; }

/* ---- Layout: container / grid ------------------------------------------------ */
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 6rem; }
@media (min-width: 1024px) { .section { padding-block: 8rem; } }
.section--tight { padding-block: 3rem; }
.section--dark { background: #111111; color: #FFFFFF; }
.section--gray { background: #F5F5F5; }
.section__head { max-width: 640px; margin-bottom: 4rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min, 280px), 100%), 1fr)); }
.grid--2 { --grid-min: 340px; }
.grid--3 { --grid-min: 280px; }
.grid--4 { --grid-min: 220px; }

/* ---- Layout: header ------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding-block: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), background-color 0.6s cubic-bezier(0.16,1,0.3,1), padding 0.6s cubic-bezier(0.16,1,0.3,1);
}
.site-header.is-scrolled {
  padding-block: 0.5rem; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(17,17,17,0.06);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 1024px) { .site-header__inner { padding-inline: 2rem; } }
.site-header__logo { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; }
.site-header__logo span { color: #E30613; }
.site-header__nav { display: none; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.site-header__nav-link { position: relative; font-size: 0.9375rem; font-weight: 500; }
.site-header__nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: #E30613;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.site-header__nav-link:hover::after, .site-header__nav-link.is-active::after { width: 100%; }
.site-header__actions { display: flex; align-items: center; gap: 1.5rem; }
.site-header__actions .btn { display: none; }
@media (min-width: 768px) { .site-header__actions .btn { display: inline-flex; } }
.site-header__menu-toggle {
  appearance: none; border: none; background: none; font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__menu-toggle span { width: 22px; height: 2px; background: #111111; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s cubic-bezier(0.16,1,0.3,1); }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 8000; background: #111111; color: #FFFFFF;
  display: flex; flex-direction: column; justify-content: center; padding-inline: 1.25rem;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__link {
  font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 1.7rem + 1.5vw, 3.5rem);
  text-transform: uppercase; color: #FFFFFF; opacity: 0.4;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), color 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu__link:hover, .mobile-menu__link.is-active { opacity: 1; color: #E30613; }
.mobile-menu__footer { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: 2rem; font-size: 0.875rem; opacity: 0.6; }

/* ---- Layout: footer / back-to-top / whatsapp ----------------------------------- */
.site-footer { background: #111111; color: rgba(255,255,255,0.6); padding-block: 6rem 2rem; }
.site-footer__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-inline: 2rem; } }
.site-footer__top { display: grid; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; } }
.site-footer__brand { font-family: 'Oswald', sans-serif; font-size: 1.75rem; color: #FFFFFF; }
.site-footer__brand span { color: #E30613; }
.site-footer__tagline { margin-top: 1rem; max-width: 32ch; font-size: 0.9375rem; }
.site-footer__heading { font-family: 'Poppins', sans-serif; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #FFFFFF; margin-bottom: 1.5rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__link { font-size: 0.9375rem; transition: color 0.3s cubic-bezier(0.16,1,0.3,1), padding-left 0.3s cubic-bezier(0.16,1,0.3,1); }
.site-footer__link:hover { color: #FFFFFF; padding-left: 4px; }
.site-footer__newsletter-form { display: flex; margin-top: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 0.5rem; }
.site-footer__newsletter-input { flex: 1; background: none; border: none; color: #FFFFFF; font-size: 0.9375rem; padding: 0.5rem 0; }
.site-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.site-footer__newsletter-submit { appearance: none; border: none; background: none; font: inherit; color: #E30613; cursor: pointer; font-size: 1.25rem; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 2rem; font-size: 0.8125rem; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__socials { display: flex; gap: 1.5rem; }
.site-footer__social-link { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; transition: background 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s cubic-bezier(0.16,1,0.3,1); }
.site-footer__social-link:hover { background: #E30613; border-color: #E30613; color: #FFFFFF; }

.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%; background: #111111; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s cubic-bezier(0.16,1,0.3,1);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #E30613; }

.whatsapp-fab {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 12px 24px rgba(37,211,102,0.35);
  animation: pulse-whatsapp 2.4s ease-in-out infinite;
}
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 12px 24px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
}

/* ---- Components: buttons -------------------------------------------------------- */
.btn {
  appearance: none; border: none; background: none; font: inherit; color: inherit; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1.1rem 2.25rem; border-radius: 999px; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.9375rem; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate;
}
.btn__label { position: relative; z-index: 1; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.btn::before {
  content: ''; position: absolute; inset: 0; background: #111111; transform: scale(0); transform-origin: center;
  border-radius: inherit; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); z-index: 0;
}
.btn:hover::before { transform: scale(1); }
.btn:hover .btn__label { color: #FFFFFF; }
.btn--primary { background: #E30613; color: #FFFFFF; }
.btn--primary::before { background: #111111; }
.btn--outline { background: transparent; color: #111111; border: 1.5px solid #111111; }
.btn--outline::before { background: #111111; }
.btn--white { background: #FFFFFF; color: #111111; }
.btn--white::before { background: #E30613; }
.btn--white:hover .btn__label { color: #FFFFFF; }
.btn--sm { padding: 0.8rem 1.5rem; font-size: 0.8125rem; }
.btn--lg { padding: 1.4rem 3rem; font-size: 1rem; }
.btn--icon { width: 56px; height: 56px; padding: 0; border-radius: 999px; }

/* ---- Components: cursor ------------------------------------------------------------ */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor__dot { position: fixed; top: 0; left: 0; width: 8px; height: 8px; margin: -4px; background: #E30613; border-radius: 50%; pointer-events: none; z-index: 9999; }
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 44px; height: 44px; margin: -22px;
  border: 1.5px solid rgba(17,17,17,0.4); border-radius: 50%; pointer-events: none; z-index: 9999;
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1), height 0.25s cubic-bezier(0.16,1,0.3,1),
    margin 0.25s cubic-bezier(0.16,1,0.3,1), border-color 0.25s cubic-bezier(0.16,1,0.3,1),
    background-color 0.25s cubic-bezier(0.16,1,0.3,1), opacity 0.25s cubic-bezier(0.16,1,0.3,1);
}
.has-custom-cursor .cursor--hover .cursor__ring { width: 80px; height: 80px; margin: -40px; background: rgba(227,6,19,0.08); border-color: #E30613; }
.has-custom-cursor .cursor--text .cursor__ring { width: 96px; height: 96px; margin: -48px; background: #111111; border-color: #111111; }
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }

/* ---- Components: cards ------------------------------------------------------------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem; height: 100%;
  border-radius: 16px; background: #F5F5F5; overflow: hidden; isolation: isolate;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), color 0.6s cubic-bezier(0.16,1,0.3,1);
}
.service-card__index { font-family: 'Oswald', sans-serif; font-size: 0.875rem; color: #4A4A4A; opacity: 0.5; }
.service-card__icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  border-radius: 8px; background: #FFFFFF; color: #E30613;
  transition: background 0.6s cubic-bezier(0.16,1,0.3,1), color 0.6s cubic-bezier(0.16,1,0.3,1);
}
.service-card__title { font-size: 1.375rem; margin-top: auto; }
.service-card__desc { color: #4A4A4A; font-size: 0.9375rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1rem; }
.service-card__link .icon { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.service-card::before { content: ''; position: absolute; inset: 0; background: #111111; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); z-index: -1; }
.service-card:hover { color: #FFFFFF; transform: translateY(-6px); }
.service-card:hover::before { transform: translateY(0); }
.service-card:hover .service-card__icon { background: #E30613; color: #FFFFFF; }
.service-card:hover .service-card__desc { color: rgba(255,255,255,0.7); }
.service-card:hover .service-card__index { color: rgba(255,255,255,0.5); }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }

.stat-card { text-align: center; }
.stat-card__number { font-family: 'Oswald', sans-serif; font-size: clamp(3rem, 2.2958rem + 3.0047vw, 5rem); font-weight: 700; color: #111111; line-height: 1; }
.stat-card__number .plus { color: #E30613; }
.stat-card__label { margin-top: 1rem; font-size: 0.9375rem; color: #4A4A4A; text-transform: uppercase; letter-spacing: 0.04em; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border: 1px solid rgba(17,17,17,0.06);
  border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.float-card__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #E30613; color: #FFFFFF; flex-shrink: 0; }
.float-card__title { font-size: 0.8125rem; font-weight: 600; }
.float-card__sub { font-size: 0.75rem; color: #4A4A4A; }

/* ---- Components: badges / marquee -------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: #F5F5F5; color: #111111; }
.badge--primary { background: rgba(227,6,19,0.1); color: #E30613; }
.badge--dark { background: #111111; color: #FFFFFF; }

.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 4rem; padding-right: 4rem; }
.marquee__logo { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 600; color: #4A4A4A; opacity: 0.5; white-space: nowrap; transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1); }
.marquee__logo:hover { opacity: 1; color: #111111; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Components: loader / cookie consent ------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9000; background: #111111; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 1.5rem; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.preloader__logo { font-family: 'Oswald', sans-serif; font-size: 2rem; color: #FFFFFF; letter-spacing: 0.04em; }
.preloader__logo span { color: #E30613; }
.preloader__bar { width: 240px; height: 2px; background: rgba(255,255,255,0.15); overflow: hidden; border-radius: 999px; }
.preloader__bar-fill { width: 0%; height: 100%; background: #E30613; }
.preloader.is-exiting { transform: translateY(-100%); }

.cookie-banner {
  position: fixed; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 2000; max-width: 480px;
  padding: 1.5rem; border-radius: 16px; background: #FFFFFF; box-shadow: 0 24px 48px rgba(0,0,0,0.16);
  display: flex; flex-direction: column; gap: 1rem; transform: translateY(140%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__text { font-size: 0.875rem; color: #4A4A4A; }
.cookie-banner__actions { display: flex; gap: 1rem; }

/* ---- Sections: hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 8rem; padding-bottom: 4rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 85% 15%, rgba(227,6,19,0.10), transparent), radial-gradient(50% 40% at 10% 85%, rgba(17,17,17,0.06), transparent); }
.hero__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
@media (min-width: 1024px) { .hero__inner { padding-inline: 2rem; } }
.hero__eyebrow { justify-content: center; margin-bottom: 1.5rem; }
.hero__title { font-size: clamp(3.5rem, 2.1224rem + 5.8776vw, 8rem); max-width: 18ch; margin-inline: auto; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .highlight, .hero__title-highlight { color: #E30613; }
.hero__subtitle { font-size: clamp(1.125rem, 1.0370rem + 0.3756vw, 1.375rem); max-width: 46ch; margin: 2rem auto 0; color: #4A4A4A; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3rem; }
.hero__stage { position: relative; margin-top: 8rem; display: flex; justify-content: center; }
.hero__mockup {
    position: relative; width: min(920px, 90vw); aspect-ratio: 16 / 10; border-radius: 24px;
    background: linear-gradient(160deg, #111111, #2a2a2c); box-shadow: 0 60px 120px -40px rgba(0,0,0,0.35); overflow: hidden;
  }
.hero__phone {
  position: absolute; right: -4%; bottom: -12%; width: min(220px, 22vw); aspect-ratio: 9 / 18; border-radius: 32px;
  background: #FFFFFF; border: 8px solid #111111; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4);
}
.hero__float-card--1 { top: 8%; left: -4%; }
.hero__float-card--2 { bottom: 12%; left: 2%; }
.hero__float-card--3 { top: 44%; right: -2%; }
@media (max-width: 767px) { .hero__float-card--1, .hero__float-card--2, .hero__float-card--3 { display: none; } }
.hero__scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #4A4A4A; }
.hero__scroll-cue-line { width: 1px; height: 40px; background: rgba(17,17,17,0.2); position: relative; overflow: hidden; }
.hero__scroll-cue-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: #E30613; animation: scroll-cue 1.8s cubic-bezier(0.65,0,0.35,1) infinite; }
@keyframes scroll-cue { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* ---- Sections: trusted-by / services-preview / about-preview ------------------------ */
.trusted-by { padding-block: 2rem; border-block: 1px solid rgba(17,17,17,0.08); }
.trusted-by__label { text-align: center; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #4A4A4A; margin-bottom: 1.5rem; }

.services-preview__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 1024px) { .services-preview__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.services-preview__title { max-width: 14ch; }
.services-preview__desc { max-width: 40ch; color: #4A4A4A; }

.about-preview__inner { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about-preview__inner { grid-template-columns: 0.9fr 1.1fr; gap: 6rem; } }
.about-preview__media { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(160deg, #F5F5F5, #E4E4E4); overflow: hidden; }
.about-preview__media::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(17,17,17,0.3); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
.about-preview__title { margin-top: 1rem; }
.about-preview__text { margin-top: 2rem; color: #4A4A4A; max-width: 56ch; }
.about-preview__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-preview__list-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9375rem; }
.about-preview__list-item .icon { color: #E30613; flex-shrink: 0; margin-top: 2px; }

/* ---- Sections: stats / projects-preview / cta ---------------------------------------- */
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.project-card { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #111111, #333); overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16,1,0.3,1); }
.project-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent 60%); color: #FFFFFF; }
.project-card__category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #FF3B4E; }
.project-card__title { margin-top: 0.5rem; font-size: 1.375rem; }
.project-card__arrow {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center; transform: translateY(-8px) scale(0.8); opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-card__arrow { transform: translateY(0) scale(1); opacity: 1; }
.project-card:hover .project-card__media img { transform: scale(1.08); }

.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.25rem; position: relative; z-index: 1; }
@media (min-width: 1024px) { .cta-band__inner { padding-inline: 2rem; } }
.cta-band__title { color: #FFFFFF; max-width: 16ch; margin-inline: auto; }
.cta-band__subtitle { margin: 1.5rem auto 0; max-width: 46ch; color: rgba(255,255,255,0.7); }
.cta-band__actions { margin-top: 3rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-band__glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(227,6,19,0.25), transparent 65%); z-index: 0; }

/* ---- Dark theme tokens (data-theme="dark") ------------------------------------------ */
:root {
  --bg: #FFFFFF; --surface: #F5F5F5; --text: #111111; --text-muted: #4A4A4A;
  --border: rgba(17,17,17,0.08); --header-bg: rgba(255,255,255,0.85);
}
[data-theme="dark"] {
  --bg: #0B0B0C; --surface: #161617; --text: #F5F5F5; --text-muted: #9a9a9d;
  --border: #2A2A2C; --header-bg: rgba(11,11,12,0.85);
}
[data-theme="dark"] body { background-color: var(--bg); color: var(--text); }
[data-theme="dark"] .section--gray { background-color: var(--surface); }
[data-theme="dark"] .service-card { background-color: var(--surface); }
[data-theme="dark"] .site-header.is-scrolled { background: var(--header-bg); }
[data-theme="dark"] .about-preview__media { background: linear-gradient(160deg, var(--surface), #2A2A2C); }
[data-theme="dark"] .hero__subtitle, [data-theme="dark"] .services-preview__desc,
[data-theme="dark"] .about-preview__text, [data-theme="dark"] .service-card__desc,
[data-theme="dark"] .stat-card__label, [data-theme="dark"] .site-header__nav-link { color: var(--text-muted); }
[data-theme="dark"] .cookie-banner { background: var(--surface); color: var(--text); }
[data-theme="dark"] .cookie-banner__text { color: var(--text-muted); }
[data-theme="dark"] .mega-menu__panel { background: var(--surface); }
[data-theme="dark"] .mega-menu__item:hover { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .mega-menu__item-icon { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .service-detail__inner { border-color: #2A2A2C; }
[data-theme="dark"] .service-detail__text { color: var(--text-muted); }
[data-theme="dark"] .service-detail__icon { background: var(--surface); }
[data-theme="dark"] .service-detail__number { color: rgba(255,255,255,0.08); }
[data-theme="dark"] .process__step-text { color: var(--text-muted); }

/* ---- Components: theme toggle -------------------------------------------------------- */
.theme-toggle { appearance: none; border: none; background: #E4E4E4; font: inherit; color: inherit; cursor: pointer; position: relative; width: 52px; height: 28px; border-radius: 999px; transition: background 0.3s cubic-bezier(0.16,1,0.3,1); }
.theme-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; color: #111111; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
[data-theme="dark"] .theme-toggle { background: #E30613; }
[data-theme="dark"] .theme-toggle__thumb { transform: translateX(24px); color: #E30613; }

/* ---- Components: search overlay ------------------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(17,17,17,0.97); backdrop-filter: blur(8px);
  color: #FFFFFF; display: flex; flex-direction: column; padding: 3rem 1.25rem;
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), visibility 0.6s, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
@media (min-width: 1024px) { .search-overlay { padding-inline: 6rem; } }
.search-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-overlay__top { display: flex; align-items: center; justify-content: space-between; }
.search-overlay__close { appearance: none; border: 1px solid rgba(255,255,255,0.2); background: none; font: inherit; color: inherit; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; }
.search-overlay__form { display: flex; align-items: center; gap: 1.5rem; margin-top: 6rem; border-bottom: 2px solid rgba(255,255,255,0.2); padding-bottom: 1.5rem; }
.search-overlay__icon { font-size: 1.5rem; color: rgba(255,255,255,0.5); }
.search-overlay__input { flex: 1; background: none; border: none; color: #FFFFFF; font-family: 'Oswald', sans-serif; font-size: clamp(1.75rem, 1.3099rem + 1.8779vw, 3rem); text-transform: uppercase; }
.search-overlay__input::placeholder { color: rgba(255,255,255,0.35); }
.search-overlay__results { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; max-height: 50vh; overflow-y: auto; }
.search-overlay__result { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.125rem; }
.search-overlay__result span { color: rgba(255,255,255,0.4); font-size: 0.8125rem; text-transform: uppercase; }
.search-overlay__result:hover { color: #FF3B4E; }
.search-overlay__empty { margin-top: 3rem; color: rgba(255,255,255,0.4); font-size: 0.9375rem; }

/* ---- Layout: mega menu ---------------------------------------------------------------- */
.mega-menu { position: relative; }
.mega-menu__panel {
  position: absolute; top: calc(100% + 2rem); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, 90vw); padding: 2rem; background: #FFFFFF; border-radius: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.16); opacity: 0; visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.3s cubic-bezier(0.16,1,0.3,1), visibility 0.3s;
}
.mega-menu:hover .mega-menu__panel, .mega-menu:focus-within .mega-menu__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.mega-menu__item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 8px; transition: background 0.3s cubic-bezier(0.16,1,0.3,1); }
.mega-menu__item:hover { background: #F5F5F5; }
.mega-menu__item-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #F5F5F5; color: #E30613; }
.mega-menu__item-title { font-size: 0.875rem; font-weight: 500; }

/* ---- Sections: services page ----------------------------------------------------------- */
.service-hero { padding-top: 12rem; padding-bottom: 4rem; text-align: center; }
.service-hero__title { max-width: 20ch; margin-inline: auto; }
.service-hero__subtitle { max-width: 56ch; margin: 1.5rem auto 0; color: #4A4A4A; }

.service-detail__inner { display: grid; gap: 4rem; align-items: center; padding-block: 6rem; border-bottom: 1px solid #E4E4E4; }
@media (min-width: 1024px) { .service-detail__inner { grid-template-columns: 1fr 1fr; gap: 8rem; } }
@media (min-width: 1024px) { .service-detail--reverse .service-detail__media { order: 2; } .service-detail--reverse .service-detail__content { order: 1; } }
.service-detail__media { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #111111, #2a2a2c); isolation: isolate; }
.service-detail__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s cubic-bezier(0.16,1,0.3,1); }
.service-detail__media:hover .service-detail__video { opacity: 0.55; }
.service-detail__media-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.875rem; text-align: center; padding: 1.5rem; }
.service-detail__number { font-family: 'Oswald', sans-serif; color: rgba(17,17,17,0.15); font-size: 4rem; line-height: 1; margin-bottom: 1rem; }
.service-detail__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #F5F5F5; color: #E30613; font-size: 1.75rem; margin-bottom: 1.5rem; }
.service-detail__text { color: #4A4A4A; max-width: 52ch; margin-top: 1.5rem; }
.service-detail__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.service-detail__list-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.9375rem; }
.service-detail__list-item .icon { color: #E30613; margin-top: 2px; flex-shrink: 0; }
.service-detail__cta { margin-top: 3rem; }

.process__grid { display: grid; gap: 3rem; counter-reset: process-step; }
@media (min-width: 768px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
.process__step { position: relative; padding-top: 2rem; border-top: 2px solid #111111; }
.process__step::before { counter-increment: process-step; content: counter(process-step, decimal-leading-zero); font-family: 'Oswald', sans-serif; font-size: 0.875rem; color: #E30613; display: block; margin-bottom: 1rem; }
.process__step-title { font-size: 1.125rem; }
.process__step-text { margin-top: 1rem; font-size: 0.9375rem; color: #4A4A4A; }

/* ---- Components: mockup UI (fills hero device mockups with fake dashboard/app content) ---- */
.mockup-ui { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mockup-ui__topbar { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); }
.mockup-ui__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-ui__url { margin-left: 1rem; font-size: 0.6875rem; color: rgba(255,255,255,0.35); font-family: 'Poppins', sans-serif; }
.mockup-ui__body { flex: 1; display: flex; min-height: 0; }
.mockup-ui__sidebar { width: 56px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 2rem; padding-block: 1.5rem; border-right: 1px solid rgba(255,255,255,0.08); }
.mockup-ui__logo { font-family: 'Oswald', sans-serif; font-size: 0.625rem; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.mockup-ui__nav-item { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: rgba(255,255,255,0.35); font-size: 0.875rem; }
.mockup-ui__nav-item.is-active { background: #E30613; color: #FFFFFF; }
.mockup-ui__main { flex: 1; padding: 2rem; display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.mockup-ui__row { display: flex; gap: 1.5rem; }
.mockup-ui__stat { flex: 1; padding: 1.5rem; border-radius: 8px; background: rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 4px; }
.mockup-ui__stat-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.4); }
.mockup-ui__stat-value { font-family: 'Oswald', sans-serif; font-size: 1.125rem; color: #FFFFFF; }
.mockup-ui__chart { flex: 1; display: flex; align-items: flex-end; gap: 1rem; padding: 1.5rem; border-radius: 8px; background: rgba(255,255,255,0.05); }
.mockup-ui__chart span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #E30613, rgba(227,6,19,0.3)); }

.phone-ui { position: absolute; inset: 8px; border-radius: 24px; overflow: hidden; background: #111111; display: flex; flex-direction: column; align-items: center; padding-top: 2rem; gap: 1rem; }
.phone-ui__icon { width: 36px; height: 36px; border-radius: 8px; background: #E30613; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 1rem; }
.phone-ui__bar { width: 70%; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.phone-ui__bar--short { width: 45%; }

/* ---- Decorative icon fills for empty media placeholders (about, projects, services) ---- */
.about-preview__media-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 8rem; color: rgba(17,17,17,0.08); }
[data-theme="dark"] .about-preview__media-icon { color: rgba(255,255,255,0.06); }

.project-card__media-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 4.5rem; color: rgba(255,255,255,0.12); }

.service-detail__media-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 5rem; color: rgba(255,255,255,0.1); z-index: 0; }

/* ---- Components: language toggle ---------------------------------------------------- */
.lang-toggle {
  appearance: none; border: 1px solid #E4E4E4; background: none; font: inherit; color: #111111; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; transition: border-color 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s cubic-bezier(0.16,1,0.3,1);
}
.lang-toggle:hover { background: #F5F5F5; }
.lang-toggle__flag { font-size: 1rem; line-height: 1; }
[data-theme="dark"] .lang-toggle { border-color: #2A2A2C; color: #F5F5F5; }
[data-theme="dark"] .lang-toggle:hover { background: #161617; }

/* ---- Sections: about page ------------------------------------------------------------- */
.about-hero { padding-top: 12rem; padding-bottom: 4rem; text-align: center; }
.about-hero__title { max-width: 20ch; margin-inline: auto; }
.about-hero__subtitle { max-width: 56ch; margin: 1.5rem auto 0; color: #4A4A4A; }

.story__inner { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .story__inner { grid-template-columns: 0.9fr 1.1fr; gap: 8rem; } }
.story__media { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #111111, #2a2a2c); }
.story__media i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 6rem; color: rgba(255,255,255,0.1); }
.story__title { margin-top: 1rem; }
.story__text { margin-top: 2rem; color: #4A4A4A; max-width: 56ch; }
.story__text + .story__text { margin-top: 1.5rem; }

.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: #E4E4E4; }
@media (min-width: 768px) { .timeline::before { left: 50%; transform: translateX(-50%); } }
.timeline__item { position: relative; padding-left: 4rem; padding-bottom: 6rem; }
.timeline__item:last-child { padding-bottom: 0; }
@media (min-width: 768px) {
  .timeline__item { width: 50%; padding-left: 0; padding-right: 4rem; }
  .timeline__item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 4rem; }
}
.timeline__dot { position: absolute; left: 20px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #E30613; border: 3px solid #FFFFFF; box-shadow: 0 0 0 2px #E30613; transform: translateX(-50%); }
@media (min-width: 768px) {
  .timeline__dot { left: auto; right: -8px; transform: translateX(50%); }
  .timeline__item:nth-child(even) .timeline__dot { right: auto; left: -8px; transform: translateX(-50%); }
}
.timeline__year { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: #E30613; }
.timeline__title { margin-top: 0.5rem; font-size: 1.125rem; }
.timeline__text { margin-top: 1rem; color: #4A4A4A; font-size: 0.9375rem; }

.pillar-card { padding: 2rem; border-radius: 24px; background: #F5F5F5; height: 100%; }
.pillar-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #111111; color: #FFFFFF; font-size: 1.5rem; margin-bottom: 2rem; }
.pillar-card__title { font-size: 1.375rem; }
.pillar-card__text { margin-top: 1.5rem; color: #4A4A4A; }

.value-card { display: flex; gap: 1.5rem; padding: 3rem; border: 1px solid #E4E4E4; border-radius: 16px; }
.value-card__icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(227,6,19,0.1); color: #E30613; }
.value-card__title { font-size: 1.0625rem; font-weight: 600; }
.value-card__text { margin-top: 0.5rem; font-size: 0.875rem; color: #4A4A4A; }

.team-card { text-align: center; }
.team-card__photo { position: relative; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, #F5F5F5, #E4E4E4); overflow: hidden; margin-bottom: 1.5rem; }
.team-card__photo i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(17,17,17,0.15); }
.team-card__name { font-size: 1.0625rem; font-weight: 600; }
.team-card__role { font-size: 0.8125rem; color: #E30613; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }

[data-theme="dark"] .story__media { background: linear-gradient(160deg, #161617, #2A2A2C); }
[data-theme="dark"] .pillar-card { background: #161617; }
[data-theme="dark"] .pillar-card__icon { background: #E30613; }
[data-theme="dark"] .value-card { border-color: #2A2A2C; }
[data-theme="dark"] .value-card__text, [data-theme="dark"] .story__text, [data-theme="dark"] .timeline__text, [data-theme="dark"] .about-hero__subtitle { color: #9a9a9d; }
[data-theme="dark"] .timeline::before { background: #2A2A2C; }
[data-theme="dark"] .team-card__photo { background: linear-gradient(160deg, #161617, #2A2A2C); }

/* ---- Sections: projects page ----------------------------------------------------------- */
.projects-hero { padding-top: 12rem; padding-bottom: 3rem; text-align: center; }
.projects-hero__title { max-width: 20ch; margin-inline: auto; }
.projects-hero__subtitle { max-width: 56ch; margin: 1.5rem auto 0; color: #4A4A4A; }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 6rem; }
.filter-bar__btn {
  appearance: none; border: 1px solid #E4E4E4; background: none; font: inherit; color: #111111; cursor: pointer;
  padding: 1rem 2rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  transition: background 0.3s cubic-bezier(0.16,1,0.3,1), color 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s cubic-bezier(0.16,1,0.3,1);
}
.filter-bar__btn.is-active { background: #111111; border-color: #111111; color: #FFFFFF; }
.filter-bar__btn:not(.is-active):hover { background: #F5F5F5; }

.project-grid { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.project-grid__item { transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.project-grid__item.is-hidden-by-filter { display: none; }

.before-after { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; cursor: ew-resize; user-select: none; }
.before-after__side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.before-after__before { background: linear-gradient(160deg, #3a3a3a, #1a1a1a); }
.before-after__after { background: linear-gradient(160deg, #E30613, #B8050F); clip-path: inset(0 50% 0 0); }
.before-after__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #FFFFFF; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.before-after__handle::after { content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #111111; box-shadow: 0 4px 12px rgba(18,18,25,0.08); }
.before-after__label { position: absolute; top: 1.5rem; padding: 0.5rem 1.5rem; border-radius: 999px; background: rgba(17,17,17,0.6); color: #FFFFFF; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.before-after__label--before { left: 1.5rem; }
.before-after__label--after { right: 1.5rem; }

.case-study { display: grid; gap: 1.5rem; padding: 3rem; border: 1px solid #E4E4E4; border-radius: 16px; }
.case-study__stat { display: flex; justify-content: space-between; font-size: 0.875rem; padding-block: 1rem; border-bottom: 1px solid #E4E4E4; }
.case-study__stat:last-child { border-bottom: none; }
.case-study__stat-label { color: #4A4A4A; }
.case-study__stat-value { font-weight: 600; color: #E30613; }

[data-theme="dark"] .filter-bar__btn { border-color: #2A2A2C; color: #F5F5F5; }
[data-theme="dark"] .filter-bar__btn.is-active { background: #E30613; border-color: #E30613; }
[data-theme="dark"] .filter-bar__btn:not(.is-active):hover { background: #161617; }
[data-theme="dark"] .case-study { border-color: #2A2A2C; }
[data-theme="dark"] .case-study__stat { border-color: #2A2A2C; }
[data-theme="dark"] .case-study__stat-label, [data-theme="dark"] .projects-hero__subtitle { color: #9a9a9d; }

/* ---- Sections: blog page ---------------------------------------------------------------- */
.blog-hero { padding-top: 12rem; padding-bottom: 3rem; text-align: center; }
.blog-hero__title { max-width: 20ch; margin-inline: auto; }
.blog-hero__subtitle { max-width: 56ch; margin: 1.5rem auto 0; color: #4A4A4A; }

.blog-search { max-width: 480px; margin: 2rem auto 0; position: relative; }
.blog-search__input { width: 100%; padding: 1rem 1rem 1rem 3rem; border: 1px solid #E4E4E4; border-radius: 999px; font-size: 0.9375rem; }
.blog-search__input:focus-visible { outline: none; border-color: #E30613; }
.blog-search__icon { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); color: #4A4A4A; }

.blog-layout { display: grid; gap: 6rem; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: 2fr 1fr; } }

.blog-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #E4E4E4; transition: box-shadow 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.blog-card.is-hidden-by-filter { display: none; }
.blog-card:hover { box-shadow: 0 4px 12px rgba(18,18,25,0.08); transform: translateY(-4px); }
.blog-card__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #F5F5F5, #E4E4E4); }
.blog-card__media i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(17,17,17,0.15); }
.blog-card__body { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.blog-card__category { align-self: flex-start; }
.blog-card__title { font-size: 1.1875rem; margin-top: 0.5rem; }
.blog-card__excerpt { font-size: 0.9375rem; color: #4A4A4A; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__meta { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: center; gap: 1.5rem; font-size: 0.8125rem; color: #4A4A4A; }

.blog-sidebar { display: flex; flex-direction: column; gap: 4rem; }
.blog-sidebar__block { padding: 3rem; border-radius: 16px; background: #F5F5F5; }
.blog-sidebar__heading { font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.blog-sidebar__cat-link { display: flex; justify-content: space-between; padding-block: 1rem; font-size: 0.9375rem; border-bottom: 1px solid #E4E4E4; cursor: pointer; }
.blog-sidebar__cat-link:last-child { border-bottom: none; }
.blog-sidebar__cat-link.is-active { color: #E30613; font-weight: 600; }
.blog-sidebar__cat-link span { color: #4A4A4A; }
.blog-sidebar__newsletter-text { font-size: 0.875rem; color: #4A4A4A; margin-bottom: 1.5rem; }

.related-posts__title { margin-bottom: 2rem; }

[data-theme="dark"] .blog-card { border-color: #2A2A2C; }
[data-theme="dark"] .blog-card__media { background: linear-gradient(160deg, #161617, #2A2A2C); }
[data-theme="dark"] .blog-card__excerpt, [data-theme="dark"] .blog-card__meta, [data-theme="dark"] .blog-hero__subtitle { color: #9a9a9d; }
[data-theme="dark"] .blog-sidebar__block { background: #161617; }
[data-theme="dark"] .blog-sidebar__cat-link { border-color: #2A2A2C; }
[data-theme="dark"] .blog-search__input { background: #161617; border-color: #2A2A2C; color: #F5F5F5; }

/* ---- Newsletter form on-light modifier (used in blog sidebar, light bg) ---------------- */
.site-footer__newsletter-form--on-light { border-bottom-color: rgba(17,17,17,0.2); }
.site-footer__newsletter-form--on-light .site-footer__newsletter-input { color: #111111; }
.site-footer__newsletter-form--on-light .site-footer__newsletter-input::placeholder { color: rgba(17,17,17,0.4); }
[data-theme="dark"] .site-footer__newsletter-form--on-light { border-bottom-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .site-footer__newsletter-form--on-light .site-footer__newsletter-input { color: #F5F5F5; }
[data-theme="dark"] .site-footer__newsletter-form--on-light .site-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.4); }

/* ---- Sections: contact page -------------------------------------------------------------- */
.contact-hero { padding-top: 12rem; padding-bottom: 3rem; text-align: center; }
.contact-hero__title { max-width: 20ch; margin-inline: auto; }
.contact-hero__subtitle { max-width: 56ch; margin: 1.5rem auto 0; color: #4A4A4A; }

.contact-layout { display: grid; gap: 6rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.1fr 0.9fr; } }

.contact-form { display: flex; flex-direction: column; gap: 2rem; }
.contact-form__row { display: grid; gap: 2rem; }
@media (min-width: 480px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: flex; flex-direction: column; gap: 1rem; }
.contact-form__label { font-size: 0.875rem; font-weight: 500; }
.contact-form__input, .contact-form__select, .contact-form__textarea {
  padding: 1rem 1.5rem; border: 1px solid #E4E4E4; border-radius: 8px; font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem; background: #FFFFFF; color: #111111; transition: border-color 0.3s cubic-bezier(0.16,1,0.3,1);
}
.contact-form__input:focus-visible, .contact-form__select:focus-visible, .contact-form__textarea:focus-visible { outline: none; border-color: #E30613; }
.contact-form__textarea { resize: vertical; min-height: 140px; }
.contact-form__error { display: none; font-size: 0.8125rem; color: #d64545; }
.contact-form__field--invalid .contact-form__input, .contact-form__field--invalid .contact-form__select, .contact-form__field--invalid .contact-form__textarea { border-color: #d64545; }
.contact-form__field--invalid .contact-form__error { display: block; }
.contact-form__success { display: none; padding: 2rem; border-radius: 8px; background: rgba(15,184,148,0.1); color: #0fb894; font-size: 0.9375rem; font-weight: 500; }
.contact-form__success.is-visible { display: block; }

.info-card { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; border-radius: 16px; background: #F5F5F5; }
.info-card__icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #111111; color: #FFFFFF; }
.info-card__title { font-size: 0.9375rem; font-weight: 600; }
.info-card__text { font-size: 0.875rem; color: #4A4A4A; margin-top: 2px; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.map-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #F5F5F5, #E4E4E4); margin-top: 2.5rem; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: #4A4A4A; text-align: center; padding: 2rem; }
.map-embed__fallback i { font-size: 2rem; color: #E30613; }

[data-theme="dark"] .contact-form__input, [data-theme="dark"] .contact-form__select, [data-theme="dark"] .contact-form__textarea { background: #161617; border-color: #2A2A2C; color: #F5F5F5; }
[data-theme="dark"] .info-card { background: #161617; }
[data-theme="dark"] .info-card__text, [data-theme="dark"] .contact-hero__subtitle { color: #9a9a9d; }
[data-theme="dark"] .map-embed { background: linear-gradient(160deg, #161617, #2A2A2C); }

/* ---- FAQ accordion (native details/summary) ------------------------------------------- */
.faq-list { max-width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.faq-list__item { border: 1px solid #E4E4E4; border-radius: 16px; overflow: hidden; }
.faq-list__item[open] > summary .faq-list__icon { transform: rotate(45deg); }
.faq-list__question { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list__question::-webkit-details-marker { display: none; }
.faq-list__icon { flex-shrink: 0; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); color: #E30613; }
.faq-list__answer { padding: 0 2rem 2rem; color: #4A4A4A; font-size: 0.9375rem; }
[data-theme="dark"] .faq-list__item { border-color: #2A2A2C; }
[data-theme="dark"] .faq-list__answer { color: #9a9a9d; }

/* ---- Sections: blog single post ---------------------------------------------------------- */
.post-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1001; background: transparent; }
.post-progress__bar { height: 100%; width: 0%; background: #E30613; transition: width 0.1s linear; }

.post-hero { padding-top: 12rem; padding-bottom: 3rem; text-align: center; }
.post-hero__category { justify-content: center; }
.post-hero__title { max-width: 24ch; margin: 1.5rem auto 0; }
.post-hero__meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; font-size: 0.875rem; color: #4A4A4A; }
.post-hero__author { display: flex; align-items: center; gap: 1rem; }
.post-hero__author-avatar { width: 32px; height: 32px; border-radius: 50%; background: #111111; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }

.post-cover { max-width: 960px; margin: 4rem auto 0; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .post-cover { padding-inline: 2rem; } }
.post-cover__media { position: relative; aspect-ratio: 16 / 8; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #111111, #2a2a2c); }
.post-cover__media i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.12); }

.post-body { max-width: 720px; margin-inline: auto; }
.post-body p { margin-bottom: 2rem; color: #4A4A4A; font-size: 1.0625rem; }
.post-body h2 { margin-top: 6rem; margin-bottom: 1.5rem; }
.post-body h3 { margin-top: 4rem; margin-bottom: 1rem; font-size: 1.375rem; }
.post-body ul, .post-body ol { margin: 0 0 2rem 2.5rem; color: #4A4A4A; }
.post-body li { margin-bottom: 1rem; font-size: 1.0625rem; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body blockquote { margin: 4rem 0; padding: 2rem 2.5rem; border-left: 3px solid #E30613; background: #F5F5F5; border-radius: 0 16px 16px 0; font-size: 1.125rem; font-style: italic; color: #111111; }

.post-tags { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid #E4E4E4; }

.post-share { display: flex; align-items: center; gap: 1.5rem; margin-top: 3rem; }
.post-share__label { font-size: 0.875rem; font-weight: 500; color: #4A4A4A; }
.post-share__link { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #F5F5F5; color: #111111; transition: background 0.3s cubic-bezier(0.16,1,0.3,1), color 0.3s cubic-bezier(0.16,1,0.3,1); }
.post-share__link:hover { background: #E30613; color: #FFFFFF; }

.post-author-box { max-width: 720px; margin: 6rem auto 0; padding: 3rem; border-radius: 16px; background: #F5F5F5; display: flex; gap: 2rem; align-items: flex-start; }
.post-author-box__avatar { width: 64px; height: 64px; border-radius: 50%; background: #111111; color: #FFFFFF; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.post-author-box__name { font-weight: 600; }
.post-author-box__role { font-size: 0.8125rem; color: #E30613; text-transform: uppercase; letter-spacing: 0.03em; }
.post-author-box__bio { margin-top: 1rem; font-size: 0.9375rem; color: #4A4A4A; }

.related-post-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #E4E4E4; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s cubic-bezier(0.16,1,0.3,1); }
.related-post-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(18,18,25,0.08); }
.related-post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #F5F5F5, #E4E4E4); position: relative; }
.related-post-card__media i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(17,17,17,0.15); }
.related-post-card__body { padding: 2rem; }
.related-post-card__title { font-size: 1.0625rem; margin-top: 1rem; }

[data-theme="dark"] .post-body p, [data-theme="dark"] .post-body ul, [data-theme="dark"] .post-body ol, [data-theme="dark"] .post-hero__meta { color: #9a9a9d; }
[data-theme="dark"] .post-body blockquote { background: #161617; color: #F5F5F5; }
[data-theme="dark"] .post-tags { border-color: #2A2A2C; }
[data-theme="dark"] .post-share__link { background: #161617; color: #F5F5F5; }
[data-theme="dark"] .post-author-box { background: #161617; }
[data-theme="dark"] .post-author-box__bio { color: #9a9a9d; }
[data-theme="dark"] .related-post-card { border-color: #2A2A2C; }
[data-theme="dark"] .related-post-card__media { background: linear-gradient(160deg, #161617, #2A2A2C); }

/* ---- Dark mode: outline button visibility fix ------------------------------------------
   .btn--outline previously kept its light-mode colors (near-black text/border/fill-sweep)
   unconditionally, so in dark mode it rendered as near-black on a near-black page
   background -- effectively invisible. This was most noticeable on the header's
   search-trigger button (.btn--icon.btn--outline). Now it flips to light text/border
   with a red fill-sweep in dark mode, matching every other dark-mode surface. */
[data-theme="dark"] .btn--outline { color: #F5F5F5; border-color: #F5F5F5; }
[data-theme="dark"] .btn--outline::before { background: #E30613; }
[data-theme="dark"] .btn--outline:hover { border-color: #E30613; }

/* ---- Logo image (replaces text wordmark) ------------------------------------------------
   Logo asset is a single black-on-transparent PNG. On light surfaces (default header) it's
   used as-is; on surfaces that are always dark (footer) or become dark (dark-mode header),
   it's flipped to white via filter so it's never rendered black-on-dark -- the same class of
   bug just fixed for the search button, avoided here rather than repeated. */
.site-header__logo img { height: 32px; width: auto; display: block; }
.site-footer__brand img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
[data-theme="dark"] .site-header__logo img { filter: brightness(0) invert(1); }
