/* ===============================
   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, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #f8fafc;
  color: #2c2c35;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
*,*:before,*:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  margin-left: 2em;
}

/* ===============================
   SOFT PASTEL BRAND COLORS
   =============================== */
:root {
  --lm-primary: #22407b;
  --lm-secondary: #e8eaf6;
  --lm-accent: #009688;
  --lm-bg: #f8fafc;
  --lm-card-bg: #f3f5fd;
  --lm-pastel-blue: #b3c7f7;
  --lm-pastel-mint: #cff8e9;
  --lm-pastel-yellow: #fff9c4;
  --lm-pastel-pink: #ffe0eb;
  --lm-pastel-lavender: #f3e8fd;
  --lm-action: #22407b;
  --lm-action-hover: #2a568a;
  --lm-text: #253046;
  --lm-text-dark: #0f1828;
  --lm-bg-gradient: linear-gradient(140deg, #e8eaf6 40%, #cff8e9 100%);
  --lm-shadow: 0 2px 16px 0 rgba(40, 72, 120, .09);
  --lm-radius: 18px;
  --lm-radius-sm: 10px;
}

/* ===============================
   TYPOGRAPHY
   =============================== */
body, button, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--lm-text);
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--lm-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-size: 1.10rem;
  color: var(--lm-text);
  margin-bottom: 1em;
}
strong, b {
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--lm-accent);
}

/* Typography spacing */
.text-section:not(:last-child){
  margin-bottom: 24px;
}

/* ===============================
   CONTAINER & SECTIONS
   =============================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--lm-bg-gradient);
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: var(--lm-card-bg);
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  transition: box-shadow 0.3s, transform 0.25s;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 370px;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 24px 0 rgba(40, 72, 120, 0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.section > .container:not(:last-child) {
  margin-bottom: 20px;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(120deg, #f3f5fd 82%, #ffe0eb 100%);
  padding: 58px 0 54px 0;
}
.hero h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.4rem;
  color: var(--lm-primary);
}
.hero p{
  font-size: 1.25rem;
  color: var(--lm-text-dark);
  margin-bottom: 30px;
  margin-top: 10px;
}
.hero .cta-primary {
  margin-top: 12px;
}

/* ===============================
   BUTTONS & CTA
   =============================== */
.cta-primary, .cta-secondary, .mobile-menu-close {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--lm-radius-sm);
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--lm-primary);
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s, box-shadow 0.25s, transform 0.17s;
  box-shadow: 0 1px 10px 0 rgba(34, 64, 123, 0.07);
  margin-top: 12px;
  margin-bottom: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--lm-action-hover);
  color: #fff;
  box-shadow: 0 5px 24px 0 rgba(34, 64, 123, 0.16);
  transform: translateY(-2px);
}
.cta-secondary {
  background: var(--lm-accent);
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #00706c;
  color: #fff;
}

button, .mobile-menu-close {
  font-size: 1.15rem;
}
button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px dashed var(--lm-accent);
  outline-offset: 2px;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: #fff;
  box-shadow: var(--lm-shadow);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
}
.main-nav a {
  color: var(--lm-primary);
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--lm-accent);
}
header img {
  height: 48px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lm-primary);
  font-size: 2.1rem;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: var(--lm-radius-sm);
  transition: background 0.22s;
  z-index: 1003;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--lm-pastel-blue);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.97);
  z-index: 5000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--lm-primary);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  padding: 8px 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--lm-pastel-pink);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: var(--lm-primary);
  padding: 10px 0;
  border-radius: var(--lm-radius-sm);
  font-weight: 600;
  transition: background 0.18s, color 0.17s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lm-pastel-blue);
  color: var(--lm-accent);
}

/* Hide navigation on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 16px 16px;
    gap: 7px;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #fff;
  border-top: 1px solid #eae4ed;
  padding: 0 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding: 38px 20px 0 20px;
}
footer img {
  height: 38px;
  margin-bottom: 7px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: var(--lm-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--lm-accent);
}
.text-section address, .text-section p {
  font-size: 1rem;
  color: var(--lm-primary);
  margin-bottom: 3px;
}
.text-section a {
  color: var(--lm-action);
}
.text-section a:hover, .text-section a:focus {
  color: var(--lm-accent);
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonial-card {
  background: var(--lm-pastel-blue);
  color: var(--lm-text-dark);
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  max-width: 700px;
}
.testimonial-card strong {
  color: var(--lm-primary);
  font-weight: 700;
}
.testimonial-card p {
  color: var(--lm-text-dark);
  margin-bottom: 0;
  margin-right: 12px;
  font-style: italic;
}
.testimonial-card span {
  color: var(--lm-primary);
  font-size: 1rem;
}

/* ===============================
   SERVICE LIST (INDEX & TECAJI)
   =============================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 24px 0;
}
.service-list > div {
  background: var(--lm-pastel-lavender);
  border-radius: var(--lm-radius-sm);
  padding: 24px 16px 18px 20px;
  box-shadow: 0 1px 8px 0 rgba(112,139,181,0.08);
  min-width: 220px;
  flex: 1 1 290px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.service-list > div:hover {
  transform: translateY(-2px) scale(1.016);
  box-shadow: 0 6px 16px rgba(34,64,123,0.18);
}
.service-list h2, .service-list h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
  color: var(--lm-action);
}
.service-list p {
  font-size: 1.07rem;
}
.service-list span {
  color: var(--lm-accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

/* ===============================
   TABLES
   =============================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--lm-card-bg);
  border-radius: var(--lm-radius-sm);
  overflow: hidden;
  margin: 18px 0 24px 0;
  box-shadow: 0 1px 10px 0 rgba(34, 64, 123, 0.08);
  font-size: 1.05rem;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: var(--lm-pastel-blue);
  color: var(--lm-primary);
  font-weight: 600;
}
tbody tr:nth-child(even) {
  background: var(--lm-pastel-mint);
}
tbody tr:nth-child(odd) {
  background: #fff;
}
tfoot {
  background: var(--lm-pastel-lavender);
}

/* ===============================
   FORM ELEMENTS (if forms added) 
   =============================== */
input, textarea, select {
  padding: 11px 16px;
  border-radius: var(--lm-radius-sm);
  border: 1.5px solid #d5deed;
  font-size: 1.07rem;
  color: var(--lm-text-dark);
  margin-bottom: 14px;
  width: 100%;
  background: #f9fbff;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--lm-accent);
  box-shadow: 0 2px 6px 0 rgba(34,64,123,0.12);
  outline: none;
}

/* ===============================
   SPACING CONSISTENCY
   =============================== */
.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  (mobile-first)
   =============================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 32px 7px;
    margin-bottom: 44px;
  }
  .service-list {
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
  .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 11px 8px;
  }
  .container {
    padding: 0 7px;
  }
  .section {
    padding: 22px 2px;
    margin-bottom: 28px;
  }
  .feature-item,
  .content-wrapper,
  .service-list{
    gap: 12px;
  }
  .text-image-section,
  .content-grid,
  .card-container, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 11px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 28px 8px 0 8px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .service-list > div {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .section {
    margin-bottom: 18px;
    padding: 14px 0px;
  }
  .card, .service-list > div {
    padding: 15px 8px;
  }
  .footer-nav {
    gap: 6px 12px;
  }
  .mobile-nav {
    padding-left: 13px;
  }
}

/* ===============================
   MICRO-INTERACTIONS & TRANSITIONS
   =============================== */
.card, .service-list > div, .testimonial-card, .cta-primary, .cta-secondary {
  transition: box-shadow 0.27s, transform 0.2s, background 0.24s, color 0.18s;
}
a, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.2s;
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe8;
  color: #2c2c35;
  box-shadow: 0 -2px 18px 0 rgba(34, 64, 123, 0.13);
  padding: 16px 20px;
  z-index: 6001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: cookieBannerSlideIn 0.75s cubic-bezier(.77, .17, .16, 1.04);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-content {
  flex: 1 1 300px;
  max-width: 570px;
  color: #554433;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-consent-banner button {
  font-size: 1rem;
  border: none;
  outline: none;
  border-radius: var(--lm-radius-sm);
  padding: 11px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  background: var(--lm-primary);
  color: #fff;
  transition: background 0.22s, color 0.23s;
}
.cookie-consent-banner button.cookie-settings {
  background: var(--lm-accent);
  color: #fff;
}
.cookie-consent-banner button.cookie-reject {
  background: #e5e3fd;
  color: var(--lm-primary);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  opacity: 0.90;
  background: var(--lm-action-hover);
  color: #fff;
}
.cookie-consent-banner button.cookie-settings:hover, .cookie-consent-banner button.cookie-settings:focus {
  background: #00706c;
}
.cookie-consent-banner button.cookie-reject:hover, .cookie-consent-banner button.cookie-reject:focus {
  background: #d5deed;
  color: var(--lm-action);
}

/* Cookie modal overlay + preferences popup */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,48,90,0.52);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  0%{opacity:0} 100%{opacity:1}
}
.cookie-modal {
  background: #fff;
  border-radius: var(--lm-radius);
  box-shadow: 0 4px 22px 0 rgba(40,72,120,0.23);
  min-width: 300px;
  max-width: 420px;
  padding: 34px 28px 28px 28px;
  z-index: 9999;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popupBounce 0.21s cubic-bezier(.62,-0.15,.32,1.4);
}
@keyframes popupBounce {
  0%{ transform: scale(0.9); opacity:0 }
  80%{ transform: scale(1.03); opacity:1 }
  100%{ transform: scale(1); opacity:1 }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: var(--lm-primary);
}

.cookie-category {
  background: var(--lm-pastel-mint);
  border-radius: var(--lm-radius-sm);
  padding: 12px 14px;
  margin-bottom: 9px;
  font-weight: 500;
  color: var(--lm-primary);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category[aria-disabled='true'] {
  color: #b1b1b5;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type="checkbox"] {
  width: 36px;
  height: 20px;
  accent-color: var(--lm-accent);
  margin-right: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--lm-primary);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--lm-pastel-blue);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 17px;
    padding: 11px 5px;
  }
  .cookie-modal {
    min-width: 0;
    max-width: 97vw;
    padding: 18px 6px 10px 12px;
  }
}

/* ===============================
   ACCESIBILITY (focus styles, selection)
   =============================== */
:focus-visible {
  outline: 2px solid var(--lm-accent);
  outline-offset: 2px;
}
::selection {
  background: var(--lm-accent);
  color: #fff;
}

/* ===============================
   MISC UTILITIES
   =============================== */
.lm-hide { display: none !important; }
.lm-flex-row { display: flex; flex-direction: row; }
.lm-flex-col { display: flex; flex-direction: column; }
.lm-align-center { align-items: center; }
.lm-justify-between { justify-content: space-between; }
.lm-gap-24 { gap: 24px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* ===============================
   BRAND PERSONALITY DECORATION
   =============================== */
body {
  background: var(--lm-bg-gradient);
}

/* Decorative pastel bubbles or blurs - optional, if you add .soft-bubble in HTML */
.soft-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: .1;
  z-index: 0;
  pointer-events: none;
  filter: blur(18px);
}
.soft-bubble.blue   { background: var(--lm-pastel-blue); }
.soft-bubble.pink   { background: var(--lm-pastel-pink); }
.soft-bubble.green  { background: var(--lm-pastel-mint); }
.soft-bubble.yellow { background: var(--lm-pastel-yellow); }
.soft-bubble.lavender { background: var(--lm-pastel-lavender); }

/* ===============================
   END OF STYLES
   =============================== */
