:root {
  --magenta: #ff007f;
  --magenta-dark: #c50063;
  --magenta-action: #d10069;
  --magenta-action-hover: #a80054;
  --navy: #004080;
  --navy-deep: #031a35;
  --blue-light: #dceefe;
  --graphite: #333333;
  --ink: #111827;
  --muted: #5f6977;
  --line: #d9e0e8;
  --surface: #f3f6f9;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 34, 68, .12);
  --content: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-sprite symbol, svg use { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #ffbfdf; outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 74px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(217, 224, 232, .85);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 34, 68, .08); }
.header-inner, .footer-inner, .section-inner, .hero-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--graphite); text-decoration: none; line-height: 1; }
.brand img { width: 42px; height: 52px; object-fit: contain; }
.brand-signature img { width: 188px; height: 58px; object-fit: contain; object-position: left center; }
.brand span { display: grid; gap: 4px; }
.brand strong { font-size: 24px; font-weight: 700; }
.brand small { font-size: 11px; font-weight: 500; color: var(--navy); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { position: relative; color: #283342; text-decoration: none; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; color: var(--white) !important; background: var(--navy); border-radius: 5px; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--magenta-dark); transform: translateY(-2px); }
.nav-cta svg { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; padding: 0; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.menu-toggle svg { width: 23px; height: 23px; }

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 100px));
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(1, 17, 36, .96) 0%, rgba(1, 17, 36, .82) 42%, rgba(1, 17, 36, .2) 74%), url("assets/hero-software.webp");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 64, 128, .08); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: center; padding-block: 54px 74px; }
.hero-copy { width: min(670px, 61%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #ffc3e1; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--magenta); }
.eyebrow.dark { color: var(--navy); }
.hero h1 { margin: 16px 0 8px; max-width: 660px; font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: 0; }
.hero-statement { margin: 0 0 14px; color: #ffffff; font-size: 25px; line-height: 1.3; font-weight: 600; }
.hero-text { max-width: 610px; margin: 0; color: #dbe6f3; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 19px; border: 2px solid transparent; border-radius: 5px; text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button svg { width: 18px; height: 18px; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(3px); }
.button-primary { color: var(--white); background: var(--magenta-action); }
.button-primary:hover { background: var(--magenta-action-hover); }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, .62); background: rgba(3, 26, 53, .5); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--navy-deep); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 0; margin: 28px 0 0; list-style: none; color: #c8d6e6; font-size: 12px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 15px; height: 15px; color: #ff5cad; }
.hero-scroll { position: absolute; z-index: 2; bottom: 20px; left: 50%; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); text-decoration: none; font-size: 10px; text-transform: uppercase; transform: translateX(-50%); }
.hero-scroll span { width: 20px; height: 30px; border: 1px solid rgba(255,255,255,.65); border-radius: 12px; }
.hero-scroll span::after { content: ""; display: block; width: 3px; height: 6px; margin: 5px auto; background: var(--magenta); border-radius: 3px; animation: scroll-cue 1.8s ease infinite; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(9px); opacity: 1; } }

.section { padding: 104px 0; }
.section-heading { max-width: 680px; }
.section-heading.centered { margin: 0 auto 50px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section h2 { margin: 15px 0 18px; color: var(--ink); font-size: 42px; line-height: 1.15; letter-spacing: 0; }
.section-heading p, .presence-grid > .section-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 25px; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { color: var(--magenta-dark); }

.presence { background: var(--white); }
.presence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.presence-list { border-top: 1px solid var(--line); }
.presence-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.presence-item > span { color: var(--magenta); font-size: 13px; font-weight: 800; }
.presence-item h3 { margin: 0 0 5px; font-size: 18px; }
.presence-item p { margin: 0; color: var(--muted); font-size: 14px; }

.solutions { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 300px; padding: 28px; overflow: hidden; background: var(--white); border: 1px solid #e1e7ed; border-radius: 8px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: #ff72b8; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card.featured { grid-row: span 2; color: var(--white); background: var(--navy); border-color: var(--navy); }
.service-card.featured::after { content: ""; position: absolute; right: -36px; bottom: -70px; width: 190px; height: 190px; border: 28px solid rgba(255, 0, 127, .17); border-radius: 50%; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); background: var(--blue-light); border-radius: 6px; }
.featured .service-icon { color: var(--white); background: var(--magenta); }
.service-icon svg { width: 24px; height: 24px; }
.service-number { position: absolute; top: 28px; right: 28px; color: #9aa7b5; font-size: 12px; font-weight: 700; }
.featured .service-number { color: #93b7d9; }
.service-card h3 { max-width: 300px; margin: 26px 0 10px; font-size: 21px; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.featured p { color: #d5e3f0; }
.service-card ul { position: relative; z-index: 1; display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; color: #e3edf7; font-size: 13px; font-weight: 600; }
.service-card li::before { content: "+"; margin-right: 8px; color: #ff78bc; }

.product-showcase { color: var(--white); background: var(--navy-deep); }
.product-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
.product-showcase h2 { color: var(--white); }
.product-intro > p { margin: 0 0 20px; color: #b7c8da; }
.product-tabs { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 670px; margin-top: 48px; border: 1px solid #36506d; border-radius: 6px; overflow: hidden; }
.product-tabs button { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; color: #c1cfdd; background: transparent; border: 0; border-right: 1px solid #36506d; cursor: pointer; font-size: 13px; font-weight: 700; }
.product-tabs button:last-child { border-right: 0; }
.product-tabs button[aria-selected="true"] { color: var(--white); background: var(--magenta-action); }
.product-tabs svg { width: 19px; height: 19px; }
.product-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; min-height: 450px; padding-top: 50px; }
.product-copy h3 { margin: 13px 0; font-size: 30px; line-height: 1.22; }
.product-copy > p { margin: 0; color: #b7c8da; font-size: 15px; }
.product-tag { color: #ff82c1; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.check-list { display: grid; gap: 10px; padding: 0; margin: 25px 0 0; list-style: none; color: #e5edf5; font-size: 13px; }
.check-list li { display: flex; align-items: center; gap: 9px; }
.check-list svg { width: 16px; height: 16px; color: #ff57aa; }
.product-ui { min-height: 350px; padding: 22px; background: #f8fafc; border: 1px solid #43607e; border-radius: 7px; box-shadow: 0 30px 70px rgba(0,0,0,.32); color: var(--ink); }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #dce2e9; font-size: 13px; }
.ui-top span { color: var(--navy); font-size: 11px; font-weight: 700; }
.order-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 20px; }
.order-columns div { min-height: 240px; padding: 15px; background: #eef2f6; border-top: 3px solid var(--navy); }
.order-columns div:nth-child(2) { border-top-color: var(--magenta); }
.order-columns div:nth-child(3) { border-top-color: #14a36f; }
.order-columns small { display: block; color: #6e7885; font-size: 9px; font-style: normal; font-weight: 700; }
.order-columns b { display: block; margin: 4px 0 13px; color: var(--ink); font-size: 24px; }
.order-columns i { display: block; height: 43px; margin: 8px 0; background: var(--white); border-left: 3px solid #c7d2de; box-shadow: 0 3px 10px rgba(0,0,0,.04); }
.schedule-grid { display: grid; grid-template-columns: 52px 1fr 1fr; grid-auto-rows: 52px; gap: 8px; margin-top: 22px; }
.schedule-grid small { align-self: center; color: #778291; font-size: 10px; }
.schedule-grid i { background: #edf1f5; border-radius: 4px; }
.schedule-grid .event { border-left: 4px solid var(--navy); background: #dceefe; }
.schedule-grid .magenta { border-left-color: var(--magenta); background: #ffe0f0; }
.schedule-grid .graphite { border-left-color: var(--graphite); background: #e3e5e8; }
.messages { display: grid; gap: 12px; max-width: 84%; margin: 28px auto 0; }
.messages p { width: 78%; margin: 0; padding: 13px 15px; color: #334052; background: #e9eef3; border-radius: 6px; font-size: 12px; }
.messages p:nth-child(2) { justify-self: end; color: var(--white); background: var(--navy); }
.messages p:nth-child(3) { border-left: 3px solid var(--magenta); }

.security { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.security::after { content: "ROZA"; position: absolute; right: -22px; bottom: -105px; color: rgba(255,255,255,.045); font-size: 190px; line-height: 1; font-weight: 800; pointer-events: none; }
.security-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .55fr 1.45fr; gap: 80px; align-items: center; }
.security-mark { min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; }
.security-mark svg { width: 112px; height: 112px; color: var(--magenta); stroke-width: 1.4; }
.security-mark span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.security h2 { max-width: 760px; color: var(--white); }
.security-copy > p { max-width: 760px; margin: 0; color: #d1dfec; }
.security-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.security-points span { padding: 8px 12px; border-left: 3px solid var(--magenta); background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; }

.process { background: var(--white); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 55px 0 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { position: relative; padding: 28px 28px 0 0; }
.process-list li::before { content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; background: var(--magenta); border-radius: 50%; }
.process-list span { color: var(--navy); font-size: 12px; font-weight: 800; }
.process-list h3 { margin: 12px 0 8px; font-size: 19px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; }

.contact { color: var(--white); background: var(--graphite); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 88px; align-items: center; }
.contact h2 { color: var(--white); }
.contact-copy > p { color: #cfd3d7; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #ff8fc7; text-decoration: none; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.contact-mail svg { flex: 0 0 auto; width: 19px; height: 19px; }
.contact-form { padding: 32px; color: var(--ink); background: var(--white); border-top: 5px solid var(--magenta); border-radius: 7px; }
.contact-form label { display: grid; gap: 6px; margin-bottom: 16px; color: #3f4a57; font-size: 12px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fbfcfd; border: 1px solid #cbd4dd; border-radius: 4px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy); outline: 2px solid #d9ebff; outline-offset: 0; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .button { width: 100%; border: 0; }
.contact-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 20px; margin: 10px 0 0; color: var(--navy); font-size: 12px; font-weight: 600; }
.form-status[data-type="success"] { color: #146c43; }
.form-status[data-type="error"] { color: #b42318; }

.site-footer { padding: 44px 0 24px; color: #bec7d0; background: #1c2025; border-top: 1px solid #484c52; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 34px 80px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-brand img { width: 210px; height: 96px; padding: 8px 12px; background: var(--white); border-radius: 6px; object-fit: contain; }
.footer-brand small { color: #a8c6e4; }
.footer-inner > p { justify-self: end; margin: 0; font-size: 13px; }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; padding-top: 20px; border-top: 1px solid #3b4047; font-size: 11px; }
.footer-meta span { margin-right: auto; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .main-nav { gap: 17px; }
  .main-nav > a { font-size: 12px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { width: 70%; }
  .section { padding: 84px 0; }
  .section h2 { font-size: 36px; }
  .presence-grid, .security-grid, .contact-grid { gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-row: span 2; }
  .product-panel { gap: 42px; }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.12); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav > a { padding: 14px 2px; font-size: 14px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .hero { min-height: calc(100svh - 92px); background-position: 62% center; }
  .hero::after { content: ""; position: absolute; inset: 0; background: rgba(1,17,36,.47); }
  .hero-inner { z-index: 2; }
  .hero-copy { width: min(620px, 90%); }
  .hero h1 { font-size: 46px; }
  .presence-grid, .product-intro, .security-grid, .contact-grid { grid-template-columns: 1fr; }
  .presence-grid { gap: 50px; }
  .product-intro { gap: 15px; }
  .product-panel { grid-template-columns: 1fr; min-height: auto; }
  .security-mark { min-height: 210px; }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 620px) {
  .header-inner, .footer-inner, .section-inner, .hero-inner { width: min(calc(100% - 32px), var(--content)); }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 10px; }
  .brand img { width: 36px; height: 45px; }
  .brand-signature img { width: 150px; height: 52px; }
  .footer-brand img { width: 190px; height: 88px; }
  .hero { min-height: calc(100svh - 84px); background-position: 68% center; }
  .hero-inner { align-items: flex-end; padding: 54px 0 70px; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 360px; margin-top: 12px; font-size: 38px; }
  .hero-statement { font-size: 20px; }
  .hero-text { font-size: 14px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-points { display: grid; margin-top: 20px; }
  .hero-scroll { display: none; }
  .section { padding: 68px 0; }
  .section h2 { font-size: 31px; }
  .section-heading.centered { text-align: left; }
  .section-heading.centered .eyebrow { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { min-height: auto; grid-row: auto; }
  .product-tabs { grid-template-columns: 1fr; }
  .product-tabs button { justify-content: flex-start; border-right: 0; border-bottom: 1px solid #36506d; }
  .product-tabs button:last-child { border-bottom: 0; }
  .product-panel { gap: 34px; padding-top: 38px; }
  .product-copy h3 { font-size: 25px; }
  .product-ui { min-height: 290px; padding: 16px; }
  .order-columns { gap: 7px; }
  .order-columns div { min-height: 200px; padding: 9px; }
  .messages { max-width: 100%; }
  .security::after { font-size: 100px; bottom: -48px; }
  .security-mark { min-height: 180px; }
  .security-mark svg { width: 82px; height: 82px; }
  .process-list { grid-template-columns: 1fr; row-gap: 34px; }
  .process-list li { padding-top: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner > p { justify-self: start; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .hero { min-height: calc(100svh - 84px); }
  .hero-inner { padding-block: 34px 58px; }
  .hero h1 { margin-top: 10px; font-size: 48px; }
  .hero-statement { font-size: 21px; }
  .hero-actions { margin-top: 20px; }
  .hero-points { margin-top: 18px; }
}

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