/* === 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #212121;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
  --primary: #213648;
  --secondary: #5793D1;
  --accent: #F9F6F2;
  --black: #151A20;
  --gray-900: #212121;
  --gray-700: #484848;
  --gray-500: #878787;
  --gray-300: #d1d5db;
  --gray-100: #f6f6f6;
  --white: #fff;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Source Sans Pro', Arial, Helvetica, sans-serif;

  --radius-md: 12px;
  --radius-sm: 7px;
  --shadow-card: 0 6px 32px 0 rgba(21,26,32,0.08), 0 1.5px 8px 0 rgba(33,54,72,0.03);
}

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

/* === HEADER & NAVIGATION === */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-size: 16px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta.primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0px 3px 8px 0 rgba(21,26,32,0.08);
  margin-left: 32px;
  letter-spacing: 0.06em;
  border: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 6px 18px 0 rgba(87,147,209,0.13);
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 30px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-left: 18px;
  transition: background 0.15s;
  z-index: 202;
  border: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
}
/* ==== MOBILE MENU OVERLAY ==== */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1009;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 54, 72, 0.98);
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.72, 0.01, 0.39, 1.52);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--white);
  font-size: 34px;
  position: absolute;
  top: 18px;
  right: 26px;
  border: none;
  padding: 8px 12px;
  z-index: 1011;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 88px;
  padding: 30px 32px 32px 32px;
  width: 100vw;
  max-width: 355px;
  background: var(--primary);
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  box-shadow: -8px 0 36px rgba(21,26,32,0.14);
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(249,246,242,0.09);
  transition: color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
}

@media (max-width: 1100px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 18px;
  }
  .cta.primary {
    margin-left: 15px;
    font-size: 16px;
    padding: 11px 20px;
  }
}
@media (max-width: 900px) {
  .main-nav,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO SECTIONS === */
.hero-section {
  background: linear-gradient(90deg,#fff 60%,#f6f6f6 100%);
  border-bottom: 1px solid var(--gray-300);
  padding: 56px 0 48px 0;
}
.hero-section .container {
  min-height: 180px;
}
.hero-section .content-wrapper {
  max-width: 750px;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-section p {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 22px;
}

/* === SECTIONS, CARDS & LAYOUT === */
.section,
.features-section,
.about-section,
.services-section,
.cta-section,
.team-section,
.blog-section,
.legal-section,
.contact-section,
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 295px;
  min-width: 275px;
}
.card:hover {
  box-shadow: 0 10px 48px 0 rgba(33,54,72,0.17);
  transform: translateY(-3px) scale(1.01);
}
.content-grid {
  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: 24px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 280px;
  flex: 1 1 330px;
  border: 1px solid var(--gray-100);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card p {
  color: var(--gray-900);
  font-size: 17px;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 12px 48px 0 rgba(33,54,72,0.12);
  border-color: var(--gray-300);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 18px 22px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-100);
  width: 100%;
  max-width: 360px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.feature-item:hover {
  box-shadow: 0 10px 42px 0 rgba(33,54,72,0.11);
  border-color: var(--gray-300);
}

.feature-item img,
.feature-grid img {
  height: 42px;
  width: auto;
  filter: grayscale(1) brightness(0.55) contrast(1.15);
  margin-bottom: 7px;
}
.feature-item h3,
.feature-grid h3 {
  font-size: 21px;
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-item p,
.feature-grid p {
  color: var(--gray-700);
  font-size: 16px;
}

/* === FEATURES GRID (INDEX & ABOUT) === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > li,
.feature-grid > .feature-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 260px;
  min-width: 260px;
  margin-bottom: 20px;
  padding: 24px 18px 16px 24px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.18s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-grid > li:hover {
  box-shadow: 0 10px 36px 0 rgba(33,54,72,0.15);
  border-color: var(--gray-300);
}

/* === ABOUT & SIMPLE SECTION STYLES === */
.about-section ul {
  margin-bottom: 14px;
  gap: 8px;
}
.about-section ul li {
  margin-bottom: 10px;
  color: var(--gray-900);
  font-size: 17px;
  position: relative;
  padding-left: 20px;
}
.about-section ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 5px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}

/* === SERVICES SECTION === */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > li {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 370px;
  padding: 26px 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s, border-color 0.16s;
  position: relative;
}
.services-list > li:hover {
  box-shadow: 0 10px 36px 0 rgba(33,54,72,0.13);
  border-color: var(--gray-300);
}
.service-price {
  background: var(--accent);
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  align-self: flex-start;
}

/* === TEAM PAGE === */
.team-member-profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
  justify-content: flex-start;
}
.team-member-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 34px 24px;
  flex: 1 1 275px;
  min-width: 260px;
  max-width: 345px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.24s, border-color 0.18s;
  position: relative;
}
.team-member-card:hover {
  box-shadow: 0 12px 42px 0 rgba(33,54,72,0.12);
  border-color: var(--gray-300);
}
.team-member-card img {
  height: 54px;
  margin-bottom: 10px;
  filter: grayscale(1) brightness(0.72) contrast(1.27);
}
.team-member-card h3 {
  font-size: 19px;
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 3px;
}
.team-member-card p {
  color: var(--gray-700);
}
.specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 16px;
}
.specializations li {
  background: var(--accent);
  color: var(--primary);
  padding: 6px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.certification-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.certification-badges img {
  height: 44px;
  filter: grayscale(1) brightness(0.68);
}
.industry-expertise-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.industry-expertise-list li {
  color: var(--gray-900);
  padding-left: 20px;
  position: relative;
}
.industry-expertise-list li:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--secondary);
  border-radius: 50%;
}

/* === BLOG PAGE === */
.blog-section .blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}
.blog-post {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 370px;
  padding: 30px 22px 18px 22px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.16s;
  position: relative;
}
.blog-post h3 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 4px;
}
.blog-post p {
  color: var(--gray-700);
  font-size: 15.5px;
  margin-bottom: 8px;
}
.blog-post a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 16px;
  margin-top: 3px;
  align-self: flex-start;
  text-decoration: underline;
  transition: color 0.16s;
}
.blog-post:hover {
  box-shadow: 0 13px 44px 0 rgba(33,54,72,0.14);
  background: var(--gray-100);
  border-color: var(--secondary);
}
.blog-post a:hover {
  color: var(--primary);
}
.categories-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 12px;
}
.categories-filter ul {
  display: flex;
  gap: 10px;
}
.categories-filter li {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 4px 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}

/* === LEGAL PAGES (POLICIES, RODO, etc) === */
.legal-section .text-section h1 {
  font-size: 30px;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 11px;
}
.legal-section .text-section h2 {
  font-size: 21px;
  color: var(--secondary);
  font-family: var(--font-display);
  margin: 18px 0 6px 0;
}
.legal-section .text-section p,
.legal-section .text-section ul li {
  color: var(--gray-900);
  font-size: 16px;
}
.legal-section .text-section ul {
  margin-bottom: 12px;
  margin-top: 5px;
  padding-left: 0;
}
.legal-section .text-section ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 7px;
}
.legal-section .text-section ul li:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gray-700);
  border-radius: 50%;
}

/* === CTA SECTION === */
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section h2 {
  font-size: 28px;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.cta-section p {
  font-size: 18px;
  color: var(--gray-700);
}

/* === FOOTER === */
footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0 0 0;
  margin-top: 40px;
  border-top: 3px solid var(--primary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}
.footer-nav a {
  color: var(--gray-100);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.01em;
  opacity: 0.94;
  border-bottom: 1.5px solid transparent;
  transition: color 0.14s, border-color 0.16s;
}
.footer-nav a:hover {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
}
.contact-data {
  font-size: 15.5px;
  color: var(--gray-300);
  margin-bottom: 12px;
}
.legal-notice {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 15px;
}

/* === BUTTONS & INTERACTIONS === */
button,
.cta.primary,
.card,
.feature-item,
.team-member-card,
.blog-post,
.services-list > li {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, border-color 0.18s, transform 0.15s;
}
button:active,
a:active {
  opacity: 0.82;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 -2px 24px 0 rgba(21,26,32,0.07);
  border-top: 2.5px solid var(--primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 24px 18px;
  z-index: 1305;
  gap: 20px;
  font-size: 16px;
  animation: cookie-banner-fade-in 0.5s ease;
}
@keyframes cookie-banner-fade-in {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  flex: 1 1 300px;
  margin-right: 24px;
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 24px;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 11px;
  margin-bottom: 6px;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .cookie-btn.settings {
  background: var(--gray-100);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--accent);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 54, 72, 0.74);
  z-index: 1500;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.27s ease;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px 0 rgba(21,26,32,0.22);
  padding: 36px 30px 30px 30px;
  max-width: 420px;
  width: 96vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: slide-down 0.35s cubic-bezier(0.5, 0.35, 0.2, 1.45);
}
@keyframes slide-down {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 9px;
  font-family: var(--font-display);
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal-content .cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 22px;
  height: 22px;
  margin-right: 9px;
}
.cookie-modal-content .cookie-category label {
  font-size: 17px;
  color: var(--gray-700);
}
.cookie-modal-content .desc {
  color: var(--gray-500);
  font-size: 15px;
  margin-bottom: 10px;
}
.cookie-modal-content .modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 17px;
}
.cookie-modal-content .cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 16px;
  transition: background 0.15s;
}
.cookie-modal-content .cookie-btn:hover,
.cookie-modal-content .cookie-btn:focus {
  background: var(--secondary);
}
.cookie-modal-content .close-modal {
  background: transparent;
  color: var(--gray-900);
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  border: none;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.14s;
}
.cookie-modal-content .close-modal:hover {
  color: var(--secondary);
  background: var(--gray-100);
}
.cookie-modal-content .cookie-category input[disabled] {
  pointer-events: none;
  opacity: 0.7;
}

/* ==== HEADINGS / TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
}
h1 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
h2 { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 17px; font-weight: 600; }
h5, h6 { font-size: 16px; font-weight: 600; }
p { margin-bottom: 11px; color: var(--gray-900); font-size: 16px; }

/* === LINKS === */
a {
  color: var(--secondary);
  text-decoration-skip-ink: auto;
}
a:hover, a:focus {
  color: var(--primary);
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section,
  .features-section, .about-section,
  .services-section, .cta-section,
  .team-section, .blog-section,
  .legal-section, .contact-section,
  .testimonials-section {
    padding: 22px 6px;
    margin-bottom: 32px;
  }
  .hero-section {
    padding: 42px 0 32px 0;
  }
  .main-nav { display: none; }
  .cta.primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .feature-grid { gap: 14px; }
  .feature-item, .feature-grid > li {
    padding: 18px 10px 10px 12px;
    min-width: unset;
    flex-basis: 98vw;
    max-width: unset;
  }
  .services-list, .team-member-profiles-grid,
  .blog-post-grid { gap: 13px; }
  .services-list > li, .team-member-card,
  .blog-post {
    min-width: unset;
    max-width: unset;
    padding: 19px 9px 10px 12px;
  }
  .specializations { gap: 8px; }
  .testimonial-card {
    padding: 16px 10px;
    flex-basis: 100%;
    min-width: unset;
    max-width: unset;
  }
  .about-section ul li,
  .industry-expertise-list li,
  .legal-section .text-section ul li {
    padding-left: 13px;
  }
  .footer-nav { gap: 11px; font-size: 14.7px; }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 15px 4px 13px 4px;
    font-size: 14.9px;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 7px;
  }
  .cookie-modal-content {
    padding: 20px 7px 15px 10px;
    max-width: 98vw;
    font-size: 15px;
  }
  .mobile-menu {
    max-width: 99vw;
  }
  .mobile-nav {
    width: 100vw;
    max-width: 99vw;
    padding: 22px 8px 30px 18px;
  }
}

@media (max-width: 600px) {
  .hero-section h1, h1 {
    font-size: 23px;
  }
  h2 {
    font-size: 18px;
  }
  .cta-section h2 {
    font-size: 17px;
  }
  .hero-section .container {
    min-height: 98px;
  }
}

/* === FLEXBOX LAYOUTS: OVERWRITES & ALIGNMENT === */
.section, .features-section, .about-section, .services-section, .cta-section, .team-section, .blog-section, .legal-section, .contact-section, .testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container, .feature-grid, .team-member-profiles-grid, .services-list, .blog-post-grid {
  display: flex !important; /* Ensure flexbox only */
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .card-container, .feature-grid,
  .team-member-profiles-grid,
  .services-list,
  .blog-post-grid {
    flex-direction: column;
    gap: 13px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* === SPACING VERIFICATION & CARD SPACES === */
.card, .feature-grid > li, .feature-item, .services-list > li, .team-member-card, .blog-post, .testimonial-card {
  margin-bottom: 20px;
}
.card-container > *,
.feature-grid > *,
.services-list > *,
.team-member-profiles-grid > *,
.blog-post-grid > * {
  margin-bottom: 0;
}

/* === HIDE/SHOW ELEMENTS FOR LAYOUT/ACCESSIBILITY === */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
}
