/* =========================================================
   CSS RESET & BASE
   ========================================================= */
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, menu, 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, 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 {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F4F8FB;
  color: #25465C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #225278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #6DC77A;
}
ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
}

/* =========================================================
   COLORS & BRAND VARIABLES
   ========================================================= */
:root {
  --primary: #225278;
  --secondary: #6DC77A;
  --accent: #F5F8FA;
  --bg-main: #F4F8FB;
  --bg-card: #FFFFFF;
  --bg-footer: #E0F1FF;
  --surface-shadow: 0px 2px 24px 0px rgba(34, 82, 120, 0.07);
  --text-main: #25465C;
  --text-dark: #184158;
  --text-light: #AEB8C4;
  --star-yellow: #F9D263;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --border-radius: 20px;
  --focus-shadow: 0 0 0 2px var(--secondary);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--primary);
}
p, .subheadline {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-main);
  margin-bottom: 14px;
}
.subheadline {
  color: var(--secondary);
  font-weight: 500;
}

/* Typography scaling on smaller screens */
@media (max-width: 480px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.35rem; }
  h3, .h3 { font-size: 1.125rem; }
}

/* =========================================================
   LAYOUT: CONTAINERS & SPACING
   ========================================================= */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--surface-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0px 6px 40px 0px rgba(34, 82, 120, 0.12);
  transform: translateY(-3px) scale(1.015);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.article-list,
ul,
ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-main);
}

/* Feature grid (index special) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: var(--surface-shadow);
  transition: box-shadow 0.22s, transform 0.22s;
  width: 100%;
  max-width: 340px;
  min-width: 220px;
}
.feature-grid > div:hover {
  box-shadow: 0px 6px 40px 0px rgba(34, 82, 120, 0.12);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  margin-bottom: 10px;
  width: 46px;
  height: 46px;
}

/* Service card list (offer) */
.service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-card-list > div {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--surface-shadow);
  padding: 28px 24px 18px 24px;
  flex: 1 1 265px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.22s, transform 0.22s;
}
.service-card-list > div:hover {
  box-shadow: 0px 6px 40px 0px rgba(34, 82, 120, 0.14);
  transform: translateY(-3px) scale(1.015);
}
.service-price {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 16px;
}

/* Case studies (realizations) */
.case-study {
  background: #F8FAFE;
  border-radius: var(--border-radius);
  box-shadow: 0px 2px 12px 0px rgba(34, 82, 120, 0.06);
  padding: 22px 20px;
  margin-bottom: 20px;
}

/* Testimonial slider/cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0px 3px 20px 0px rgba(34,82,120,0.10);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 400;
}
.testimonial-author {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 4px;
}
.star-rating {
  color: var(--star-yellow);
  font-size: 1.2em;
  letter-spacing: 0.12em;
}

/* CTA Section */
.cta-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

/* Buttons & Links */
.cta-primary, .cta-secondary, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  padding: 12px 32px;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.22s;
}
.cta-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 16px 0px rgba(109,199,122,0.09);
}
.cta-primary:hover,
.cta-primary:focus {
  background: #31b96a;
  color: #fff;
  box-shadow: 0 0 0 2px var(--primary), 0 4px 22px 0px rgba(34,82,120,0.10);
  outline: none;
}
.cta-secondary {
  background: #EFF7FF;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  margin-left: 10px;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #DDF1EA;
  color: var(--primary);
  box-shadow: 0 0 0 2px var(--secondary);
}
button:focus {
  outline: none;
  box-shadow: var(--focus-shadow);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background: transparent;
  gap: 18px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
.main-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 24px;
}
.main-menu li a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 22px;
  padding: 6px 18px;
  transition: background 0.14s, color 0.14s;
}
.main-menu li a:hover,
.main-menu li a.active {
  background: var(--secondary);
  color: #fff;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-left: 18px;
  box-shadow: 0px 2px 10px 0px rgba(109,199,122,0.09);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #31b96a;
  outline: none;
}

/* Mobile Menu Slide (
   overlay + transitions) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(244, 248, 251, 0.97);
  z-index: 1004;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 0 24px;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  align-self: flex-end;
  width: 48px; height: 48px;
  margin-bottom: 10px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--primary);
  background: #fff;
  border-radius: 24px;
  padding: 14px 0 14px 18px;
  font-weight: 500;
  box-shadow: 0 1px 5px 0px rgba(34,82,120,0.03);
  margin-bottom: 8px;
  margin-right: 8px;
  transition: background 0.13s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 10px;
  }
  .container {
    padding: 0 7vw;
  }
}
@media (max-width: 850px) {
  .main-menu {
    gap: 8px;
    margin-left: 5vw;
  }
}
@media (max-width: 768px) {
  .main-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .cta-primary { padding: 12px 18px; font-size: 1rem; }
}

/* Layout adaptation for responsiveness */
@media (max-width: 900px) {
  .feature-grid, .service-card-list, .testimonial-slider, .footer-columns {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-grid > div, .service-card-list > div, .testimonial-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 180px;
  }
}
@media (max-width: 640px) {
  .feature-grid, .service-card-list, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-card-list > div, .testimonial-card {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section, .footer-columns, .content-grid {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 22px !important;
  }
  .section { padding: 32px 9vw; }
  .container { padding: 0 6vw; }
}
@media (max-width: 520px) {
  .section { padding: 24px 6vw; }
}

/* =========================================================
   HERO + SHARED SECTION STYLES
   ========================================================= */
section {
  background: none;
}
section > .container {
  padding-top: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--bg-footer);
  margin-top: 60px;
  padding: 60px 0 0 0;
  font-family: var(--font-body);
  color: var(--primary);
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-columns > div {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 260px;
  margin-bottom: 12px;
}
.footer-columns img {
  width: 44px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 6px;
}
.footer-menu li a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 12px;
  transition: background 0.14s;
}
.footer-menu li a:hover {
  background: #DDF1EA;
  color: var(--primary);
}
.footer-contact {
  font-size: 0.995rem;
  line-height: 1.6;
  margin-top: 7px;
}
.footer-bottom {
  border-top: 1.5px solid #d9e8ed;
  padding: 20px 0;
  font-size: 0.97rem;
  color: #7194AA;
  text-align: center;
}
.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.social-icons img {
  filter: grayscale(1) opacity(0.85);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: filter 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 8px 0px rgba(109,199,122,0.06);
}
.social-icons img:hover {
  filter: grayscale(0) opacity(1);
  box-shadow: 0 3px 18px 0px rgba(109,199,122,0.09);
}

@media (max-width: 900px) {
  .footer-columns { gap: 24px; }
}
@media (max-width: 720px) {
  .footer-columns { flex-direction: column; gap: 20px; }
  .footer-bottom { padding: 16px 0; font-size: 0.96rem; }
}

/* =========================================================
   COOKIE BANNER & MODAL
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  background: #fffbe7;
  border-top: 2px solid #eee8d5;
  box-shadow: 0px -3px 32px 0px rgba(34, 82, 120, 0.09);
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1.05rem;
  animation: slideUpBanner 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 0 140px;
  color: #6a5d35;
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin: 0 10px 0 0;
}
.cookie-banner .cookie-btn {
  min-width: 120px;
  margin-left: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.97rem;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  font-weight: 600;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #31b96a;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  margin-left: 8px;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #DDF1EA;
  color: var(--secondary);
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2101;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,82,120,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdropAppear 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes backdropAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 94vw;
  min-width: 320px;
  box-shadow: 0px 6px 44px 2px rgba(34, 82, 120, 0.09);
  padding: 38px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-family: var(--font-body);
  color: var(--text-dark);
  animation: slideDownModal 0.38s cubic-bezier(.4,.09,.21,1.02);
}
@keyframes slideDownModal {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.17rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 14px;
  background: #d5eadd;
  position: relative;
  outline: none;
  transition: background 0.21s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(34,82,120,0.10);
  transition: left 0.21s;
}
.cookie-toggle:checked::before {
  left: 24px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 0.97rem;
}
.cookie-modal .cookie-btn.save {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover {
  background: #31b96a;
}
.cookie-modal .cookie-btn.close {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-modal .cookie-btn.close:hover {
  background: #DDF1EA;
}

@media (max-width: 600px) {
  .cookie-modal { min-width: 90vw; padding: 22px 8vw 15px 8vw; }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 16px 6px; }
  .cookie-banner p { margin-bottom: 10px; }
}

/* =========================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================= */
.card, .feature-grid > div, .service-card-list > div, .testimonial-card {
  transition:
    box-shadow 0.18s cubic-bezier(.4,0,.2,1),
    transform 0.19s cubic-bezier(.73,-0.1,.21,1.17);
}
.card:hover, .feature-grid > div:hover, .service-card-list > div:hover {
  box-shadow: 0 4px 38px 0px rgba(34,82,120,0.15);
  transform: translateY(-4px) scale(1.03);
}

a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: none;
  box-shadow: var(--focus-shadow);
}

/* ---------------------------------------------------------
   DREAMY PASTEL ATMOSPHERE/PALETTE
   --------------------------------------------------------- */
body {
  background: linear-gradient(120deg, #f7fafd 65%, #FDE9F7 100%);
}
.section, .content-wrapper, .feature-grid > div, .service-card-list > div,
.case-study, .testimonial-card {
  background-image: linear-gradient(145deg, #fff6e3 2%, #eafaff 98%);
  background-repeat: no-repeat;
}
.card, .feature-grid > div, .service-card-list > div, .testimonial-card,
.case-study {
  box-shadow: 0 1.7px 18px 0px rgba(154,190,225,0.09);
}

/* ---------------------------------------------------------
   MINIMUM SPACING / NO OVERLAPS
   --------------------------------------------------------- */
section, .section {
  margin-bottom: 60px !important;
}
.card-container>*, .card>* , .feature-grid>*, .service-card-list>*, .testimonial-slider>*, .footer-columns>*, .content-grid>*, .text-image-section>* {
  margin-bottom: 20px;
}
.card-container,
.feature-grid,
.service-card-list,
.testimonial-slider,
.content-grid,
.text-image-section,
.footer-columns {
  gap: 24px;
}
.footer-menu, .footer-contact {
  gap: 8px;
}

/* ---------------------------------------------------------
   PRINT/ACCESSIBILITY HINTS
   --------------------------------------------------------- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-backdrop {
    display: none !important;
  }
}
