/* ASSURI public site. Trust-first comparator: one navy accent, cool neutrals, sans display, two shadow levels, restrained motion.
   Dials: variance 4, motion 3, density 5. */
:root {
  --brand-900: #0e1d45; --brand-800: #142a63; --brand-700: #1b3a8c; --brand-100: #dfe7f7; --brand-50: #eef2fb;
  --ink-900: #0f1a3a; --ink-700: #3b4663; --ink-500: #5f6a86; --ink-300: #b7bfd1;
  --line: #e3e7f0; --line-strong: #cbd2e1; --surface: #ffffff; --surface-2: #f5f7fb; --bg: #f8f9fc;
  --success-700: #15803d; --success-50: #ecfdf3; --warning-700: #b45309; --warning-50: #fff7ed; --danger-700: #b91c1c; --danger-50: #fef2f2;
  --shadow-1: 0 1px 2px rgba(15,26,58,.06), 0 1px 3px rgba(15,26,58,.04);
  --shadow-2: 0 2px 6px rgba(15,26,58,.06), 0 12px 28px -10px rgba(15,26,58,.18);
  --r-ctl: 12px; --r-box: 16px;
  --display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dur-1: 120ms; --dur-2: 180ms; --dur-3: 240ms; --ease-out: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--ink-900); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(1160px, 100% - 48px); } }
@media (min-width: 1024px) { .wrap { width: min(1160px, 100% - 64px); } }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--ink-900); text-wrap: balance; }
h1 { font-size: 36px; line-height: 40px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 30px; line-height: 34px; letter-spacing: -.015em; }
h3 { font-size: 18px; line-height: 26px; font-family: var(--sans); }
@media (min-width: 768px) { h1 { font-size: 44px; line-height: 48px; } h2 { font-size: 40px; line-height: 44px; } }
.lead { font-size: 17px; line-height: 26px; color: var(--ink-700); max-width: 60ch; margin: 0; }
@media (min-width: 768px) { .lead { font-size: 18px; line-height: 28px; } }
.overline { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.caption { font-size: 13px; line-height: 18px; font-weight: 600; }
section { padding: 56px 0 64px; }
@media (min-width: 768px) { section { padding: 96px 0 104px; } }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; }
.section-head.center { text-align: center; justify-items: center; }
.alt { background: var(--surface-2); }
.white { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-ctl); font: 700 15px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); }
.btn-ghost, .btn-secondary { background: var(--surface); color: var(--ink-900); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--surface-2); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-text { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sans); color: var(--brand-700); cursor: pointer; }
.btn-text:hover { text-decoration: underline; }
.btn-text svg { width: 16px; height: 16px; }
.link { color: var(--brand-700); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Fields */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-900); }
.field label small { font-weight: 500; color: var(--ink-500); }
.field input, .field select, .field textarea { font: 500 16px var(--sans); height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink-900); width: 100%; transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 24px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(27,58,140,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field .err { display: none; font-size: 13px; line-height: 18px; color: var(--danger-700); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger-700); }
.field.invalid .err { display: flex; gap: 6px; align-items: center; }
.field.invalid .err::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: var(--danger-700); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 14px; top: 0; height: 48px; display: flex; align-items: center; font-weight: 600; color: var(--ink-500); pointer-events: none; }
.prefix input { padding-left: 62px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-700); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand-700); flex: none; }
.fine { font-size: 13px; line-height: 18px; color: var(--ink-500); margin: 12px 0 0; }

/* Top bar and header */
.topbar { display: none; background: var(--brand-900); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; height: 32px; align-items: center; }
.topbar span { display: inline-flex; gap: 20px; }
.topbar a:hover { color: #fff; }
@media (min-width: 900px) { .topbar { display: block; } }
header.site { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2); }
header.site.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
@media (min-width: 900px) { .nav { height: 72px; } }
.logo img { height: 26px; width: auto; }
@media (min-width: 900px) { .logo img { height: 30px; } }
.menu { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .menu { display: flex; } }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-ctl); font: 500 15px var(--sans); color: var(--ink-700); background: none; border: 0; cursor: pointer; transition: background-color var(--dur-2); }
.menu > li > a:hover, .menu > li > button:hover { background: var(--surface-2); color: var(--ink-900); }
.menu > li > a[aria-current="page"], .menu > li > button[aria-current="page"] { color: var(--ink-900); font-weight: 700; }
.dropdown { position: absolute; top: calc(100% + 8px); left: -8px; width: 480px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-2); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2); }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: var(--r-ctl); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.dropdown a small { display: block; font-weight: 500; color: var(--ink-500); font-size: 12px; line-height: 16px; }
.dropdown a:hover { background: var(--surface-2); }
.dropdown .ico { width: 32px; height: 32px; border-radius: 8px; }
.dropdown .ico svg { width: 18px; height: 18px; }
.tag { display: inline-block; font-size: 12px; line-height: 18px; font-weight: 700; padding: 0 6px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); vertical-align: middle; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { height: 40px; padding: 0 14px; font-size: 14px; }
.nav-cta .btn-ghost { display: none; }
@media (min-width: 1040px) { .nav-cta .btn-ghost { display: inline-flex; } .nav-cta .btn { height: 44px; padding: 0 18px; } }
.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--r-ctl); }
.burger svg { width: 24px; height: 24px; color: var(--ink-900); }
@media (min-width: 900px) { .burger { display: none; } }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; position: fixed; inset: 64px 0 0; background: var(--surface); z-index: 29; padding: 8px 16px 40px; overflow-y: auto; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-menu .sub a { padding-left: 20px; font-weight: 500; color: var(--ink-700); }
.mobile-menu .sub { margin-bottom: 24px; }

/* Icons */
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.ico svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 32px 0 48px; }
@media (min-width: 768px) { .hero { padding: 64px 0 80px; } }
.hero-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.hero-copy { animation: rise var(--dur-3) var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--brand-700); }
.hero .lead { max-width: 48ch; }
.hero .more { margin-top: 24px; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-2); padding: 16px; }
@media (min-width: 640px) { .quote-card { padding: 24px; } }
.quote-card h3 { font-family: var(--display); font-size: 22px; line-height: 28px; }
.quote-card .sub { margin: 8px 0 20px; color: var(--ink-500); font-size: 14px; line-height: 20px; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
@media (max-width: 400px) { .types { grid-template-columns: repeat(2, 1fr); } }
.types label { cursor: pointer; position: relative; }
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types span { display: grid; justify-items: center; align-content: center; gap: 6px; height: 72px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 13px; font-weight: 600; color: var(--ink-700); transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2); }
.types svg { width: 22px; height: 22px; }
.types input:checked + span { color: var(--brand-700); background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand-700); border-color: transparent; }
.types input:focus-visible + span { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.quote-card .field { margin-bottom: 16px; }
.quote-card .row2 .field { margin-bottom: 0; }
.quote-card .row2 { margin-bottom: 16px; }
.quote-card .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-500); }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust svg { width: 16px; height: 16px; color: var(--success-700); }
.success { display: none; padding: 8px 0; }
.success > svg { width: 40px; height: 40px; color: var(--success-700); margin-bottom: 12px; }
.success h3 { margin-bottom: 6px; }
.success p { margin: 0; color: var(--ink-700); }
.quote-card.done form { display: none; }
.quote-card.done .success { display: block; }

/* Partners */
.partners { padding: 40px 0; background: var(--surface); border-block: 1px solid var(--line); }
.partners .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 32px; }
@media (min-width: 768px) { .partners .wrap { gap: 24px 48px; } }
.partners p { width: 100%; text-align: center; margin: 0 0 -8px; }
.partners img { height: 28px; width: auto; }

/* Products */
.pgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(12, 1fr); } .pgrid .feature { grid-column: 1 / 7; grid-row: 1 / 3; } .pgrid .product { grid-column: span 3; } }
.product { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); transition: border-color var(--dur-2); }
.product:hover { border-color: var(--brand-700); }
.product h3 { margin-top: 4px; }
.product p { margin: 0; color: var(--ink-700); font-size: 14px; line-height: 20px; flex: 1; }
.product .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand-700); margin-top: 8px; }
.product:hover .more { text-decoration: underline; }
.product .more svg { width: 16px; height: 16px; }
.feature { display: grid; grid-template-rows: 160px 1fr; overflow: hidden; padding: 0; }
@media (min-width: 1024px) { .feature { grid-template-rows: none; grid-template-columns: 1fr 1fr; } }
.feature .photo { background: var(--brand-50); display: grid; place-items: center; min-height: 160px; }
.feature .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature .body .btn { margin-top: auto; align-self: flex-start; }
.pro-band { margin-top: 16px; background: var(--brand-50); border-radius: var(--r-box); padding: 24px; display: grid; gap: 16px; align-items: center; }
@media (min-width: 768px) { .pro-band { grid-template-columns: 1fr auto; } }
.pro-band h3 { font-family: var(--display); font-size: 22px; line-height: 28px; }
.pro-band p { margin: 4px 0 0; color: var(--ink-700); font-size: 15px; }
@media (max-width: 639px) {
  .pgrid .product:not(.feature) { flex-direction: row; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--r-ctl); }
  .pgrid .product:not(.feature) p, .pgrid .product:not(.feature) .more span { display: none; }
  .pgrid .product:not(.feature) h3 { margin: 0; font-size: 16px; flex: 1; }
  .pgrid .product:not(.feature) .more { margin: 0; }
  .pgrid .product:not(.feature) .ico { width: 32px; height: 32px; }
}

/* Why us */
.why-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } }
.why-visual { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .why-visual { aspect-ratio: 4 / 5; } }
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
.why-item h3 { display: flex; gap: 8px; align-items: center; }
.why-item h3 svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.why-item p { margin: 6px 0 0 28px; color: var(--ink-700); font-size: 14px; line-height: 20px; }

/* Steps */
.steps-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { border-top: 1px solid var(--line); }
.steps-list .n { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.steps-list p { margin: 4px 0 0; color: var(--ink-700); font-size: 14px; line-height: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq-grid .section-head { margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; color: var(--ink-900); font-size: 16px; line-height: 24px; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; color: var(--ink-500); flex: none; transition: transform var(--dur-3) var(--ease-out); }
details[open] summary svg { transform: rotate(180deg); }
details p { margin: 12px 0 0; color: var(--ink-700); max-width: 60ch; font-size: 15px; line-height: 24px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-rows { display: grid; margin: 12px 0 0; }
.contact-rows a { display: flex; gap: 14px; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
.contact-rows svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.contact-rows small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-500); }
.contact-rows strong { font-size: 16px; font-weight: 600; }
.contact-rows a:hover strong { color: var(--brand-700); }
.news { margin-top: 40px; }
.news p { margin: 6px 0 16px; color: var(--ink-700); font-size: 14px; line-height: 20px; }
.news-form { display: grid; gap: 8px; }
@media (min-width: 480px) { .news-form { grid-template-columns: 1fr auto; } }
.news-form input { height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font: 500 16px var(--sans); min-width: 0; }
.news-form input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(27,58,140,.18); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: 24px; }
.panel h3 { font-family: var(--display); font-size: 22px; line-height: 28px; margin-bottom: 4px; }
.panel > p { margin: 0 0 20px; color: var(--ink-500); font-size: 14px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form .row2 .field { margin-bottom: 0; }
.contact-form .row2 { margin-bottom: 16px; }
.contact-form .consent { margin: 4px 0 16px; }
.contact-form .btn { width: 100%; }
.contact-panel .success { padding: 16px 0; }
.contact-panel.done form { display: none; }
.contact-panel.done .success { display: block; }
.claim-row { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 15px; color: var(--ink-700); }

/* Footer */
footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding: 64px 0 24px; font-size: 14px; line-height: 20px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 4fr 4fr 4fr; gap: 40px; } }
.foot-logo { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
footer h4 { color: #fff; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul.cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; }
.foot-bottom span { display: inline-flex; gap: 24px; }
