/* ================== CSS RESET & NORMALIZE ================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8F9FB;
  color: #232729;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
* {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  appearance: none;
}

/* ================== SCANDINAVIAN CLEAN THEME ================== */
:root {
  --brand-primary: #1C355E;
  --brand-secondary: #6DBA8C;
  --brand-accent: #F8F9FB;
  --gray-700: #232729;
  --gray-500: #8C929C;
  --white: #fff;
  --border-radius: 14px;
  --shadow-soft: 0 2px 16px 0 rgba(28,53,94,0.10), 0 1.5px 6px 0 rgba(60,64,67,.05);
  --shadow-card: 0 2px 8px 0 rgba(28,53,94,0.04), 0 1.5px 3px rgba(60,64,67,0.10);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --section-padding: 40px 20px;
  --section-margin: 60px;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.13;
  margin-bottom: var(--space-md);
}
h2 {
  font-size: 1.75rem; /* 28px */
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: var(--space-sm);
}
h4, h5, h6 {
  font-size: 1.12rem;
  font-weight: 600;
}
p, li, ul, ol, article, .content-wrapper, .tagline, .text-section {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong { font-weight: 600; }
small {
  font-size: .88em;
  color: var(--gray-500);
}
.tagline {
  display: block;
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-top: var(--space-sm);
  font-weight: 500;
}

/* ================== CONTAINER & SECTION LAYOUTS ================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: var(--brand-accent);
  border-radius: var(--border-radius);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .container { padding: 0 10px; }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
}

/* ================== HEADER & NAVIGATION ================== */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 0 24px;
}
nav.main-nav a {
  font-family: var(--font-body);
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
nav.main-nav .cta {
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 18px;
  font-family: var(--font-display);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
nav.main-nav .cta:hover,
nav.main-nav .cta:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 18px 0 rgba(109,186,140,0.12);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: var(--white);
  border: none;
  border-radius: 7px;
  width: 46px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 24px;
  z-index: 130;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px 0 rgba(109,186,140,0.13);
}

@media (max-width: 1024px) {
  nav.main-nav {
    gap: 0 16px;
  }
  nav.main-nav .cta { margin-left: 10px; padding: 10px 20px; }
}
@media (max-width: 900px) {
  nav.main-nav { gap: 0 12px; }
  nav.main-nav a, nav.main-nav .cta { font-size: 0.98rem; }
}
@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ================== MOBILE MENU OVERLAY ================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.07);
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.34s cubic-bezier(.6,.01,.24,1), transform 0.34s cubic-bezier(.6,.01,.24,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  font-size: 2.15rem;
  border: none;
  margin: 24px 0 8px 24px;
  align-self: flex-start;
  cursor: pointer;
  line-height: 1;
  border-radius: 8px;
  padding: 3px 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 32px 0 32px;
  gap: 24px;
}
nav.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--brand-primary);
  padding: 14px 0;
  font-weight: 600;
  border-bottom: 1px solid #EEF1F6;
  transition: color 0.18s;
}
nav.mobile-nav a:last-child {
  border-bottom: none;
}
nav.mobile-nav a:active,
nav.mobile-nav a:hover,
nav.mobile-nav a:focus {
  color: var(--brand-secondary);
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============= MAIN PAGE LAYOUT UTILS ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-md);
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 240px;
  flex: 1 1 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(28,53,94,0.14), 0 1.5px 11px 0 rgba(60,64,67,0.04);
  transform: translateY(-2px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Specific pattern for text-image-section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-left: 5px solid var(--brand-secondary);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(109,186,140,0.12);
  border-left: 5px solid var(--brand-primary);
}
.testimonial-card p {
  color: #292F36;
  font-size: 1.09rem;
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #464B55;
  font-size: .98rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: 5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 18px 18px 20px 18px;
  margin: 0 0 20px 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.16s, border 0.14s;
  min-width: 180px;
  flex: 1 1 210px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 24px 0 rgba(28,53,94,0.09);
}
.feature-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 6px;
}
.feature-item h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
  color: var(--brand-primary);
}
.feature-item p {
  font-size: .98rem;
  color: #364057;
}

/* ============= HERO AREA (index) ============= */
.hero {
  background: linear-gradient(117deg, #F8F9FB 54%, #f5f8f6 98%);
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--section-margin);
  padding: 55px 0 45px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 520px;
  padding: 0;
}
.hero h1 { font-size: 2.65rem; color: var(--brand-primary); margin-bottom: var(--space-md); }
.hero p { font-size: 1.18rem; color: var(--brand-secondary); margin-bottom: var(--space-md); }
.hero .cta { margin-top: var(--space-md); }
@media (max-width: 768px) {
  .hero { min-height: 200px; padding: 35px 0 25px 0; }
  .hero h1 { font-size: 2rem; }
}

/* ============= FEATURES (index) ============= */
.features {
  background: var(--brand-accent);
  border-radius: var(--border-radius);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: var(--space-md);
}
@media (max-width: 900px) {
  .features .feature-grid { gap: 18px; }
}
@media (max-width: 650px) {
  .features .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ============= SERVICE CARDS ============= */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 28px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(30,58,79,0.13);
  transform: translateY(-3px) scale(1.01);
}
.service-card h2 {
  font-size: 1.2rem;
  color: var(--brand-primary);
}
.service-card p {
  font-size: 1rem;
  margin-top: 8px;
  color: var(--gray-700);
}

@media (max-width: 800px) {
  .service-cards { flex-direction: column; gap: 14px; }
}

/* ============= PROJECT HIGHLIGHTS/PAGE ============= */
.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px 24px 18px;
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.project-item:hover, .project-item:focus-within {
  box-shadow: 0 4px 18px 0 rgba(28,53,94,0.10);
  transform: scale(1.01);
}

@media (max-width: 750px) {
  .project-highlights {
    flex-direction: column;
    gap: 14px;
  }
}

/* ============= TESTIMONIAL SECTIONS ============= */
.testimonials, .testimonials-preview {
  background: var(--brand-accent);
  border-radius: var(--border-radius);
  padding: var(--section-padding);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 15px 0;
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
}
.testimonial-cta .cta {
  margin-top: var(--space-md);
}

/* ============= BLOG PAGE ============= */
.blog-list article {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  padding: 20px 22px 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.blog-list article:hover, .blog-list article:focus-within {
  box-shadow: 0 6px 20px 0 rgba(28,53,94,0.09);
  transform: translateY(-3px) scale(1.01);
}
.blog-list h2 {
  margin-bottom: 7px;
}

.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}
.blog-categories li {
  background: #eef4ee;
  padding: 6px 16px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 500;
}

/* ============= LEGAL SECTIONS ============= */
.legal {
  background: var(--brand-accent);
  padding: var(--section-padding);
  border-radius: var(--border-radius);
  margin-bottom: var(--section-margin);
}

/* ============= THANK YOU PAGE ============= */
.thank-you a.cta { margin-top: var(--space-md); }

/* ============= CONTACT FORM/DETAILS ============= */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

/* ============= CARDS & UTILS ============= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
}

/* ============= CTA BUTTONS ============= */
.cta {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  background: var(--brand-secondary);
  border: none;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 12px 34px;
  font-size: 1.1rem;
  line-height: 1.2;
  cursor: pointer;
  outline: none;
  display: inline-block;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.13s;
  letter-spacing: 0.02em;
}
.cta:hover, .cta:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  box-shadow: 0 2px 20px 0 rgba(109,186,140,0.16);
  transform: translateY(-1px) scale(1.01);
}

/* ============= FOOTER ============= */
footer {
  background: var(--white);
  border-top: 1px solid #e4e9ee;
  margin-top: 70px;
  color: var(--gray-700);
  font-size: 1rem;
  padding: 32px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px 60px;
}
footer img {
  min-width: 60px;
  max-width: 70px;
  margin-bottom: 13px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 132px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-size: .97rem;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--brand-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  color: var(--gray-700);
}
footer small {
  color: var(--gray-500);
  font-size: .94rem;
  margin-top: 10px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer img { margin-bottom: 6px; }
}

/* ============= COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2200;
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: 0 -4px 36px 0 rgba(28,53,94,0.13);
  padding: 22px 18px 16px 22px;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: center;
  min-width: 0;
  max-width: 700px;
  margin: 0 auto;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s, transform 0.29s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner-text {
  flex: 2 1 360px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  font-family: var(--font-display);
  border: none;
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.15s;
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: var(--white);
  font-weight: 600;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus{
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.cookie-banner .reject {
  background: #f0f5f0;
  color: var(--brand-primary);
  font-weight: 500;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus{
  background: #e4e9ee;
  color: var(--brand-secondary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--white);
  color: var(--brand-secondary);
  border: 1.5px solid var(--brand-secondary);
  font-weight: 500;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus{
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 98vw;
    left: 2vw; right: 2vw;
    padding: 16px 10px 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    gap: 9px;
    flex-wrap: wrap;
  }
  .cookie-banner-text {
    font-size: .97rem;
  }
}

/* ============= COOKIE SETTINGS MODAL ============= */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  z-index: 2300;
  background: rgba(60, 60, 64, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(28,53,94,0.08);
  min-width: 300px;
  max-width: 400px;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.29s cubic-bezier(.55,-0.06,.51,.97);
  position: relative;
}
@keyframes modalPopIn {
  from { opacity:0; transform: scale(.92) translateY(15px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.23rem;
  margin-bottom: 6px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: var(--gray-700);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e2e8ec;
  border-radius: 16px;
  transition: background 0.15s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: var(--brand-secondary);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 2.5px rgba(67,123,69,0.15);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .essential {
  color: #9b9b9b;
  font-size: 0.98em;
  font-style: italic;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 8px 23px;
  cursor: pointer;
  background: var(--brand-secondary);
  color: var(--white);
  font-weight: 600;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal button.cancel {
  background: #e3e9ec;
  color: var(--gray-700);
  font-weight: 500;
}
.cookie-modal button.cancel:hover {
  background: #d2dadd;
  color: var(--gray-500);
}
.cookie-modal button.submit {
  background: var(--brand-secondary);
  color: var(--white);
}
.cookie-modal button.submit:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  font-size: 1.4em;
  color: var(--brand-primary);
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--brand-secondary);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 9px 17px 11px;
    min-width: 0;
    max-width: 92vw;
  }
}

/* ========= MISC UTILS, ANIMATIONS, AND OVERRIDES ========= */
/* Spacing between all content cards/sections */
section, .section { margin-bottom: var(--section-margin); }
section:last-child, .section:last-child { margin-bottom: 0; }
.card, .service-card, .feature-item, .testimonial-card, .project-item, .blog-list article {
  margin-bottom: 20px;
}
@media (max-width: 768px){
  section, .section { margin-bottom: 34px; }
  .hero { margin-bottom: 34px; }
}

::-webkit-input-placeholder { color: #b9bcc2; opacity: 1; }
::-moz-placeholder { color: #b9bcc2; opacity:1; }
:-ms-input-placeholder { color: #b9bcc2; opacity:1; }
::placeholder { color: #b9bcc2; opacity:1; }

/* Hide outline except on focus for accessibility */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-secondary); }

/* Accessibility: Ensure all icons (esp. in contacts) have enough vertical align */
img[alt$='icon'], img[alt^='icon-'], img[alt*='Icon'], img.icon {
  vertical-align: middle;
}

/* ========== RESPONSIVE UTILS ========== */
@media (max-width: 980px) {
  .container { max-width: 98vw; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .content-wrapper { gap: var(--space-sm); }
  body, .contact-details p, .blog-categories li, .blog-list article, .testimonial-card, .service-card, .project-item {
    font-size: 0.97rem;
  }
  footer {
    font-size: .96rem;
    padding: 18px 0 11px 0;
  }
}

/* ========== END SCANDINAVIAN CLEAN ========== */
