/* Telfer – foglio di stile del sito */
:root {
  --blue: #1747b5;
  --blue-600: #123a96;
  --blue-900: #0b1f4d;
  --navy: #0a1630;
  --orange: #e07a10;
  --orange-600: #c4680a;
  --ink: #0f1b2d;
  --text: #2b3648;
  --muted: #5d6a7e;
  --line: #dfe4ec;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --ok: #157a4a;
  --err: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 22, 48, .06), 0 8px 24px rgba(10, 22, 48, .06);
  --shadow-lg: 0 2px 4px rgba(10, 22, 48, .06), 0 20px 48px rgba(10, 22, 48, .12);
  --wrap: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-lg { width: 40px; height: 40px; }

/* Pulsanti ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(224, 122, 16, .28); }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.site-nav ul a:hover { background: var(--bg-alt); color: var(--blue); }
.site-nav ul a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.lang-switch a, .lang-current { display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 27, 45, .15); flex: none; }
.lang-switch a .flag { opacity: .75; transition: opacity .15s; }
.lang-switch a:hover .flag { opacity: 1; }
.lang-switch a:hover { color: var(--blue); background: var(--bg-alt); }
.lang-current { color: var(--ink); padding: 4px 6px; }
.lang-sep { color: var(--line); }
.btn-reserved { background: var(--blue-900); color: #fff; }
.btn-reserved:hover, .btn-reserved.is-active { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .ico-close { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); border-radius: 0 8px 8px 0; }
  .nav-tools { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .ico-open { display: none; }
  .nav-open .nav-toggle .ico-close { display: block; }
}

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 18, 42, .94) 0%, rgba(10, 26, 64, .82) 42%, rgba(10, 26, 64, .25) 100%); }
.hero .hero-inner { padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(72px, 10vw, 130px); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(8, 18, 42, .82), rgba(10, 26, 64, .92)); } }
.hero h1 { color: #fff; max-width: 15ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffc27d; margin-bottom: 1.2em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero-text { font-size: 1.15rem; max-width: 52ch; color: rgba(255, 255, 255, .86); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sezioni ----------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: .8em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .section-title { margin: 0; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .6em; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .section-head { flex-direction: column; align-items: start; } }

.tech-card { background: linear-gradient(150deg, var(--blue-900), var(--blue)); color: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tech-card h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 1.2em; }
.tech-card h3 .ico { color: #ffc27d; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 550; }

/* Testo ------------------------------------------------------------------- */
.prose { color: var(--text); }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 0 0 1.5em; padding: 14px 18px; background: #fff7ec; border-left: 4px solid var(--orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--ink); }
.prose code { background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Intestazione pagine ----------------------------------------------------- */
.page-head { background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; }
.page-head-product { padding: 20px 0; background: var(--bg-alt); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.with-aside { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.page-aside img { border-radius: var(--radius); }
.page-banner { margin: 48px 0 0; }
.page-banner img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .with-aside { grid-template-columns: 1fr; } .page-aside { max-width: 240px; } }

.downloads { margin-top: 32px; display: grid; gap: 10px; }
.downloads h2 { font-size: 1.1rem; margin: 0 0 4px; }
.file-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.file-link:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.file-link span { flex: 1; }
.file-link .ico:first-child { color: var(--err); }

/* Prodotti ---------------------------------------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card[hidden] { display: none; }
.product-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product-media { background: #fff; border-bottom: 1px solid var(--line); padding: 20px; display: grid; place-items: center; aspect-ratio: 16 / 10; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 10px 0 6px; font-size: 1.25rem; }
.product-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--bg-alt); color: var(--muted); }
.tag-rfi { background: #e6f4ec; color: #12693f; gap: 5px; }
.tag .ico { width: 13px; height: 13px; }
.tag .ico-seal { width: 16px; height: 16px; margin: -2px 1px -2px -2px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue); font-size: .92rem; }

.product-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.product-hero-section { padding-top: 48px; }
.product-hero-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 48px); box-shadow: var(--shadow); }
.product-hero-media img { margin: 0 auto; }
.product-hero h1 { margin: 12px 0 8px; }
.product-hero .lead { margin-bottom: 1.6em; }
.reserved-hint { margin-top: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); text-decoration: none; font-size: .92rem; border: 1px dashed #c3cddc; }
.reserved-hint:hover { border-color: var(--blue); color: var(--text); }
.reserved-hint strong { display: block; color: var(--ink); }
.reserved-hint span { flex: 1; }
.reserved-hint .ico:first-child { color: var(--blue); width: 22px; height: 22px; }
@media (max-width: 860px) { .product-hero { grid-template-columns: 1fr; } }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.spec-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.spec-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 1em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: .97rem; }
.checks .ico { color: var(--orange); margin-top: .2em; }
@media (max-width: 400px) { .spec-grid { grid-template-columns: 1fr; } }

/* CTA --------------------------------------------------------------------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.cta.certs { background: #fff; box-shadow: var(--shadow); }
.cert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cert { display: flex; gap: 18px; align-items: flex-start; }
.cert + .cert { padding-top: 22px; border-top: 1px solid var(--line); }
.cert-badge { flex: none; width: 64px; height: 64px; display: grid; place-items: center; }
.cert-badge img { width: 64px; height: 64px; object-fit: contain; }
.cert-seal { width: 56px; height: 56px; color: var(--ok); }
.cert h3 { margin: 0 0 4px; font-size: 1.08rem; }
.cert p { margin: 0 0 6px; color: var(--muted); font-size: .94rem; max-width: none; }
.cert .link-arrow { font-size: .92rem; }
.cta { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--bg-alt); border: 1px solid var(--line); }
.cta .ico-lg { color: var(--orange); margin-bottom: 18px; }
.cta p { color: var(--muted); max-width: 52ch; margin-bottom: 1.6em; }
.cta-dark { background: radial-gradient(circle at 100% 0, rgba(23, 71, 181, .9), transparent 60%), var(--navy); color: #fff; border: 0; }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255, 255, 255, .78); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* Contatti e form --------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.info-card h2 { font-size: 1.25rem; }
.info-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-item > .ico { color: var(--blue); width: 22px; height: 22px; margin-top: 2px; }
.info-item span { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-item p { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form textarea { font: inherit; font-weight: 400; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 71, 181, .12); }
.form textarea { resize: vertical; min-height: 140px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text); }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .95rem; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }
.pow-note { margin: 0; font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 20px; }
.alert-err { background: #fdecea; color: var(--err); }
.alert-ok { background: #e9f7ef; color: var(--ok); }
.alert-info { background: var(--bg-alt); color: var(--text); }

/* Area riservata ---------------------------------------------------------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.auth-grid h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.auth-grid h2 .ico { color: var(--blue); }
.auth-note { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }
.user-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-alt); margin-bottom: 32px; }
.user-bar form { margin: 0; }
.doc-group { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.doc-group:first-of-type { border-top: 0; }
.doc-product img { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 8px; margin-bottom: 10px; }
.doc-product h3 { margin: 0; font-size: 1.1rem; }
.doc-product a { text-decoration: none; }
.doc-list { display: grid; gap: 10px; align-content: start; }
.doc-list .file-link small { font-weight: 500; color: var(--muted); margin-left: 8px; }
.file-link .lang-badge { flex: none; }
.lang-badge { font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; background: var(--blue-900); color: #fff; }
@media (max-width: 700px) { .doc-group { grid-template-columns: 1fr; gap: 14px; } .doc-product { display: flex; align-items: center; gap: 14px; } .doc-product img { width: 96px; margin: 0; } }

/* 404 --------------------------------------------------------------------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .narrow { margin: 0 auto; }
.notfound .lead { margin: 0 auto 2em; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { background: #fff; padding: 10px 14px; border-radius: 10px; width: 180px; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 140px; }
}

/* Informativa cookie ------------------------------------------------------ */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(10, 22, 48, .97); color: rgba(255, 255, 255, .88); box-shadow: 0 -8px 24px rgba(10, 22, 48, .18); font-size: .9rem; animation: cookie-in .3s ease-out; }
.cookie-bar[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.cookie-inner p { margin: 0; flex: 1; line-height: 1.5; }
.cookie-inner strong { color: #fff; }
.cookie-inner a { color: #ffc27d; white-space: nowrap; }
.cookie-inner .btn { flex: none; }
@keyframes cookie-in { from { transform: translateY(100%); } }
@media (max-width: 640px) { .cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; } .cookie-inner .btn { align-self: flex-end; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
