/* ==== 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #133B5C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #133B5C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #64A6BD;
}
ul, ol {
  padding-left: 20px;
}

/* ==== TYPOGRAPHY ==== */

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.15;
  color: #133B5C;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: #21577C;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.95rem;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #20304A;
}
strong {
  font-weight: bold;
}
.author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  color: #133B5C;
  margin-top: 8px;
  font-weight: 600;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

/* ==== HEADER & LOGO ==== */
header {
  background: #133B5C;
  color: #F5F7FA;
  width: 100%;
  box-shadow: 0 2px 10px 0 rgba(19, 59, 92, 0.06);
  z-index: 50;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 18px;
}
.logo img, header .logo img {
  height: 46px;
  display: block;
}

/* ==== MAIN NAVIGATION (DESKTOP) ==== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F7FA;
  padding: 7px 16px;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 24px;
  transition: background 0.18s, color 0.15s;
  letter-spacing: 0.03em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #64A6BD;
  color: #133B5C;
}
.main-nav a.cta {
  background: #64A6BD;
  color: #133B5C;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(19,59,92,.09);
  padding: 10px 26px;
  transition: background 0.24s, color 0.19s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #F5F7FA;
  color: #133B5C;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(87deg, #F5F7FA 60%, #64A6BD 100%);
  border-radius: 0 0 50px 50px;
  position: relative;
  overflow: hidden;
  padding-top: 36px;
  padding-bottom: 48px;
  margin-bottom: 42px;
  box-shadow: 0 6px 36px 0 rgba(100, 166, 189, 0.11);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: #133B5C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.35rem;
  text-shadow: 0 2px 0 #64A6BD10;
  margin-bottom: 16px;
}
.hero p {
  color: #21577C;
  font-size: 1.18rem;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .hero {
    padding-top: 25px;
    padding-bottom: 34px;
    border-radius: 0 0 28px 28px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 1.42rem;
  }
}

/* ==== FLEX LAYOUTS ==== */
.features-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid {
  margin-top: 20px;
}
.card-container {
  margin-top: 14px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 20px;
  background: #FFF;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(19,59,92,.10);
  border-left: 8px solid #64A6BD;
  position: relative;
  max-width: 540px;
  min-width: 0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-4px) scale(1.017);
  box-shadow: 0 6px 24px 0 rgba(19,59,92,.16);
}
.feature-card {
  background: #F5F7FA;
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(19,59,92,.08);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 310px;
  padding: 28px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid #64A6BD22;
  margin-bottom: 20px;
  position: relative;
  transition: border 0.18s, box-shadow 0.16s, transform 0.16s;
}
.feature-card img {
  width: 42px; height: 42px; margin-bottom: 8px;
  filter: drop-shadow(0 2px 2px #133B5C18);
}
.feature-card .price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #133B5C;
  background: #E3EEF6;
  padding: 2px 12px;
  border-radius: 13px;
  font-weight: bold;
  margin-top: 8px;
}
.feature-card:hover, .feature-card:focus-within {
  border: 2.5px solid #64A6BD;
  box-shadow: 0 6px 22px 0 rgba(19,59,92,.15);
  transform: translateY(-2.6px) scale(1.018);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
  margin-bottom: 10px;
}
.faq-item {
  background: #F5F7FA;
  border-left: 5px solid #133B5C;
  border-radius: 15px;
  padding: 16px 18px;
  box-shadow: 0 1px 10px 0 rgba(35,85,120,.06);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-member {
  background: #FFF;
  border-radius: 17px;
  box-shadow: 0 2px 14px 0 rgba(19,59,92,.08);
  padding: 22px 18px 20px 18px;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 340px;
}

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

/* ==== CTA BUTTONS ==== */
.cta {
  display: inline-block;
  background: #133B5C;
  color: #F5F7FA !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 28px;
  padding: 14px 34px;
  font-size: 1.09rem;
  letter-spacing: 0.04em;
  margin-top: 18px;
  box-shadow: 0 2px 16px 0 rgba(19,59,92,.13);
  transition: background 0.22s, color 0.13s, transform 0.18s;
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cta:hover, .cta:focus {
  background: #64A6BD;
  color: #133B5C !important;
  box-shadow: 0 6px 28px 0 rgba(100,166,189,.16);
  transform: translateY(-2px) scale(1.027);
}
.cta-bottom {
  background: #64A6BD;
  border-radius: 36px;
  box-shadow: 0 4px 22px 0 rgba(19,59,92,.10);
  padding: 40px 0 40px 0;
}
.cta-bottom h2, .cta-bottom p {
  color: #133B5C;
}
.cta-bottom .cta {
  background: #133B5C;
  color: #F5F7FA !important;
  font-size: 1.13rem;
}
.cta-bottom .cta:hover, .cta-bottom .cta:focus {
  background: #F5F7FA;
  color: #133B5C !important;
}

/* ==== CONTACT INFO ==== */
.contact-info {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 10px;
}
.address-block, .email-block, .hours-block {
  flex: 1 1 180px;
  min-width: 140px;
  background: #F5F7FA;
  border-radius: 13px;
  box-shadow: 0 1px 9px 0 rgba(19,59,92,.10);
  padding: 16px 14px;
  margin-bottom: 10px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  padding: 8px 0 0 0;
}

/* ==== FOOTER ==== */
footer {
  background: #21577C;
  color: #F5F7FA;
  padding: 38px 0 16px 0;
  border-radius: 56px 56px 0 0;
  margin-top: 64px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -2px 28px 0 rgba(19,59,92,.18);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer .footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
footer .footer-nav a {
  color: #F5F7FA;
  font-size: 0.96rem;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.12s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: #64A6BD;
  color: #133B5C;
}
.footer-contact {
  color: #a6cee3;
  font-size: 0.97rem;
  margin-bottom: 2px;
  text-align: center;
}
footer img {
  height: 36px;
  margin-bottom: 6px;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: #64A6BD;
  color: #133B5C;
  border: none;
  font-size: 2.05rem;
  padding: 6px 12px;
  border-radius: 32px;
  cursor: pointer;
  margin-left: 22px;
  transition: background 0.16s, box-shadow 0.12s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21577C;
  color: #F5F7FA;
  box-shadow: 0 2px 12px #133B5C22;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,59,92,0.91);
  z-index: 9999;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.5,.06,.13,.97);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #64A6BD;
  color: #133B5C;
  font-size: 2.1rem;
  border: none;
  border-radius: 30px;
  padding: 10px 19px;
  margin: 28px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.11s, color 0.11s;
  z-index: 10000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5F7FA;
  color: #133B5C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 36px 0 0 46px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  width: 100%;
  padding: 10px 0 10px 12px;
  border-radius: 9px;
  transition: background 0.16s, color 0.12s, transform 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #64A6BD;
  color: #133B5C;
  transform: translateX(12px) scale(1.05);
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    padding: 22px 0 0 22px;
    gap: 22px;
  }
  .mobile-menu-close {
    margin: 11px 11px 0 0;
    font-size: 1.75rem;
    padding: 7px 13px;
  }
}

/* ==== COOKIES CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #133B5C;
  color: #F5F7FA;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 14px 22px 20px;
  z-index: 11000;
  min-height: 82px;
  box-shadow: 0 -2px 18px 0 #133B5C44;
  font-size: 1.07rem;
  animation: bannerIn 0.58s cubic-bezier(.55,1.45,.5,1.23) 1;
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #F5F7FA;
  margin-bottom: 0;
  max-width: 430px;
  font-size: 1.01rem;
}
.cookie-banner .cookie-btn {
  background: #64A6BD;
  color: #133B5C;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 28px;
  margin-right: 10px;
  font-size: 1.07rem;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
  outline: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F5F7FA;
  color: #133B5C;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 1.5px solid #64A6BD;
  color: #F5F7FA;
  padding: 8px 18px;
  margin-left: 2px;
  transition: background .12s, color .12s, border .19s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #64A6BD;
  color: #133B5C;
  border-color: #F5F7FA;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    padding: 18px 10px 18px 10px;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,59,92,.63);
  z-index: 11100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #F5F7FA;
  color: #133B5C;
  border-radius: 28px;
  box-shadow: 0 6px 38px 0 rgba(19,59,92,.19);
  width: 100%;
  max-width: 420px;
  padding: 42px 34px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: modalIn 0.36s cubic-bezier(.45,1.25,.85,1.12) 1;
  font-size: 1rem;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(.89); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 13px;
  color: #21577C;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #133B5C;
  margin-left: 5px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #64A6BD;
  border-radius: 5px;
  border: 2px solid #133B5C;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .cookie-modal-btns button {
  min-width: 90px;
}
.cookie-modal .cookie-close-modal {
  background: transparent;
  border: none;
  color: #21577C;
  font-size: 1.28rem;
  position: absolute;
  top: 16px; right: 24px;
  cursor: pointer;
}

/* ==== RESPONSIVE & FLEX BREAKPOINTS ==== */
@media (max-width: 900px) {
  .features-grid, .team-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 800px) {
  .section {
    padding: 34px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 9px;
    max-width: 99vw;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 28px 1px;
    margin-bottom: 22px;
  }
  .content-wrapper h2 {
    font-size: 1.17rem;
  }
  .content-wrapper {
    gap: 12px;
  }
  .team-member, .feature-card {
    min-width: 0;
    max-width: 100vw;
    padding: 17px 5px 16px 9px;
  }
  .cta-bottom {
    padding: 22px 0 22px 0;
  }
  .footer-contact {
    font-size: 0.86rem;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container, .features-grid, .team-list, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* ==== MICRO-INTERACTIONS ==== */
button, .cta, .feature-card, .testimonial-card, .card, .mobile-menu-toggle, .mobile-nav a, .main-nav a {
  transition: box-shadow 0.18s, background 0.18s, color 0.15s, border 0.17s, transform 0.15s;
}

/* ==== ARTISTIC EXTRAS ==== */
.section {
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(100,166,189,.07);
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -22px; left: -22px;
  width: 88px; height: 38px;
  border-radius: 24px 24px 46px 24px;
  background: #64A6BD44;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -18px; bottom: -18px;
  width: 50px; height: 21px;
  border-radius: 23px 14px 32px 18px;
  background: #133B5C19;
  z-index: 0;
}
@media (max-width: 700px) {
  .section:before, .section:after {
    display: none;
  }
}

/* ==== LISTS ==== */
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #20304A;
}
ul li strong {
  color: #133B5C;
}

/* ==== MISC STYLES ==== */
::-webkit-scrollbar {
  width: 8px;
  background: #E3EEF6;
}
::-webkit-scrollbar-thumb {
  background: #64A6BD77;
  border-radius: 6px;
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2.5px dashed #21577C;
  outline-offset: 3px;
}

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