/* ============================================================
   CSS RESET & NORMALIZATION
   ============================================================ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
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;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F0F3F6;
  color: #222E36;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
  box-sizing: border-box;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ============================================================
   COLOR VARIABLES & TYPOGRAPHY
   ============================================================ */
:root {
  --primary: #005B7F;
  --primary-dark: #004866;
  --secondary: #F0F3F6;
  --white: #FFFFFF;
  --accent: #FDB913;
  --text-main: #222E36;
  --text-light: #6C7A89;
  --border: #D4DDE5;
  --card-shadow: 0 2px 16px 0 rgba(35,55,79,0.08);
  --radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, .tagline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
}
.tagline {
  font-size: 0.97rem;
  color: var(--primary);
  margin: 10px 0;
  font-style: italic;
}

/* ============================================================
   CONTAINER & STRUCTURED LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
/* Section base spacing */
.section,
section:not(.hero):not(.navbar):not(.mobile-menu):not(.cookie-banner) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

/* ============================================================
   HEADER LAYOUT & NAVIGATION
   ============================================================ */
header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(35, 55, 79, 0.03);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus, .footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: #F5F8FA;
}

/* Primary Button */
.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 28px 11px 28px;
  border-radius: var(--radius);
  min-height: 44px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-align: center;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 91, 127, 0.10);
}
.btn-primary:hover, .btn-primary:focus {
  background: #003954;
  color: var(--accent);
  outline: none;
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(253, 185, 19, 0.11);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #efad00;
  color: var(--primary-dark);
}

/* Hamburger (burger) Menu Button */
.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  position: relative;
  z-index: 52;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--accent);
}

/* ============================================================
   MOBILE NAVIGATION MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0,30,53,0.18);
  z-index: 60;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.55, 0, 0.1, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 24px;
  padding-left: 32px;
  padding-right: 32px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary-dark);
  background: none;
  border: none;
  padding: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3ECF2;
  color: var(--accent);
}

/* ============================================================
   HERO & GENERAL SECTIONS
   ============================================================ */
.hero {
  background: linear-gradient(90deg, #F0F3F6 55%, #E3ECF2 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 0;
  box-shadow: none;
  padding: 0;
}
.hero .container {
  height: 100%;
}
.hero .content-wrapper {
  min-height: 340px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* Features & Cards */
.features {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 24px;
}
.feature-grid li {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FAFCFD;
  padding: 28px 20px 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  gap: 15px;
  border: 1px solid var(--border);
  transition: box-shadow 0.18s, border 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 2px 20px 0 rgba(0,91,127,0.11);
  border: 1px solid var(--primary);
}
.feature-grid img {
  height: 40px;
  margin-bottom: 12px;
}

.services-overview {
  background: var(--secondary);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
}
.service-list li {
  flex: 1 1 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-list h3 {
  font-size: 1.18rem;
  color: var(--primary-dark);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--secondary);
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.testimonial-card {
  background: var(--white);
  color: var(--text-main);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 26px 21px 26px;
  min-width: 260px;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 20px 0 rgba(0,91,127,0.11);
  border: 1px solid var(--primary);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1d2640;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
}
.client-logos img {
  height: 32px;
  margin-bottom: 0;
  opacity: 0.77;
  transition: opacity 0.18s;
}
.client-logos img:hover {
  opacity: 1;
}

/* ============================================================
   CTA SECTIONS & CONTACT SNIPPET
   ============================================================ */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta-section .contact-snippet {
  margin-top: 28px;
  background: rgba(255,255,255,0.11);
  border-radius: 6px;
  padding: 17px 18px 9px 18px;
}
.cta-section .contact-snippet p {
  color: #eaf6fd;
  font-size: 1.01rem;
}
.cta-section .btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  margin-top: 8px;
}
.cta-section .btn-primary:hover {
  background: #e3ac07;
  color: var(--primary);
}

/* ============================================================
   ABOUT US & TEAM SECTIONS
   ============================================================ */
.text-section {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-main);
}
.usp-list, .about-intro ul {
  margin-top: 12px;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-main);
  font-size: 1rem;
}
.why-us ul {
  margin-top: 10px;
}
.team .text-section {
  margin-top: 8px;
}
.team ul {
  margin-top: 6px;
}

/* ============================================================
   SERVICES PAGE LAYOUTS
   ============================================================ */
.services-hero {
  background: #E3ECF2;
  border-radius: var(--radius);
  margin-bottom: 0;
  box-shadow: none;
  padding-top: 32px;
  padding-bottom: 32px;
}
.service-list-detailed {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.service-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-details li {
  flex: 1 1 250px;
  max-width: 400px;
  background: #F7FAFC;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px 18px 20px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border 0.15s;
}
.service-details li:hover, .service-details li:focus-within {
  border: 1px solid var(--primary);
  box-shadow: 0 2px 15px 0 rgba(0,91,127,0.08);
}
.service-details img {
  height: 40px;
}
.service-details h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--primary-dark);
}
.service-details span {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-left: 8px;
}
.benefit-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  color: var(--primary);
}

.process {
  background: var(--secondary);
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 0 0;
}
.process-steps li span {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: bold;
  color: var(--primary);
  margin-right: 8px;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-table {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.pricing-grid {
  width: 100%;
  margin-top: 32px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.pricing-grid th, .pricing-grid td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-grid thead th {
  background: #E3ECF2;
  color: var(--primary-dark);
  font-size: 1.1rem;
  text-align: left;
}
.pricing-grid tr:last-child td {
  border-bottom: none;
}

.pricing-comparison .feature-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 26px;
  justify-content: flex-start;
}
.pricing-comparison ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}

/* ============================================================
   FAQ PAGE: ACCORDION
   ============================================================ */
.faq-intro input[type="search"] {
  width: 100%;
  max-width: 370px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #F8FAFB;
  color: var(--text-main);
  transition: border 0.15s;
}
.faq-intro input[type="search"]:focus {
  border-color: var(--primary);
  outline: none;
}
.faq-top-list {
  margin-top: 14px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list .accordion-faqs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
}
.faq-question {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(35,55,79,0.04);
  padding: 22px 20px 16px 20px;
  cursor: pointer;
  position: relative;
  transition: border 0.17s, box-shadow 0.17s;
}
.faq-question:hover, .faq-question:focus-within {
  border: 1px solid var(--primary);
  box-shadow: 0 2px 15px 0 rgba(0,91,127,0.09);
}
.faq-question h3 {
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.faq-question p {
  font-size: 1.02rem;
  color: var(--text-main);
}
.faq-question a {
  text-decoration: underline;
  color: var(--primary);
  transition: color 0.16s;
}
.faq-question a:hover {
  color: var(--accent);
}

/* ============================================================
   CONTACT PAGE & THANK YOU
   ============================================================ */
.contact-hero, .thank-you-message {
  background: #E3ECF2;
  border-radius: var(--radius);
  padding-top: 32px;
  padding-bottom: 32px;
  margin-bottom: 0;
}
.contact-form, .contact-info {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.contact-info .map-embed {
  min-height: 120px;
  background: #F0F3F6;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  margin-top: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you-message ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thank-you-message a.btn {
  margin-top: 24px;
  min-width: 180px;
}

/* ============================================================
   LEGAL POLICIES (privacy, gdpr, cookies, terms)
   ============================================================ */
.legal-content {
  background: #F7FAFC;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 26px 22px 22px 22px;
  margin-top: 22px;
  color: var(--text-main);
}
.legal-content h2 {
  color: var(--primary-dark);
  font-size: 1.13rem;
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal-content ul {
  margin: 10px 0 18px 20px;
  list-style-type: disc;
  font-size: 1rem;
  color: var(--text-main);
}
.legal-content li {
  margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 24px 0 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
  border-top: 1px solid #0a2236;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #DCE3E8;
  font-size: 1rem;
  padding: 7px 4px;
  border-radius: 5px;
  transition: background 0.19s, color 0.19s;
}
.footer-nav a:focus {
  outline: 2px solid var(--accent);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: #143C5A;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-branding img {
  height: 44px;
  margin-bottom: 8px;
}
.footer-branding .tagline {
  color: var(--accent);
}
footer p {
  font-size: 0.97rem;
  color: #DCE3E8;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 20px 12px;
  z-index: 99;
  box-shadow: 0 -2px 19px rgba(0,30,53,0.08);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  font-size: 1.02rem;
  gap: 26px;
  opacity: 1;
  transition: opacity 0.32s, transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 18px;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
}
.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus {
  background: #efad00;
}
.cookie-banner__btn--reject {
  background: #FFFFFF;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  font-weight: 500;
}
.cookie-banner__btn--reject:hover, .cookie-banner__btn--reject:focus {
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-banner__btn--settings {
  background: #E3ECF2;
  color: var(--primary-dark);
  font-weight: 600;
}
.cookie-banner__btn--settings:hover,
.cookie-banner__btn--settings:focus {
  background: #b8d1e4;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,46,54,0.48);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 415px;
  width: 95vw;
  box-shadow: 0 5px 45px rgba(34,46,54,0.18);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 109;
  animation: fadein 0.45s cubic-bezier(.55,0,.14,1);
}
@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 13px 0px 19px 0px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--text-main);
}
.cookie-category input[type='checkbox'] {
  width: 21px;
  height: 21px;
  accent-color: var(--primary);
}
.cookie-category.is-essential label {
  opacity: 0.65;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

/* Close modal */
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: var(--accent);
}

/* ============================================================
   FLEXBOX CONTENT CONTAINERS (MANDATED CLASSES)
   ============================================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  background: var(--white);
  border: 1px solid var(--border);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==============================================================
   GENERAL FLEXBOX RULES & VISUAL MICRO-INTERACTIONS
   ============================================================== */
.card, .card-container, .feature-item, .service-details, .feature-grid,
.service-list, .testimonial-slider, .content-grid, .footer-nav, .client-logos,
.process-steps, .content-wrapper, .pricing-comparison .feature-breakdown {
  box-sizing: border-box;
}
a, button, .btn {
  transition: background .15s, color .18s, box-shadow .17s, border .18s;
}
/* None of display: grid, grid-*, columns, column-count used anywhere */

/* ==============================================================
   MEDIA QUERIES – RESPONSIVE DESIGN
   ============================================================== */
@media (max-width: 1150px) {
  .container { max-width: 100vw; }
  .content-wrapper { padding-right: 0; }
}
@media (max-width: 900px) {
  .main-nav { gap: 16px; }
  .feature-grid { gap: 18px; }
  .service-list,
  .service-details { gap: 14px; }
  .content-grid, .pricing-comparison .feature-breakdown { gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .testimonials .testimonial-slider,
  .feature-grid,
  .service-list,
  .service-details,
  .content-grid,
  .client-logos,
  .pricing-comparison .feature-breakdown,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-menu { flex-direction: column; }
  .pricing-grid th, .pricing-grid td { padding: 11px 8px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 21px 10px 16px 10px; }
  .cta-section { padding: 32px 12px; }
  section, .section { padding: 28px 8px; margin-bottom: 36px; }
  .hero { min-height: 220px; }
  .hero .content-wrapper { min-height: 100px; padding-top: 10px; }
  .testimonial-card, .service-details li, .service-list li, .feature-grid li {
    max-width: 100%;
    min-width: unset;
    padding: 19px 10px 12px 10px;
  }
  .process-steps,
  .usp-list {
    gap: 10px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 540px) {
  .container { padding: 0 6px; }
  .hero, .hero .content-wrapper { min-height: 100px; padding: 0; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
  .btn, a.btn { font-size: 0.97rem; padding: 10px 16px; min-height: 38px; }
  .cta-section { padding: 20px 3px; border-radius: 0; }
  .card, .testimonial-card, .feature-grid li, .service-details li, .legal-content { padding: 11px 6px 9px 6px; }
  .cookie-modal { padding: 22px 8px 15px 8px; }
}

/* Hide mobile menu when not shown (fallback for no-js) */
@media (min-width:769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
