/* ========= CSS RESET & NORMALIZATION ========= */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #ffffff;
  color: #235268;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  padding: 0;
  appearance: none;
}
hr {
  border: none;
  border-bottom: 1px solid #F5F7FA;
  margin: 32px 0;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #235268;
  --color-secondary: #F5F7FA;
  --color-accent: #61A3B5;
  --color-dark: #1C3340;
  --color-text: #235268;
  --color-bg: #ffffff;
  --color-bg-alt: #F5F7FA;
  --color-border: #E7ECF3;
  --color-shadow: rgba(35,82,104,0.08);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-outer: 16px;
  --radius-inner: 8px;
  --shadow-card: 0 2px 16px var(--color-shadow);
  --shadow-hover: 0 4px 24px rgba(35,82,104,0.12);

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
}

/* ========== CONTAINER & FLEX PATTERNS ========== */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:last-child {
  margin-bottom: 0;
}

.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 380px;
  flex: 1 1 280px;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== HEADER / NAVIGATION ========== */
header {
  width: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  line-height: 1.2;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.cta-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  margin-left: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.18s, box-shadow 0.22s;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  box-shadow: 0 4px 24px rgba(35,82,104,0.14);
}
.cta-secondary {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, border 0.18s;
  display: inline-block;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.14s;
  z-index: 70;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-bg-alt);
}

/* MOBILE NAV & OVERLAY */
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 82, 104, 0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.16,.29,1.18);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 24px 28px 12px 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(245, 247, 250, 0.07);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 40px 40px 0;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 12px 24px;
  width: auto;
  display: block;
  background: rgba(245,247,250,0.02);
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* HERO SECTION */
.hero {
  background: var(--color-bg-alt);
  padding: 56px 0 48px 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-dark);
  margin-bottom: 2rem;
  max-width: 680px;
}
.hero .cta-primary {
  margin-left: 0;
}

/* ====== FEATURES LIST ====== */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.features-list li {
  flex: 1 1 216px;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .19s;
}
.features-list li:hover {
  box-shadow: var(--shadow-hover);
}
.features-list img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
}
.features-list h3 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.features-list p {
  color: var(--color-dark);
  font-size: 1.01rem;
}

/* ------ SERVICES PREVIEW ------ */
.services-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.services-preview li {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px 18px;
  flex: 1 1 180px;
  min-width: 180px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services-preview strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.services-preview span {
  color: var(--color-dark);
  font-size: 1rem;
}

/* ------ PRODUCTS PREVIEW ------ */
.products-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.products-categories li {
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.products-categories h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 3px;
}
.products-categories p {
  color: var(--color-dark);
  font-size: .95rem;
}

/* ------ TESTIMONIALS ------ */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: .01em;
}
.testimonial-card span,
.testimonial-card strong {
  color: var(--color-dark);
  font-size: 0.99rem;
  font-family: var(--font-body);
}

/* ======= HOME CALLOUT ======= */
.home-callout {
  background: var(--color-primary);
  color: #fff;
  border-radius: 16px;
  padding: 40px 24px;
  margin: 56px 0 48px 0;
}
.home-callout h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.home-callout p {
  color: #f0f5f5;
  font-size: 1.118rem;
  margin-bottom: 20px;
}
.home-callout .cta-secondary {
  border-color: #fff;
  color: #fff;
}
.home-callout .cta-secondary:hover,
.home-callout .cta-secondary:focus {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ====== PAGE HEADINGS / TYPOGRAPHY ====== */
h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.14;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.18;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 4px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin: 0 0 0 14px;
  padding: 0 0 0 14px;
  gap: 10px;
}
.text-section li {
  position: relative;
  margin-bottom: 5px;
  font-size: .99rem;
  color: var(--color-dark);
}
.text-section li:before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.text-section a {
  color: var(--color-accent);
  text-decoration: underline dotted;
  transition: color 0.16s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--color-primary);
}

/* ======= SERVICES LIST STYLES (Page servizi.html) ======= */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.services-list li {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 30px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid var(--color-primary);
  transition: box-shadow .20s;
  position: relative;
}
.services-list li:hover {
  box-shadow: var(--shadow-hover);
}
.services-list h2 {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.service-price {
  margin-top: 8px;
  font-family: var(--font-body);
  color: var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 14px;
  font-size: .98rem;
  font-weight: 600;
  padding: 3px 14px 3px 14px;
  display: inline-block;
}

/* How We Work (ol) section styles */
ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  counter-reset: steps;
  padding: 0 0 0 0;
}
ol li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 32px 20px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
  margin-bottom: 0;
}
ol li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 12px;
  color: var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
}
ol img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 8px;
  margin-top: 6px;
}
ol strong {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* PRODUCTS LIST (prodotti.html) */
.products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 20px;
}
.products-list li {
  background: #fff;
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-card);
  padding: 28px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .19s;
}
.products-list li:hover {
  box-shadow: var(--shadow-hover);
}
.products-list h2 {
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-primary);
}

/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 22px;
}
.contact-details a {
  color: var(--color-accent);
  text-decoration: underline dotted;
}
.contact-details a:hover,
.contact-details a:focus {
  color: var(--color-primary);
}

/* Project Milestones block (progetti.html) */
.project-milestones {
  background: var(--color-bg-alt);
  border-radius: var(--radius-inner);
  padding: 18px 18px;
  margin-top: 20px;
  margin-bottom: 18px;
}
.project-milestones h3 {
  font-size: 1.08rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
}


/* ======= COOKIE CONSENT BANNER ======= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: rgba(245, 247, 250, 0.99);
  color: var(--color-primary);
  box-shadow: 0 -2px 24px rgba(35,82,104,0.08);
  z-index: 110;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 16px 20px;
  font-size: 1rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-banner .cookie-text {
  flex: 1 1 240px;
  color: var(--color-primary);
}
#cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  font-size: .97rem;
  transition: background .16s;
}
.cookie-btn.cookie-alt {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.cookie-alt:hover, .cookie-btn.cookie-alt:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-accent);
}
.cookie-btn.cookie-link {
  background: transparent;
  border: none;
  color: var(--color-accent);
  text-decoration: underline dotted;
  padding: 0 10px;
  font-size: .94rem;
}
.cookie-btn.cookie-link:hover {
  color: var(--color-primary);
}

/* ===== COOKIE PREFERENCES MODAL ===== */
#cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,51,64, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
#cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-outer);
  box-shadow: 0 8px 56px 0 rgba(35, 82, 104, 0.20);
  min-width: 320px;
  max-width: 90vw;
  padding: 40px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: fadein-modal 0.5s cubic-bezier(.13,.63,.24,1.07);
}
@keyframes fadein-modal {
  from { transform: scale(.97) translateY(30px); opacity:0; }
  to   { transform: scale(1)   translateY(0);   opacity:1; }
}
#cookie-modal .cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.33rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category-label {
  font-weight: 500;
  color: var(--color-primary);
  font-size: .99rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  outline: none;
  position: relative;
  transition: background 0.15s;
  margin-right: 8px;
  cursor: pointer;
  border: 1.5px solid var(--color-border);
}
.cookie-toggle:checked {
  background: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s;
  box-shadow: 0 1px 4px rgba(35,82,104,0.08);
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-category-desc {
  font-size: .98rem;
  color: var(--color-dark);
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 1.7rem;
  position: absolute;
  top: 19px; right: 26px;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.12s;
}
.cookie-modal-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-bg-alt);
  padding: 38px 0 24px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: .97rem;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background .12s, color .12s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-primary);
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-dark);
  font-size: 0.98rem;
  margin-top: 6px;
  align-items: center;
  text-align: center;
}
.contact-footer a {
  color: var(--color-accent);
  text-decoration: underline dotted;
}
.contact-footer a:hover {
  color: var(--color-primary);
}

/* ========== RESPONSIVENESS ========== */
@media (max-width:1040px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
}
@media (max-width:900px) {
  .features-list, .services-list, .testimonial-list, .products-list, .products-categories,
  .services-preview {
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width:768px) {
  .container {
    padding: 0 9px;
  }
  header .container {
    padding: 0 8px;
    min-height: 54px;
  }
  .section {
    margin-bottom: 42px;
    padding: 28px 4px;
  }
  .home-callout {
    border-radius: 13px;
    padding: 24px 7px;
    margin: 32px 0;
  }
  .hero {
    padding: 40px 0 34px 0;
  }
  .content-wrapper {
    gap: 15px;
  }
  .card-container, .content-grid, .features-list,
  .testimonial-list, .products-list, .products-categories, .services-list, .services-preview {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    margin-bottom: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 14px 8px;
  }
  ol {
    flex-direction: column;
    gap: 14px;
  }
  ol li > img {
    margin-bottom: 4px;
    margin-top: 2px;
    width: 28px;
    height: 28px;
  }
}
@media (max-width:600px) {
  /* HEADER mobile mode */
  header nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .logo {
    height: 34px;
    margin-right: 0;
  }
  .content-wrapper {
    gap: 8px;
  }
  h1, .hero h1 {
    font-size: 1.36rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .hero {
    padding: 34px 0 22px 0;
  }
  .home-callout h2 {
    font-size: 1.18rem;
  }
  .card, .services-list li, .features-list li, .products-list li, .products-categories li {
    padding: 12px 6px 12px 6px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px 0;
    padding: 10px 8px;
    font-size: .98rem;
  }
  #cookie-banner .cookie-buttons {
    gap: 7px;
  }
  #cookie-modal .cookie-modal-content {
    padding: 18px 8px 16px 8px;
    min-width: 0;
  }
  .mobile-menu .mobile-nav {
    padding: 0 15px 16px 0;
  }
}

/* ========== TRANSITIONS ========== */
.card, .testimonial-card, .features-list li, .services-list li, .products-list li, .products-categories li {
  transition: box-shadow 0.17s, background 0.14s;
}
a, .cta-primary, .cta-secondary, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-close {
  transition: background 0.14s, color 0.14s, border 0.12s;
}

/* ========== ACCESSIBILITY OVERRIDES ========== */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
::-webkit-input-placeholder { color: #B0BCC9; }
::-moz-placeholder { color: #B0BCC9; }
:-ms-input-placeholder { color: #B0BCC9; }
::placeholder { color: #B0BCC9; }

/* ========= UTILITY FLEX CLASSES FOR LAYOUT ========= */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 8px; }
.gap-s { gap: 16px; }
.gap-m { gap: 24px; }
.gap-l { gap: 32px; }

/* ========= PRINT OVERRIDE ========= */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
}
