/* --- CSS RESET & BASELINE --- */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section { display: block; }
body { line-height: 1; }
ol,ul { list-style: none; }
blockquote,q { quotes: none; }
blockquote:before,blockquote:after,q:before,q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* --- ROOT VARIABLES for Brand --- */
:root {
  --primary: #19466C;
  --primary-dark: #14385a;
  --secondary: #F0F5F8;
  --secondary-light: #ffffff;
  --accent: #009688;
  --accent-dark: #00796B;
  --muted: #EAE4D9;
  --text: #1B2328;
  --text-light: #384652;
  --card-bg: #fff;
  --border: #D3D8DD;
  --shadow: 0 4px 24px rgba(25, 70, 108, 0.06);
  --radius: 10px;
  --font-display: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: var(--font-body);
  background: var(--secondary);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: var(--accent); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}
h1 { font-size: 2.75rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.32rem; line-height: 1.25; }
h4 { font-size: 1.1rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

p, ul, ol, address { margin-bottom: 16px; }
strong { font-weight: 700; }

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;  
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section { padding: 32px 10px; margin-bottom: 42px; }
  .container { padding-left: 10px; padding-right: 10px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}
.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* --- HEADER --- */
header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 18px rgba(25,70,108,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.brand-logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  opacity: 0.92;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: 1;
}
.cta.primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  letter-spacing: .2px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 18px;
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.09);
  border: none;
  outline: none;
  display: inline-block;
  transition: background .2s, box-shadow .18s, color .18s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 32px rgba(0, 121, 107, 0.18);
  text-decoration: none;
}
.cta.secondary {
  background: none;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background .18s, color .18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--accent);
  color: #fff;
}
.cta.small {
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 6px;
  margin-top: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.0rem;
  cursor: pointer;
  margin-left: 14px;
  line-height: 1;
  z-index: 1201;
  transition: color .15s;
}
.mobile-menu-toggle:focus {
  color: var(--accent);
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container { gap: 7vw; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 70, 108, 0.99);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.33,.89,.39,1.03);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  margin: 24px 32px 8px 0;
  align-self: flex-end;
  transition: color .15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 20px;
  padding: 36px 38px 20px 0;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-family: var(--font-display);
  padding: 13px 0 13px 24px;
  width: 100%;
  text-align: right;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: rgba(0,150,136,0.08);
}

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

/* --- HERO section --- */
.hero {
  background: linear-gradient(120deg, var(--secondary) 55%, var(--muted) 110%);
  padding: 70px 0 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  max-width: 600px;
  gap: 22px;
}
.hero h1 {
  color: var(--primary);
  font-size: 3rem;
}
.hero .subheadline {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 0.5em;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .hero { padding: 38px 0 28px; }
  .hero .container { justify-content: center; }
  .hero h1 { font-size: 2.1rem; }
}

/* --- FLEXBOX LAYOUT COMPONENTS & SPACING --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 26px 20px 26px;
  margin-bottom: 20px;
  position: relative;
}
.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;
  background: #fff;
  color: #1A2934;
  padding: 20px 32px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(25,70,108,0.10);
  border: 1.5px solid var(--border);
  min-width: 260px;
  max-width: 400px;
}
.testimonial-card .rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.testimonial-card .testimonial-author {
  color: var(--accent-dark);
  font-weight: bold;
  font-size: 1.07em;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Section Content Styles: Features, Services, Equipamentos */
.feature-grid, .equipment-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid li, .equipment-grid li, .tips-grid li {
  flex: 1 1 240px;
  min-width: 210px;
  padding: 28px 20px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid li:hover,
.equipment-grid li:hover,
.tips-grid li:hover {
  box-shadow: 0 8px 24px rgba(25,70,108,0.14);
  transform: translateY(-2.5px) scale(1.017);
}
.feature-grid img, .equipment-grid img, .tips-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .feature-grid, .equipment-grid, .tips-grid { flex-direction: column; gap: 16px; }
  .feature-grid li, .equipment-grid li, .tips-grid li { min-width: unset; }
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  flex: 1 1 220px;
  min-width: 225px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s, border-color .18s;
  border: 1.5px solid var(--border);
  position: relative;
}
.service-card .price {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
}
.service-card:hover {
  box-shadow: 0 8px 26px rgba(25,70,108,0.13);
  border-color: var(--accent-dark);
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-detail-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  flex: 1 1 245px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: box-shadow .18s, border-color .18s;
}
.service-detail-card .price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.service-detail-card a.cta.small {
  align-self: flex-start;
}
.service-detail-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 26px rgba(25,70,108,0.15);
}
@media (max-width: 900px) {
  .service-list { flex-direction: column; gap: 14px; }
  .service-detail-card { min-width: unset; }
}

.process-steps, .step-by-step {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.process-steps li,
.step-by-step li {
  flex: 1 1 180px;
  min-width: 170px;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 18px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 3px 14px rgba(25,70,108,0.07);
  align-items: flex-start;
}
.process-steps img, .step-by-step img {
  height: 34px;
  margin-bottom: 7px;
}
@media (max-width: 900px) {
  .process-steps, .step-by-step { flex-direction: column; gap: 14px; }
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.team-member {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px 16px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1.5px solid var(--border);
  transition: box-shadow .18s, border-color .18s;
}
.team-member h3 { margin-bottom: 0; color: var(--primary); font-size: 1.08em; font-weight: 600; }
.team-member span { color: var(--accent); font-size: 0.98em; font-weight: 500; }
.team-member:hover {
  box-shadow: 0 8px 30px rgba(25,70,108,0.11);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .team-list { flex-direction: column; gap: 13px; }
}

.blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-preview {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid var(--border);
  transition: box-shadow .18s, border-color .18s;
}
.blog-post-preview h3 { font-size: 1.18em; color: var(--primary); }
.blog-post-preview:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 26px rgba(25,70,108,0.12);
}
@media (max-width: 900px) {
  .blog-teasers { flex-direction: column; gap: 13px; }
  .blog-post-preview { min-width: unset; }
}

.benefits-list, .next-steps {
  margin: 0 0 12px 24px;
  padding-left: 0;
}
.benefits-list li, .next-steps li {
  list-style: square inside;
  font-size: 1.01em;
  margin-bottom: 5px;
  color: var(--text-light);
}

.blog-categories {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}
.blog-categories ul {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.blog-categories li {
  color: var(--primary);
  background: #e8edf0;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.94em;
  font-family: var(--font-display);
}

.faq-brief {
  background: #F4F6F9;
  border-left: 3px solid var(--primary);
  padding: 15px 22px;
  border-radius: 8px;
  color: var(--text-light);
  margin-top: 8px;
  margin-bottom: 14px;
  font-size: 1.03em;
}

.brand-values-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-values-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.07em;
}
.brand-values-list img {
  height: 30px;
  width: auto;
  margin-top: 2.5px;
}

.quick-tips, .info-block {
  background: var(--muted);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 1em;
  color: #2c3d4a;
  margin-bottom: 10px;
}
.confirmation-message {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.11em;
  font-weight: 500;
  margin: 10px 0 12px;
}

.legal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px 28px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  margin-top: 10px;
}
.legal-content ul {
  margin-left: 26px; margin-bottom: 15px;
}
.legal-content li {
  list-style-type: disc;
  margin-bottom: 7px;
}
@media (max-width: 900px) {
  .legal-content { padding: 18px 9px 14px 14px; }
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 46px 0 30px;
  border-top: 5px solid var(--accent);
  font-size: 1.01em;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav nav a {
  color: #fff;
  font-family: var(--font-body);
  opacity: 0.85;
  font-size: 1em;
  padding: 0 2px 2px;
  border-bottom: 2px solid transparent;
  transition: color .18s, border .16s;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: var(--accent);
  opacity: 1;
  border-bottom: 2px solid var(--accent);
}
.legal-links a {
  font-size: 0.98em;
  color: #eaeaea;
}
.footer-info {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-info img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow:  0px 1px 8px rgba(25,70,108,0.08);
  padding: 6px;
}
.footer-info address,
.footer-info span {
  font-style: normal;
  color: #eceedc;
}
.footer-info a { color: #eceedc; text-decoration: underline dotted; }
.footer-info a:hover { color: var(--accent); text-decoration: underline solid; }
@media (max-width: 900px) {
  .footer-nav { flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
  .footer-info { flex-direction: column; gap: 7px; align-items: flex-start; }
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta {
  cursor: pointer;
  border: none;
  outline: none;
}

button:focus, .cta:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

.cta, .cta:visited {
  transition: background 0.18s,color 0.18s,box-shadow 0.14s,transform 0.13s;
}
.cta:active {
  transform: scale(0.97);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2100;
  background: #fffbe7;
  color: var(--primary-dark);
  box-shadow: 0 -2px 20px rgba(25,70,108,0.07);
  border-top: 2px solid var(--accent);
  padding: 22px 6vw 18px 6vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  font-size: 1.09em;
  transition: transform .32s cubic-bezier(.3,.9,.37,1.03), opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  border: none;
  font-weight: 500;
  font-size: 1em;
  background: var(--primary);
  color: #fff;
  margin-left: 4px;
  transition: background .18s, color .18s;
}
.cookie-btn.accept-all { background: var(--accent); color: #fff; }
.cookie-btn.reject-all { background: #d1dad6; color: #2e3a34; }
.cookie-btn.settings { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-dark) !important;
  color: #fff !important;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4vw;
  }
  .cookie-banner .cookie-buttons { margin-top: 8px; }
}

/* Cookie Modal (Preference Dialog) */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2200;
  background: rgba(25,70,108,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal.hide { pointer-events: none; opacity: 0; }
.cookie-modal .modal-dialog {
  background: #fff;
  border-radius: 14px;
  max-width: 440px;
  width: 92vw;
  padding: 34px 30px 28px 30px;
  box-shadow: 0 8px 48px rgba(25,70,108,0.15);
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalIn .3s cubic-bezier(.3,.9,.37,1.03);
}
@keyframes modalIn {
  0% { transform: translateY(40px) scale(0.95); opacity: 0.2; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .modal-header {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 9px;
}
.cookie-modal .modal-title {
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .modal-close {
  font-size: 2.1em;
  background: none;
  border: none;
  color: var(--primary-dark);
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--accent-dark);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F4F6F9;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 9px;
  font-size: 1em;
}
.cookie-modal .cookie-category.essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  transition: background .2s;
  outline: none;
  margin-left: 12px;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 4px; top: 3.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 5px rgba(20,80,130,0.09);
  transition: transform .2s;
}
.cookie-toggle:checked:before {
  transform: translateX(17px);
}
.cookie-modal .modal-footer {
  text-align: right;
  margin-top: 7px;
}
.cookie-modal .cookie-btn {
  margin-left: 0;
  margin-bottom: 0;
}

/* --- MISC STYLES & DETAILS --- */
::-webkit-input-placeholder { color: #b2b2b2; }
:-moz-placeholder { color: #b2b2b2; }
::-moz-placeholder { color: #b2b2b2; }
:-ms-input-placeholder { color: #b2b2b2; }
::placeholder { color: #b2b2b2; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

ul, ol {
  padding-left: 0;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 17px; }
  .footer-nav, .content-grid, .card-container { flex-direction: column; }
}
@media (max-width: 560px) {
  .container { padding: 0 3vw; }
  main .container { padding: 0 2vw; }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.card, .service-card, .service-detail-card, .team-member, .testimonial-card, .blog-post-preview {
  transition: box-shadow .18s, border-color .18s, transform .14s;
}
.card:active, .service-card:active, .service-detail-card:active, .testimonial-card:active, .team-member:active, .blog-post-preview:active {
  transform: scale(0.985);
}

.cta.primary:active, .cta.secondary:active, .cta.small:active {
  transform: scale(0.98);
}

/* Hide scroll on overlay and menu open */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

@media (max-width: 520px) {
  .testimonial-card { padding: 13px 7px; }
}
