/* ------------------------------------------------------------------
 SOFT PASTEL CSS STYLE for Předprodejní Servis Plus
 Brand: modern, gentle, fresh, trustworthy
 Strictly flexbox layouts only | Mobile-first responsive | Cookie & menu
 ------------------------------------------------------------------ */

/* RESET & NORMALIZE ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23263a;
  background: #fafbfc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #f5f7fa;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4572c9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2b3e54;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
}
strong {
  font-weight: 600;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ------------------------ SOFT PASTEL COLOR PALETTE --------------------------- */
:root {
  --primary: #2b3e54;
  --secondary: #ffd100;
  --accent: #f5f7fa;
  --pastel-blue: #cbe6fa;
  --pastel-lilac: #dee0fa;
  --pastel-pink: #ffe0ec;
  --pastel-green: #e0f5ea;
  --pastel-yellow: #fffbe2;
  --pastel-mint: #e1f7f2;
  --card-bg: #ffffffcc;
  --shadow: 0 6px 24px 0 rgba(80, 98, 155, 0.07);
}

/* -------------------------- TYPOGRAPHY --------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
  line-height: 1.18;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.22rem;
  color: #696d8d;
  margin-bottom: 20px;
}
p, ul, ol, dl {
  font-size: 1rem;
  color: #363a48;
  margin-bottom: 14px;
}
.text-section ul, .text-section ol {
  margin-bottom: 22px;
}
.text-section li {
  margin-bottom: 8px;
}

/* -------------------------- CONTAINERS AND LAYOUT --------------------------- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

@media (min-width: 769px) {
  .section {
    padding: 56px 38px;
  }
}

/* -------------------------- HEADER & NAVIGATION --------------------------- */
header {
  background: linear-gradient(90deg, #dee0fa 0%, #e1f7f2 100%);
  box-shadow: 0 2px 10px 0 rgba(84,133,213,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}

header .container {
  flex-direction: row;
  align-items: center;
  min-height: 78px;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.16s;
}
nav a:hover, nav a:focus {
  background: linear-gradient(90deg, #ffe0ec 0%, #e0f5ea 100%);
  color: #212436;
  text-decoration: none;
}
nav .cta.primary {
  background: var(--secondary);
  color: var(--primary) !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(227,202,61,0.08);
  transition: background 0.23s, box-shadow 0.23s;
}
nav .cta.primary:hover, nav .cta.primary:focus {
  background: linear-gradient(90deg,#fffae2 60%, #ffe0ec 100%);
  box-shadow: 0 4px 14px rgba(227,202,61,0.13);
  color: #212436 !important;
}
nav .cta.secondary {
  border: 2px solid var(--secondary);
  color: var(--primary)!important;
  padding: 8px 20px;
  border-radius: 30px;
  background: transparent;
  font-weight: 700;
  margin-left: 14px;
  transition: background 0.23s, color 0.23s, border-color 0.23s;
}
nav .cta.secondary:hover, nav .cta.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Hamburger menu (hidden on desktop) */
.mobile-menu-toggle {
  display: block;
  background: var(--primary);
  color: white;
  font-size: 2rem;
  padding: 7px 14px;
  border-radius: 8px;
  margin-left: 18px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(106,93,216,0.10);
  z-index: 50;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #4572c9;
}
/* Hide normal nav and show hamburger on mobile */
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------- MOBILE MENU Overlay --------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #ffe0ec 0%, #cbe6fa 100%);
  box-shadow: 0 8px 32px 0 rgba(44,43,84,.14);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.52,.16,.52,1);
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  font-size: 2rem;
  color: var(--primary);
  margin: 22px 32px 6px 0;
  border: none;
  cursor: pointer;
  transition: color .2s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4572c9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 14px 38px 18px 38px;
  width: calc(100% - 76px);
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 15px 0 8px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.12s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  outline: none;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fffbe2;
  color: #212436;
  text-decoration: none;
}

/* ---------------------- HERO ---------------------- */
.hero {
  background: linear-gradient(160deg, #cbe6fa 60%, #ffe0ec 100%);
  padding: 50px 0 32px 0;
  margin-bottom: 48px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
}
.hero .subheadline {
  color: #62687c;
}
.hero .cta.primary {
  margin-top: 17px;
  font-size: 1.1rem;
}

/* ------------------ FLEX BOX PATTERNS ------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.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;
  padding: 20px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(80, 98, 155, 0.12);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 420px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ SPACING: CARDS & CONTAINERS ------------------ */
.card-container .card,
.feature-grid > li,
.service-highlights > li,
.service-list > li,
.benefit-list > li,
.step-list > li,
.testimonial-card,
.case-study-summary,
.before-after-text {
  margin-bottom: 20px;
}

/* -------------------------- FEATURES & SERVICES -------------------------- */
.features, .services, .benefits {
  background: linear-gradient(90deg, #e0f5ea 70%, #ffe0ec 100%);
  border: none;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
  list-style: none;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px #dbe1fa99;
  padding: 24px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 222px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 8px 24px 0 #9acef733;
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 28px 0;
}
.service-highlights li {
  background: #fffdfa;
  border-radius: 10px;
  padding: 16px 12px;
  box-shadow: 0 1px 6px #ffe0ec33;
  font-size: 1.08rem;
}
.service-highlights li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
}
.service-highlights li span {
  color: #8889ba;
  margin-left:4px;
  font-size: 0.99em;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 34px 0 28px 0;
  padding: 0;
}
.service-list > li {
  background: var(--card-bg);
  flex: 1 1 285px;
  max-width: 385px;
  border-radius: 14px;
  padding: 28px 22px 18px 25px;
  box-shadow: 0 4px 24px #dbe1fa33;
  display: flex;
  flex-direction: column;
}
.service-list img {
  width: 40px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.service-list h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.service-list p {
  font-size: 1rem;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 22px 0 0 0;
  list-style: disc inside;
}
.benefit-list > li {
  background: #fafeef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1.08rem;
  box-shadow: 0 1px 4px #dbe1fa22;
  flex: 1 1 250px;
}

/* -------------- PROCESS STEPS -------------- */
.process .step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  counter-reset: step;
  margin: 28px 0 0 0;
}
.step-list li {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px #dbe1fa88;
  padding: 22px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 190px;
  max-width: 390px;
  margin-bottom: 10px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.step-list img {
  width: 32px; height: 32px;
  margin-top: 6px;
}
.step-list li:hover {
  box-shadow: 0 7px 20px #c1e1f291;
  transform: translateY(-3px) scale(1.01);
}

.step-list li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2b3e54;
  font-weight: 700;
  margin-bottom: 3px;
  display: inline-block;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
}
.faq-accordion dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  background: #e0f5ea;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  margin: 18px 0 0 0;
  padding: 14px 17px;
  transition: background 0.18s;
  font-size: 1.08rem;
  box-shadow: 0 1px 4px #f5f7fa;
}
.faq-accordion dd {
  background: #fffdfa;
  padding: 13px 22px 23px 22px;
  border-radius: 0 0 8px 8px;
  margin: 0 0 14px 0;
  font-size: 1rem;
  box-shadow: 0 1px 4px #ecf2fa;
}


/* -------------- PRICING TABLE -------------- */
.pricing-table {
  width: 100%;
  margin: 20px 0 30px 0;
  border-collapse: collapse;
  box-shadow: 0 2px 16px #dbe1fa52;
  background: var(--pastel-blue);
  border-radius: 12px;
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 12px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table th {
  background: #dee0fa;
  color: var(--primary);
  font-size: 1.07rem;
  font-weight: 700;
}
.pricing-table td {
  background: #fffdfa;
  color: #363a48;
  border-bottom: 1px solid #ecf0fa;
  font-size: 1rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ---------------- TEXT SECTIONS ------------- */
.text-section {
  margin-bottom: 22px;
}
.text-section ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.text-section ul li {
  margin-bottom: 8px;
}
.text-section a {
  color: #7761b7;
  text-decoration: underline;
  transition: color 0.16s;
}
.text-section a:hover {
  color: #2b3e54;
}

/* ----------------------- CTA (CALL TO ACTION) ------------------- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 34px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 26px;
  box-shadow: 0 2px 8px #ffe0ec33;
  margin: 18px 0;
  transition: background 0.18s, color 0.15s, transform 0.17s, box-shadow 0.18s;
  text-align: center;
  text-decoration: none;
}
.cta.primary {
  background: var(--secondary);
  color: var(--primary);
}
.cta.secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--primary);
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg,#fffae2 0%, #ffe0ec 85%);
  color: #212436;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 16px #ffd10054;
}

/* --------------------- TESTIMONIALS --------------------- */
.testimonials {
  background: linear-gradient(110deg, #ffe0ec 50%, #cbe6fa 100%);
  border: none;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-top: 16px;
}
.testimonial-card {
  background: #fffdfa;
  color: #28284a;
  border-radius: 16px;
  box-shadow: 0 4px 16px #ffccd933;
  padding: 24px 22px 20px 22px;
  min-width: 258px;
  max-width: 410px;
  flex: 1 1 258px;
  transition: box-shadow 0.15s, transform 0.15s;
  font-size: 1.08rem;
  line-height: 1.57;
  position: relative;
}
.testimonial-card:before {
  content: '“';
  font-size: 2.5rem;
  color: #ffd100;
  position: absolute;
  left: 18px;
  top: 10px;
}
.testimonial-card p {
  margin-bottom: 12px;
  color: #293868;
}
.testimonial-meta {
  font-size: 0.9em;
  color: #9496a8;
  margin-bottom: 3px;
}
.star-rating {
  color: #ffd100;
  font-size: 1.06rem;
  letter-spacing: 1.6px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 24px #8be8cb33;
  transform: scale(1.015);
}

/* --------------------------- CASE STUDIES -------------------------- */
.case-study-summary, .before-after-text {
  background: #e0f5ea;
  padding: 18px 22px;
  border-radius: 13px;
  margin-bottom: 22px;
  color: #23263a;
  box-shadow: 0 2px 10px #ecf2fa55;
}

.before-after-text ul {
  list-style: disc;
  margin-left: 14px;
}

/* --------------------------- LEGAL / TEXT PAGES ------------------- */
.legal {
  background: linear-gradient(90deg, #e1f7f2 60%, #dee0fa 100%);
  border: none;
}
.legal .text-section {
  background: #f8fafd;
  border-radius: 8px;
  box-shadow: 0 1px 6px #dbe1fa24;
  padding: 22px 19px;
}

/* --------------------------- THANK YOU PAGE ----------------------- */
.thankyou {
  background: linear-gradient(110deg, #cbe6fa 35%, #e0f5ea 100%);
  border: none;
  text-align: center;
}
.thankyou .cta {
  display: inline-block;
  margin: 28px auto 0 auto;
}

/* --------------------------- CONTACT PAGE ------------------------- */
.address-map {
  background: #e0f5ea;
  padding: 18px 12px;
  border-radius: 10px;
  margin-top: 12px;
  font-size: 0.97em;
  color: #55606e;
  text-align: left;
}

/* ------------------------- FOOTER --------------------------------- */
footer {
  background: linear-gradient(90deg, #dee0fa 60%, #ffe0ec 100%);
  color: var(--primary);
  font-size: 1em;
  padding: 32px 0 18px 0;
  border-top: 1px solid #eaeaf6;
  box-shadow: 0 -2px 10px #ecf2fa15;
  margin-top: 44px;
}
footer .container {
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: var(--primary);
  opacity: 0.88;
  font-size: 1em;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: #4572c9;
  opacity: 1.0;
}
.footer-meta {
  color: #757a89;
  font-size: 0.95em;
}

/* ----------------- COOKIE CONSENT BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(90deg,#efe8ff 60%, #d9faf0 100%);
  box-shadow: 0 -2px 16px #b6bedc33;
  color: #23263a;
  z-index: 400;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.01rem;
  animation: cookie-banner-in .73s cubic-bezier(.31,1.31,.57,1) 1;
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 6px;
  color: #23263a;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.cookie-buttons .cookie-btn {
  border: none;
  padding: 9px 22px;
  border-radius: 21px;
  font-size: 1em;
  box-shadow: 0 1px 6px #dee0fa59;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .14s, transform .14s, box-shadow .12s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #ffe0ec;
  color: #cf2d55;
  border: 1.2px solid #efb8bb;
}
.cookie-btn.settings {
  background: #fafeef;
  color: #3d4a58;
  border: 1.2px solid #cbe6fa;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.04);
  box-shadow: 0 2px 10px #aecdf688;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,51,68,0.21);
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cm-fade-in .35s ease;
}
@keyframes cm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(100deg, #e1f7f2 60%, #dee0fa 100%);
  border-radius: 22px;
  box-shadow: 0 10px 32px #aecdf655;
  padding: 38px 27px 27px 27px;
  max-width: 380px;
  min-width: 0;
  color: #212436;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 411;
  position: relative;
  animation: cm-pop-in .51s cubic-bezier(.3,1.35,.64,1) 1;
}
@keyframes cm-pop-in {
  0%   { transform: scale(0.78); opacity:0; }
  90%  { transform: scale(1.03); }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.cookie-modal .category-name {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #35476b;
  flex: 1 1 auto;
}
.cookie-modal .category-toggle {
  width: 38px; height: 22px;
  border-radius: 14px;
  background: #dbe0f5;
  position: relative;
  border: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .category-toggle[data-on="true"] {
  background: #e0f5ea;
}
.cookie-modal .category-toggle[data-disabled] {
  background: #ffe0ec;
  opacity: .7;
  cursor: not-allowed;
}
.cookie-modal .category-toggle span {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: left .17s;
  box-shadow: 0 1.5px 5px #b6bedc48;
}
.cookie-modal .category-toggle[data-on="true"] span {
  left: 18px;
}
.cookie-modal .category-toggle[data-disabled] span {
  background: #ffe0ec;
}
.cookie-modal .required-label {
  color: #9a98be;
  font-size: 0.96em;
  margin-left: 11px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  margin: 0;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 11px; right: 17px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #35476b;
  cursor: pointer;
  opacity: 0.8;
  transition: color .16s, opacity .13s;
}
.cookie-modal .modal-close:hover {
  color: #cf2d55;
  opacity: 1;
}

/* --------------------- RESPONSIVE LAYOUTS ------------------------ */
@media (max-width: 1020px) {
  .feature-grid,
  .service-list,
  .testimonial-slider,
  .testimonial-list,
  .process .step-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-list > li, .feature-grid li, .step-list li, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  header .container {
    min-height: 44px;
    padding: 0 7px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
  .hero {
    padding: 40px 0 18px 0;
    border-radius: 0 0 21px 21px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  .cta { font-size: 0.96rem; padding: 10px 20px;}
  .service-list > li, .feature-grid li, .benefit-list > li, .testimonial-card, .case-study-summary, .before-after-text {
    padding: 13px 9px;
    border-radius: 7px;
    font-size: 0.98rem;
  }
  .step-list li { padding: 15px 7px; }
  .testimonial-meta { font-size: 0.89em; }
  .text-section,
  .legal .text-section { padding: 13px 7px; border-radius: 7px; }
  .pricing-table th, .pricing-table td { padding: 10px 6px; font-size: 0.9rem;}
  .cookie-modal { padding: 21px 9px 15px 9px; }
  .cookie-modal h3 { font-size:1.1rem;}

  /* For text-image sections (column on mobile) */
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* -------------------- UTILITY CLASSES ---------------------- */
.hide { display: none !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.bg-accent { background: var(--accent) !important; }

/* -------------------- FOCUS & ACCESSIBILITY ----------------- */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .modal-close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  box-shadow: 0 1px 7px #ffd10033;
}

/* ------------------------------------------------------------------ */
/* ---- END OF STYLE ------------------------------------------------ */
/* ------------------------------------------------------------------ */
