* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;
  cursor: default;
}

h1, h2, h3, h4, h5, h6, p, span, div, section, header, footer, nav, .card, .box, .check-list, .info {
  cursor: default;
}

a, button, .btn { cursor: pointer; }
input, textarea { cursor: text; }

::selection {
  background: #2563eb;
  color: white;
}

header {
  background: #0f172a;
  color: white;
  padding: 14px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  display: block;
}

.company-name {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.phone {
  display: inline-block;
  margin-top: 3px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
}

nav a:hover, .phone:hover { color: #38bdf8; }

.hero {
  background: linear-gradient(135deg, #0f172a, #1e40af);
  color: white;
  padding: 100px 8%;
  text-align: center;
}

.hero-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 850px;
  margin: 0 auto 30px;
  font-size: 20px;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 6px;
}

.btn.secondary {
  background: transparent;
  border: 2px solid white;
}

.btn:hover { background: #1d4ed8; }

.hero-contact {
  margin-top: 28px;
  font-size: 18px;
}

.hero-contact a {
  color: white;
  text-decoration: none;
}

section { padding: 70px 8%; }

h2 {
  text-align: center;
  font-size: 34px;
  color: #0f172a;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card, .box, form {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.card h3, .faq-item h3 {
  color: #1e40af;
  margin-bottom: 12px;
}

.dark { background: #eaf0f8; }

.check-list {
  max-width: 850px;
  margin: auto;
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.check-list p {
  margin-bottom: 14px;
  font-size: 18px;
}

.faq-item { margin-bottom: 20px; }

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.info p { margin-bottom: 16px; }
.info a { color: #1e40af; text-decoration: none; }

label { font-weight: 600; }

input, textarea {
  width: 100%;
  padding: 14px;
  margin: 8px 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
}

button {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
}

button:hover { background: #1d4ed8; }

footer {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 28px;
}

footer a { color: white; }

@media (max-width: 850px) {
  header { flex-direction: column; }

  .brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }

  nav {
    margin-top: 14px;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 7px;
  }

  .hero h1 { font-size: 34px; }

  .hero-logo {
    width: 135px;
    height: 135px;
  }
}


/* ---------- Contact form anti-spam ---------- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Cookie notice ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #0f172a;
  color: white;
  padding: 18px 8%;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cookie-text { flex: 1; }

.cookie-content strong {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}

.cookie-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-content a {
  color: #7dd3fc;
  text-decoration: underline;
}

.cookie-btn {
  width: auto;
  min-width: 90px;
  flex-shrink: 0;
  padding: 11px 24px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
}

.cookie-btn:hover { background: #1d4ed8; }
.cookie-hidden { display: none; }
.cookie-policy { background: #f5f7fa; }
.cookie-policy-box { max-width: 950px; margin: 0 auto; }
.cookie-policy-box h3 { color: #1e40af; margin: 24px 0 8px; }
.cookie-policy-box h3:first-child { margin-top: 0; }
.cookie-policy-box p { margin-bottom: 14px; }
.cookie-policy-box code { word-break: break-word; }

@media (max-width: 700px) {
  .cookie-banner { padding: 16px 5%; }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-btn { width: 100%; }
}


/* ---------- Cookie policy modal ---------- */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.cookie-modal.cookie-modal-open {
  display: block;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .72);
}

.cookie-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  margin: 32px auto;
  background: #fff;
  color: #1f2937;
  padding: 34px;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.cookie-modal-dialog h2 {
  margin: 0 40px 24px 0;
  text-align: left;
  font-size: 28px;
}

.cookie-modal-body p {
  margin-bottom: 16px;
}

.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

.cookie-modal-close:hover {
  background: #dbe4ef;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .cookie-modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 26px 20px;
  }
}


/* ---------- Cookie policy readable modal ---------- */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.cookie-modal.cookie-modal-open {
  display: block;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .76);
}

.cookie-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  margin: 32px auto;
  padding: 34px;
  background: #fff;
  color: #1f2937;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  text-align: left;
}

.cookie-modal-dialog h2 {
  text-align: left;
  margin: 0 48px 24px 0;
  font-size: 28px;
  color: #0f172a;
}

.cookie-modal-body p {
  margin-bottom: 16px;
  line-height: 1.65;
}

.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #0f172a;
  font-size: 28px;
  line-height: 42px;
  text-align: center;
}

.cookie-modal-close:hover {
  background: #dbe4ef;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .cookie-modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 26px 20px;
  }

  .cookie-modal-dialog h2 {
    font-size: 24px;
  }
}


/* ---------- Specialist ---------- */
.specialist-box {
  max-width: 1000px;
  margin: 28px auto 0;
}

.specialist-box h3 {
  color: #1e40af;
  font-size: 24px;
  margin-bottom: 18px;
}

.specialist-box p {
  margin-bottom: 16px;
}

.specialist-box p:last-child {
  margin-bottom: 0;
}


/* ---------- SEO service pages ---------- */
.service-page-hero {
  padding: 80px 8% 65px;
  background: #f5f7fa;
  text-align: center;
}
.service-page-inner {
  max-width: 900px;
  margin: 0 auto;
}
.service-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.service-page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.service-lead {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 19px;
  line-height: 1.65;
}
.service-page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 55px 8%;
}
.service-detail-section {
  margin-bottom: 42px;
}
.service-detail-section h2 {
  margin-bottom: 18px;
}
.service-detail-section ul {
  padding-left: 22px;
}
.service-detail-section li {
  margin-bottom: 12px;
  line-height: 1.65;
}
.service-contact-box {
  background: #f5f7fa;
  padding: 30px;
  border-radius: 14px;
}
.service-more-links {
  max-width: 1100px;
  margin: 38px auto 0;
}
.service-more-links h3 {
  text-align: center;
  margin-bottom: 18px;
}
.service-link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.service-link-grid a {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  text-decoration: none;
}
.service-link-grid a:hover {
  text-decoration: underline;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 700px) {
  .service-page-hero { padding: 55px 6% 45px; }
  .service-page-content { padding: 40px 6%; }
  .service-contact-box { padding: 22px; }
}

/* ---------- Knowledge articles ---------- */
.article-page{max-width:900px;margin:0 auto;padding:70px 7%;}
.article-page h1{font-size:clamp(34px,5vw,52px);line-height:1.15;margin-bottom:20px;}
.article-intro{font-size:20px;line-height:1.7;margin-bottom:42px;}
.article-section{margin-bottom:38px;}
.article-section h2{font-size:27px;margin-bottom:14px;}
.article-section p{line-height:1.75;}
.article-note{margin:40px 0;padding:22px 24px;background:#f5f7fa;border-left:4px solid #64748b;line-height:1.65;}
.info-grid{max-width:1100px;margin:0 auto;padding:55px 7%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.info-card{padding:26px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;}
.info-card h2{font-size:23px;margin-bottom:12px;}
.info-card p{line-height:1.6;margin-bottom:16px;}
.knowledge-teaser{text-align:center;padding:60px 8%;background:#f5f7fa;}
.knowledge-teaser p{max-width:720px;margin:12px auto 26px;line-height:1.65;}
@media(max-width:700px){.info-grid{grid-template-columns:1fr}.article-page{padding:50px 6%}.article-intro{font-size:18px}}


/* =========================================================
   ACESIO — DESIGN REFRESH 2026
   Clean premium engineering / fire-safety visual system
   ========================================================= */

:root{
  --acesio-ink:#132033;
  --acesio-muted:#5f6b7a;
  --acesio-line:#dfe5ec;
  --acesio-soft:#f5f7f9;
  --acesio-soft-blue:#edf3f8;
  --acesio-white:#ffffff;
  --acesio-accent:#b24a3a;
  --acesio-accent-dark:#8e382d;
  --acesio-navy:#18283b;
  --acesio-navy-2:#22364d;
  --acesio-radius:18px;
  --acesio-shadow:0 18px 50px rgba(18,32,51,.09);
  --acesio-shadow-small:0 8px 26px rgba(18,32,51,.07);
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--acesio-white);
  color:var(--acesio-ink);
  font-family:Inter, "Segoe UI", Arial, sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

body::selection{
  background:#dce7f0;
}

header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(223,229,236,.85);
  box-shadow:0 5px 24px rgba(18,32,51,.035);
}

.header-inner{
  width:min(1180px, calc(100% - 40px));
  min-height:76px;
  margin:0 auto;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.site-logo{
  width:auto !important;
  height:54px !important;
  max-width:180px;
  object-fit:contain;
  object-position:center;
  padding:3px !important;
  display:block;
}

.logo-link{
  flex:0 0 auto;
}

nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px 24px;
}

nav a{
  color:var(--acesio-ink);
  text-decoration:none;
  font-size:14px;
  font-weight:650;
  letter-spacing:.01em;
  padding:9px 0;
  position:relative;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:4px;
  height:2px;
  background:var(--acesio-accent);
  transition:right .22s ease;
}

nav a:hover::after{
  right:0;
}

.hero{
  position:relative;
  overflow:hidden;
  min-height:610px;
  padding:92px max(7vw, 28px) 90px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 82% 20%, rgba(178,74,58,.16), transparent 27%),
    radial-gradient(circle at 18% 85%, rgba(86,116,145,.16), transparent 28%),
    linear-gradient(135deg, #142235 0%, #1d3046 56%, #253d56 100%);
  color:white;
  text-align:center;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.28;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.7), transparent 90%);
}

.hero > *{
  position:relative;
  z-index:1;
}

.hero-content,
.hero .container{
  width:min(920px, 100%);
  margin:0 auto;
}

.hero-logo{
  width:auto !important;
  height:128px !important;
  max-width:230px;
  margin:0 auto 26px !important;
  object-fit:contain;
  padding:5px !important;
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.18));
}

.hero h1{
  max-width:920px;
  margin:0 auto 22px;
  color:white;
  font-size:clamp(38px, 5.5vw, 68px);
  line-height:1.04;
  letter-spacing:-.035em;
  font-weight:750;
}

.hero p{
  max-width:790px;
  margin:0 auto 32px;
  color:rgba(255,255,255,.84);
  font-size:clamp(17px, 2vw, 20px);
  line-height:1.7;
}

.cta,
button,
input[type="submit"]{
  border:0;
  border-radius:11px;
  background:var(--acesio-accent);
  color:white;
  font-weight:700;
  letter-spacing:.01em;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(178,74,58,.20);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
}

.cta:hover,
button:hover,
input[type="submit"]:hover{
  background:var(--acesio-accent-dark);
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(178,74,58,.25);
}

section{
  scroll-margin-top:92px;
}

section:not(.hero):not(.service-page-hero):not(.knowledge-teaser){
  padding-top:76px;
  padding-bottom:76px;
}

section > h2,
section .section-title{
  color:var(--acesio-ink);
  font-size:clamp(30px, 4vw, 43px);
  line-height:1.15;
  letter-spacing:-.025em;
  margin-bottom:14px;
}

section > h2::after,
.section-title::after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  margin:15px auto 0;
  border-radius:999px;
  background:var(--acesio-accent);
}

.cards{
  width:min(1120px, calc(100% - 40px));
  margin:34px auto 0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.card,
.box{
  border:1px solid var(--acesio-line);
  border-radius:var(--acesio-radius);
  background:white;
  box-shadow:var(--acesio-shadow-small);
}

.card{
  position:relative;
  overflow:hidden;
  padding:28px !important;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg, var(--acesio-accent), #cf887c);
  opacity:.85;
}

.card:hover{
  transform:translateY(-4px);
  border-color:#ccd6e0;
  box-shadow:var(--acesio-shadow);
}

.card h3{
  margin:0 0 12px;
  color:var(--acesio-ink);
  font-size:21px;
  line-height:1.3;
}

.card p{
  color:var(--acesio-muted);
  line-height:1.7;
}

.dark{
  background:
    radial-gradient(circle at 10% 20%, rgba(178,74,58,.10), transparent 30%),
    linear-gradient(135deg, var(--acesio-navy), var(--acesio-navy-2));
  color:white;
}

.dark h2,
.dark h3,
.dark strong{
  color:white !important;
}

.dark p{
  color:rgba(255,255,255,.78);
}

.dark .box{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.13);
  box-shadow:none;
  backdrop-filter:blur(4px);
}

.specialist-box{
  width:min(960px, calc(100% - 40px));
  margin:34px auto 0 !important;
  padding:34px !important;
}

.specialist-box h3{
  font-size:26px !important;
  color:white !important;
  margin-bottom:18px;
}

.service-more-links{
  width:min(1080px, calc(100% - 40px));
  margin:44px auto 0 !important;
  padding-top:30px;
  border-top:1px solid var(--acesio-line);
}

.service-more-links h3{
  color:var(--acesio-ink);
  font-size:23px;
  margin-bottom:20px;
}

.service-link-grid{
  gap:10px !important;
}

.service-link-grid a{
  background:var(--acesio-soft);
  border:1px solid var(--acesio-line) !important;
  color:var(--acesio-ink);
  border-radius:999px !important;
  padding:10px 16px !important;
  font-size:14px;
  font-weight:650;
  transition:.2s ease;
}

.service-link-grid a:hover{
  background:var(--acesio-soft-blue);
  border-color:#cbd7e2 !important;
  text-decoration:none !important;
  transform:translateY(-1px);
}

.knowledge-teaser{
  position:relative;
  overflow:hidden;
  padding:72px max(7vw, 28px) !important;
  background:linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%) !important;
  border-top:1px solid var(--acesio-line);
  border-bottom:1px solid var(--acesio-line);
}

.knowledge-teaser::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  border-radius:50%;
  right:-130px;
  top:-170px;
  background:rgba(178,74,58,.07);
}

.knowledge-teaser h2{
  position:relative;
  font-size:clamp(31px,4vw,42px);
  margin-bottom:14px;
}

.knowledge-teaser p{
  position:relative;
  color:var(--acesio-muted);
  font-size:17px;
}

form{
  width:min(760px, calc(100% - 40px));
  margin:30px auto 0;
  padding:32px;
  border:1px solid var(--acesio-line);
  border-radius:var(--acesio-radius);
  background:white;
  box-shadow:var(--acesio-shadow);
}

label{
  display:block;
  margin-bottom:7px;
  color:var(--acesio-ink);
  font-size:14px;
  font-weight:700;
}

input,
textarea,
select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #ccd5df;
  border-radius:10px;
  background:#fbfcfd;
  color:var(--acesio-ink);
  padding:13px 14px;
  font:inherit;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:#8095aa;
  background:white;
  box-shadow:0 0 0 4px rgba(86,116,145,.10);
}

textarea{
  min-height:150px;
  resize:vertical;
}

footer{
  background:#101b29 !important;
  color:rgba(255,255,255,.70) !important;
  border-top:0 !important;
  padding:34px 20px !important;
  text-align:center;
}

footer p{
  margin:6px 0;
}

footer a{
  color:#e9eef4 !important;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.25);
}

footer a:hover{
  border-bottom-color:white;
}

.service-page-hero{
  position:relative;
  overflow:hidden;
  padding:100px max(7vw, 28px) 78px !important;
  background:
    radial-gradient(circle at 85% 10%, rgba(178,74,58,.13), transparent 25%),
    linear-gradient(135deg, #f6f8fa, #eaf0f5) !important;
  border-bottom:1px solid var(--acesio-line);
}

.service-page-hero::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border:1px solid rgba(86,116,145,.13);
  border-radius:50%;
  right:-170px;
  bottom:-210px;
}

.service-eyebrow{
  color:var(--acesio-accent) !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.13em !important;
}

.service-page-hero h1{
  color:var(--acesio-ink);
  font-size:clamp(38px,5vw,58px) !important;
  letter-spacing:-.035em;
}

.service-lead{
  color:var(--acesio-muted);
}

.service-page-content{
  width:min(900px, calc(100% - 40px));
  padding:62px 0 82px !important;
}

.service-detail-section{
  margin-bottom:48px !important;
}

.service-detail-section h2{
  color:var(--acesio-ink);
  font-size:29px;
  letter-spacing:-.02em;
}

.service-detail-section li{
  color:var(--acesio-muted);
}

.service-detail-section li::marker{
  color:var(--acesio-accent);
}

.service-contact-box{
  border:1px solid var(--acesio-line);
  border-radius:var(--acesio-radius) !important;
  background:linear-gradient(135deg, #f7f9fb, #eef3f7) !important;
  padding:34px !important;
  box-shadow:var(--acesio-shadow-small);
}

.article-page{
  width:min(850px, calc(100% - 40px));
  padding:82px 0 92px !important;
}

.article-page h1{
  color:var(--acesio-ink);
  font-size:clamp(38px,5vw,56px) !important;
  letter-spacing:-.04em;
  max-width:800px;
}

.article-intro{
  color:#45566a;
  font-size:21px !important;
  line-height:1.75 !important;
  padding-bottom:32px;
  border-bottom:1px solid var(--acesio-line);
}

.article-section{
  margin-bottom:46px !important;
}

.article-section h2{
  color:var(--acesio-ink);
  font-size:28px !important;
  letter-spacing:-.02em;
}

.article-section p{
  color:#465568;
  font-size:17px;
}

.article-note{
  background:#f6f8fa !important;
  border:1px solid var(--acesio-line);
  border-left:4px solid var(--acesio-accent) !important;
  border-radius:0 12px 12px 0;
  color:#4a596a;
}

.info-grid{
  width:min(1080px, calc(100% - 40px));
  padding:64px 0 90px !important;
  gap:20px !important;
}

.info-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--acesio-line) !important;
  border-radius:var(--acesio-radius) !important;
  box-shadow:var(--acesio-shadow-small);
  padding:30px !important;
  transition:.22s ease;
}

.info-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:4px;
  height:100%;
  background:var(--acesio-accent);
}

.info-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--acesio-shadow);
}

.info-card h2{
  font-size:23px !important;
  line-height:1.3;
}

.info-card h2 a,
.info-card > a{
  color:var(--acesio-ink);
}

.info-card > a{
  font-weight:750;
  text-decoration:none;
}

.info-card > a:hover{
  color:var(--acesio-accent);
}

.cookie-modal-dialog{
  border-radius:18px !important;
  border:1px solid var(--acesio-line);
  box-shadow:0 28px 80px rgba(10,20,32,.28) !important;
}

#cookie-banner{
  box-shadow:0 -10px 40px rgba(18,32,51,.10);
}

@media (max-width:960px){
  .cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .header-inner{
    width:min(100% - 28px, 1180px);
  }
  nav{
    gap:4px 15px;
  }
  nav a{
    font-size:13px;
  }
}

@media (max-width:700px){
  header{
    position:relative;
  }
  .header-inner{
    min-height:auto;
    padding:12px 0 10px;
    flex-direction:column;
    gap:7px;
  }
  .site-logo{
    height:50px !important;
  }
  nav{
    justify-content:center;
    gap:3px 14px;
  }
  nav a{
    font-size:12.5px;
    padding:6px 0;
  }
  .hero{
    min-height:auto;
    padding:68px 22px 72px !important;
  }
  .hero-logo{
    height:104px !important;
  }
  .hero h1{
    font-size:clamp(35px,11vw,48px);
  }
  .hero p{
    font-size:17px;
  }
  .cards{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    gap:15px;
  }
  .card{
    padding:24px !important;
  }
  form{
    width:calc(100% - 28px);
    padding:22px;
  }
  .specialist-box,
  .service-more-links,
  .service-page-content,
  .article-page,
  .info-grid{
    width:calc(100% - 28px);
  }
  .service-page-hero{
    padding:62px 20px 54px !important;
  }
  .service-page-hero h1{
    font-size:clamp(34px,10vw,46px) !important;
  }
  .article-page{
    padding:54px 0 70px !important;
  }
  .article-page h1{
    font-size:clamp(34px,10vw,46px) !important;
  }
  .article-intro{
    font-size:18px !important;
  }
  .info-grid{
    grid-template-columns:1fr !important;
    padding:42px 0 70px !important;
  }
}


/* =========================================================
   ACESIO — BLUE REFINEMENT
   Atgriezts sākotnējais zilais raksturs un emblēmas zona
   ========================================================= */

:root{
  --acesio-ink:#0f172a;
  --acesio-muted:#5b6b82;
  --acesio-line:#d9e2ec;
  --acesio-soft:#f5f8fc;
  --acesio-soft-blue:#eaf2fb;
  --acesio-white:#ffffff;
  --acesio-accent:#2563eb;
  --acesio-accent-dark:#1d4ed8;
  --acesio-accent-light:#38bdf8;
  --acesio-navy:#0f172a;
  --acesio-navy-2:#1e3a8a;
}

/* Header — clean white with blue accents */
header{
  background:rgba(255,255,255,.96) !important;
  border-bottom:1px solid #dbe5f0 !important;
  box-shadow:0 4px 20px rgba(30,64,175,.05) !important;
}

nav a{
  color:#0f172a !important;
}

nav a::after{
  background:#2563eb !important;
}

/* Hero — restored to the previous blue visual language */
.hero{
  min-height:auto !important;
  padding:100px 8% !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(56,189,248,.18), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(96,165,250,.13), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 56%, #1e40af 100%) !important;
  color:white !important;
  text-align:center !important;
}

.hero::before{
  opacity:.18 !important;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) !important;
  background-size:50px 50px !important;
}

/* Emblem large and central, close to the original design */
.hero-logo{
  width:170px !important;
  height:170px !important;
  max-width:none !important;
  margin:0 auto 25px !important;
  padding:3px !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.26)) !important;
}

.hero h1{
  max-width:980px !important;
  font-size:clamp(40px,5vw,58px) !important;
  line-height:1.08 !important;
  color:white !important;
  letter-spacing:-.025em !important;
  margin-bottom:20px !important;
}

.hero p{
  color:rgba(255,255,255,.88) !important;
  max-width:850px !important;
  font-size:20px !important;
  margin:0 auto 30px !important;
}

/* Blue primary buttons */
.cta,
button,
input[type="submit"]{
  background:#2563eb !important;
  box-shadow:0 8px 22px rgba(37,99,235,.22) !important;
}

.cta:hover,
button:hover,
input[type="submit"]:hover{
  background:#1d4ed8 !important;
  box-shadow:0 12px 28px rgba(37,99,235,.26) !important;
}

/* Cards with calm related blue tones */
.card::before{
  background:linear-gradient(90deg,#2563eb,#38bdf8) !important;
}

.card:hover{
  border-color:#bfd3ea !important;
  box-shadow:0 18px 45px rgba(37,99,235,.10) !important;
}

.card h3{
  color:#1e40af !important;
}

/* "Par mums" retains darker blue depth */
.dark{
  background:
    radial-gradient(circle at 10% 18%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(135deg,#0f172a,#172554 48%,#1e3a8a) !important;
}

/* Soft blue chips and content areas */
.service-link-grid a{
  background:#f4f8fd !important;
  border-color:#d7e4f2 !important;
}

.service-link-grid a:hover{
  background:#e8f2fc !important;
  border-color:#b8d2ed !important;
}

.knowledge-teaser{
  background:
    radial-gradient(circle at 90% 0%, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#edf4fb 100%) !important;
}

.service-page-hero{
  background:
    radial-gradient(circle at 84% 10%, rgba(56,189,248,.14), transparent 26%),
    linear-gradient(135deg,#f7fbff,#e9f2fb) !important;
}

.service-eyebrow{
  color:#2563eb !important;
}

.service-contact-box{
  background:linear-gradient(135deg,#f8fbff,#edf4fb) !important;
}

.article-note{
  border-left-color:#2563eb !important;
}

.info-card::before{
  background:linear-gradient(180deg,#2563eb,#38bdf8) !important;
}

/* Footer in the same navy family */
footer{
  background:#0f172a !important;
}

/* Cookie elements harmonized with blue palette */
.cookie-btn,
.cookie-modal-close:hover{
  background:#2563eb !important;
}

.cookie-content a{
  color:#7dd3fc !important;
}

@media (max-width:700px){
  .hero{
    padding:72px 22px 74px !important;
  }

  .hero-logo{
    width:138px !important;
    height:138px !important;
    margin-bottom:22px !important;
  }

  .hero h1{
    font-size:clamp(34px,10vw,44px) !important;
  }

  .hero p{
    font-size:17px !important;
  }
}


/* =========================================================
   ACESIO — HERO BLOCK RESTORED TO ORIGINAL STYLE
   ========================================================= */

.hero {
  background: linear-gradient(135deg, #0f172a, #1e40af) !important;
  color: white !important;
  padding: 100px 8% !important;
  text-align: center !important;
  min-height: auto !important;
  display: block !important;
}

.hero::before {
  display: none !important;
}

.hero-logo {
  width: 170px !important;
  height: 170px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto 25px !important;
  padding: 3px !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)) !important;
}

.hero h1 {
  font-size: 46px !important;
  line-height: 1.18 !important;
  letter-spacing: normal !important;
  margin: 0 auto 20px !important;
  max-width: 980px !important;
  color: white !important;
}

.hero p {
  max-width: 850px !important;
  margin: 0 auto 30px !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: white !important;
}

.hero .btn,
.hero a.btn {
  display: inline-block !important;
  background: #2563eb !important;
  color: white !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  margin: 6px !important;
  min-height: auto !important;
  box-shadow: none !important;
  transform: none !important;
}

.hero .btn.secondary,
.hero a.btn.secondary {
  background: transparent !important;
  border: 2px solid white !important;
}

.hero .btn:hover,
.hero a.btn:hover {
  background: #1d4ed8 !important;
  transform: none !important;
  box-shadow: none !important;
}

.hero-contact {
  margin-top: 28px !important;
  font-size: 18px !important;
  color: white !important;
}

.hero-contact a {
  color: white !important;
  text-decoration: none !important;
}

@media (max-width: 850px) {
  .hero {
    padding: 76px 6% !important;
  }

  .hero h1 {
    font-size: 34px !important;
  }

  .hero-logo {
    width: 135px !important;
    height: 135px !important;
  }

  .hero p {
    font-size: 18px !important;
  }
}


/* ACESIO — TOP COMPANY INFO HIGHLIGHT */
.topbar,
.top-bar,
.header-top {
  background: #1e40af !important;
  color: #ffffff !important;
}

.topbar a,
.top-bar a,
.header-top a,
.topbar span,
.top-bar span,
.header-top span,
.topbar strong,
.top-bar strong,
.header-top strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.topbar a:hover,
.top-bar a:hover,
.header-top a:hover {
  color: #dbeafe !important;
}

/* If company/phone info is inside the main header rather than a separate topbar */
header .company-name,
header .company-info,
header .phone,
header .phone-link,
header .contact-phone {
  color: #1e40af !important;
  font-weight: 750 !important;
}

header .company-name a,
header .company-info a,
header .phone a,
header .phone-link,
header .contact-phone a {
  color: #1e40af !important;
  font-weight: 750 !important;
}


/* =========================================================
   ACESIO — MOBILE HAMBURGER MENU
   ========================================================= */

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:9px;
  border:none;
  border-radius:10px;
  background:#eef4fb !important;
  box-shadow:none !important;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.menu-toggle span{
  display:block;
  width:23px;
  height:2px;
  border-radius:999px;
  background:#1e40af;
  transition:transform .22s ease, opacity .22s ease;
}

.menu-toggle.menu-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.menu-toggle.menu-open span:nth-child(2){
  opacity:0;
}
.menu-toggle.menu-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media (max-width:820px){
  header .header-inner,
  header{
    position:relative;
  }

  .header-inner{
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
    min-height:68px !important;
    padding:8px 0 !important;
  }

  .menu-toggle{
    display:flex;
    flex:0 0 auto;
  }

  .main-nav{
    position:absolute;
    top:100%;
    left:14px;
    right:14px;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:10px;
    background:#ffffff;
    border:1px solid #dbe5f0;
    border-radius:14px;
    box-shadow:0 18px 45px rgba(15,23,42,.14);
    z-index:1500;
  }

  .main-nav.nav-open{
    display:flex !important;
  }

  .main-nav a{
    display:block !important;
    width:100%;
    box-sizing:border-box;
    padding:13px 14px !important;
    margin:0 !important;
    border-radius:9px;
    font-size:15px !important;
    color:#0f172a !important;
  }

  .main-nav a::after{
    display:none !important;
  }

  .main-nav a:hover{
    background:#eef4fb;
    color:#1e40af !important;
  }

  body.mobile-menu-open{
    overflow-x:hidden;
  }
}


/* =========================================================
   ACESIO — CONVERSION & TRUST UPGRADE
   ========================================================= */

.section-intro{
  max-width:760px;
  margin:-16px auto 34px;
  text-align:center;
  color:#64748b;
  font-size:17px;
}

.trust-grid{
  width:min(1120px, calc(100% - 40px));
  margin:34px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.trust-card{
  position:relative;
  padding:28px 24px 26px;
  border:1px solid #dbe5f0;
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 8px 24px rgba(30,64,175,.06);
}

.trust-number{
  display:inline-flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#eaf2fb;
  color:#1e40af;
  font-weight:800;
  font-size:14px;
  margin-bottom:18px;
}

.trust-card h3{
  margin:0 0 12px;
  color:#0f172a;
  font-size:20px;
}

.trust-card p{
  margin:0;
  color:#5f6b7a;
  line-height:1.65;
}

.process-section{
  background:linear-gradient(180deg,#f8fbff 0%,#eef5fb 100%);
  border-top:1px solid #dce7f2;
  border-bottom:1px solid #dce7f2;
}

.process-grid{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.process-card{
  position:relative;
  padding:28px 24px;
  background:#ffffff;
  border:1px solid #dbe5f0;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(30,64,175,.06);
}

.process-card span{
  display:block;
  color:#2563eb;
  font-size:14px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:12px;
}

.process-card h3{
  margin:0 0 10px;
  color:#0f172a;
  font-size:21px;
}

.process-card p{
  margin:0;
  color:#5f6b7a;
  line-height:1.65;
}

.specialist-meta{
  margin-bottom:22px;
}

.specialist-kicker{
  display:block;
  color:#93c5fd;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:800;
  margin-bottom:12px;
}

.specialist-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.specialist-badges span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#ffffff;
  font-size:13px;
  font-weight:650;
}

@media(max-width:960px){
  .trust-grid,
  .process-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .trust-grid,
  .process-grid{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    gap:14px;
  }

  .trust-card,
  .process-card{
    padding:24px 20px;
  }

  .section-intro{
    width:calc(100% - 28px);
    margin:-10px auto 28px;
    font-size:16px;
  }
}


/* ACESIO — REFINED TRUST / PROCESS LAYOUT */
.specialist-badges{
  display:none !important;
}

.trust-number{
  display:none !important;
}

.process-card > span{
  display:none !important;
}

.process-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 12px !important;
}

.process-title .process-number{
  display:inline-flex !important;
  flex:0 0 34px;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  margin:0 !important;
  border-radius:50%;
  background:#eaf2fb;
  color:#1e40af;
  font-size:15px;
  font-weight:800;
  letter-spacing:0;
}

.process-title{
  color:#0f172a;
  font-size:21px;
  line-height:1.25;
}


/* =========================================================
   ACESIO — FINAL POLISH
   Mobile call button + custom 404
   ========================================================= */

.mobile-call-button{
  display:none;
}

.error-page{
  min-height:68vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:70px 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(56,189,248,.12), transparent 28%),
    linear-gradient(135deg,#f7fbff,#edf4fb);
}

.error-card{
  width:min(720px,100%);
  text-align:center;
  padding:48px 36px;
  background:#fff;
  border:1px solid #dbe5f0;
  border-radius:20px;
  box-shadow:0 18px 50px rgba(30,64,175,.09);
}

.error-code{
  font-size:clamp(64px,14vw,120px);
  line-height:.9;
  font-weight:800;
  color:#1e40af;
  letter-spacing:-.05em;
  margin-bottom:18px;
}

.error-card h1{
  margin:0 0 14px;
  font-size:clamp(30px,5vw,44px);
  color:#0f172a;
}

.error-card p{
  margin:0 auto 28px;
  max-width:520px;
  color:#64748b;
  font-size:17px;
}

.error-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.secondary-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  border:1px solid #cbd5e1;
  border-radius:11px;
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
  background:#fff;
}

.secondary-dark:hover{
  background:#f8fafc;
}

@media (max-width:820px){
  .mobile-call-button{
    position:fixed;
    right:16px;
    bottom:16px;
    z-index:2200;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:48px;
    padding:0 18px;
    border-radius:999px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(37,99,235,.28);
  }

  .mobile-call-button:hover{
    background:#1d4ed8;
  }

  .mobile-call-icon{
    font-size:18px;
    line-height:1;
  }

  .error-page{
    min-height:62vh;
    padding:48px 16px;
  }

  .error-card{
    padding:36px 22px;
  }
}


/* =========================================================
   ACESIO — COOKIE CONSENT MANAGEMENT
   ========================================================= */

.cookie-consent{
  display:none;
  position:fixed;
  inset:0;
  z-index:4000;
  align-items:flex-end;
  justify-content:center;
  padding:20px;
  background:rgba(15,23,42,.36);
}

.cookie-consent.is-open{
  display:flex;
}

.cookie-consent-card{
  width:min(980px,100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:26px 28px;
  border:1px solid #dbe5f0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 70px rgba(15,23,42,.22);
}

.cookie-consent-copy{
  flex:1;
}

.cookie-consent-copy h2{
  margin:0 0 8px;
  color:#0f172a;
  font-size:24px;
}

.cookie-consent-copy p{
  margin:0 0 10px;
  color:#5f6b7a;
  line-height:1.6;
  font-size:15px;
}

.cookie-policy-link{
  width:auto !important;
  padding:0 !important;
  background:none !important;
  box-shadow:none !important;
  color:#1e40af !important;
  text-decoration:underline;
  font-size:14px;
  font-weight:700;
}

.cookie-consent-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}

.cookie-btn{
  width:auto !important;
  min-height:44px;
  padding:0 17px !important;
  border-radius:10px !important;
  font-size:14px !important;
  font-weight:750 !important;
  box-shadow:none !important;
  transform:none !important;
}

.cookie-btn-primary{
  background:#2563eb !important;
  color:#fff !important;
  border:1px solid #2563eb !important;
}

.cookie-btn-primary:hover{
  background:#1d4ed8 !important;
}

.cookie-btn-secondary{
  background:#fff !important;
  color:#0f172a !important;
  border:1px solid #cbd5e1 !important;
}

.cookie-btn-secondary:hover{
  background:#f8fafc !important;
}

.cookie-settings-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:4100;
}

.cookie-settings-modal.is-open{
  display:block;
}

.cookie-settings-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.74);
}

.cookie-settings-dialog{
  position:relative;
  z-index:1;
  width:min(720px, calc(100% - 32px));
  max-height:calc(100vh - 64px);
  overflow-y:auto;
  margin:32px auto;
  padding:32px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 28px 80px rgba(15,23,42,.28);
}

.cookie-settings-close{
  position:absolute;
  right:16px;
  top:14px;
  width:42px !important;
  height:42px;
  padding:0 !important;
  border-radius:50% !important;
  background:#eef4fb !important;
  color:#0f172a !important;
  box-shadow:none !important;
  font-size:27px !important;
}

.cookie-settings-dialog h2{
  margin:0 48px 8px 0;
  color:#0f172a;
  font-size:28px;
}

.cookie-settings-intro{
  margin:0 0 24px;
  color:#64748b;
}

.cookie-category{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 0;
  border-top:1px solid #e2e8f0;
}

.cookie-category h3{
  margin:0 0 6px;
  color:#0f172a;
  font-size:18px;
}

.cookie-category p{
  margin:0;
  color:#64748b;
  line-height:1.55;
  font-size:14px;
}

.cookie-switch{
  position:relative;
  flex:0 0 48px;
  width:48px;
  height:28px;
}

.cookie-switch input{
  opacity:0;
  width:0;
  height:0;
}

.cookie-slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#cbd5e1;
}

.cookie-slider::before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(15,23,42,.18);
}

.cookie-switch input:checked + .cookie-slider{
  background:#2563eb;
}

.cookie-switch input:checked + .cookie-slider::before{
  transform:translateX(20px);
}

.cookie-switch-locked{
  opacity:.9;
}

.cookie-settings-footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-top:22px;
  border-top:1px solid #e2e8f0;
}

.cookie-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:4200;
}

.cookie-modal.is-open,
.cookie-modal.cookie-modal-open{
  display:block;
}

.cookie-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.76);
}

.cookie-modal-dialog{
  position:relative;
  z-index:1;
  width:min(760px, calc(100% - 32px));
  max-height:calc(100vh - 64px);
  overflow-y:auto;
  margin:32px auto;
  padding:34px;
  background:#fff;
  color:#1f2937;
  border:1px solid #dbe5f0;
  border-radius:18px;
  box-shadow:0 28px 80px rgba(15,23,42,.28);
}

.cookie-modal-close{
  position:absolute;
  top:14px;
  right:16px;
  width:42px !important;
  height:42px;
  padding:0 !important;
  border-radius:50% !important;
  background:#eef4fb !important;
  color:#0f172a !important;
  box-shadow:none !important;
  font-size:27px !important;
}

.cookie-modal-dialog h2{
  margin:0 48px 22px 0;
  color:#0f172a;
  font-size:28px;
  text-align:left;
}

.cookie-modal-body p{
  margin-bottom:16px;
  line-height:1.65;
}

@media(max-width:760px){
  .cookie-consent{
    padding:12px;
  }

  .cookie-consent-card{
    flex-direction:column;
    align-items:stretch;
    gap:18px;
    padding:22px;
  }

  .cookie-consent-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .cookie-btn{
    width:100% !important;
  }

  .cookie-settings-dialog,
  .cookie-modal-dialog{
    width:calc(100% - 20px);
    max-height:calc(100vh - 20px);
    margin:10px auto;
    padding:26px 20px;
  }

  .cookie-settings-footer{
    flex-direction:column;
  }
}
