/* ======================
   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.625;
  background-color: #f6f6f2;
  color: #23395d;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ======================
   CUSTOM PROPERTIES
   ====================== */
:root {
  --color-primary: #23395d;
  --color-secondary: #5e7c99;
  --color-accent: #f6f6f2;
  --color-white: #fff;
  --color-grey: #e9ecef;
  --color-shadow: rgba(35,57,93,0.07);
  --color-mid: #849abb;
  --color-black: #121212;
  --radius-card: 12px;
  --shadow-sm: 0 2px 12px var(--color-shadow);
  --transition: 0.2s cubic-bezier(.36,.7,.33,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ======================
   TYPOGRAPHY
   ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ============================
   CONTAINER & SPACING SYSTEM 
   ============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 4px 24px rgba(35,57,93,0.13);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======================
   FLEX UTILITIES
   ====================== */
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.justify-between {
  justify-content: space-between !important;
}
.gap-20 {
  gap: 20px !important;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 55;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  padding: 7px 15px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav .cta-nav {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  border-radius: 20px;
  padding: 7px 21px;
  margin-left: 10px;
  transition: background var(--transition), box-shadow var(--transition);
}
.main-nav .cta-nav:hover, .main-nav .cta-nav:focus {
  background: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  color: var(--color-white);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 7px;
  cursor: pointer;
  color: var(--color-primary);
  transition: color var(--transition), background var(--transition);
  z-index: 101;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
  outline: 2px solid var(--color-secondary);
}

/* ===============================
   MOBILE MENU (BURGER NAV)
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.55,0,.1,1), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1502;
  transition: color var(--transition);
}
.mobile-menu-close:focus {
  color: var(--color-secondary);
  outline: 2px solid var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 110px 44px 44px 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-grey);
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
  background: var(--color-accent);
  border-radius: 0;
  padding: 52px 0 45px 0;
  margin-bottom: 36px;
  box-shadow: 0 3px 14px rgba(35,57,93,0.06);
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

/* ======================
   CTA BUTTONS
   ====================== */
.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 30px;
  border: none;
  margin-top: 14px;
  box-shadow: 0 2px 12px rgba(35,57,93,0.09);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(35,57,93,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* ============================
   FEATURE GRID & CARDS
   ============================ */
.features {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin: 15px 0 24px 0;
  align-items: flex-start;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--color-primary);
  padding: 10px 0;
  margin-right: 10px;
}
.feature-grid img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.feature-descriptions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 2px;
  margin-bottom: 6px;
}
.feature-descriptions li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-mid);
}

/* ===============
   SERVICE CARDS
   =============== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 12px;
}
.service-cards > div {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px 24px 22px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-cards > div:hover {
  box-shadow: 0 4px 24px rgba(35,57,93,0.11);
  transform: translateY(-2px) scale(1.03);
}
.service-cards img {
  width: 32px;
  height: 32px;
}
.service-cards h3 {
  font-size: 1.15rem;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonials, .testimonials-preview {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.testimonial-card {
  background: var(--color-accent);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-card);
  color: var(--color-primary);
  font-size: 1.04rem;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: var(--color-black);
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-secondary);
  margin-top: -7px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.star-rating img {
  width: 24px;
  height: 24px;
}
.star-overview {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.star-overview img {
  width: 19px;
  height: 19px;
}
.star-overview span {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-left: 4px;
}
.aggregate-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}
.aggregate-rating img {
  width: 19px;
  height: 19px;
}

/* ===============
   ABOUT/TEAM STYLES
   =============== */
.core-values, .benefit-points {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 10px 0 14px 0;
}
.core-values li, .benefit-points li {
  position: relative;
  padding-left: 18px;
  font-size: 1rem;
}
.core-values li::before, .benefit-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 100%;
}
.team-values {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-values h3 {
  font-size: 1.07rem;
  margin-bottom: 3px;
}
.team-values ul {
  gap: 9px;
}

/* ===============
   PROJECTS
   =============== */
.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 15px 0;
}
.project-highlights > div {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  flex: 1 1 270px;
  min-width: 220px;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-highlights > div:hover {
  box-shadow: 0 5px 16px rgba(35,57,93,0.13);
  transform: translateY(-2px) scale(1.015);
}
.qualities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.qualities-grid span {
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 17px;
  border: 1.5px solid var(--color-grey);
  font-size: 1.01rem;
}
.process ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.process ol li {
  margin-bottom: 9px;
  font-family: var(--font-body);
  color: var(--color-primary);
}
.quality-assurance {
  margin-top: 14px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 1.5px 8px rgba(35,57,93,0.04);
  padding: 16px 16px 12px 16px;
}

/* ===============
   FAQ/ACCORDION
   =============== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.accordion > div {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 16px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.accordion > div:hover {
  box-shadow: 0 4px 14px rgba(35,57,93,0.13);
  transform: translateY(-2px) scale(1.01);
}
.accordion h3 {
  color: var(--color-secondary);
  font-size: 1.06rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.accordion p {
  font-size: 1rem;
  color: var(--color-primary);
}

.quick-links {
  margin-top: 14px;
  font-size: 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.quick-links a {
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: underline;
  transition: color var(--transition);
}
.quick-links a:hover {
  color: var(--color-primary);
}

/* ===============
   CONTACT INFO
   =============== */
.contact-info .address-block,
.contact-info .phone-email-block,
.contact-info .opening-hours {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 15px 18px;
  margin-bottom: 14px;
}
.contact-info img {
  width: 26px;
  height: 26px;
}
.opening-hours img {
  width: 22px;
  height: 22px;
}

/* MAP BLOCK */
.map-block .address-text {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 10px 16px;
  font-size: 1.01rem;
  margin-bottom: 12px;
}
.embedded-map {
  background: var(--color-grey);
  border-radius: var(--radius-card);
  padding: 15px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.embedded-map img {
  width: 100%;
  max-width: 260px;
  height: auto;
}

/* LEGAL PAGES */
.legal-section {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  margin-top: 26px;
}
.legal-section h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.legal-section ul {
  margin: 18px 0;
  padding-left: 17px;
}
.legal-section ul li {
  font-size: 1rem;
  margin-bottom: 11px;
  color: var(--color-primary);
}

/* THANK YOU */
.thankyou-section {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  margin: 50px 0;
  text-align: center;
  padding: 60px 0 80px 0;
}
.thankyou-section h1 {
  margin-bottom: 25px;
}
.thankyou-section p {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

/* CTA BANNER */
.cta-banner {
  background: var(--color-secondary);
  color: var(--color-accent);
  border-radius: var(--radius-card);
  margin-top: 50px;
  margin-bottom: 32px;
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta-banner h2 {
  color: var(--color-accent);
}
.cta-banner p {
  color: var(--color-accent);
}

/* =============================
        FOOTER
   ============================= */
footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-grey);
  padding: 40px 0 22px 0;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 0.99rem;
}
.footer-brand img {
  width: 42px;
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.995rem;
}
.footer-nav a {
  color: var(--color-mid);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 8px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(30%);
  transition: filter var(--transition), transform var(--transition);
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
  transform: scale(1.08);
}

/* ===============================
      COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 40px rgba(35,57,93,0.11), 0 -1px 0 var(--color-grey);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
  padding: 20px 25px;
  z-index: 1800;
  transition: transform 0.28s, opacity 0.15s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
}
.cookie-banner .reject {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-grey);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-grey);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1820;
  background: rgba(35,57,93,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: 0 7px 40px rgba(35,57,93,0.18);
  min-width: 320px;
  max-width: 96vw;
  padding: 35px 25px 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-modal-content .category-desc {
  color: var(--color-mid);
  font-size: 0.95rem;
  margin-left: 35px;
}
.cookie-modal-content .actions {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal-content button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 7px 20px;
  cursor: pointer;
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-content button.secondary {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-modal-content button.secondary:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-modal-content button.close {
  align-self: flex-end;
  margin-bottom: -25px;
  margin-top: -27px;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  transition: color var(--transition);
}
.cookie-modal-content button.close:hover {
  color: var(--color-secondary);
}

/* ===============================
   GENERAL RESPONSIVE LAYOUT
   =============================== */
@media (max-width: 1080px) {
  .container { max-width: 970px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav { gap: 6px; }
  .project-highlights, .service-cards { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 800px) {
  .content-grid, .project-highlights, .footer .container, .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    gap: 13px;
  }
  .features, .about-preview, .services-preview, .testimonials {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  /* --- NAVIGATION & HEADER --- */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding-right: 8px;
  }
  /* --- GENERAL LAYOUT --- */
  .content-grid, .project-highlights, .service-cards, .feature-grid, .footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 5px;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
  .cta-banner, .testimonials {
    margin-top: 30px;
    margin-bottom: 18px;
  }
  .footer .container {
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card {
    padding: 13px 9px 13px 9px;
    font-size: 0.98rem;
  }
  /* Text-image section stacks */
  .text-image-section {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.03rem; }
  .container { padding: 0 6px; }
  .footer .container { gap: 9px; }
  .hero, .section, .cta-banner, .legal-section {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-brand img {
    width: 32px;
    height: 32px;
  }
  .star-rating img, .star-overview img, .aggregate-rating img {
    width: 16px;
    height: 16px;
  }
  .footer .container {
    flex-direction: column;
  }
  .cta-btn { font-size: 1rem; padding: 12px 18px; }
  .cookie-modal-content { min-width: 97vw; padding: 22px 3vw 13px 3vw; }
}
/* ======================
   MICRO-INTERACTIONS
   ====================== */
ul.feature-grid li,
.service-cards > div,
.card,
.testimonial-card,
.project-highlights > div,
.accordion > div,
.quality-assurance {
  transition: box-shadow 0.2s, transform 0.16s;
}
ul.feature-grid li:hover,
.service-cards > div:hover,
.card:hover,
.testimonial-card:hover,
.project-highlights > div:hover,
.accordion > div:hover,
.quality-assurance:hover {
  box-shadow: 0 6px 30px rgba(35,57,93,0.14);
  transform: translateY(-2px) scale(1.015);
}

/* ======================
   FOCUS STYLES
   ====================== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  background: var(--color-grey);
}

/* Ensure minimum spacing for all direct card/section children */
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0 !important;
}

/* ===============
   COLOR CONTRAST (TESTIMONIALS! DARK TEXT)
   =============== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: var(--color-primary);
  background: var(--color-accent);
}
.testimonial-card p {
  color: var(--color-black);
}

/* Hide cookie banner on print */
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
}
