/* 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAFE;
  color: #25304a;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #7c7bb3;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #D09559;
  text-decoration: underline;
}
button, .btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  outline: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
  padding: 0.7em 2em;
  margin: 0.5em 0;
  box-shadow: 0 2px 12px 0 rgba(105, 123, 174, 0.06);
}
.btn.primary {
  background: #D09559;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(208, 149, 89, 0.18);
}
.btn.primary:hover, .btn.primary:focus {
  background: #b87732;
  color: #fff;
}
.btn {
  background: #F6F9FB;
  color: #1B3A57;
}
.btn:hover, .btn:focus {
  background: #e5eaff;
  color: #1B3A57;
}

/* BRAND FONTS - use Google Fonts or Local if available */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', 'Arial', sans-serif;
  background-color: #F6F9FB;
  color: #25304A;
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #1B3A57;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.175rem;
  color: #4E536A;
  font-weight: 400;
  margin-bottom: 24px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 30px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(169, 180, 225, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 300px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  margin-right: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px 0 rgba(160, 170, 200, 0.10);
  max-width: 480px;
  min-width: 250px;
  border: 1px solid #E9EEF7;
  transition: box-shadow .20s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 36px 0 rgba(208, 149, 89, 0.15);
  border-color: #ebdbca;
}
.testimonial-card p {
  color: #30334c;
  font-size: 1rem;
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #8a6a27;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

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

/**** HERO SECTION ****/
.hero {
  padding: 64px 0 48px 0;
  background:
    linear-gradient(135deg, #f9fafe 80%, #e7ecf9 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 24px 0;
  }
  .hero .content-wrapper {
    gap: 12px;
  }
}

/**** FEATURES (GRID AND LIST) ****/
.features {
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(165,180,230,0.08);
  padding: 30px 22px 28px 22px;
  min-width: 240px;
  flex: 1 1 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(208,149,89,0.14);
  transform: translateY(-2px) scale(1.017);
}
.feature-grid img {
  height: 36px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 7px #E9EEF7);
}
.features ul, .about ul {
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 18px;
  font-size: 1rem;
  color: #3d4070;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc inside;
}
.features ul li, .about ul li {
  margin-bottom: 5px;
}

/**** SERVICES SECTION & CARDS ****/
.services {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 28px;
  margin-bottom: 15px;
}
.service-list li {
  background: #FAF4F7;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(208,149,89,0.04);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.service-list li a {
  color: #1B3A57;
  font-weight: 600;
  text-decoration: underline;
  transition: color .2s;
}
.service-list li a:hover, .service-list li a:focus {
  color: #D09559;
}
.service-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(169,180,230,0.10);
  padding: 36px 26px 30px 26px;
  margin: 22px 0;
  min-width: 240px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/**** CTA SECTION ****/
.cta {
  padding: 44px 0 44px 0;
  background-color: #F6F4FB;
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: #1B3A57;
  font-size: 2rem;
  letter-spacing: .01em;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* FOOTER */
footer {
  background: #F6F9FB;
  border-top: 2px solid #E8ECF4;
  padding: 32px 0 0 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  font-size: 1rem;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav img {
  height: 34px;
  margin-bottom: 6px;
}
.footer-nav .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.97rem;
  color: #7b8293;
  margin-top: 6px;
}

/**** MAIN NAVIGATION (DESKTOP) ****/
header {
  width: 100%;
  background: #F6F9FB;
  padding: 12px 0 2px 0;
  position: relative;
  z-index: 60;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
}
.main-nav > img {
  height: 46px;
  margin-right: 16px;
  flex-shrink: 0;
}
.main-nav > a {
  color: #36507f;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: color .22s;
  border-radius: 14px;
  padding: 6px 18px;
  margin-right: 1px;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #D09559;
  background: #f2e6da;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
  .main-nav > img { height: 40px; }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 4px;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}

/**** MOBILE BURGER MENU ****/
.mobile-menu-toggle {
  display: none;
  background: #FFF;
  border: 2px solid #e7eaf0;
  color: #E7A657;
  font-size: 2rem;
  border-radius: 34px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 24px;
  z-index: 102;
  box-shadow: 0 2px 10px 0 rgba(200,165,105,0.06);
  transition: background .22s, color .17s, box-shadow .17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff9f5;
  color: #bd8640;
  box-shadow: 0 5px 14px 0 rgba(208,149,89,0.09);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(238,241,250,0.95);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.58,.19,.56,1.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  box-shadow: 0 0 24px 0 rgba(60,66,90,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #D09559;
  cursor: pointer;
  z-index: 1500;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eee5db;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 90px 0 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: #25304a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 12px;
  transition: background .18s, color .22s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D09559;
  background: #f9efd3;
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 64px 0 0 13px;
    gap: 18px;
  }
  .mobile-nav a { font-size: 1rem; padding: 8px 0; }
}

/**** ABOUT PAGE, LEGAL, TEXT SECTIONS ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #37405b;
  font-size: 1.05rem;
  margin-bottom: 16px;
  margin-top: 8px;
}
.legal h2, .legal h3 {
  margin-top: 18px;
  color: #1B3A57;
}
.legal ul {
  margin: 13px 0 16px 18px;
  gap: 8px;
  color: #42507c;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
}
.legal ul li {
  margin-bottom: 6px;
}

/**** CONTACT SECTION ****/
.contact ul {
  margin-top: 15px;
  margin-bottom: 13px;
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1B3A57;
  font-weight: 600;
}
.contact ul li img {
  height: 24px;
}

/**** DECORATIVE ELEMENTS ****/
.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 18px 0;
}
.feature-icons img {
  height: 36px;
  filter: grayscale(0.15) brightness(1.15);
}

/**** ANIMATIONS & MICRO-INTERACTIONS ****/
.btn, .btn.primary, .main-nav > a, .service-list li, .card, .feature-grid > div, .testimonial-card, .mobile-menu {
  transition: box-shadow .18s, background .20s, color .18s, transform .18s;
}
.hero, .features, .services, .testimonials, .cta, .about, .contact, .legal {
  animation: fadeInUp .7s cubic-bezier(.3,1.05,.62,.96) both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/**** SOFT PASTEL PALETTE - Color accents ****/
body, .main-nav, .footer-nav, header, .container {
  background: #F6F9FB;
}
.card, .service-card, .testimonial-card, .feature-grid > div {
  background: #fff;
}
.features {
  background: linear-gradient(135deg, #f9fafe 60%, #fdf6fb 100%);
}
.cta {
  background: linear-gradient(90deg, #f6f4fb 80%, #fbeee3 100%);
}

/**** COOKIE CONSENT BANNER & MODAL ****/
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fbeee3;
  color: #3c3f57;
  box-shadow: 0 -4px 18px 0 rgba(200, 175, 108, .11);
  border-top: 2.5px solid #efd7b8;
  padding: 28px 18px 20px 18px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeInUp .6s cubic-bezier(.42,1.13,.58,1.02) both;
}
.cookie-consent p {
  color: #514C45;
  font-size: 1.075rem;
  margin-bottom: 10px;
}
.cookie-consent .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}
.cookie-consent .cookie-btns .btn {
  min-width: 110px;
  padding: 0.6em 1.6em;
  font-size: 1rem;
  border-radius: 17px;
  margin: 0;
}
.cookie-consent .btn.accept {
  background: #D09559;
  color: #fff;
}
.cookie-consent .btn.accept:hover, .cookie-consent .btn.accept:focus {
  background: #bb7c2c;
  color: #fff;
}
.cookie-consent .btn.reject {
  background: #e7eaf0;
  color: #1B3A57;
}
.cookie-consent .btn.reject:hover, .cookie-consent .btn.reject:focus {
  background: #f5d0b7;
  color: #A35F0E;
}
.cookie-consent .btn.settings {
  background: #fff;
  color: #36507f;
  border: 1.5px solid #e7d0b9;
}
.cookie-consent .btn.settings:hover, .cookie-consent .btn.settings:focus {
  background: #f5eadf;
  color: #c18a38;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(80,80,90,0.18);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity .25s, visibility .25s;
  opacity: 0;
  visibility: hidden;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fffdf8;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 10px 40px 0 rgba(210,170,97,0.10);
  max-width: 400px;
  width: 97vw;
  margin: 0 auto 0 auto;
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInUp .4s cubic-bezier(.42,1.13,.58,1.02) both;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #A35F0E;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .category .label {
  font-weight: 600;
  color: #2e3950;
  font-size: 1.06rem;
}
.cookie-modal .category .toggle {
  width: 38px;
  height: 24px;
  border-radius: 12px;
  background: #e8e0d2;
  position: relative;
  border: none;
}
.cookie-modal .category .toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .category .toggle span {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2.5px 7px 0 #E9EEF7;
  transition: left .23s cubic-bezier(.62,.08,.36,1), background .17s;
}
.cookie-modal .category .toggle input[type=checkbox]:checked + span {
  left: 16.5px;
  background: #D09559;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 17px;
}
.cookie-modal .cookie-modal-actions .btn {
  font-size: 1rem;
  border-radius: 15px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #b87c2c;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 50%;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #f8eddc;
}
/* Responsive cookie modal (mobile-friendly) */
@media (max-width: 490px) {
  .cookie-modal { padding: 20px 7px 16px 7px; }
  .cookie-modal h2 { font-size: 1.07rem; }
  .cookie-modal .category .label { font-size: 0.97rem; }
}

/**** RESPONSIVE LAYOUTS (Mobile First) ****/
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
}
@media (max-width: 890px) {
  .feature-grid { gap: 12px; }
}
@media (max-width: 900px) {
  .service-list li,
  .feature-grid > div {
    min-width: 175px;
    padding: 19px 9px 18px 8px;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .content-grid,
  .testimonial-slider,
  .footer-nav nav {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .card,
  .testimonial-card,
  .service-card,
  .service-list li,
  .feature-grid > div {
    min-width: 92vw;
    max-width: 99vw;
    margin-right: 0;
    margin-left: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
  .footer-nav {
    align-items: flex-start;
    gap: 8px;
  }
  .about ul, .contact ul, .legal ul {
    padding-left: 12px;
  }
  .cookie-consent {
    padding: 16px 4px 13px 4px;
  }
}
@media (max-width: 550px) {
  .main-nav > img, .footer-nav img { height: 26px; }
  .feature-icons img { height: 23px; }
}

/**** SOFT SHADOWS, ROUNDED CORNERS, WHITE SPACE ****/
.card, .service-card, .testimonial-card, .feature-grid > div, .cookie-modal {
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(210,216,230,0.07);
}
/**** VISUAL HIERARCHY & SPACING ****/
.card-container,
.content-grid,
.feature-grid,
.testimonial-slider,
.footer-nav nav {
  gap: 24px;
}
.section, .features, .services, .testimonials, .cta, .about, .contact, .legal {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .section, .features, .services, .testimonials, .cta, .about, .contact, .legal {
    margin-bottom: 34px;
  }
}

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