/* 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, 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 { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  line-height: 1.45;
  background: #F7F7F9;
  color: #2A4663;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a { color: #2A4663; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E3A81C; }

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: #2A4663;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 1px;
}
h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
p, ul, ol, li, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #37496A;
}
ul, ol {
  margin-left: 20px;
}
strong { font-weight: 700; color: #E3A81C; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 30px 0 rgba(42,70,99,0.08);
  position: relative;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(42,70,99,0.04);
  padding: 0 0 0 0;
  z-index: 60;
  position: relative;
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  background: none;
  color: #2A4663;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E3A81C;
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 36px;
  background: #E3A81C;
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 9px rgba(227,168,28,0.16);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 18px;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2A4663;
  color: #E3A81C;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #E3A81C;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.13s, box-shadow .13s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #2A4663;
  color: #E3A81C;
  outline: 2px solid #E3A81C;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 120;
  transition: transform 0.32s cubic-bezier(.65,0,.35,1);
  transform: translateX(0);
  box-shadow: 0 8px 48px 10px rgba(42,70,99,0.13);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: #E3A81C;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #E3A81C44;
  transition: background 0.13s;
  z-index: 125;
  display: flex;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #2A4663;
  color: #E3A81C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 90px 32px 0 34px;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 0;
  color: #2A4663;
  border-bottom: 2px solid transparent;
  width: 100%;
  border-radius: 8px;
  font-weight: 700;
  transition: color 0.15s, background 0.15s, border 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #E3A81C;
  background: #F7F7F9;
  border-bottom: 2px solid #E3A81C;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(110deg, #FDECBF 0%, #F7F7F9 100%);
  border-radius: 0 0 54px 54px;
  padding: 72px 0 48px 0;
  margin-bottom: 60px;
  position: relative;
  box-shadow: 0 2px 32px 0 rgba(227,168,28,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 20px;
  max-width: 650px;
  margin: 0 auto;
}
.hero h1 {
  color: #2A4663;
  font-size: 2.6rem;
  letter-spacing: 2px;
  line-height: 1.13;
  margin-bottom: 20px;
}
.hero p {
  color: #37496A;
  font-size: 1.15rem;
  margin-bottom: 26px;
}

/* CARD CONTAINERS & PATTERNS */
.card-container, .content-grid, .service-cards, .user-sections, .statistics, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.card-container,
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.service-cards {
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  margin-bottom: 20px;
  background: #fff9ec;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(227,168,28,0.12);
  padding: 30px 28px 24px 28px;
  min-width: 245px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
}
.service-card h2, .service-card h3 {
  color: #2A4663;
  margin-bottom: 20px;
}
.service-card strong {
  color: #E3A81C;
  font-size: 1.1rem;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 6px 50px 0 rgba(227,168,28,0.20);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
  z-index: 3;
}
.user-sections {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.user-section {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  flex: 1 1 min(280px, 100%);
  box-shadow: 0 1px 9px 0 rgba(42,70,99,0.09);
  margin-bottom: 20px;
  font-size: 1rem;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.11s;
}
.user-section:hover, .user-section:focus {
  box-shadow: 0 4px 20px 0 #2A466366;
  transform: translateY(-2px) scale(1.02);
}
.statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.statistics > div {
  background: #FDECBF;
  border-radius: 16px;
  padding: 26px 18px 18px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #2A4663;
  text-align: center;
  min-width: 140px;
  min-height: 80px;
  flex: 1 1 160px;
  box-shadow: 0 2px 9px 0 #E3A81C22;
  margin-bottom: 20px;
}
.statistics strong { font-size: 1.7rem; color: #E3A81C; }
.blog-list {
  gap: 24px;
}
.article-teaser {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0px 8px 0 rgba(42,70,99,0.08);
  padding: 22px 22px 20px 22px;
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.13s, transform 0.11s;
}
.article-teaser:hover, .article-teaser:focus {
  box-shadow: 0 6px 28px 0 #E3A81C16;
  transform: translateY(-3px) scale(1.01) rotate(1deg);
  z-index: 2;
}
.tag {
  display: inline-block;
  font-size: 0.92rem;
  padding: 2px 12px;
  background: #E3A81C;
  color: #fff;
  border-radius: 14px;
  letter-spacing: 0.7px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 16px #2A46631a;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.10s;
  color: #2A4663;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  min-width: 220px;
  max-width: 600px;
  position: relative;
}
.testimonial-card strong {
  color: #E3A81C;
  margin-top: 6px;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 0 32px #E3A81C16;
  transform: scale(1.02);
}

/* GRID-LIKE FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(42,70,99,0.08);
  padding: 22px 18px;
}
.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;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS and STEPS */
ol {
  list-style: decimal inside;
  margin-bottom: 18px;
  color: #2A4663;
}
ul {
  list-style: disc inside;
  margin-bottom: 18px;
  color: #37496A;
}

/* FOOTER */
footer {
  background: #F7F7F9;
  padding: 36px 0 28px 0;
  border-top: 2px solid #E3A81C21;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.footer-nav a {
  color: #2A4663;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s;
  position: relative;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E3A81C;
}
footer .text-section {
  color: #807f73;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 15px;
}

/* BUTTONS AND INTERACTIVE */
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 1001;
  background: #fffbe6;
  color: #2A4663;
  border-top: 2px solid #E3A81C;
  box-shadow: 0 -4px 24px 0 rgba(42,70,99,0.07);
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: bannerIn 0.63s cubic-bezier(.52,0,.4,1);
}
@keyframes bannerIn {
  from { transform: translateY(60px); opacity: 0;} to { transform: none; opacity: 1;}
}
.cookie-banner-content {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 28px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  background: #2A4663;
  color: #fff;
  border: none;
  margin-right: 8px;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #E3A81C;
  color: #2A4663;
}
.cookie-btn.reject {
  background: #E35577;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #2A4663;
  border: 1.5px solid #E3A81C;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #2A4663;
  color: #E3A81C;
  outline: 2px solid #E3A81C;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #2A4663; color: #E3A81C;}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #2A4663; color: #E35577;}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {background: #E3A81C; color: #fff; border-color: #2A4663;}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 2001;
  background: rgba(42,70,99,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s cubic-bezier(.44,0,.5,1);
}
@keyframes fadeInModal {
  from { opacity: 0;} to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 26px;
  box-shadow: 0 2px 40px 0px #2A466388;
  max-width: 420px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  margin: 0 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A4663;
  font-size: 1rem;
  font-weight: 700;
  flex: 1 1 auto;
}
.cookie-toggle {
  width: 45px;
  height: 25px;
  background: #E3A81C44;
  border-radius: 16px;
  position: relative;
  display: inline-block;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 2.5px; left: 3px;
  width: 20px; height: 20px;
  background: #2A4663;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
  box-shadow: 0 1px 3px #2A466343;
}
.cookie-toggle input:checked + .cookie-slider {
  left: 22px;
  background: #E3A81C;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 13px;
  color: #E3A81C;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}

/* ARTISTIC DETAILS */
.hero::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: -52px;
  left: -46px;
  width: 120px;
  height: 120px;
  background: #E3A81C22;
  border-radius: 100px 42px 115px 68px;
  transform: rotate(-14deg);
}
.hero::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  bottom: -32px;
  right: -40px;
  width: 45px;
  height: 45px;
  background: #FDECBF;
  border-radius: 50%;
  box-shadow: 14px 12px 0 0 #E3A81C22;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  right: 22px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  background: #E3A81C11;
  border-radius: 18px 40px 38px 7px;
  pointer-events: none;
}

/* NEWSLETTER SUBSCRIBE SECTION (blog page) */
.text-section a {
  color: #E3A81C;
  border-bottom: 1.7px solid #E3A81C44;
  font-weight: 700;
  transition: color .11s, border .13s;
}
.text-section a:hover, .text-section a:focus {
  color: #2A4663;
  border-bottom: 1.7px solid #2A4663;
}

/* MISC. & UTILITY */
::-webkit-input-placeholder { color: #B2B6B9; }
:-moz-placeholder { color: #B2B6B9; }
::-moz-placeholder { color: #B2B6B9; }
:-ms-input-placeholder { color: #B2B6B9; }
::placeholder { color: #B2B6B9; }

[tabindex]:focus, button:focus, .cta-btn:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #E3A81C;
  outline-offset: 0px;
}

/* RESPONSIVE RULES */
@media(max-width: 1100px) {
  .service-cards, .user-sections, .statistics, .blog-list, .content-grid, .card-container {
    gap: 16px;
  }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .main-nav { gap: 19px; }
  .footer-nav { gap: 17px; }
}
@media (max-width: 768px) {
  header .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    transition: transform 0.33s cubic-bezier(.62,0,.54,1);
    will-change: transform;
  }
  .hero { padding: 52px 0 32px 0;}
  .hero h1 { font-size: 1.33rem;}
  .service-cards, .blog-list, .user-sections, .statistics, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .service-card, .article-teaser, .user-section, .statistics > div {
    max-width: 98vw;
    min-width: unset;
  }
  .footer-nav { flex-direction: column; gap: 9px; align-items: flex-start; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .testimonial-card { flex-direction: column; gap: 7px; max-width: 98vw; }
  .content-wrapper { gap: 13px; }
  .cookie-modal-content { max-width: 94vw; min-width: unset; padding: 18px 7vw; }
  .cookie-banner { padding: 16px 9px 11px 12px; }
}
@media (max-width:480px) {
  .hero { padding: 27px 2vw 22px 2vw; }
  .hero h1 { font-size: 1.07rem; }
  h1, h2 { font-size: 1.13rem; }
  .service-card, .article-teaser, .user-section, .statistics > div {
    padding: 12px 7px 13px 11px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.service-card, .user-section, .article-teaser, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.98);
}

/* ARTISTIC "PAINT-LIKE" HIGHLIGHTS – for selected backgrounds */
.section:nth-child(odd) {
  background: #FDECBF;
}
.section:nth-child(even) {
  background: #fff;
}

/* PRINT FRIENDLY */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #2A4663; background: #fff !important; }
}
