/* ==== 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, menu, 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 { 
  font-size: 16px; 
  line-height: 1.5; 
  scroll-behavior: smooth; 
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F7FFF7;
  min-height: 100vh;
  font-weight: 400;
}
* {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #3A506B;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F4D35E;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 20px;
  text-align: left;
}
th {
  background: #3A506B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
td {
  background: #fff;
}

/* ==== TYPOGRAPHY HIERARCHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: #3A506B;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 10px; }
h4 { font-size: 1.25rem; margin-bottom: 8px; }
p, li, td, th, address {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 400;
}
p.subtitle {
  font-size: 1.25rem;
  color: #3A506B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
  p, li, td, th { font-size: 1.1rem; }
}

/* ==== CONTAINER LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(58, 80, 107, 0.06);
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.logo-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #3A506B;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #3A506B;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4D35E;
  color: #222;
}
.btn-primary {
  background: #F4D35E;
  color: #3A506B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 32px;
  padding: 13px 36px;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(250, 208, 39, 0.09);
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  display: inline-block;
  margin-left: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3A506B;
  color: #fff;
  box-shadow: 0 8px 28px rgba(58, 80, 107, 0.20);
}

/* Burger menu button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #F4D35E;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  color: #3A506B;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  margin-left: 16px;
  margin-right: 8px;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #3A506B;
  color: #fff;
  box-shadow: 0 6px 24px rgba(58, 80, 107, 0.15);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  background: #3A506B;
  color: #fff;
  z-index: 200;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 70px;
  padding-bottom: 32px;
  padding-left: 32px;
  padding-right: 32px;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 210;
  padding: 0 8px;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #F4D35E;
  padding: 12px 0 12px 4px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7FFF7;
  color: #3A506B;
}

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

@media (max-width: 991.98px) {
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

@media (min-width: 992px) {
  .main-nav { display: flex !important; }
  .btn-primary { display: inline-block !important; }
}


/* ==== HERO SECTION ==== */
.hero {
  background: #F4D35E;
  color: #3A506B;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  padding: 40px 20px 56px 20px;
  box-shadow: 0 12px 44px -8px rgba(58,80,107,0.10);
}
.hero .container { align-items: center; justify-content: center; }
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
}
.hero h1 {
  text-align: center;
  font-size: 2.1rem;
  color: #3A506B;
}
.hero p.subtitle {
  text-align: center;
  color: #3A506B;
}
.hero .btn-primary {
  margin-top: 18px;
}
@media (min-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
}
@media (min-width: 900px) {
  .hero .content-wrapper { max-width: 720px; margin: 0 auto; }
  .hero .btn-primary { font-size: 1.25rem; }
}


/* ==== SECTIONS, CARDS, GRID ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
}
.features {
  background: #fff;
  box-shadow: 0 4px 28px rgba(58,80,107,0.07);
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px 10px 20px;
}
.services {
  background: #fff;
  box-shadow: 0 4px 28px rgba(58,80,107,0.07);
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px 10px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 18px rgba(58, 80, 107, 0.09);
  border-radius: 24px;
  margin-bottom: 20px;
  padding: 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(244, 211, 94, 0.13), 0 1.5px 24px rgba(58, 80, 107, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.features ul, .services ul, .section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.features li, .services li, .section li {
  font-weight: 500;
  padding-left: 8px;
}
.features li strong, .services li strong {
  color: #3A506B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
}
.features li::before {
  content: '\25A0';
  color: #F4D35E;
  font-size: 1.08em;
  margin-right: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.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: 12px;
  margin-bottom: 20px;
  background: #fff;
  color: #222;
  border: 2.8px solid #F4D35E;
  box-shadow: 0px 6px 26px rgba(58,80,107,0.08);
  border-radius: 19px;
  padding: 26px 34px 20px 34px;
  max-width: 580px;
  transition: box-shadow 0.18s, transform 0.18s;
  font-size: 1.06rem;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(58,80,107,0.15);
  transform: translateY(-6px) scale(1.02);
}
.testimonial-card p {
  font-size: 1.18rem;
  font-weight: 700;
  color: #3A506B;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  color: #F4D35E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97em;
  letter-spacing: 0.00em;
}

.cta {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
  background: #3A506B;
  color: #fff !important;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(58,80,107,0.15);
}
.cta .content-wrapper { align-items: center; text-align: center; gap: 18px; }
.cta h2 { color: #fff; }
.cta .btn-primary {
  background: #F4D35E;
  color: #3A506B;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #fff;
  color: #3A506B;
}

/* ==== FAQ ACCORDION ==== */
.faq-accordion > div {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 22px 20px;
  box-shadow: 0 1.5px 16px rgba(58,80,107,0.07);
  transition: box-shadow 0.13s;
}
.faq-accordion h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #3A506B;
  margin-bottom: 6px;
}
.faq-accordion p {
  font-size: 1rem;
  color: #444;
}
.faq-accordion a {
  color: #3A506B;
}

/* ==== UTILITY CLASSES FOR SPACING AND FLEX ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* ==== TABLES (PRIСELIST) ==== */
table {
  margin-bottom: 32px;
  border-radius: 11px;
  overflow: hidden; /* for round corners */
}
th {
  background: #3A506B;
  color: #fff;
  font-size: 1.13rem;
}
td {
  border-bottom: 1px solid #F4D35E;
  background: #fff;
  color: #2a2a2a;
}
tr:last-child td {
  border-bottom: none;
}

/* ==== FOOTER ==== */
footer {
  background: #3A506B;
  color: #fff;
  padding: 40px 0 18px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-nav, .footer-contact, .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  gap: 13px;
}
.footer-nav a {
  color: #F4D35E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact address {
  font-style: normal;
  font-size: 0.98rem;
  color: #fff;
}
.footer-contact span, .footer-contact a {
  color: #F4D35E;
}
.footer-brand img {
  width: 56px;
  height: auto;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: flex-start; gap:28px; }
}


/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #3A506B;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 25px 22px;
  box-shadow: 0 -4px 22px rgba(58,80,107,0.13);
  gap: 24px;
  font-size: 1.02rem;
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btn {
  margin-left: 8px;
}
.cookie-banner .cookie-btn,
.cookie-banner .cookie-btn-settings {
  background: #F4D35E;
  color: #3A506B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn-settings:hover, .cookie-banner .cookie-btn-settings:focus {
  background: #fff;
  color: #3A506B;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-background {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58,80,107,0.48);
  z-index: 3100;
  align-items: center;
  justify-content: center;
}
.cookie-modal-background.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #3A506B;
  border-radius: 18px;
  padding: 38px 34px 32px 34px;
  max-width: 440px;
  width: 98vw;
  box-shadow: 0 8px 40px rgba(58,80,107,0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalEnter 0.28s cubic-bezier(0.65,0,0.35,1);
}
@keyframes modalEnter {
  from { opacity: 0; transform: translateY(80px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: #3A506B;
  font-size: 1.45rem;
  margin-bottom: 10px;
  font-weight: 900;
}
.cookie-modal .cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F4D35E;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  display: inline-block;
  width: 36px;
  height: 20px;
  background: #e0e0e0;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  margin-left: 15px;
  transition: background 0.15s;
}
.cookie-modal .cookie-toggle:checked {
  background: #F4D35E;
}
.cookie-modal .cookie-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #3A506B;
  position: absolute;
  left: 1.3px;
  top: 1px;
  border-radius: 50%;
  transition: left 0.16s, background 0.18s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 16px;
  background: #fff;
}
.cookie-modal .cookie-cat label[disabled], .cookie-modal .cookie-toggle[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: #F4D35E;
  color: #3A506B;
  border-radius: 24px;
  border: none;
  padding: 9px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #3A506B;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #3A506B;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==== RESPONSIVE ADJUSTMENTS ==== */
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    padding: 0 12px;
    min-height: 68px;
    gap: 10px;
  }
  .section, .features, .services, .cta, .hero {
    padding: 28px 7px;
    border-radius: 16px;
    margin-bottom: 38px;
  }
  .card-container {
    gap: 14px;
  }
  .card {
    padding: 16px 9px;
    min-width: 99%;
    border-radius: 14px;
  }
  .testimonial-card {
    padding: 15px 12px 12px 12px;
    max-width: 97vw;
    border-radius: 10px;
  }
  footer {
    padding: 26px 0 12px 0;
    font-size: 0.98rem;
  }
  .footer-brand img { width: 44px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 0.99rem;
    padding: 18px 9px;
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .container { padding: 0 3px !important; }
  .section, .features, .services, .cta, .hero {
    padding: 18px 3px;
  }
  .faq-accordion > div {
    padding: 15px 8px;
  }
}

/* ==== ANIMATIONS ==== */
.btn-primary, .main-nav a, .card, .testimonial-card, .cookie-banner .cookie-btn, .cookie-banner .cookie-btn-settings {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-9px) scale(1.03);
  box-shadow: 0px 12px 48px rgba(251, 218, 65, 0.15), 0px 8px 36px rgba(58, 80, 107, 0.07);
}

/* ==== ADDITIONAL CLASSES ==== */
address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

/* ==== HIDE ARIA WHEN MODALS OPEN ==== */
body.modal-open { overflow: hidden; }

/* ==== PRINT FIXES ==== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-background { display: none !important; }
  header, footer { background: none !important; color: #000 !important; }
}

/* ==== END CSS ==== */
