:root {
  --navy-950: #031022;
  --navy-900: #06152b;
  --navy-800: #0b2241;
  --navy-700: #12345a;
  --cyan: #22c8ef;
  --cyan-soft: #a6efff;
  --orange: #ff8a1f;
  --orange-dark: #e86c00;
  --ink: #10233b;
  --muted: #5e6f82;
  --surface: #f4f8fb;
  --white: #fff;
  --line: rgba(255,255,255,.13);
  --radius: 22px;
  --shadow: 0 24px 80px rgba(3,16,34,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { 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: fixed; z-index: 999; left: 14px; top: -60px; background: var(--white); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 14px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(3,16,34,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; min-width: 150px; }
.brand-name { color: var(--orange); font-size: 31px; font-weight: 800; letter-spacing: -1.8px; }
.brand-name span { color: var(--white); }
.brand-tagline { color: rgba(255,255,255,.63); font-size: 10px; text-transform: uppercase; letter-spacing: 2.2px; margin-top: 6px; }
.main-menu { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 650; }
.main-menu a:not(.nav-cta) { position: relative; }
.main-menu a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-menu a:hover::after, .main-menu a:focus-visible::after { transform: scaleX(1); }
.nav-cta { color: var(--white); border: 1px solid rgba(255,138,31,.65); padding: 10px 16px; border-radius: 10px; transition: background .2s; }
.nav-cta:hover { background: var(--orange); }
.menu-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 3px; transition: transform .2s, opacity .2s; }

.hero { min-height: 830px; display: grid; align-items: center; position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; background-image: url("assets/upnica-ia-hero.jpg"); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,34,.98) 0%, rgba(3,16,34,.87) 37%, rgba(3,16,34,.15) 70%, rgba(3,16,34,.1) 100%), linear-gradient(0deg, rgba(3,16,34,.56), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(3,16,34,.92)); }
.hero-grid { position: relative; z-index: 1; padding: 150px 0 95px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan-soft); font-size: 13px; text-transform: uppercase; font-weight: 800; letter-spacing: 2px; margin-bottom: 20px; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: var(--navy-700); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -3.2px; margin-bottom: 28px; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 690px; color: rgba(255,255,255,.76); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; margin: 36px 0 48px; }
.button { min-height: 53px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 0 24px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: #1b1208; box-shadow: 0 14px 35px rgba(255,138,31,.22); }
.button.primary:hover { background: #ff9a3d; box-shadow: 0 18px 45px rgba(255,138,31,.3); }
.button.secondary { border-color: rgba(255,255,255,.25); color: var(--white); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; padding-right: 18px; }
.hero-proof strong { font-size: 13px; }
.hero-proof span { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 4px; }

.problem-section { padding: 115px 0; background: var(--white); }
.split-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; }
.split-heading h2, .section-heading h2, .product-copy h2, .faq-intro h2, .contact-copy h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.08; letter-spacing: -2.2px; margin-bottom: 0; }
.split-heading > p { color: var(--muted); font-size: 18px; margin: 0 0 4px; }
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 65px; }
.issue-card { padding: 30px; border: 1px solid #dde6ee; border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.issue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.issue-number { color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: 1.5px; }
.issue-card h3 { font-size: 22px; margin: 42px 0 9px; }
.issue-card p { color: var(--muted); margin-bottom: 0; }

.solutions-section { padding: 115px 0; color: var(--white); background: var(--navy-950); position: relative; overflow: hidden; }
.solutions-section::before { content:""; position:absolute; width:600px; height:600px; border-radius:50%; background:rgba(34,200,239,.06); filter:blur(10px); top:-250px; right:-180px; }
.section-heading { max-width: 760px; margin-bottom: 58px; position: relative; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading p { color: rgba(255,255,255,.64); font-size: 18px; margin-bottom: 0; }
.solution-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.solution-card { display: flex; flex-direction: column; min-height: 530px; padding: 35px 31px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.solution-card.featured { background: linear-gradient(160deg, rgba(34,200,239,.13), rgba(255,255,255,.035) 50%); border-color: rgba(34,200,239,.42); box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.solution-kicker { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.52); font-size: 12px; text-transform: uppercase; letter-spacing: 1.1px; }
.solution-icon { display: grid; place-items: center; min-width: 45px; height: 45px; border-radius: 12px; background: rgba(34,200,239,.12); color: var(--cyan); font-weight: 900; font-size: 11px; border: 1px solid rgba(34,200,239,.25); }
.solution-card:nth-child(2) .solution-icon { background: rgba(255,138,31,.12); color: var(--orange); border-color: rgba(255,138,31,.3); }
.solution-card h3 { font-size: 27px; line-height: 1.2; margin: 30px 0 15px; }
.solution-card > p { color: rgba(255,255,255,.61); }
.check-list { list-style: none; padding: 0; margin: 17px 0 30px; }
.check-list li { position: relative; padding: 9px 0 9px 25px; color: rgba(255,255,255,.79); font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.text-link { color: var(--orange); font-size: 14px; font-weight: 850; margin-top: auto; display: inline-flex; gap: 11px; align-items: center; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.product-section { padding: 120px 0; background: var(--surface); }
.product-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 80px; align-items: center; }
.product-copy > p { color: var(--muted); font-size: 17px; margin: 25px 0 32px; }
.mini-features { display: grid; gap: 10px; }
.mini-features div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #dce5ec; }
.mini-features span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--cyan); font-size: 11px; font-weight: 850; }
.mini-features p { margin: 0; color: var(--muted); }
.mini-features strong { color: var(--ink); }
.dashboard { border-radius: 24px; background: var(--navy-950); color: var(--white); box-shadow: 0 35px 90px rgba(6,21,43,.24); overflow: hidden; transform: perspective(1000px) rotateY(-2deg); }
.dashboard-top { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); }
.dashboard-brand, .status { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
.dashboard-brand i { width: 10px; height: 10px; background: var(--orange); border-radius: 3px; box-shadow: 14px 0 0 var(--cyan); margin-right: 13px; }
.status { color: #8fe4be; font-size: 11px; font-weight: 650; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #42d693; box-shadow: 0 0 0 5px rgba(66,214,147,.09); }
.dashboard-body { display: grid; grid-template-columns: 145px 1fr; min-height: 470px; }
.dashboard-body aside { padding: 24px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.dashboard-body aside span { color: rgba(255,255,255,.42); padding: 10px 11px; font-size: 11px; border-radius: 8px; }
.dashboard-body aside .active { background: rgba(34,200,239,.1); color: var(--cyan-soft); }
.chat-panel { padding: 28px; }
.panel-title { display: flex; flex-direction: column; margin-bottom: 28px; }
.panel-title strong { font-size: 17px; }
.panel-title small { color: rgba(255,255,255,.4); margin-top: 3px; }
.chat { max-width: 86%; padding: 13px 15px; border-radius: 13px; font-size: 12px; margin-bottom: 14px; }
.chat.user { margin-left: auto; background: var(--navy-700); }
.chat.agent { display: flex; gap: 11px; background: rgba(255,255,255,.07); }
.chat.agent b { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; background: var(--orange); color: #2c1705; border-radius: 8px; font-size: 10px; }
.chat.agent p { margin: 0; color: rgba(255,255,255,.74); }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.result-row div { background: rgba(34,200,239,.06); border: 1px solid rgba(34,200,239,.16); padding: 14px; border-radius: 12px; display: flex; flex-direction: column; }
.result-row small { color: rgba(255,255,255,.42); }
.result-row strong { color: var(--cyan-soft); font-size: 20px; }
.demo-action { width: 100%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; padding: 13px; border-radius: 10px; text-align: left; display: flex; justify-content: space-between; }

.process-section { padding: 115px 0; color: #fff; background: linear-gradient(145deg, #06152b, #0b2444); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 35px 26px 15px 0; position: relative; }
.process-step::before { content: ""; position: absolute; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; top: -4px; left: 0; box-shadow: 0 0 0 7px rgba(255,138,31,.12); }
.process-step span { color: var(--orange); font-size: 11px; font-weight: 850; }
.process-step h3 { font-size: 21px; margin: 24px 0 10px; }
.process-step p { color: rgba(255,255,255,.55); font-size: 14px; }

.faq-section { padding: 120px 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { color: var(--muted); margin: 24px 0 28px; }
.dark-link { color: var(--orange-dark); }
.accordion details { border-bottom: 1px solid #dfe7ed; padding: 0 4px; }
.accordion summary { list-style: none; cursor: pointer; padding: 23px 48px 23px 0; font-weight: 800; font-size: 17px; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span, .accordion summary span::after { position: absolute; right: 7px; top: 50%; width: 14px; height: 2px; background: var(--orange-dark); content: ""; }
.accordion summary span::after { right: 0; top: 0; transform: rotate(90deg); transition: transform .2s; }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { color: var(--muted); margin: -5px 45px 22px 0; }

.contact-section { padding: 120px 0; position: relative; overflow: hidden; color: #fff; background: var(--navy-950); }
.contact-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -280px; bottom: -400px; background: radial-gradient(circle, rgba(34,200,239,.13), transparent 68%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; position: relative; }
.contact-copy h2 { font-size: clamp(40px, 4.4vw, 61px); }
.contact-copy > p { color: rgba(255,255,255,.62); font-size: 17px; margin: 25px 0 45px; }
.contact-lines { display: grid; gap: 12px; }
.contact-lines a { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-lines span { color: rgba(255,255,255,.4); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.contact-lines strong { margin-top: 4px; }
.lead-form { padding: 35px; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.form-heading { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-heading strong { font-size: 23px; }
.form-heading span { color: var(--muted); font-size: 13px; }
.lead-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1px solid #d7e1e8; background: #f9fbfc; color: var(--ink); border-radius: 9px; padding: 12px 13px; outline: none; font-weight: 500; transition: border .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,200,239,.1); }
.lead-form textarea { resize: vertical; }
.lead-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.lead-form .consent input { width: 17px; height: 17px; margin: 1px 0 0; }
.lead-form .consent a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { width: 100%; border: 0; }
.form-note { color: #7f8d99; text-align: center; font-size: 10px; margin: 10px 0 0; }
.form-submit:disabled { cursor: wait; opacity: .72; }
.form-status { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 12px; font-weight: 700; }
.form-status.is-sending { color: #526371; }
.form-status.is-success { color: #087a52; }
.form-status.is-error { color: #b23a2b; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

footer { background: #020b17; color: rgba(255,255,255,.6); padding: 65px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 55px; }
.footer-grid.home-footer { grid-template-columns: 1.3fr .8fr .8fr .7fr; gap: 42px; }
.footer-brand p { max-width: 370px; font-size: 13px; margin-top: 20px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-grid strong { color: #fff; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 45px; padding-top: 18px; font-size: 10px; }
.floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #18b66a; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 12px; font-weight: 900; }

/* Service landing pages */
.service-hero { position: relative; overflow: hidden; padding: 9rem 0 5.5rem; background: radial-gradient(circle at 78% 35%, rgba(20,180,220,.18), transparent 30%), radial-gradient(circle at 55% 0%, rgba(255,132,28,.12), transparent 28%), #06152b; color: #fff; }
.service-hero::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
.service-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 4rem; align-items: center; }
.service-hero h1 { max-width: 900px; margin: 1.2rem 0; font-size: clamp(2.75rem,6vw,5.4rem); line-height: .98; letter-spacing: -.055em; }
.service-hero h1 em { color: #ff861c; font-style: normal; }
.service-lead { max-width: 760px; color: #c8d4e2; font-size: clamp(1.05rem,1.7vw,1.28rem); line-height: 1.75; }
.service-proof-card { padding: 2rem; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(10,34,61,.72); backdrop-filter: blur(12px); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.service-proof-card strong { display: block; font-size: 1.15rem; margin-bottom: .7rem; }
.service-proof-card ul { margin: 0; padding: 0; list-style: none; }
.service-proof-card li { position: relative; padding: .8rem 0 .8rem 1.6rem; color: #d9e4ef; border-bottom: 1px solid rgba(255,255,255,.09); }
.service-proof-card li:last-child { border-bottom: 0; }
.service-proof-card li::before { content: "✓"; position: absolute; left: 0; color: #29d3ad; font-weight: 800; }
.service-section { padding: 6.5rem 0; }
.service-section.alt { background: #f3f6f8; }
.service-intro { max-width: 820px; margin-bottom: 2.5rem; }
.service-intro h2 { margin: .9rem 0 1rem; color: #07182d; font-size: clamp(2.1rem,4vw,3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.service-intro p { color: #5d6d7d; font-size: 1.08rem; line-height: 1.8; }
.benefit-grid, .result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.benefit-card, .result-card { padding: 2rem; border: 1px solid #dce4ea; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(10,31,53,.06); }
.benefit-card span, .result-card span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; margin-bottom: 1.2rem; padding: 0 .65rem; border-radius: 12px; background: #fff2e4; color: #e66e00; font-weight: 850; }
.benefit-card h3, .result-card h3 { margin: 0 0 .65rem; color: #07182d; font-size: 1.3rem; }
.benefit-card p, .result-card p { margin: 0; color: #627282; line-height: 1.7; }
.service-band { padding: 4rem 0; background: #0a2039; color: #fff; }
.service-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.service-band h2 { margin: 0 0 .6rem; font-size: clamp(2rem,3.8vw,3.25rem); letter-spacing: -.04em; }
.service-band p { margin: 0; color: #bfcddd; font-size: 1.05rem; }
.service-faq details { border-bottom: 1px solid #d8e0e6; }
.service-faq summary { padding: 1.4rem 0; color: #10243a; font-weight: 750; cursor: pointer; }
.service-faq details p { max-width: 850px; margin: -.35rem 0 1.5rem; color: #627282; line-height: 1.75; }
.service-nav-current { color: #ff8a1d !important; }

/* Trust and company sections */
.company-section { padding: 105px 0; background: #fff; }
.company-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 70px; align-items: start; }
.company-copy h2, .cases-heading h2 { margin: 16px 0 20px; color: var(--ink); font-size: clamp(42px,5vw,68px); line-height: 1.02; letter-spacing: -3px; }
.company-copy > p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.company-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.company-fact { min-height: 190px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.company-fact span { color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.company-fact h3 { margin: 18px 0 10px; color: var(--ink); font-size: 23px; }
.company-fact p { margin: 0; color: var(--muted); line-height: 1.65; }
.cases-section { padding: 105px 0; background: #07182d; color: #fff; }
.cases-heading { max-width: 850px; margin-bottom: 42px; }
.cases-heading h2 { color: #fff; }
.cases-heading p { color: #bfcddd; font-size: 18px; line-height: 1.75; }
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.case-card { position: relative; overflow: hidden; padding: 34px 30px; border-radius: 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); }
.case-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; top: -55px; border-radius: 50%; background: rgba(255,135,29,.13); }
.case-label { display: inline-block; padding: 7px 10px; border-radius: 999px; color: #ffb36c; background: rgba(255,135,29,.12); font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.case-card h3 { margin: 24px 0 12px; font-size: 25px; }
.case-card > p { min-height: 100px; color: #becbda; line-height: 1.7; }
.case-metric { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.case-metric strong { display: block; color: #fff; font-size: 17px; }
.case-metric span { display: block; margin-top: 6px; color: #8fa4b9; font-size: 12px; }
.trust-note { margin-top: 24px; color: #8fa4b9; font-size: 12px; }

/* Navigation dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; color: var(--orange); font-size: 14px; transition: transform .2s; }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.dropdown-menu { position: absolute; left: 50%; top: calc(100% + 18px); width: 280px; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(4,20,39,.98); box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: translateX(-50%); }
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dropdown-menu a { display: block; padding: 11px 12px; border-radius: 9px; color: #d6e0e9; font-size: 12px; line-height: 1.35; }
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.07); }

/* AI-first homepage */
.ai-section { padding: 105px 0; scroll-margin-top: 76px; }
.ai-section.white { background: #fff; }
.ai-section.soft { background: #f1f5f7; }
.ai-section.dark { background: #06152b; color: #fff; }
.ai-section.blue { background: linear-gradient(135deg,#0a2542,#0c3a58); color: #fff; }
.ai-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 70px; align-items: center; }
.ai-grid.reverse .ai-copy { order: 2; }
.ai-grid.reverse .ai-visual { order: 1; }
.ai-copy h2 { margin: 16px 0 22px; color: var(--ink); font-size: clamp(43px,5vw,68px); line-height: 1.01; letter-spacing: -3px; }
.ai-section.dark .ai-copy h2, .ai-section.blue .ai-copy h2 { color: #fff; }
.ai-copy > p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.ai-section.dark .ai-copy > p, .ai-section.blue .ai-copy > p { color: #bdcad8; }
.ai-points { display: grid; gap: 12px; margin: 26px 0 32px; padding: 0; list-style: none; }
.ai-points li { position: relative; padding-left: 28px; color: #40566b; line-height: 1.6; }
.ai-section.dark .ai-points li, .ai-section.blue .ai-points li { color: #d6e1eb; }
.ai-points li::before { content: "✓"; position: absolute; left: 0; color: #13b985; font-weight: 900; }
.ai-visual { min-height: 390px; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 38px; border: 1px solid #d9e3e9; border-radius: 28px; background: #f7fafb; box-shadow: 0 28px 70px rgba(10,31,53,.11); }
.ai-section.dark .ai-visual, .ai-section.blue .ai-visual { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.055); box-shadow: 0 28px 70px rgba(0,0,0,.23); }
.visual-tag { align-self: flex-start; padding: 8px 11px; border-radius: 999px; color: var(--orange-dark); background: #fff0df; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.ai-section.dark .visual-tag, .ai-section.blue .visual-tag { color: #ffb773; background: rgba(255,135,29,.13); }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.flow-row b { padding: 18px 10px; border: 1px solid #dce5eb; border-radius: 14px; color: var(--ink); background: #fff; text-align: center; font-size: 13px; }
.flow-row i { color: var(--orange); font-style: normal; font-weight: 900; }
.visual-stat { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(102,125,145,.22); }
.visual-stat strong, .visual-stat span { display: block; }
.visual-stat strong { color: var(--ink); font-size: 19px; }
.visual-stat span { margin-top: 6px; color: var(--muted); }
.ai-section.dark .visual-stat strong, .ai-section.blue .visual-stat strong { color: #fff; }
.ai-section.dark .visual-stat span, .ai-section.blue .visual-stat span { color: #aebdcb; }
.mini-chat { max-width: 86%; padding: 16px 18px; border-radius: 16px; line-height: 1.55; }
.mini-chat.user { align-self: flex-end; color: #fff; background: #164c7a; }
.mini-chat.bot { color: #dfe8f0; background: rgba(255,255,255,.09); }
.mini-chat.bot b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 8px; border-radius: 10px; color: #07182d; background: var(--orange); }
.mini-chat.note { max-width: 100%; color: #93a7ba; border: 1px dashed rgba(255,255,255,.18); text-align: center; font-size: 12px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module-grid span { display: grid; place-items: center; min-height: 88px; border: 1px solid #dce5eb; border-radius: 16px; color: var(--ink); background: #fff; font-weight: 850; }
.chart-bars { height: 210px; display: flex; align-items: flex-end; gap: 15px; padding: 30px 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px); background-size: 100% 42px; }
.chart-bars i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(#23c8e7,#ff861c); box-shadow: 0 0 18px rgba(35,200,231,.18); }
.document-stack { position: relative; height: 210px; }
.document-stack span { position: absolute; width: 70%; height: 150px; display: grid; place-items: center; border: 1px solid #d7e0e6; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 18px 35px rgba(10,31,53,.1); font-weight: 850; }
.document-stack span:nth-child(1) { left: 0; top: 35px; transform: rotate(-5deg); }
.document-stack span:nth-child(2) { right: 0; top: 20px; transform: rotate(5deg); }
.document-stack span:nth-child(3) { left: 15%; top: 0; color: #fff; background: #0e3b5d; }
.other-ai-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.other-ai-card { padding: 28px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.055); }
.other-ai-card > span { color: var(--orange); font-size: 11px; font-weight: 900; }
.other-ai-card h3 { margin: 28px 0 10px; font-size: 22px; }
.other-ai-card p { margin: 0; color: #b9c7d5; line-height: 1.65; }
.associated-services { margin-top: 26px; padding: 22px 25px; border-radius: 16px; color: #c6d2df; background: rgba(255,255,255,.06); }
.associated-services p { margin: 0; }
.associated-services a { color: #ffad62; font-weight: 800; }
.dario-quote { margin: 30px 0 0; padding: 24px 26px; border-left: 3px solid var(--orange); color: var(--ink); background: #f4f7f8; font-size: 19px; font-weight: 750; line-height: 1.55; }
.dario-quote cite { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 700; }

/* Interactive AI diagnostic */
.demo-modal[hidden] { display: none; }
.demo-modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; }
.demo-backdrop { position: absolute; inset: 0; background: rgba(1,10,22,.76); backdrop-filter: blur(7px); }
.demo-dialog { position: relative; width: min(720px,100%); max-height: min(820px,calc(100vh - 30px)); overflow-y: auto; padding: 38px; border-radius: 28px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.demo-close { position: absolute; right: 20px; top: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #23384d; background: #eef2f5; font-size: 28px; line-height: 1; cursor: pointer; }
.demo-progress { display: flex; flex-direction: column; gap: 4px; margin: 0 55px 30px 0; }
.demo-progress span { color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.demo-progress small { color: #748393; }
.demo-step h2, .demo-result h2 { margin: 18px 0 10px; color: var(--ink); font-size: clamp(31px,5vw,48px); line-height: 1.05; letter-spacing: -2px; }
.demo-step > p, .demo-result > p { color: var(--muted); line-height: 1.7; }
.demo-options { display: grid; gap: 12px; margin-top: 28px; }
.demo-options button { display: flex; flex-direction: column; gap: 7px; width: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #f7f9fb; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.demo-options button:hover, .demo-options button:focus-visible { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 12px 30px rgba(10,31,53,.08); }
.demo-options button strong { font-size: 17px; }
.demo-options button span { color: var(--muted); line-height: 1.5; }
.demo-result-label { display: inline-block; padding: 7px 11px; border-radius: 999px; color: #087a52; background: rgba(18,188,133,.12); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.demo-result ul { padding-left: 22px; color: #40566b; line-height: 1.8; }
.demo-result li::marker { color: var(--orange-dark); }
.demo-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.button.secondary.dark { color: var(--ink); border-color: #cad4dc; }
.demo-reset { margin-top: 18px; padding: 8px 0; border: 0; color: var(--orange-dark); background: transparent; font-weight: 800; cursor: pointer; }
body.demo-open { overflow: hidden; }

.legal-page { min-height: 100vh; background: var(--surface); padding: 135px 0 90px; }
.legal-card { max-width: 850px; margin: 0 auto; padding: 48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-card h1 { color: var(--ink); font-size: 46px; letter-spacing: -2px; }
.legal-card h2 { margin-top: 32px; font-size: 22px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--orange-dark); }
.legal-back { display: inline-flex; margin-bottom: 26px; color: var(--orange-dark); font-weight: 800; }
.thanks-card { text-align: center; max-width: 760px; }
.thanks-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: rgba(18,188,133,.12); color: #087a52; font-size: 36px; font-weight: 900; }
.thanks-card h1 { margin-bottom: 18px; }
.thanks-card > p { max-width: 570px; margin-left: auto; margin-right: auto; }
.thanks-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.thanks-actions .button.secondary { border-color: #d4dee6; color: var(--ink); }

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

@media (max-width: 980px) {
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand, .menu-toggle { position: relative; z-index: 102; }
  .menu-toggle { display: block; }
  .main-menu { position: fixed; z-index: 101; inset: 0; width: 100%; min-height: 100vh; min-height: 100dvh; padding: 100px 24px 40px; overflow-y: auto; display: none; flex-direction: column; justify-content: center; background: #031022; opacity: 1; pointer-events: none; transform: none; transition: none; }
  .main-menu.open { display: flex; opacity: 1; pointer-events: auto; transform: none; }
  .main-menu a { font-size: 20px; }
  .nav-dropdown { width: min(100%, 420px); text-align: center; }
  .nav-dropdown summary { justify-content: center; color: #fff; font-size: 20px; }
  .dropdown-menu { position: static; width: 100%; margin-top: 10px; padding: 8px; transform: none; background: rgba(255,255,255,.055); box-shadow: none; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { padding: 9px; color: #c5d2df; font-size: 14px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 780px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,16,34,.98), rgba(3,16,34,.74) 65%, rgba(3,16,34,.35)); }
  .split-heading, .product-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .solution-stack { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .faq-intro { position: static; }
  .service-hero { padding-top: 7.5rem; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .benefit-grid, .result-grid { grid-template-columns: 1fr 1fr; }
  .service-band-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; gap: 42px; }
  .case-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 42px; }
  .ai-grid.reverse .ai-copy, .ai-grid.reverse .ai-visual { order: initial; }
  .other-ai-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid, .footer-grid.home-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 70px; }
  .brand-name { font-size: 27px; }
  .brand-tagline { font-size: 8px; }
  .hero { min-height: 790px; }
  .hero-grid { padding: 125px 0 55px; }
  .hero-media { background-position: 68% center; opacity: .72; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,16,34,.98), rgba(3,16,34,.74)), linear-gradient(0deg, rgba(3,16,34,.85), transparent); }
  h1 { font-size: clamp(39px, 11.5vw, 54px); letter-spacing: -2px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 12px; }
  .hero-proof div { flex-direction: row; justify-content: space-between; }
  .problem-section, .solutions-section, .product-section, .process-section, .faq-section, .contact-section { padding: 80px 0; }
  .split-heading { gap: 25px; }
  .split-heading h2, .section-heading h2, .product-copy h2, .faq-intro h2, .contact-copy h2 { font-size: 38px; letter-spacing: -1.5px; }
  .issue-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .issue-card h3 { margin-top: 24px; }
  .solution-card { padding: 28px 22px; }
  .dashboard { transform: none; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-body aside { display: none; }
  .chat-panel { padding: 22px 17px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding-bottom: 5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 26px 19px; }
  .footer-grid, .footer-grid.home-footer { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .legal-card { padding: 28px 20px; }
  .legal-card h1 { font-size: 37px; }
  .service-hero { padding: 6.8rem 0 4rem; }
  .service-section { padding: 4.5rem 0; }
  .benefit-grid, .result-grid { grid-template-columns: 1fr; }
  .company-section, .cases-section { padding: 80px 0; }
  .company-facts { grid-template-columns: 1fr; }
  .company-copy h2, .cases-heading h2 { font-size: 38px; letter-spacing: -1.5px; }
  .ai-section { padding: 80px 0; }
  .ai-copy h2 { font-size: 38px; letter-spacing: -1.6px; }
  .ai-copy > p { font-size: 16px; }
  .ai-visual { min-height: 330px; padding: 25px 20px; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-row i { transform: rotate(90deg); text-align: center; }
  .other-ai-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .demo-modal { padding: 10px; }
  .demo-dialog { padding: 30px 20px 24px; border-radius: 20px; }
  .demo-result-actions .button { width: 100%; }
}

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