/* --- 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, 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', 'Georgia', serif;
  color: #254157;
  background: #F8F7F2;
  min-height: 100vh;
  font-size: 16px;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style-position: inside;
}
*:focus {
  outline: 2px solid #B3C3D1;
  outline-offset: 2px;
}

/* --- TYPOGRAPHY / ELEGANT CLASSIC STYLE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.22;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', 'Georgia', serif;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: #B3C3D1;
  color: #254157;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 40px 0 #b3c3d116;
  padding: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 72px 0 32px 0;
}

/* --- FLEXBOX LAYOUTS (classic/elegant proportions) --- */
.feature-grid,
.services-list,
.faq-list,
.key-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > li,
.services-list > li,
.key-points > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 #25415712;
  padding: 32px 28px 24px 28px;
  flex: 1 1 265px;
  min-width: 235px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.faq-list {
  flex-direction: column;
  gap: 14px;
  padding-left: 0; /* UL alignment fix */
}

/* Card container patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 #25415710;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 30px 0 #2541571a;
  transform: translateY(-2px) scale(1.01);
}
.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: 24px 32px;
  background: #F8F7F2;
  border-left: 5px solid #254157;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 #b3c3d140;
  color: #254157;
  font-style: italic;
  transition: box-shadow 0.26s, border-color 0.26s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px #25415722;
  border-color: #B3C3D1;
}
.testimonial-author {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.03rem;
  font-weight: 600;
  color: #254157;
  font-style: normal;
  margin-top: 6px;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER/NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 4px 18px 0 #25415708;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #254157;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B3C3D1;
}
.cta-primary {
  display: inline-block;
  border-radius: 99px;
  background: #254157;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  box-shadow: 0 4px 24px 0 #25415722;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B3C3D1;
  color: #254157;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px #25415722;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #254157;
  cursor: pointer;
  z-index: 201;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B3C3D1;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.66,-0.01,.22,1);
  box-shadow: -4px 0 36px #25415725;
  padding: 0;
  flex-direction: column;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #254157;
  cursor: pointer;
  z-index: 211;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B3C3D1;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 110px 40px 40px 40px;
  gap: 26px;
  height: 100%;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #254157;
  padding: 16px 0 6px 0;
  border-bottom: 1px solid #F8F7F2;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B3C3D1;
}

/* Show/hide nav on mobile */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}


/* --- FOOTER --- */
footer {
  background: #254157;
  color: #fff;
  padding: 0 0 12px 0;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 10px 12px 10px;
}
.footer-logo {
  min-width: 88px;
  padding-bottom: 12px;
}
.footer-logo img {
  height: 58px;
  filter: brightness(1.04) sepia(0.1);
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #B3C3D1;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 0.98rem;
  margin-bottom: 3px;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p {
  font-size: 0.99rem;
  margin-bottom: 7px;
  color: #F8F7F2;
}
.footer-bottom {
  border-top: 1px solid #B3C3D1;
  text-align: center;
  margin-top: 18px;
  padding: 12px 0 0 0;
  font-size: 0.95rem;
  color: #B3C3D1;
}


/* --- SERVICE PRICE TAG --- */
.service-price {
  display: inline-block;
  margin-top: 10px;
  background: #B3C3D1;
  color: #254157;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1.05rem;
}

/* --- STEP BY STEP --- */
.step-by-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  margin-bottom: 18px;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  counter-reset: steps;
}
.step-by-step li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.step-by-step li::before {
  counter-increment: steps;
  content: counter(steps) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #254157;
  font-family: 'Montserrat','Georgia',serif;
  font-weight: bold;
  background: #B3C3D1;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 8px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 #25415713;
  padding: 30px 28px 18px 28px;
}
.text-section ul {
  margin-left: 14px;
  margin-bottom: 14px;
}

/* --- REUSABLE UTIL CLASSES --- */
.text-center {text-align: center;}
.align-center {align-items: center;}
.mt-0 {margin-top:0 !important;}

/* --- BUTTONS, MICROINTERACTIONS --- */
button, .button {
  font-family: 'Montserrat','Georgia',serif;
  border: none;
  border-radius: 32px;
  background: #254157;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 1px 4px 0 #25415716;
}
button:hover,button:focus, .button:hover, .button:focus {
  background: #B3C3D1;
  color: #254157;
  box-shadow: 0 4px 14px #2541571a;
  transform: translateY(-1px) scale(1.01);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 950px) {
  .container { max-width: 98vw; }
  .feature-grid > li, .services-list>li {
    min-width: clamp(180px,45vw,325px);
    flex: 1 1 210px;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 11px; }
  .section { margin-bottom: 32px; padding: 28px 6px; }
  .hero .content-wrapper { padding: 40px 0 18px 0; }
  .content-wrapper { gap: 14px; }
  .feature-grid, .services-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > li, .services-list>li { padding: 20px 11px 16px 18px; }
  .testimonial-card { padding: 18px 12px; }
  .footer-logo img { height: 40px; }
  .text-section { padding: 18px 7px 10px 13px; }
  .main-nav, .footer-nav nav { gap: 13px; }
  .mobile-nav { padding: 64px 18px 18px 22px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.17rem; }
  .service-price { font-size: 0.98rem; padding: 4px 8px; }
}
@media (max-width: 400px) {
  .hero .content-wrapper { padding: 24px 0 8px 0; }
  .testimonial-card { padding: 10px 5px; }
  .footer-logo img { height: 30px; }
}

.text-image-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 3400;
  background: #254157;
  color: #fff;
  box-shadow: 0 -4px 24px #25415724;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 19px 16px 18px 16px;
  font-family: 'Roboto','Georgia',serif;
  font-size: 1rem;
  transition: transform 0.42s cubic-bezier(.55,0,.45,1), opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 350px;
  margin-right: 16px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner .cookie-btns button {
  background: #fff;
  color: #254157;
  font-size: 1rem;
  font-family: 'Montserrat','Georgia',serif;
  font-weight: 500;
  border-radius: 32px;
  padding: 7px 20px;
  box-shadow: 0 1px 5px #25415733;
  margin-right: 2px;
  border: none;
  transition: background 0.14s, color 0.16s, transform 0.17s;
  cursor: pointer;
}
.cookie-banner .cookie-btns button.accept {
  background: #B3C3D1;
  color: #254157;
  font-weight: 600;
}
.cookie-banner .cookie-btns button.accept:hover,
.cookie-banner .cookie-btns button.accept:focus {
  background: #254157;
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .cookie-btns button.reject {
  background: #fff;
  color: #254157;
  border: 1px solid #B3C3D1;
}
.cookie-banner .cookie-btns button.reject:hover,
.cookie-banner .cookie-btns button.reject:focus {
  background: #B3C3D1;
  color: #254157;
  transform: scale(1.04);
}
.cookie-banner .cookie-btns button.settings {
  background: #F8F7F2;
  color: #254157;
  border: 1px solid #B3C3D1;
}
.cookie-banner .cookie-btns button.settings:hover,
.cookie-banner .cookie-btns button.settings:focus {
  background: #B3C3D1;
  color: #254157;
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 10px; padding: 16px 7px 14px 7px;}
  .cookie-banner .cookie-banner-message { margin-right: 0; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(37, 65, 87, 0.33);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  animation: fadeInModalBg 0.32s;
}
.cookie-modal.active { display: flex; }
@keyframes fadeInModalBg {
  from { background: rgba(37,65,87,0.12); }
  to   { background: rgba(37,65,87,0.33); }
}
.cookie-modal-dialog {
  background: #fff;
  color: #254157;
  border-radius: 24px;
  box-shadow: 0 8px 40px #2541572f, 0 1.5px 18px #25415716;
  min-width: 320px;
  max-width: 96vw;
  padding: 32px 40px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.48s cubic-bezier(.54,1.9,.45,1.03);
}
@keyframes modalPopIn {
  from { transform: scale(.83) translateY(44px); opacity:0; }
  to   { transform: scale(1)   translateY(0);    opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #254157;
  cursor: pointer;
  z-index: 4120;
  border-radius: 8px;
  padding: 3px 8px;
  transition: background 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { background: #B3C3D1; color: #fff; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #254157;
  padding: 7px 0;
}
.cookie-category label {
  font-family: 'Montserrat','Georgia',serif;
  font-size: 1rem;
}
/* Simple elegant toggle switches */
.cookie-switch {
  --switch-width: 38px;
  --switch-height: 22px;
  --switch-thumb: 16px;
  display: inline-block;
  width: var(--switch-width);
  height: var(--switch-height);
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  background: #B3C3D1;
  border-radius: 44px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  width: var(--switch-width);
  height: var(--switch-height);
  transition: background 0.15s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  background: #254157;
}
.cookie-switch .slider:before {
  position: absolute;
  content: '';
  height: var(--switch-thumb);
  width: var(--switch-thumb);
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 2px 8px #B3C3D1aa;
}
.cookie-switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(16px);
  background: #B3C3D1;
}
.cookie-category .always-on {
  font-size: 0.93rem;
  color: #B3C3D1;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-actions button {
  background: #254157;
  color: #fff;
  padding: 8px 22px;
  border-radius: 24px;
  font-family: 'Montserrat','Georgia',serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #B3C3D1;
  color: #254157;
}

@media (max-width: 500px) {
  .cookie-modal-dialog {
    padding: 20px 14px;
    min-width: 0;
  }
}

/* --- MISCELLANEOUS --- */
blockquote {
  border-left: 4px solid #B3C3D1;
  margin: 18px 0;
  padding-left: 22px;
  color: #254157;
  font-size: 1.2rem;
  font-style: italic;
  background: #F8F7F2;
  border-radius: 9px;
}

hr {
  border-top: 1.5px solid #B3C3D1;
  margin: 24px 0;
}

a.button, button.button, .cta-primary {
  user-select: none;
}

/* --- SCROLLBAR (subtle, elegant) --- */
::-webkit-scrollbar {
  width: 8px;
  background: #F8F7F2;
}
::-webkit-scrollbar-thumb {
  background: #B3C3D1;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #254157;
}

/* --- CUSTOM STYLE FOR ANCHORS IN MAIN (readability/contrast) --- */
main a:not(.cta-primary):not(.button) {
  color: #254157;
  border-bottom: 1.5px solid #B3C3D1;
  transition: color 0.16s, border-color 0.19s;
}
main a:not(.cta-primary):not(.button):hover,
main a:not(.cta-primary):not(.button):focus {
  color: #B3C3D1;
  border-bottom: 1.5px solid #254157;
}

/* --- SELECTION --- */
::selection {
  background: #B3C3D1;
  color: #254157;
}

/* --- ACCESSIBILITY: ENSURE HIGH CONTRAST TEXT (reviews, testimonial card) --- */
.testimonial-card, .testimonial-card p, .testimonial-author {
  color: #254157 !important;
  background: transparent !important;
}

/* --- SPACING CONSISTENCY --- */
.feature-grid > li, .services-list > li, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* --- END --- */
