/* --- 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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  background: #F3E8D7;
  color: #1A3556;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  border: 0;
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #25A18E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ea5353;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- BRAND COLORS --- */
:root {
  --color-primary: #1A3556;
  --color-secondary: #25A18E;
  --color-accent: #F3E8D7;
  --color-electric: #ea5353;
  --color-yellow: #ffc800;
  --color-light: #fff;
  --color-dark: #111b24;
  --shadow-high: 0 8px 28px rgba(26,53,86,.15), 0 1.5px 6px rgba(234,83,83,.06);
  --shadow-card: 0 2px 8px rgba(37,161,142,0.15);
  --radius: 18px;
  --radius-small: 8px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
p, ul, ol, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.7;
}
strong {
  font-weight: bold;
}

@media (min-width: 500px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.7rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.7rem; }
}

/* --- GLOBAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: var(--color-primary);
  box-shadow: var(--shadow-high);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 70px;
}
.main-nav a img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav ul li a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px 4px;
  border-radius: var(--radius-small);
  transition: color .22s, background .18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cta-btn {
  margin-left: 18px;
  background: var(--color-electric);
  color: var(--color-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(234,83,83,.16);
  transition: background 0.23s, box-shadow 0.23s, transform 0.18s;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-light);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37,161,142,.18);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-electric);
  color: var(--color-light);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 11px;
  z-index: 120;
  border: none;
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-primary);
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.82,-0.02,.32,1.12);
  z-index: 200;
  box-shadow: 0 8px 32px rgba(26,53,86,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-electric);
  color: var(--color-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  align-self: flex-end;
  margin-bottom: 16px;
  border: none;
  transition: background .16s;
  z-index: 201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-yellow);
  color: var(--color-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.37rem;
  font-weight: 700;
  padding: 10px 0 10px 20px;
  border-radius: var(--radius);
  background: none;
  transition: background .15s, color .18s;
  margin-right: 40px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 1024px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-yellow) 100%);
  color: var(--color-primary);
  padding: 60px 0 40px 0;
  margin-bottom: 40px;
  border-bottom: 7px solid var(--color-electric);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 0;
  max-width: 650px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
  text-shadow: 0 2px 8px rgba(37,161,142,0.09);
}
.hero p {
  color: var(--color-dark);
  font-size: 1.17rem;
  margin-bottom: 16px;
  margin-top: -4px;
}
@media (min-width: 850px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
  }
  .hero .content-wrapper {
    padding-right: 56px;
    align-items: flex-start;
  }
}

/* --- FEATURES SECTION --- */
.features {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-high);
}
.features .content-wrapper {
  align-items: flex-start;
}
.features h2 {
  color: var(--color-secondary);
  margin-bottom: 20px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.13rem;
}
.features ul li img {
  width: 36px;
  height: 36px;
}
@media (min-width: 600px) {
  .features ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
}

/* --- SERVICE CARDS --- */
.services-preview .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 16px 0;
}
.services-preview .service-cards > div {
  flex: 1 1 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px 16px 24px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.services-preview .service-cards > div:hover {
  box-shadow: 0 6px 24px rgba(37,161,142,.22);
  transform: translateY(-2px) scale(1.03);
}
.services-preview .service-cards h3 {
  color: var(--color-primary);
  font-size: 1.18rem;
}
.services-preview .service-cards strong {
  color: var(--color-electric);
  font-weight: 800;
}

/* --- ABOUT / TRUST BADGES --- */
.about-preview .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.about-preview .trust-badges span {
  background: var(--color-secondary);
  color: var(--color-light);
  font-weight: bold;
  border-radius: var(--radius-small);
  padding: 7px 16px;
  font-size: 0.98rem;
  letter-spacing: 0.5px;
}

/* --- TESTIMONIALS --- */
.testimonials-preview, .reviews {
  background: var(--color-accent);
}
.testimonials-preview .testimonial-card, .reviews .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.09rem;
  line-height: 1.8;
  transition: box-shadow .18s, transform .16s;
  min-width: 0;
}
.testimonials-preview .testimonial-card:hover, .reviews .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(26,53,86,.14);
  transform: translateY(-2px) scale(1.01);
}
.testimonials-preview .testimonial-card span, .reviews .testimonial-card span {
  color: var(--color-secondary);
  font-size: 1rem;
}
.review-summary {
  background: var(--color-secondary);
  color: var(--color-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 14px 24px;
  border-radius: var(--radius-small);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* --- CTA FINAL --- */
.cta-final, .cta-section {
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.cta-final h2, .cta-section h2 {
  color: var(--color-light);
}
.cta-final p, .cta-section p {
  color: var(--color-accent);
  font-size: 1.14rem;
}

/* --- CARD PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  transition: box-shadow .16s, transform .15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(37,161,142,.15);
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.98rem;
  border-top: 6px solid var(--color-electric);
  margin-top: 50px;
  letter-spacing: .5px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 0 18px 0;
}
.footer-main img {
  max-width: 60px;
  margin-bottom: 8px;
}
.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-main nav a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 700;
  letter-spacing: .5px;
  transition: color .16s;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  color: var(--color-yellow);
}
.footer-contact {
  color: var(--color-accent);
  font-size: 0.97rem;
  text-align: center;
  margin-bottom: 16px;
}
.footer-legal {
  text-align: center;
  background: var(--color-dark);
  color: var(--color-accent);
  font-size: 0.92rem;
  padding: 12px 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* --- CONTACT BLOCK --- */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.contact-block p {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.07rem;
  color: var(--color-dark);
}
.contact-block a {
  color: var(--color-electric);
  text-decoration: underline;
  font-weight: bold;
  transition: color .16s;
}
.contact-block a:hover, .contact-block a:focus {
  color: var(--color-secondary);
}
.map-embed {
  background: #e9eaf3;
  color: var(--color-primary);
  border-radius: var(--radius-small);
  padding: 18px 12px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- TEXT SECTION / BULLETS --- */
.text-section ul,
.text-section ol {
  padding-left: 20px;
  margin: 9px 0 16px 0;
  color: var(--color-primary);
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 1.4em;
  font-size: 1.04rem;
  line-height: 1.65;
}
.text-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.05em;
}
.text-section ol li {
  counter-increment: step;
}
.text-section ol li::before {
  content: counter(step) '.';
  position: absolute;
  left: 0;
  color: var(--color-electric);
  font-weight: bold;
  font-size: 1.05em;
}
.text-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- ABOUT QUALIFICATIONS & BADGES --- */
.qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.qualifications span {
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: bold;
  padding: 6px 15px;
  border-radius: var(--radius-small);
  font-size: 0.98rem;
}

/* --- QUOTE PAGE TIMELINE --- */
.timeline-graphic {
  margin-top: 18px;
  color: var(--color-electric);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

/* --- SERVICE GRID (servizi.html) --- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 30px 0;
}
.service-grid > div {
  flex: 1 1 280px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 16px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-grid > div:hover {
  box-shadow: 0 8px 26px rgba(26,53,86,.12);
  transform: translateY(-2px) scale(1.03);
}
.service-grid h2 {
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.service-grid strong {
  color: var(--color-electric);
  font-weight: 800;
}

/* --- QUOTE BENEFITS SECTION --- */
.benefits ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 14px 0;
}
.benefits li {
  color: var(--color-primary);
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding-left: 1.4em;
  position: relative;
}
.benefits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

/* --- THANK YOU --- */
.thank-you .cta-btn {
  margin-top: 20px;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .footer-main {
    padding: 22px 0 9px 0;
    gap: 12px;
  }
  .content-wrapper { gap: 15px;}
  .section { padding: 24px 5px; margin-bottom: 38px; }
  .hero { padding: 32px 0 18px 0; }
  .features ul { gap: 12px; }
  .card-container, .service-grid, .services-preview .service-cards {
    gap: 12px;
  }
  .card, .service-grid > div, .services-preview .service-cards > div {
    padding: 16px 10px;
  }
  .card, .testimonial-card {
    font-size: 0.99rem;
  }
  .footer-main nav { font-size: 0.97rem; }
  .footer-contact { font-size: 0.90rem; }
  .review-summary { font-size: 0.97rem; }
  .about-preview .trust-badges { gap: 10px; }
  .qualifications { gap: 8px; }
  .timeline-graphic { font-size: 0.97rem; }
  .cta-btn { padding: 10px 14px; font-size: 0.98rem; }
}
@media (max-width: 600px) {
  .service-grid, .services-preview .service-cards {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 14px;
    align-items: stretch;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .testimonial-card, .service-grid > div, .services-preview .service-cards > div {
  transition: box-shadow 0.18s, transform 0.17s;
}
.cta-btn, .main-nav ul li a, .mobile-nav a {
  transition: color 0.22s, background 0.2s, transform 0.15s;
}
.footer-main nav a {
  transition: color 0.17s;
}
.mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.16s;
}

/* --- COOKIE CONSENT BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -7px 32px rgba(26,53,86,.15);
  border-top: 4px solid var(--color-secondary);
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.37s cubic-bezier(.75,.2,.4,1.1), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner.hide {
  opacity: 0; transform: translateY(70px);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--color-primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  padding: 10px 18px;
  font-size: 0.98rem;
  border-radius: var(--radius-small);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.18s;
  margin-right: 4px;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-electric);
}
.cookie-banner .reject {
  background: var(--color-electric);
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-secondary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom:0;
  background: rgba(26,53,86,0.44);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  max-width: 430px;
  width: 94vw;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(26,53,86,.19);
  padding: 36px 30px 22px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-electric);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  font-family: inherit;
  font-weight: bold;
  border: none;
  transition: background .15s;
  z-index: 4101;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
}
.cookie-modal h2 {
  font-size: 1.19rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: bold;
  color: var(--color-primary);
  font-size: 1.06rem;
  margin-right: 9px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px; height: 18px; margin-top: 2px;
}
.cookie-category .alwayson {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 0.97rem;
  margin-left: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  padding: 10px 20px;
  border-radius: var(--radius-small);
  font-weight: bold;
  font-size: 0.98rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .modal-actions button:last-child {
  background: var(--color-electric);
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
@media (max-width: 450px) {
  .cookie-modal { padding: 20px 6px 10px 6px; font-size: 0.95rem; }
  .cookie-modal h2 { font-size: 1.07rem; }
}

/* --- OVERLAY + UTILITY CLASSES --- */
.overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(26,53,86,0.26);
  z-index: 2970;
}

/* --- MISC --- */
::-webkit-scrollbar { width: 11px; background: #e7f3ef; }
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 30px;  
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-electric);
}

/* --- HIGH ENERGY ACCENTS (VIBRANT ENERGETIC STYLE) --- */
.section, .card, .service-grid > div, .testimonial-card {
  border-left: 7px solid var(--color-electric);
}
.features ul li img, .contact-block img {
  filter: drop-shadow(0 1.5px 8px var(--color-yellow));
}
.card::after, .service-grid > div::after, .testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 13px;
  right: 19px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-yellow);
  opacity: .15;
  z-index: 2;
}
.card:hover::after, .service-grid > div:hover::after, .testimonial-card:hover::after {
  opacity: .22;
  background: var(--color-electric);
}

/* --- ADEQUATE SPACING for ALL CARDS & SECTIONS --- */
.card, .testimonial-card, .section, .service-grid > div, .services-preview .service-cards > div {
  margin-bottom: 20px;
}
.section:not(:last-child) { margin-bottom: 60px; }

/* --- PREVENT OVERLAPPING --- */
.card, .testimonial-card, .service-grid > div, .services-preview .service-cards > div, .content-wrapper, .container {
  min-width: 0;
}

/* --- ACCESSIBLE FOCUS STATES --- */
a:focus, button:focus, .cta-btn:focus, .cookie-banner button:focus, .cookie-modal-close:focus {
  outline: 3px solid var(--color-electric);
  outline-offset: 2px;
}

/* --- END --- */