/* ===================================================================
   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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  background: #F8F8F2;
  color: #262d36;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  letter-spacing: .01em;
  font-weight: 400;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  color: #1E223A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #40805C;
  outline-offset: 2px;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ===================================================================
   VARIABLES and GENERIC UTILITIES
   =================================================================== */
:root {
  --color-primary: #1E223A;
  --color-secondary: #40805C;
  --color-accent: #F8F8F2;
  --color-muted: #E5E5DD;
  --color-muted-dark: #D6D6D0;
  --color-grey: #B2B2AB;
  --color-shadow: rgba(30,34,58,0.08);
  --color-border: #D1CEC5;
  --heading-font: 'Georgia', 'Times New Roman', Times, serif;
  --body-font: 'Libre Baskerville', 'Times New Roman', Times, serif;
  --display-font: 'Montserrat', 'Georgia', serif;
  --sans: 'Open Sans', Arial, sans-serif;
}

/* ===================================================================
   LAYOUT CONTAINERS
   =================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 12px 32px var(--color-shadow);
}

.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: 12px;
  background: #fff;
  color: #222233;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--color-shadow);
  border: 1px solid var(--color-border);
  max-width: 580px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  font-style: italic;
  font-size: 18px;
  color: #1E223A;
}
.testimonial-card span {
  font-size: 15px;
  color: #4E584C;
  font-family: var(--body-font);
  font-weight: 600;
  margin-top: 5px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  border-color: var(--color-secondary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1 {
  font-family: var(--display-font);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h3 {
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-family: var(--body-font);
  font-size: 18px;
  color: #2c2f38;
  line-height: 1.7;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
}
i, em {
  font-style: italic;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, .cta-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.cta-link {
  color: var(--color-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 17px;
  background: none;
}
.cta-link:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

/* ===================================================================
   HEADER, NAVIGATION, BURGER MENU
   =================================================================== */
header {
  background: white;
  box-shadow: 0 2px 14px var(--color-shadow);
  border-bottom: 1.5px solid var(--color-muted-dark);
  padding: 0;
  position: sticky; /* stays at top */
  top: 0;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  max-height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--body-font);
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 600;
  padding: 7px 7px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-muted);
  color: var(--color-secondary);
  outline: none;
}

.cta-btn.primary {
  background: var(--color-secondary);
  color: white;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 32px;
  letter-spacing: 0.02em;
  margin-left: 16px;
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
  display: inline-block;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #276446;
  color: #fff;
  box-shadow: 0 4px 24px var(--color-shadow);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-muted-dark);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 34, 58, 0.94);
  color: white;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  padding: 18px 16px 6px 18px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  margin: 0 0 8px 0;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #40805C44;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 36px;
  margin-top: 32px;
  width: calc(100vw - 60px);
}
.mobile-nav a {
  color: #fff;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 700;
  padding: 10px 6px;
  border-radius: 0;
  transition: background 0.15s, color 0.2s;
  min-height: 44px;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: #ffffff18;
  outline: none;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
  background: linear-gradient(90deg, #F8F8F2 66%, #EDEEEC 100%);
  border-bottom: 1px solid var(--color-muted);
  padding: 62px 0 36px 0;
  margin-bottom: 0px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 700px;
}
.hero.thank-you {
  background: linear-gradient(79deg, #F8F8F2 75%, #F1F1ED 100%);
}

/* ========================================
   FEATURES, CARDS, BLOG POSTS
   ======================================== */
.features {
  background: #FCFCFA;
  border-top: 1px solid var(--color-muted-dark);
  border-bottom: 1px solid var(--color-muted-dark);
  margin-bottom: 54px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 24px;
  margin-bottom: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 3px 14px var(--color-shadow);
  border-radius: 10px;
  padding: 28px 24px 22px 24px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  gap: 10px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature img {
  height: 44px;
  margin-bottom: 10px;
}
.feature h3 {
  margin-bottom: 8px;
}
.feature:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 12px 24px var(--color-shadow);
}

.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 11px;
  padding: 28px 22px 18px 22px;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: border-color 0.17s, box-shadow 0.17s;
}
.blog-card h3 {
  font-size: 21px;
  line-height: 1.3;
}
.blog-card span {
  font-size: 16px;
  color: var(--color-grey);
  font-family: var(--body-font);
  margin-bottom: 2px;
}
.blog-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 10px 28px var(--color-shadow);
}

/* ========================================
   SERVICE CARDS & TEAM PROFILES
   ======================================== */
.services .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
  margin-bottom: 22px;
}
.service {
  background: #fff;
  border-radius: 11px;
  border: 1.2px solid var(--color-border);
  box-shadow: 0 2px 12px var(--color-shadow);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: border-color 0.18s, box-shadow 0.19s;
}
.service img {
  height: 44px;
}
.service h3 {
  margin-bottom: 5px;
  margin-top: 6px;
}
.service > a.cta-link {
  margin-top: 7px;
}
.service:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 12px 38px var(--color-shadow);
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.team-member {
  background: #fff;
  border: 1.2px solid var(--color-border);
  border-radius: 11px;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.18s, box-shadow 0.19s;
}
.team-member img {
  height: 44px;
}
.team-member h3 {
  margin-bottom: 7px;
  color: var(--color-primary);
}
.team-member ul {
  list-style: disc inside;
  margin-left: 0;
  margin-top: 2px;
}
.team-member:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 26px var(--color-shadow);
}

/* ========================================
   CTA, FORMS
   ======================================== */
.cta {
  background: #FCFCFA;
  border-radius: 14px;
  box-shadow: 0 1px 9px var(--color-shadow);
  padding: 44px 0;
  margin-bottom: 44px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}

.newsletter-form {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form input[type="email"] {
  border: 1px solid var(--color-border);
  border-radius: 7px;
  padding: 11px 16px;
  font-size: 16px;
  font-family: var(--body-font);
  width: 0;
  flex: 1 1 160px;
  color: var(--color-primary);
  background: #fff;
  transition: border-color 0.15s;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--color-secondary);
  outline: none;
}
.newsletter-form button[type="submit"] {
  min-width: 120px;
  padding: 11px 0;
  font-size: 17px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #f5f5ee;
  border-top: 1px solid var(--color-muted-dark);
  font-family: var(--body-font);
  color: #43454A;
  padding: 0;
}
footer .container {
  gap: 32px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
}
.footer-contact p {
  margin-bottom: 4px;
  color: #43454a;
}

/* ========================================
   POLICY PAGES (privacy, gdpr, cookies, terms)
   ======================================== */
.footer-content {
  background: #fff;
  border: 1px solid var(--color-muted);
  border-radius: 13px;
  margin: 50px auto 40px auto;
  padding: 50px 24px;
  max-width: 820px;
  box-shadow: 0 3px 19px var(--color-shadow);
}
.footer-content h1 {
  font-size: 39px;
  font-family: var(--display-font);
  margin-bottom: 24px;
}
.footer-content h2 {
  font-size: 28px;
  margin-bottom: 17px;
}
.footer-content h3 {
  font-size: 20px;
  color: var(--color-primary);
  font-family: var(--body-font);
  margin-bottom: 10px;
}
.footer-content p, .footer-content ul, .footer-content li {
  color: #222233;
  font-size: 17px;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ======================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid, .team-members, .service-cards {
    gap: 22px;
  }
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .hero {
    padding: 32px 0 20px 0;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  .main-nav {
    display: none;
  }
  .cta-btn.primary,
  .cta-link {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .team-members, .service-cards, .blog-posts {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .service, .feature, .team-member, .blog-card {
    max-width: 100vw;
    min-width: 0;
  }
  .footer-content {
    margin: 32px 3px;
    padding: 18px 6px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 8px;
    max-width: 96vw;
  }
  .footer-contact {
    font-size: 15px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-top: 19px;
    padding-bottom: 20px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 26px; }
  h2 { font-size: 19px; }
  h3 { font-size: 16px; }
  .logo img {
    max-height: 34px;
  }
  .testimonial-card {
    padding: 15px;
    font-size: 16px;
  }
  .feature, .team-member, .service {
    padding: 13px 8px 11px 12px;
  }
}

/* Text-Image Section mobile stacking */
@media (max-width: 992px) {
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* ========================================
   COOKIE CONSENT BANNER & MODAL
   ======================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffdf6;
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-top: 1.5px solid var(--color-muted-dark);
  padding: 17px 18px;
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-family: var(--body-font);
  letter-spacing: .01em;
  transition: transform 0.3s cubic-bezier(.77,0,.175,1), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner__text {
  color: #222233;
  flex: 1 1 140px;
  margin-right: 18px;
  min-width: 180px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 23px;
  border-radius: 5px;
  font-family: var(--display-font);
  font-size: 16px;
  border: 0;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cookie-banner button.cookie-settings {
  background: var(--color-primary);
}
.cookie-banner button.reject {
  background: #7b4f21;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #244032;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover {
  background: #293146;
}
.cookie-banner button.reject:hover {
  background: #a36931;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  background: rgba(30,34,58,0.63);
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 52px var(--color-shadow);
  border: 1.6px solid var(--color-border);
  max-width: 420px;
  width: 94vw;
  padding: 39px 28px 29px;
  font-family: var(--body-font);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideUpFade .35s cubic-bezier(.77,0,.175,1);
  z-index: 4200;
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-modal__header {
  font-size: 22px;
  font-family: var(--display-font);
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-modal__desc {
  font-size: 16px;
  color: #1E223A;
}
.cookie-modal__close {
  position: absolute;
  top: 13px;
  right: 11px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 28px;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 6px;
  transition: background 0.15s;
  z-index: 1;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #f1f1e880;
  outline: none;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 5px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 16px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #eee;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: #fff;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: left 0.17s;
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-category .label-desc {
  color: #626d5b;
  font-size: 13px;
  font-style: italic;
  margin-left: 8px;
}
.cookie-modal__footer {
  margin-top: 17px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal button {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--display-font);
  font-size: 16px;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  transition: background 0.17s;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #244032;
}

/* ========================================
   TRANSITIONS & MICRO-INTERACTIONS
   ======================================== */
.card, .feature, .team-member, .service, .testimonial-card, .blog-card {
  transition: box-shadow 0.18s, border-color 0.14s, transform 0.17s;
}
.card:hover, .feature:hover, .team-member:hover, .service:hover, .blog-card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 8px 54px var(--color-shadow);
}
.cta-btn, .cta-link, .main-nav a, .footer-nav a, .mobile-nav a, button {
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

/* =========================================
   MISC OVERRIDES & ACCESSIBILITY
   ========================================= */
[tabindex]:focus, a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: var(--color-grey); }
:-ms-input-placeholder { color: var(--color-grey); }
::placeholder { color: var(--color-grey); }

/* Hide scrollbars on mobile menu overlay */
.mobile-menu, .cookie-modal-backdrop {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal-backdrop::-webkit-scrollbar {
  display: none;
}

/* Ensure min spacing between all blocks/cards */
.section > *, .content-wrapper > *, .services > *, .features > *, .about > *, .footer-content > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child, .services > *:last-child, .features > *:last-child, .about > *:last-child, .footer-content > *:last-child {
  margin-bottom: 0;
}
