/* CSS RESET & BASE NORMALIZATION (MOBILE-FIRST) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,  
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, textarea, select {
  font: inherit;
  outline: none;
  background: none;
  border: none;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* SOFT PASTEL PALETTE & BRAND COLORS */
:root {
  --primary: #223A50;
  --secondary: #AFB4C2;
  --accent: #FFC06B;
  --background: #FCF7F2;
  --bg-light: #F7F9FB;
  --pastel-blue: #D8EBFF;
  --pastel-mint: #E6FAF8;
  --pastel-rose: #FCE0EB;
  --pastel-peach: #FFECD6;
  --pastel-lilac: #EFE8FE;
  --card-shadow: rgba(108,124,146,0.08);
  --text-main: #223A50;
  --text-dark: #1B2940;
  --text-light: #5A7891;
  --white: #fff;
  --shadow: 0 6px 24px 0 rgba(175, 180, 194, 0.10);
  --border-radius: 20px;
  --radius-sm: 12px;
  --radius-full: 100px;
  --transition-main: 0.22s cubic-bezier(.4,0,.2,1);
  --focus-ring: 0 0 0 3px #D8EBFF;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--background);
  color: var(--text-main);
  min-height: 100vh;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: .01em;
}
h1 { font-size: 2.3rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.17rem; margin-bottom: 8px; }

p, li {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
strong { color: var(--text-dark); font-weight: 600; }

/* GENERAL SPACING & CONTAINER LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .section {
    padding: 50px 48px;
    margin-bottom: 70px;
  }
}

/* SOFT PASTEL EFFECTS */
.section:nth-child(2n+1) {
  background: var(--pastel-peach);
}
.section:nth-child(2n) {
  background: var(--pastel-rose);
}

/* HEADER & DESKTOP NAV */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(175,180,194,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0;
}
header img {
  height: 38px;
  transition: transform var(--transition-main);
}
header img:hover {
  transform: scale(1.04);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-main);
  padding: 5px 0;
  font-weight: 500;
  opacity: .95;
  transition: color .14s;
  border-radius: 6px;
  position: relative;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:focus-visible {
  color: var(--accent);
  background: var(--pastel-peach);
}

.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent) 75%, var(--pastel-peach) 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 18px 0 rgba(255, 192, 107, 0.15);
  transition: background var(--transition-main), box-shadow var(--transition-main), color var(--transition-main);
  border: 2px solid transparent;
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: var(--pastel-mint);
  color: var(--primary);
  box-shadow: 0 6px 24px 0 #C9E6E2;
}

.cta-secondary {
  display: inline-block;
  background: var(--pastel-blue);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-main), color var(--transition-main);
  border: 2px solid var(--primary);
  margin-top: 15px;
}
.cta-secondary:hover, .cta-secondary:focus-visible {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* BURGER MENU - MOBILE NAVIGATION */
.mobile-menu-toggle {
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--pastel-lilac);
  color: var(--primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin-left: 18px;
  box-shadow: 0 4px 14px 0 rgba(175,180,194,.12);
  border: 2px solid var(--bg-light);
  cursor: pointer;
  transition: background .17s, box-shadow .17s;
  z-index: 102;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: var(--pastel-peach);
  color: var(--text-dark);
}

/* Hide desktop nav, show burger on small screens */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-peach) 50%, var(--pastel-lilac) 100%);
  box-shadow: 0 8px 48px 0 #cacfff33;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.69,.11,.23,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--pastel-blue);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 22px;
  right: 30px;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(175,180,194,.12);
  transition: background .17s;
  z-index: 2001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--text-main);
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.19rem;
  color: var(--primary);
  padding: 16px 0;
  min-width: 220px;
  border-radius: 9px;
  text-align: center;
  background: rgba(255,255,255,.23);
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--pastel-mint);
  color: var(--accent);
}

/* MAIN LAYOUTS & CARD SYSTEMS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 8px 36px 0 #AEB6C333;
  transform: translateY(-4px) scale(1.012);
}

.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: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 28px -1px #223a5020;
  padding: 20px 26px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 500px;
  width: 100%;
  border-left: 9px solid var(--accent);
  transition: box-shadow var(--transition-main);
}
.testimonial-card p {
  color: var(--text-main);
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: var(--secondary);
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px 0 #ffc06b1a;
  border-color: var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 24px;
  background: var(--pastel-mint);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px 0 #bdf3ed2a;
  margin-bottom: 20px;
}

.case-study {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--pastel-peach);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px 0 #ffc06b1c;
  padding: 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow .15s;
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.faq-item p {
  color: var(--text-light);
}

ul { list-style: none; padding-left: 0; }
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 1rem;
}
ul li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0; top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--accent);
  opacity: 0.6;
}

/* CONTACT & ICONS */
.contact-icons {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.contact-icons span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.08rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0 12px 0;
  font-size: 1.03rem;
}
.contact-details img { width: 24px; height: 24px; margin-right: 7px; vertical-align: middle;}

/* FOOTER */
footer {
  background: var(--pastel-blue);
  padding: 44px 0 28px 0;
  width: 100vw;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  height: 44px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 9px;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  padding: 5px 9px;
  opacity: .93;
  transition: background .16s,color .16s;
}
footer nav a:hover,footer nav a:focus-visible {
  background: var(--accent);
  color: var(--primary);
}
footer address {
  font-size: 0.98rem;
  text-align: center;
  color: var(--primary);
  font-style: normal;
  opacity: .81;
  margin-top: 8px;
}
footer address img {
  vertical-align: middle;
  height: 18px;
  margin: 0 5px 0 12px;
  opacity: .73;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 4000;
  background: linear-gradient(90deg, var(--pastel-mint) 30%, var(--pastel-peach) 100%);
  box-shadow: 0 -4px 30px rgba(175,180,194,0.11);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 22px 14px;
  transition: transform .29s cubic-bezier(.79,.27,.26,.81);
}
.cookie-banner.slideout {
  transform: translateY(110%);
}
.cookie-banner p {
  flex: 1;
  min-width: 180px;
  font-size: 1.03rem;
  color: var(--primary);
  margin: 0 8px 0 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  border-radius: var(--radius-full);
  padding: 8px 22px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 3px 13px 0 rgba(175,180,194,0.13);
  transition: background .14s, color .14s, border-color .14s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.cookie-banner button.reject {
  background: var(--pastel-rose);
  color: var(--primary);
  border-color: var(--pastel-rose);
}
.cookie-banner button.settings {
  background: var(--pastel-mint);
  border-color: var(--pastel-mint);
}
.cookie-banner button:hover,
.cookie-banner button:focus-visible {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(155,180,194,0.19);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .28s;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 48px 0 rgba(175,180,194,.18);
  max-width: 95vw;
  width: 420px;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadein .38s;
}
@keyframes fadein { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pastel-blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.cookie-category label {
  flex: 1;
  font-size: 1.03rem;
  color: var(--text-main);
}
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--pastel-rose);
  border-radius: 22px;
  transition: background .17s;
}
.switch-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 2px 7px rgba(175,180,194,0.13);
}
.switch input:checked + .switch-slider {
  background: var(--accent);
}
.switch input:checked + .switch-slider:before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 19px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--white);
  transition: background .14s, color .14s, border-color .14s;
  cursor: pointer;
}
.cookie-modal button.save {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  font-weight: 700;
}
.cookie-modal button.close {
  background: var(--pastel-rose);
  border-color: var(--pastel-rose);
}
.cookie-modal button:hover, .cookie-modal button:focus-visible {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
/* Essential cookies always enabled */
.cookie-category.essential {
  opacity: 0.55;
}
.cookie-category.essential .switch-slider, .cookie-category.essential input {
  pointer-events: none;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
a, button, .card, .testimonial-card, .cta-primary, .cta-secondary {
  transition: all var(--transition-main);
}

/* FORMS */
input, textarea, select {
  background: var(--pastel-mint);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  border: 2px solid var(--pastel-blue);
  color: var(--primary);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

/* SECTION/MODULE FLEX LAYOUTS (MANDATORY STRUCTURES) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .container {
    max-width: 99vw;
    padding: 0 11px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header .container { height: 68px; }
  .section {
    padding: 29px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.05rem; }
  .content-wrapper { gap: 15px; }
  .card, .case-study, .feature-item {
    padding: 15px 10px;
    border-radius: 13px;
  }
  .card-container, .content-grid, .contact-icons {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 17px; }
  .testimonial-card {
    padding: 15px 12px;
    border-radius: 10px;
    gap: 7px;
  }
  .contact-details { padding: 12px 0 7px 0; }
  .footer .container { padding: 0 6px; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 1.09rem; }
  h2 { font-size: 1.02rem; }
  .container { padding: 0 2px; }
}

/* ACCESSIBILITY: FOCUS VISIBLE */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
  background: var(--pastel-blue);
}

/* SCROLLBAR (SUBTLE) */
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-mint);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}

/* HIDE EMPTY SPACING */
[hidden] { display: none !important; }

/* ANIMATIONS */
.fade-in {
  animation: fadein .44s cubic-bezier(.54,0,.36,1);
}

/* === END OF CSS === */
