/* Antifukt AB – stilmall */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #041AA3;
  --accent-dark: #02106B;
  --ink: #0F1E2E;
  --muted: #3A4B5D;
  --muted2: #4A5D72;
  --tint: #F3F7FC;
  --line: #E3E9F0;
  --field: #C9D5E3;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Topbar & header */
.topbar { background: var(--ink); color: #DCE6F2; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar .right { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand img { height: 52px; width: auto; }
.tagline { font: inherit; font-size: 13px; color: #5A6B7D; font-weight: 600; background: none; border: 0; border-left: 1px solid #D5DEE8; padding: 0 0 0 16px; margin: 0; min-height: 44px; cursor: default; user-select: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav .btn { padding: 12px 20px; border-bottom: 0; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; font: inherit; font-weight: 700; background: var(--tint); color: var(--ink); border: 0; border-radius: 8px; padding: 12px 16px; min-height: 44px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; background: var(--accent); color: #fff; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--field); }
.btn-outline:hover { background: var(--tint); color: var(--ink); }
.btn-lg { font-size: 17px; padding: 16px 28px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1.5px solid #4A5D72; }
.btn-ghost-dark:hover { background: #1C2A38; color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.h2 { font-size: 36px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.text { font-size: 17px; line-height: 1.7; color: var(--muted); }
.sub { font-size: 17px; color: var(--muted2); margin-top: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-sm { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-md { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.photo { width: 100%; object-fit: cover; border-radius: 16px; }

/* Hero */
.hero { background: var(--tint); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.hero img { flex: 1 1 420px; min-width: 0; height: 420px; object-fit: cover; border-radius: 16px; }
.page-hero { background: var(--tint); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: 48px; letter-spacing: -0.03em; font-weight: 800; }
.page-hero .lead { max-width: 680px; }
.crumbs { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted2); }
.crumbs a { color: var(--muted2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Cards */
.tile { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
a.tile:hover { border-color: var(--accent); }
.tile .t { font-size: 20px; font-weight: 700; }
.tile .d { font-size: 16px; line-height: 1.5; color: var(--muted2); }
.tile .more { font-weight: 700; color: var(--accent); }
.icon { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; background: #fff; }
.card.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.badge-inline { position: static; display: inline-block; }
.card-img { height: 260px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px; }
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body .cat { font-size: 13px; font-weight: 700; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.06em; }
.card-body h3 { font-size: 24px; }
.card-body p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.chips span { background: var(--tint); padding: 6px 10px; border-radius: 6px; }
.card-body .link-arrow { margin-top: auto; padding-top: 4px; }
.mini { align-self: start; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.mini:hover { border-color: var(--accent); }
.mini .img { height: 170px; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); }
.mini .img img { max-height: 100%; width: auto; object-fit: contain; }
.mini .name { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.mini .name span:last-child { color: var(--accent); }
.feature { background: #fff; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.feature b { font-size: 18px; }
.feature span { font-size: 15px; line-height: 1.5; color: var(--muted2); }
.cat-nav { border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 20px; }
.pill { text-decoration: none; color: var(--ink); border: 1.5px solid var(--field); padding: 10px 18px; border-radius: 999px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* Product page */
.product { display: flex; flex-wrap: wrap; gap: 56px; }
.product .gallery { flex: 1 1 480px; min-width: 0; height: 520px; border: 1.5px solid var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.product .gallery img { max-height: 100%; width: auto; object-fit: contain; }
.product .info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.product h1 { font-size: 52px; letter-spacing: -0.03em; font-weight: 800; }
.kbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kbox { background: var(--tint); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.kbox span { font-size: 13px; color: var(--muted2); font-weight: 600; }
.kbox b { font-size: 20px; font-weight: 800; }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 14px; overflow: hidden; }
.spec caption { text-align: left; padding: 16px; font-weight: 800; font-size: 18px; background: #fff; }
.spec th { text-align: left; padding: 14px 16px; font-weight: 600; color: var(--muted2); width: 40%; }
.spec td { padding: 14px 16px; font-weight: 600; }
.spec tr { border-top: 1px solid var(--line); }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 32px; }
.benefits li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 36px; background: #fff; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.row > .field { flex: 1 1 200px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; padding: 12px; border: 1.5px solid var(--field); border-radius: 8px; min-height: 48px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; }
.note { font-size: 14px; color: var(--muted2); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.alert-ok { background: #E3F4EA; color: #14532D; }
.alert-err { background: #FDE8E8; color: #8A1C1C; }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps .n { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps b { font-size: 19px; }
.steps span { color: var(--muted2); line-height: 1.5; }

/* Contact */
.contact-top { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 56px; padding-bottom: 24px; }
.contact-cards { flex: 1 1 480px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-top .map { flex: 1 1 420px; height: auto; min-height: 300px; }
.ccard { border: 1.5px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.ccard span { font-size: 14px; color: var(--muted2); font-weight: 600; }
.ccard a { font-size: 22px; font-weight: 800; text-decoration: none; color: var(--ink); word-break: break-word; }
.dark-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.dark-list .l { color: #9FB2C6; font-size: 14px; }
.dark-list a { color: #fff; font-weight: 700; text-decoration: none; }
.map { width: 100%; height: 340px; border: 0; border-radius: 16px; }
.aside-dark { background: var(--ink); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.aside-dark a { color: #fff; }
.cta-band { background: var(--ink); color: #fff; border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band span { color: #C5D2E0; font-size: 17px; }

/* Gallery & news */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.news { display: flex; flex-direction: column; gap: 24px; }
.news article { border: 1.5px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; }
.news article img { width: 260px; height: 180px; object-fit: cover; border-radius: 10px; }
.news .date { font-size: 14px; color: var(--muted2); font-weight: 600; }

/* Footer */
.site-footer { background: #0A1520; color: #9FB2C6; font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 56px; padding-bottom: 32px; }
.site-footer .col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; }
.site-footer .col:first-child { flex: 1 1 260px; gap: 16px; }
.site-footer .col b { color: #fff; }
.site-footer .footer-logo { height: 44px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; }
.site-footer a { color: #C5D2E0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .phone { color: #fff; font-weight: 700; font-size: 18px; }
.site-footer .bottom { border-top: 1px solid #1C2A38; }
.site-footer .bottom .wrap { padding-top: 20px; padding-bottom: 20px; font-size: 14px; }

/* Mobile */
@media (max-width: 900px) {
  .topbar .wrap > span:first-child, .topbar .right > span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,30,46,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .site-header .wrap { position: relative; }
  .tagline { display: none; }
  .brand img { height: 42px; }
  .hero h1 { font-size: 38px; }
  .page-hero h1, .product h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .hero img { height: 260px; }
  .product .gallery { height: 340px; }
  .section { padding: 48px 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}
