/* RESET & NORMALIZE (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,
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;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F8FAFB;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
  color: #23476D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #19A56B;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #12734B;
}
ul, ol {
  list-style: none;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23476D;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 {font-size: 2.25rem; line-height: 1.15; margin-bottom: 20px;}
h2 {font-size: 1.65rem; line-height: 1.2; margin-bottom: 16px;}
h3 {font-size: 1.25rem; margin-bottom: 10px;}
h4 {font-size: 1.10rem; margin-bottom: 10px;}
h5 {font-size: 1rem; margin-bottom: 8px;}
h6 {font-size: 0.95rem; margin-bottom: 8px;}
p, li, dd {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #25537F;
}
strong, b {color: #12734B; font-weight: 700;}

/* SOFT PASTEL THEME PALETTE (brand + pastel tints) */
:root {
  --primary: #23476D;
  --primary-light: #578bbd;
  --accent: #19A56B;
  --accent-dark: #12734B;
  --pastel-blue: #F3F7FC;
  --pastel-green: #e2f7eb;
  --pastel-yellow: #fff8e3;
  --pastel-lilac: #eee9fa;
  --pastel-pink: #fae8ee;
  --gray-soft: #E6ECF1;
  --surface: #ffffff;
  --text-main: #23476D;
  --text-dark: #18324e;
  --text-light: #5b6781;
  --shadow-soft: 0 3px 16px rgba(127,161,201,0.07);
  --radius: 18px;
}

body {
  background: var(--pastel-blue);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(60, 91, 142, 0.13);
  transform: translateY(-3px) scale(1.022);
}

.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;
  background: var(--pastel-green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  max-width: 600px;
  color: var(--text-dark);
}
.testimonial-card blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--text-dark);
  margin: 0;
}
.testimonial-card blockquote p {
  margin-bottom: 10px;
}
.testimonial-card blockquote footer {
  font-style: italic;
  color: var(--text-main);
  font-size: 0.97rem;
}

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

/* HEADER/NAVIGATION */
header {
  background: var(--surface);
  box-shadow: 0 3px 16px rgba(78,129,166,0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px 15px 20px;
}
header img {
  max-height: 44px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #23476D;
  padding: 6px 0 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.button-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg,var(--accent), var(--primary-light));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 24px;
  border: none;
  border-radius: 38px;
  box-shadow: 0 2px 18px rgba(88,187,152,0.08);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  margin-left: 16px;
  text-align: center;
  outline: none;
}
.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(90deg,var(--accent-dark), var(--primary));
  color: #fff;
  box-shadow: 0 4px 24px rgba(35,71,109,0.12);
  transform: translateY(-2px) scale(1.018);
}

/* MOBILE MENU (default hidden) */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  font-size: 2rem;
  color: #fff;
  border-radius: 9px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-left: 10px;
  z-index: 102;
  box-shadow: 0 3px 16px rgba(31,126,97,0.09);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.15s, color 0.12s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent-dark);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(230, 236, 241, 0.96);
  box-shadow: 0 6px 30px rgba(35,71,109, 0.06);
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.27,.97,.52,1);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  margin: 17px 20px 8px 0;
  cursor: pointer;
  z-index: 103;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin: 40px 0 0 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  font-weight: 600;
  border-left: 4px solid transparent;
  padding: 7px 0 7px 11px;
  transition: color .22s, border-left .18s, background .15s;
  border-radius: 8px 24px 24px 8px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent-dark);
  background: var(--pastel-green);
  border-left: 4px solid var(--accent);
}

/* HERO/BANNER */
.hero, .guide-hero, .blog-hero, .thank-you {
  width: 100%;
  background: linear-gradient(135deg, #F3F7FC 70%, #eee9fa 100%);
  padding: 42px 0 44px 0;
  border-radius: 0 0 48px 48px;
  margin-bottom: 44px;
  box-shadow: 0 1px 12px rgba(24,82,107,0.06);
}
.hero h1, .guide-hero h1, .blog-hero h1, .thank-you h1 {
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero p, .guide-hero p, .blog-hero p, .thank-you p {
  max-width: 600px;
  color: var(--text-light);
}

/* FEATURES SECTION */
.features {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  margin-top: 25px;
}
.feature-grid li {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  flex: 1 1 230px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 28px 22px 22px 22px;
  transition: box-shadow 0.18s, transform 0.14s;
  margin-bottom: 20px;
}
.feature-grid li img {
  height: 40px; width: 40px;
  margin-bottom: 6px;
  filter: grayscale(0%) brightness(0.95) opacity(0.95);
}
.feature-grid li h3 {
  font-size: 1.15rem; color: var(--accent); font-weight: 700;
  margin-bottom: 7px;
}
.feature-grid li p {
  color: var(--text-main);
  font-size: 0.96rem;
}
.feature-grid li:hover {
  box-shadow: 0 6px 26px rgba(29,165,107,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* CARDS, OFFER SECTIONS, FAQ, TEAM */
.services ul, .about-short ul, .about ul, .team ul, .guide-content ul, .posts ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
}
.services ul li, .about-short ul li, .about ul li, .team ul li, .posts ul li, .guide-content ul li {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 19px 16px 22px;
  color: var(--text-main);
  transition: box-shadow 0.17s, transform 0.14s;
  margin-bottom: 20px;
}
.services ul li:hover, .team ul li:hover, .posts ul li:hover {
  box-shadow: 0 5px 18px rgba(162,143,207,0.10);
  transform: translateY(-2px) scale(1.017);
}
.cta {
  background: var(--pastel-pink);
  border-radius: 32px;
  box-shadow: 0 1px 8px rgba(190, 80, 130, 0.06);
  padding: 32px 0;
  margin: 40px 0 32px 0;
}
.cta h2 {
  color: #CD458B;
  font-size: 1.5rem;
}
.cta .button-primary {
  margin-top: 18px;
}

.faq dl {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq dt {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.faq dd {
  margin-bottom: 10px;
  padding-left: 8px;
  color: var(--text-main);
  font-size: 0.99rem;
}

/* PROJECTS / REALIZATIONS */
.projects h2 {
  color: var(--accent);
  font-size: 1.28rem;
}
.projects ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.projects ul li {
  padding: 0;
  background: none;
  box-shadow: none;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  margin-top: 60px;
  background: var(--surface);
  box-shadow: 0 -2px 20px rgba(127,161,201,0.09);
  padding: 34px 0 28px 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 7px 0;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--accent-dark); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--text-light);
  font-size: 0.98rem;
}
.footer-contact img {
  height: 16px; width: 16px; margin-right: 6px;
  vertical-align: middle;
}
.footer-contact span {
  display: flex; align-items: center; gap: 6px;
}
.footer-copy {
  margin-top: 14px;
  color: #AAB3C5;
  font-size: 0.92rem;
}

/* LEGAL SECTIONS */
.legal {
  margin-bottom: 55px;
  padding: 36px 0 20px 0;
}
.legal h1 {
  color: var(--accent);
}
.legal ul {
  margin: 12px 0 18px 32px;
  list-style: disc inside;
  color: var(--text-main);
  font-size: 0.99rem;
}
.legal ul li { margin-bottom: 6px; }

/* BUTTON VARIANTS & LINK INTERACTIONS */
.button-primary,
.button-primary:visited {
  text-decoration: none;
  display: inline-block;
  min-width: 160px;
  text-align: center;
}
.button-primary:focus {
  outline: 2px solid var(--accent-dark);
  outline-offset: 1px;
}

/* FORM (for any future forms) */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-soft);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-main);
  margin-bottom: 18px;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  outline: none;
  border: 1.5px solid var(--accent);
}

/* COOKIES BANNER + MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--pastel-yellow);
  color: var(--primary);
  box-shadow: 0 -3px 32px rgba(29,165,107,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1201;
  padding: 24px 16px 18px 16px;
  gap: 13px;
  font-size: 1rem;
  animation: fadeSlideInUp 0.5s;
}
@keyframes fadeSlideInUp {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 9px;
}
.cookie-btn, .cookie-btn:visited {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 23px;
  padding: 8px 21px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.13s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark); color: #fff;
}
.cookie-btn.reject {
  background: #E6ECF1;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff; color: var(--accent-dark);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-green); color: var(--accent-dark);
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(1);
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(127,161,201,0.13);
  padding: 36px 28px 28px 28px;
  border-radius: 22px;
  z-index: 1300;
  min-width: 315px; max-width: 94vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeModal .33s;
}
@keyframes fadeModal {
  from { opacity: 0; transform: scale(0.93) translate(-50%,-63%); }
  to { opacity: 1; transform: scale(1) translate(-50%,-48%); }
}
.cookie-modal h3 {
  color: var(--accent);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--pastel-blue);
  font-size: 1.01rem;
}
.cookie-modal-actions {
  margin-top: 6px;
  display: flex;
  gap: 16px;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 4px;
  z-index: 1333;
}

/* TOGGLE SWITCH (cookies settings) */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px; height: 24px;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #CFDFEA;
  border-radius: 16px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.13s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--accent);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  left: 3px;
  top: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(22,120,85,.11);
  transition: transform .13s cubic-bezier(.55,.14,.55,1.6);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(16px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 990px) {
  .container { max-width: 96vw; }
  .feature-grid { gap: 18px; }
  .feature-grid li { min-width: 180px; }
  .main-nav a { font-size: 0.97rem; }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
    padding: 13px 12px;
  }
  .feature-grid { gap: 11px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .button-primary {
    margin-left: 6px;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header img { max-height: 39px; }
  .container {
    padding: 0 9px;
  }
  .section, .features, .cta {
    padding: 27px 6px;
    margin-bottom: 38px;
  }
  .cta { border-radius: 20px; }
  .content-wrapper {
    gap: 15px;
    padding: 0 0 0 0;
  }
  .feature-grid {
    gap: 12px;
    flex-wrap: wrap;
  }
  .feature-grid li {
    min-width: 126px;
    padding: 17px 10px 11px 13px;
  }
  .services ul li, .team ul li, .posts ul li, .about-short ul li {
    padding: 17px 8px 13px 12px;
    font-size: 0.97rem;
    border-radius: 14px;
  }
  .testimonial-card {
    font-size: 0.99rem;
    padding: 13px 8px;
    border-radius: 13px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    font-size: 0.97rem;
  }
  .footer-nav {
    gap: 7px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .about ul, .team ul, .posts ul, .guide-content ul {
    gap: 13px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.01rem; }
  .feature-grid { flex-direction: column; gap: 12px;}
  .feature-grid li { width: 100%; }
  .testimonial-card { max-width: 99vw; }
  .hero, .guide-hero, .blog-hero, .thank-you { padding: 19px 0 23px 0; border-radius:0 0 22px 22px; }
}

/* ANIMATIONS & MICRO INTERACTIONS */
.button-primary, .card, .feature-grid li, .testimonial-card, .faq dt, .faq dd, .footer-nav a {
  transition: box-shadow 0.19s, background 0.16s, color 0.15s, transform 0.17s;
}
.card:active, .feature-grid li:active {
  transform: scale(0.99);
}

/* UTILS */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* CLASSES FROM THE BRIEF: (.section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item) are all FLEXBOX-based and included above */

/* FOCUS STYLES – accessibility */
a:focus-visible, button:focus-visible, .button-primary:focus-visible {
  outline: 2.5px solid #19A56B;
  outline-offset:2px;
}

/* Remove number input arrows (for any forms) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* Hide visually (for a11y) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* END */