/* ==========================================================================
   FastComp s.r.o. – brand stylesheet
   Farby: biela · Business Blue · Tech Teal (akcent)
   Písma: Sora (nadpisy) · Inter (text)
   ========================================================================== */

:root {
  --white: #ffffff;
  --navy-950: #061533;
  --navy: #0A2A66;
  --blue: #0B4DA2;          /* Business Blue – hlavná farba značky */
  --blue-500: #1F6FD1;
  --blue-100: #DCE8F8;
  --blue-50: #F2F6FC;
  --teal: #14B8A6;          /* Tech Teal – akcent */
  --teal-300: #5EEAD4;
  --teal-700: #0F766E;
  --ink: #0E1A2B;
  --muted: #56657D;
  --line: #E2E8F1;
  --danger: #D63A4A;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 21, 51, .06), 0 2px 8px rgba(6, 21, 51, .05);
  --shadow: 0 10px 30px -10px rgba(6, 21, 51, .22);
  --shadow-lg: 0 30px 60px -20px rgba(6, 21, 51, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy-950); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.ico { flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .97rem; line-height: 1.2; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .95em 1.6em; font-size: 1.03rem; }
.btn--sm { padding: .55em 1.05em; font-size: .9rem; }
.btn--accent { background: var(--teal); color: var(--navy-950); box-shadow: 0 8px 22px -8px rgba(20, 184, 166, .7); }
.btn--accent:hover { background: var(--teal-300); color: var(--navy-950); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-500); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }
.brand__word b { font-weight: 700; color: var(--teal-300); }
.nav.is-solid .brand { color: var(--navy-950); }
.nav.is-solid .brand__word b { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .88); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav.is-solid .nav__links a:not(.btn) { color: var(--ink); }
.nav__links .btn { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.nav.is-solid .nav__toggle { color: var(--navy-950); }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px 16px 20px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { color: var(--ink); padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin: 14px 0 0; }
  .nav.is-open { background: #fff; }
  .nav.is-open .brand { color: var(--navy-950); }
  .nav.is-open .brand__word b { color: var(--blue); }
  .nav.is-open .nav__toggle { color: var(--navy-950); }
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.eyebrow--light { color: var(--teal-300); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .25); }
.eyebrow:has(.dot)::before { display: none; }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head--left { text-align: left; margin: 0; }
.head__sub { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--nav-h) + 72px) 0 56px; overflow: hidden; background: var(--navy-950); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -3; transform: scale(1.05); animation: heroZoom 24s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(105deg, rgba(6, 21, 51, .96) 0%, rgba(10, 42, 102, .9) 45%, rgba(11, 77, 162, .55) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: -1; background: linear-gradient(transparent, rgba(6, 21, 51, .6)); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero__in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .hl { background: linear-gradient(90deg, var(--teal-300), #7DB7FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.hero__card-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hero__list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-weight: 500; color: rgba(255, 255, 255, .86); transition: background .4s, color .4s; }
.hero__list li.is-hot { background: rgba(20, 184, 166, .16); color: #fff; }
.hero__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--teal-300); }
.hero__list li.is-hot .hero__ico { background: var(--teal); color: var(--navy-950); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); position: relative; display: inline-block; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--teal); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.stat { padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, .7); font-size: .93rem; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__lead { font-size: 1.04rem; }
  .hero__cta .btn { width: 100%; }
  .stat { padding: 16px; }
  .stat b { font-size: 1.6rem; }
}

/* ---------- Tech strip ---------- */
.techstrip { background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.techstrip__track { display: flex; gap: 44px; width: max-content; animation: marquee 50s linear infinite; }
.techstrip__track span { font-family: var(--font-head); font-weight: 600; color: rgba(255, 255, 255, .5); white-space: nowrap; letter-spacing: .02em; }
.techstrip:hover .techstrip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section--tint { background: var(--blue-50); }
.section--dark { background: radial-gradient(1200px 500px at 80% -10%, rgba(31, 111, 209, .35), transparent 60%), var(--navy-950); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark .head__sub { color: rgba(255, 255, 255, .72); }
@media (max-width: 700px) { .section { padding: 72px 0; } .head { margin-bottom: 36px; } }

/* ---------- Service cards ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .92rem; transition: .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .35s; display: flex; flex-direction: column; }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card.is-hidden { display: none; }
.card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 21, 51, .55)); }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card__tag--static { position: static; display: inline-block; background: var(--blue-50); margin-bottom: 10px; }
.card__body { padding: 0 24px 24px; position: relative; display: flex; flex-direction: column; flex: 1; }
.card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; margin: -26px 0 16px; position: relative; z-index: 2; box-shadow: 0 10px 20px -8px rgba(11, 77, 162, .6); border: 3px solid #fff; transition: background .3s; }
.card:hover .card__ico { background: var(--teal); color: var(--navy-950); }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: .93rem; }
.card__more .ico { transition: transform .25s var(--ease); }
.card:hover .card__more .ico { transform: translateX(4px); }
.card--cta { background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%); border: 0; cursor: default; color: #fff; }
.card--cta .card__body { padding: 32px 28px; justify-content: center; }
.card--cta .card__ico { margin: 0 0 18px; background: rgba(255, 255, 255, .12); border-color: transparent; box-shadow: none; color: var(--teal-300); }
.card--cta h3 { color: #fff; font-size: 1.35rem; }
.card--cta p { color: rgba(255, 255, 255, .78); }
.card--cta .btn { align-self: flex-start; }

/* ---------- Split / ticks ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.split--media { grid-template-columns: 1fr 1fr; align-items: center; }
.split > *, .contact > *, .hero__in > * { min-width: 0; }
@media (max-width: 960px) { .split, .split--media { grid-template-columns: 1fr; gap: 40px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--teal-700); background: rgba(20, 184, 166, .14); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }
.ticks--grid { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 560px) { .ticks--grid { grid-template-columns: 1fr; } }

/* ---------- Vývoj softvéru: zoznam oblastí + detail (mobil: akordeón) ---------- */
.sw { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; grid-auto-rows: auto; gap: 8px 32px; align-items: start; }
.sw__item { display: contents; }
.sw__btn { grid-column: 1; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid transparent; background: transparent; color: var(--ink); transition: background .2s, border-color .2s, box-shadow .2s; }
.sw__btn:hover { background: #fff; border-color: var(--line); }
.sw__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; color: var(--blue); border: 1px solid var(--blue-100); transition: .2s; }
.sw__txt { flex: 1; min-width: 0; }
.sw__txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-950); line-height: 1.3; }
.sw__txt small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.sw__chev { color: var(--blue); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.sw__item.is-open .sw__btn { background: #fff; border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.sw__item.is-open .sw__ico { background: var(--blue); color: #fff; border-color: var(--blue); }
.sw__item.is-open .sw__chev { opacity: 1; transform: none; }
.sw__panel { grid-column: 2; grid-row: 1 / span 7; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 34px 36px; position: relative; overflow: hidden; animation: fadeUp .4s var(--ease); }
.sw__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.sw__num { display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--teal-700); margin-bottom: 10px; }
.sw__panel h3 { font-size: 1.55rem; }
.sw__panel > p { color: var(--muted); font-size: 1.04rem; }
.sw__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--blue-50); color: var(--navy); border: 1px solid var(--blue-100); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.howdev { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.howdev li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.howdev .ico { color: var(--teal-700); background: rgba(20, 184, 166, .14); border-radius: 10px; padding: 7px; width: 34px; height: 34px; }
.howdev b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy-950); }
.howdev span { font-size: .86rem; color: var(--muted); }

@media (max-width: 960px) {
  .sw { display: block; }
  .sw__item { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
  .sw__btn, .sw__btn:hover, .sw__item.is-open .sw__btn { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  .sw__chev { opacity: 1; transform: rotate(90deg); }
  .sw__item.is-open .sw__chev { transform: rotate(-90deg); }
  .sw__panel { border: 0; box-shadow: none; border-radius: 0; padding: 4px 18px 22px; animation: none; }
  .sw__panel::before, .sw__num { display: none; }
  .sw__panel h3 { display: none; }
  .howdev { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .howdev { grid-template-columns: 1fr; } .sw__foot .btn { width: 100%; } }

/* ---------- Monitoring demo ---------- */
.demo { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.demo__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: rgba(255, 255, 255, .75); padding: 9px 16px; border-radius: 9px; font-weight: 500; transition: .2s; }
.seg button.is-on { background: #fff; color: var(--navy-950); }
.demo__live { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.demo__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; padding: 14px 16px; }
.kpi span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }
.kpi b { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.kpi b.ok { color: var(--teal-300); }
.kpi b.warn { color: #FF8A8A; }
.demo__chart { position: relative; background: rgba(0, 0, 0, .18); border-radius: 14px; padding: 8px; }
.demo__chart canvas { width: 100%; height: 260px; display: block; }
.demo__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.switch { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .82); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 44px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s var(--ease); }
.switch input:checked + span { background: #E2525F; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (max-width: 760px) { .demo { padding: 16px; } .demo__kpis { grid-template-columns: 1fr 1fr; } .demo__chart canvas { height: 200px; } .seg button { padding: 8px 11px; } }

/* ---------- About ---------- */
.media { position: relative; }
.media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 11 / 9; object-fit: cover; width: 100%; }
.media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--teal), var(--blue)); z-index: -1; opacity: .9; }
.media__badge { position: absolute; left: -20px; bottom: 32px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); color: var(--blue); }
.media__badge b { display: block; color: var(--navy-950); font-size: .95rem; }
.media__badge span { font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .media::before { inset: 14px -10px -14px 14px; } .media__badge { left: 10px; bottom: 14px; } }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.pillar { display: flex; gap: 14px; }
.pillar > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.pillar h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px); }
.steps li { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps li > span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin: -54px 0 16px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; border: 4px solid var(--blue-50); }
.steps li:hover > span { background: var(--teal); color: var(--navy-950); }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 52px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps { padding-top: 28px; }

/* ---------- Order ---------- */
.section--order { color: #fff; background: linear-gradient(160deg, rgba(6, 21, 51, .95), rgba(10, 42, 102, .92)), var(--order-bg) center / cover no-repeat, var(--navy-950); }
.section--order h2 { color: #fff; }
.section--order .head__sub { color: rgba(255, 255, 255, .75); }
.order { max-width: 900px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-lg); position: relative; }
.order__progress { height: 5px; background: var(--blue-50); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.order__progress span { display: block; height: 100%; width: 33.3%; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width .45s var(--ease); }
.order__steps { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 0 0 26px; counter-reset: os; }
.order__steps li { counter-increment: os; font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.order__steps li::before { content: counter(os); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--muted); font-size: .78rem; }
.order__steps li.is-on { color: var(--navy); }
.order__steps li.is-on::before { background: var(--blue); color: #fff; }
.order__steps li.is-done::before { content: "✓"; background: var(--teal); color: var(--navy-950); }
.order__step { border: 0; padding: 0; margin: 0; display: none; min-width: 0; }
.order__step.is-on { display: block; animation: fadeUp .4s var(--ease); }
.order__step legend { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--navy-950); margin-bottom: 20px; padding: 0; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pick__item { position: relative; cursor: pointer; }
.pick__item input { position: absolute; opacity: 0; }
.pick__item > span { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); transition: .2s; color: var(--blue); }
.pick__item b { font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.35; }
.pick__item:hover > span { border-color: var(--blue-100); background: var(--blue-50); }
.pick__item input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.pick__item input:checked + span::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--navy-950); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.pick__item input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .order { padding: 22px 18px; } .order__steps li { font-size: .78rem; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .87rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 77, 162, .12); }
.field.has-err input { border-color: var(--danger); }
.err { color: var(--danger); font-size: .84rem; font-style: normal; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-top: 8px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.order__nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.order__nav #orderNext, .order__nav #orderSubmit { margin-left: auto; }
.order__summary { font-size: .88rem; color: var(--muted); }
.order__msg { margin: 14px 0 0; color: var(--danger); font-weight: 500; }
.order__msg:empty { display: none; }
.order__done { text-align: center; padding: 30px 10px; animation: fadeUp .5s var(--ease); }
.order__done-ico { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--teal); color: var(--navy-950); box-shadow: 0 0 0 10px rgba(20, 184, 166, .18); }
.order__done p { color: var(--muted); }
.order.is-done > :not(.order__done) { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-family: var(--font-head); font-weight: 600; color: var(--navy-950); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 1.2rem; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--teal); color: var(--navy-950); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; color: var(--navy); }
.contact__card h3 .ico { color: var(--blue); }
.facts { margin: 18px 0 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 7px; padding: 4px 6px; display: inline-grid; place-items: center; transition: .2s; }
.copy:hover { color: var(--blue); border-color: var(--blue); }
.contact__links { display: grid; gap: 10px; margin-top: 22px; }
.clink { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--navy-950); font-weight: 600; transition: .2s; }
.clink .ico { color: var(--blue); }
.clink small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.clink:hover { background: var(--navy); color: #fff; }
.clink:hover .ico, .clink:hover small { color: var(--teal-300); }
@media (max-width: 480px) { .contact__card { padding: 22px 18px; } .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: linear-gradient(150deg, var(--navy), var(--blue)); position: relative; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 24px; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; }
.map__ph .ico { color: var(--teal-300); margin-bottom: 12px; }
.map__ph p { margin: 0 0 6px; }
.map__note { font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 18px !important; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 64px 0 0; font-size: .94rem; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: var(--teal-300); }
.brand--light { color: #fff; }
.footer__claim { margin-top: 16px; max-width: 340px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; font-size: .86rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 800px) { .footer__in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(6, 21, 51, .66); backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden] { display: none; }
.modal__box { position: relative; background: #fff; border-radius: var(--r-lg); width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
.modal__box--text { width: min(680px, 100%); }
.modal__img { aspect-ratio: 21 / 8; overflow: hidden; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 30px 34px 34px; }
.modal__body h3 { font-size: 1.6rem; }
.modal__body p { color: var(--muted); }
.modal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy-950); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal__x:hover { background: var(--teal); }
@media (max-width: 560px) { .modal__body { padding: 22px 18px 24px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
body.no-scroll { overflow: hidden; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--navy-950); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 95; font-weight: 500; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
