/* =========================================================
   MasterIT Solution — dark gaming theme
   ========================================================= */
:root {
  --bg: #070b24;
  --bg-alt: #0a0f30;
  --surface: #0f1640;
  --surface-2: #141d52;
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(140, 160, 255, 0.16);
  --border-strong: rgba(140, 160, 255, 0.32);

  --heading: #ffffff;
  --text: #aeb8db;
  --muted: #7d88b3;

  --blue: #2f5bff;
  --sky: #13b5ff;
  --purple: #6a3df0;
  --orange: #ff8a00;
  --orange-2: #ff6a00;
  --gold: #ffc23d;

  --grad-blue: linear-gradient(135deg, var(--sky) 0%, var(--blue) 100%);
  --grad-orange: linear-gradient(135deg, #ffa21a 0%, var(--orange-2) 100%);
  --grad-fire: linear-gradient(90deg, #ffb020 0%, var(--orange) 55%, var(--orange-2) 100%);

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-orange: 0 10px 30px rgba(255, 122, 0, 0.35);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); background: var(--bg); }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; font-weight: 700; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.text-orange { color: var(--orange); }
.text-fire, .text-gradient {
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-fire { background-image: var(--grad-fire); }
.text-gradient { background-image: var(--grad-blue); }

.icon { width: 24px; height: 24px; flex: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 1.08rem; border-radius: 18px; }
.btn--lg .icon:last-child { width: 18px; height: 18px; margin-left: 6px; transition: transform .2s; }
.btn--lg:hover .icon:last-child { transform: translateX(4px); }
.btn--orange { background: var(--grad-orange); color: #fff; box-shadow: var(--glow-orange); }
.btn--orange:hover { box-shadow: 0 14px 36px rgba(255, 122, 0, .5); }
.btn--blue { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 26px rgba(47, 91, 255, .35); }
.btn--ghost, .btn--outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(7, 11, 36, .35); }
.btn--ghost:hover, .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--white { background: #fff; color: var(--bg); }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(rgba(7, 11, 36, .85), rgba(7, 11, 36, 0));
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(7, 11, 36, .9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px rgba(0, 0, 0, .3);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 28px; }
.nav__link { font-weight: 500; color: #dfe5ff; position: relative; padding: 4px 0; transition: color .2s; }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; border-radius: 2px; background: var(--orange); transition: width .25s;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__cta { padding: 10px 22px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Home hero ===== */
.hero--home {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 50vw);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 30px) 0 70px;
  background: var(--bg);
}
/* Image scaled to full width (like the design); its dark left half holds the text */
.hero__media {
  position: absolute; top: 0; right: 0; width: 100%; height: auto; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.hero--home::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 36, .85) 0%, rgba(7, 11, 36, .45) 38%, rgba(7, 11, 36, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 36, 0) 18%);
}
.hero__content { max-width: max(560px, calc(52vw - max(16px, (100vw - 1240px) / 2))); }
.hero--home h1 {
  font-size: clamp(2.2rem, 3.3vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em;
}
.hero__bar { display: block; width: 116px; height: 5px; border-radius: 4px; background: var(--grad-fire); margin: 26px 0 24px; }
.hero__lead { font-size: clamp(1.15rem, 1.6vw, 1.6rem); font-weight: 600; color: #fff; line-height: 1.35; margin-bottom: 14px; max-width: 760px; }
.hero__text { font-size: 1.05rem; color: #d5dbf3; max-width: 760px; margin-bottom: 26px; }
.hero__label { font-size: 1.3rem; color: var(--orange); margin-bottom: 16px; }

.key-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
.key-pill {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(16, 22, 64, .55); backdrop-filter: blur(6px);
  border: 1.5px solid var(--border-strong);
  color: #fff; font-weight: 500; line-height: 1.3; font-size: .95rem;
  transition: border-color .25s, background .25s, transform .25s;
}
.key-pills li:nth-child(3n) .key-pill { border-color: rgba(70, 120, 255, .55); }
.key-pill:hover { border-color: var(--orange); background: rgba(255, 138, 0, .08); transform: translateY(-2px); }
.key-pill__icon { color: var(--orange); display: grid; place-items: center; }
.key-pill__icon .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.hero__actions { display: flex; gap: 22px; flex-wrap: wrap; }

/* Laptop screens (e.g. 1366x768): keep the hero buttons above the fold */
@media (min-width: 761px) and (max-height: 900px) {
  .hero--home { padding-top: calc(var(--header-h) + 14px); padding-bottom: 50px; min-height: 0; }
  .hero--home h1 { font-size: clamp(2rem, 3vw, 3.2rem); }
  .hero__bar { margin: 16px 0 16px; height: 4px; }
  .hero__lead { margin-bottom: 8px; font-size: clamp(1.05rem, 1.4vw, 1.35rem); }
  .hero__text { font-size: .95rem; line-height: 1.6; margin-bottom: 16px; }
  .hero__label { font-size: 1.1rem; margin-bottom: 10px; }
  .key-pills { gap: 10px; margin-bottom: 22px; }
  .key-pill { padding: 8px 12px; font-size: .88rem; border-radius: 14px; }
  .key-pill__icon .icon { width: 24px; height: 24px; }
  .btn--lg { padding: 14px 24px; font-size: 1rem; }
}

/* ===== Page hero (service pages, 404) ===== */
.hero--page {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 50px) 0 80px;
  background:
    linear-gradient(90deg, rgba(7, 11, 36, .96) 0%, rgba(7, 11, 36, .78) 55%, rgba(7, 11, 36, .35) 100%),
    url('/images/hero-bg.webp') right center / cover no-repeat;
}
.hero--page::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent);
}
.hero__bg { display: none; }
.breadcrumb { font-size: .88rem; margin-bottom: 28px; color: var(--muted); }
.breadcrumb a { color: var(--sky); }
.breadcrumb span { color: #fff; font-weight: 500; }
.page-head { max-width: 760px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin: 18px 0 16px; }
.page-head .hero__text { margin-bottom: 30px; }

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 60px; }
.section--dark {
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(106, 61, 240, .25), transparent 70%),
    radial-gradient(600px 400px at 90% 100%, rgba(255, 138, 0, .14), transparent 70%),
    var(--bg-alt);
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
  padding: 6px 14px; border-radius: 50px; background: rgba(255, 138, 0, .1); border: 1px solid rgba(255, 138, 0, .25);
}
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.note { text-align: center; margin-top: 34px; font-size: .92rem; color: var(--muted); }
.disclaimer { max-width: 860px; margin-inline: auto; font-size: .85rem; }

/* Cards shared look */
.service-card, .why__item, .solution, .timeline__item > div, .steps__item, .faq__item, .overview__box {
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
}

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad-fire); transition: width .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 138, 0, .45); }
.service-card:hover::before { width: 100%; }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(47, 91, 255, .35);
}
.service-card:nth-child(even) .service-card__icon { background: var(--grad-orange); box-shadow: var(--glow-orange); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--sky); }
.service-card__more .icon { width: 16px; height: 16px; transition: transform .25s; }
.service-card:hover .service-card__more { color: var(--orange); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* Why choose */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why__item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: var(--radius); transition: border-color .3s, transform .3s;
}
.why__item:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.why__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 138, 0, .12); color: var(--orange); border: 1px solid rgba(255, 138, 0, .3);
}
.why__item:nth-child(even) .why__icon { background: rgba(19, 181, 255, .1); color: var(--sky); border-color: rgba(19, 181, 255, .3); }
.why__num { font-weight: 700; font-size: 1rem; }
.why__item h3 { font-size: 1.08rem; margin-bottom: 4px; }

/* Gaming solutions */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Photo tiles */
.solution {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--radius); color: #fff; font-weight: 600;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.solution img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s ease;
}
.solution::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(7, 11, 36, .95) 0%, rgba(7, 11, 36, .45) 50%, rgba(7, 11, 36, .1) 100%);
}
.solution:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 14px 34px rgba(255, 122, 0, .2); }
.solution:hover img { transform: scale(1.07); }
.solution__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; line-height: 1.3;
}
.solution__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-blue); box-shadow: 0 8px 20px rgba(47, 91, 255, .4);
}
.solution__icon .icon { width: 22px; height: 22px; }
.solution:nth-child(even) .solution__icon { background: var(--grad-orange); box-shadow: var(--glow-orange); }

/* Image + content split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.split--reverse { grid-template-columns: 1.15fr 1fr; }
.split--reverse .photo-frame { order: 2; }
.photo-frame { position: relative; margin: 0; padding: 12px 12px 0 0; }
.photo-frame::before {
  content: ''; position: absolute; top: 0; right: 0; width: 70%; height: 70%;
  border-radius: 22px; background: var(--grad-fire); opacity: .85; z-index: 0;
}
.photo-frame--blue::before { background: var(--grad-blue); left: 0; right: auto; }
.photo-frame--blue { padding: 12px 0 0 12px; }
.photo-frame img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.photo-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 28px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(7, 11, 36, .88); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-left: 4px solid var(--orange);
  box-shadow: var(--shadow);
}
.photo-badge strong { display: block; color: #fff; font-size: 1.15rem; }
.photo-badge span { font-size: .82rem; color: var(--text); }
.why--2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why--2 .why__item { padding: 20px; gap: 14px; }
.why--2 .why__icon { width: 46px; height: 46px; }
.tech.tech--left { justify-content: flex-start; margin: 0; }
.tech--left li { padding: 14px 26px; font-size: 1rem; }
.note.note--left { text-align: left; }

/* Process timeline */
.timeline { max-width: 840px; margin-inline: auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--sky), var(--purple), var(--orange));
}
.timeline__item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 24px; position: relative; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__step {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(19, 181, 255, .3);
}
.timeline__item:nth-child(even) .timeline__step,
.steps__item:nth-child(even) .timeline__step { background: var(--grad-orange); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px rgba(255, 138, 0, .3); }
.timeline__item > div { flex: 1; border-radius: 14px; padding: 16px 22px; transition: border-color .3s; }
.timeline__item:hover > div { border-color: var(--border-strong); }
.timeline__item h3 { font-size: 1.08rem; margin-bottom: 2px; }

/* Technology */
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 900px; margin-inline: auto; }
.tech li {
  padding: 12px 24px; border-radius: 50px; color: #fff; font-weight: 500;
  background: var(--glass); border: 1px solid var(--border);
  transition: border-color .25s, color .25s, transform .25s, background .25s;
}
.tech li:hover { border-color: var(--orange); color: var(--orange); background: rgba(255, 138, 0, .06); transform: translateY(-2px); }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq__item[open] { border-color: rgba(255, 138, 0, .45); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-weight: 600; color: #fff;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: var(--sky); transition: transform .3s, background .3s, color .3s;
}
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__item p { padding: 0 24px 22px; }

/* Service page: overview + steps */
.overview { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.overview__text p { margin-bottom: 16px; font-size: 1.02rem; }
.overview__box {
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--orange); position: sticky; top: calc(var(--header-h) + 20px);
}
.overview__box h3 { font-size: 1.2rem; margin-bottom: 18px; }
.check-list { margin-bottom: 26px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #e3e8fb; font-weight: 500; line-height: 1.5; }
.check {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: rgba(255, 138, 0, .15); color: var(--orange); display: grid; place-items: center;
}
.check .icon { width: 14px; height: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__item { text-align: center; padding: 30px 20px; border-radius: var(--radius); transition: border-color .3s; }
.steps__item:hover { border-color: var(--border-strong); }
.steps__item .timeline__step { margin: 0 auto 18px; }
.steps__item h3 { font-size: 1.1rem; margin-bottom: 6px; }

/* ===== UX polish ===== */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 18px; border-radius: 10px;
  background: var(--orange); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .filter:focus-visible { outline-offset: 4px; }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { width: 100%; }

/* Highlights strip under hero */
.highlights { position: relative; z-index: 2; margin-top: -30px; }
.highlights__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px; overflow: hidden;
  background: rgba(15, 22, 64, .75); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.highlight { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.highlight + .highlight { border-left: 1px solid var(--border); }
.highlight__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 138, 0, .12); color: var(--orange); border: 1px solid rgba(255, 138, 0, .3);
}
.highlight:nth-child(even) .highlight__icon { background: rgba(19, 181, 255, .1); color: var(--sky); border-color: rgba(19, 181, 255, .3); }
.highlight strong { display: block; color: #fff; font-size: 1rem; line-height: 1.3; }
.highlight small { font-size: .85rem; color: var(--muted); }

/* Service filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 40px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 50px; cursor: pointer;
  font: 500 .92rem/1 inherit; font-family: inherit; color: var(--text);
  background: var(--glass); border: 1px solid var(--border);
  transition: color .2s, background .2s, border-color .2s;
}
.filter:hover { color: #fff; border-color: var(--border-strong); }
.filter.is-active { color: #fff; background: var(--grad-orange); border-color: transparent; box-shadow: var(--glow-orange); }
.filter__count {
  min-width: 24px; padding: 2px 7px; border-radius: 20px; font-size: .75rem; font-weight: 600;
  background: rgba(255, 255, 255, .1);
}
.filter.is-active .filter__count { background: rgba(255, 255, 255, .25); }
.service-card[hidden] { display: none; }

/* Process: sticky intro + timeline */
.process-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.process-intro p { margin-bottom: 26px; font-size: 1.02rem; }
.process-layout .timeline { margin: 0; max-width: none; }

/* FAQ: intro + list */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-intro p { margin-bottom: 24px; }
.faq-layout .faq { margin: 0; max-width: none; }
.faq-help {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--border);
}
.faq-help__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-orange); color: #fff;
}
.faq-help strong { display: block; color: #fff; }
.faq-help a { color: var(--sky); font-size: .92rem; word-break: break-all; }
.faq-help a:hover { color: var(--orange); }

/* WhatsApp + floating buttons */
.btn--whatsapp { background: #25d366; color: #06301a; }
.btn--whatsapp:hover { box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.floating__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .2s, opacity .25s, visibility .25s;
}
.floating__btn:hover { transform: translateY(-3px); }
.floating__btn--wa { background: #25d366; color: #fff; }
.floating__btn--wa .icon { width: 28px; height: 28px; }
.floating__btn--top {
  background: var(--surface-2); color: #fff; border: 1px solid var(--border-strong);
  opacity: 0; visibility: hidden; order: -1;
}
.floating__btn--top.is-visible { opacity: 1; visibility: visible; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 54px; border-radius: 24px; color: #d6def2;
  background:
    linear-gradient(100deg, rgba(7, 11, 36, .95) 0%, rgba(20, 29, 82, .85) 60%, rgba(106, 61, 240, .55) 100%),
    url('/images/hero-bg.webp') right center / cover no-repeat;
  border: 1px solid var(--border-strong);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta__text { max-width: 640px; }
.cta__text p { margin-top: 8px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Footer */
.footer { background: #050820; color: var(--muted); padding-top: 70px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 2fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 50px; width: auto; }
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer ul li { margin-bottom: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer__services ul { columns: 2; column-gap: 24px; }
.footer__services li { break-inside: avoid; font-size: .92rem; }
.footer__social { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: .9rem; }
.footer__legal { font-size: .8rem; opacity: .75; max-width: 760px; margin: 0 auto 8px; }

/* 404 */
.notfound { text-align: center; padding-top: calc(var(--header-h) + 100px); }
.notfound h1 { font-size: 7rem; }
.notfound p { margin: 10px 0 30px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .key-pills { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .hero__media { width: auto; height: 100%; max-width: none; }
  .hero--home::before {
    background:
      linear-gradient(90deg, rgba(7, 11, 36, .94) 0%, rgba(7, 11, 36, .8) 55%, rgba(7, 11, 36, .3) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 36, 0) 22%);
  }
}

@media (max-width: 992px) {
  .services, .why { grid-template-columns: repeat(2, 1fr); }
  .solutions, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .overview { grid-template-columns: 1fr; gap: 30px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .process-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .process-intro, .faq-intro { position: static; text-align: center; }
  .faq-help { text-align: left; max-width: 420px; margin-inline: auto; }
  .highlights__list { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--border); }
  .split--reverse .photo-frame { order: 0; }
  .photo-frame { max-width: 620px; width: 100%; margin-inline: auto; }
  .photo-badge { left: 12px; }
  .overview__box { position: static; }
}

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: rgba(7, 11, 36, .98); padding: 20px 16px 28px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .35s ease; z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }
  .header.menu-open { background: rgba(7, 11, 36, .98); }
}

/* Phones & small tablets: image goes on top, content below */
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .logo img { height: 40px; }
  .hero--home { display: block; min-height: 0; padding: var(--header-h) 0 56px; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 300px; object-fit: cover; object-position: 82% center; margin-bottom: -40px; }
  .hero--home::before { display: none; }
  .hero--home .container { position: relative; }
  .hero--home .container::before {
    content: ''; position: absolute; left: -16px; right: -16px; top: -60px; height: 80px;
    background: linear-gradient(0deg, var(--bg), transparent); pointer-events: none; z-index: -1;
  }
  .hero__bar { margin: 18px 0; width: 90px; }
  .key-pills { grid-template-columns: 1fr 1fr; gap: 10px; }
  .key-pill { padding: 10px 12px; gap: 10px; font-size: .85rem; border-radius: 14px; max-width: none; }
  .key-pill__icon .icon { width: 24px; height: 24px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn--lg { font-size: 1rem; padding: 15px 22px; }
  .hero--page { padding: calc(var(--header-h) + 30px) 0 60px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .services, .why, .steps, .footer__grid { grid-template-columns: 1fr; }
  .solutions { gap: 12px; }
  .solution { font-size: .85rem; aspect-ratio: 1 / 1; }
  .solution__body { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .solution__icon { width: 36px; height: 36px; border-radius: 10px; }
  .why--2 { grid-template-columns: 1fr; }
  .highlights { margin-top: 0; }
  .highlight { padding: 16px 14px; gap: 10px; }
  .highlight__icon { width: 40px; height: 40px; border-radius: 12px; }
  .highlight__icon .icon { width: 20px; height: 20px; }
  .highlight strong { font-size: .88rem; }
  .highlight small { font-size: .76rem; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -10px -16px 30px; padding: 4px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .floating { right: 12px; bottom: 12px; }
  .floating__btn { width: 46px; height: 46px; }
  .timeline::before { left: 21px; }
  .timeline__step { width: 44px; height: 44px; font-size: 1rem; }
  .timeline__item { gap: 16px; }
  .overview__box { padding: 24px 20px; }
  .cta { padding: 34px 22px; }
  .cta__actions .btn, .page-head .hero__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .key-pills { grid-template-columns: 1fr; }
}
