/* === RESET AND 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;
}
/* 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: #fff;
  color: #333;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}

/* == BRAND TYPOGRAPHY == */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #262626;
  font-size: 16px;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #123C69;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, li, blockquote {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: #123C69;
}
small {
  font-size: 0.88rem;
  color: #999;
}

/* == LAYOUT STRUCTURE == */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(18,60,105,0.08);
}

/* == HEADER & NAVIGATION == */
header {
  width: 100%;
  background: #123C69;
  box-shadow: 0 2px 10px rgba(18,60,105,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #F3E5AB;
  border-bottom: 2px solid #F3E5AB;
}
header img {
  height: 40px;
}
.cta-btn {
  background: #F3E5AB;
  color: #123C69;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 36px;
  margin-left: 24px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 24px 0 rgba(18,60,105,0.16);
  border: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #123C69;
  color: #F3E5AB;
  box-shadow: 0 2px 20px 0 rgba(18,60,105,0.25);
}

/* == MOBILE NAV == */
.mobile-menu-toggle {
  background: none;
  color: #F3E5AB;
  border: none;
  font-size: 2.1rem;
  padding: 10px 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 60;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(243,229,171,0.2);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #123C69;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.5,0,0.2,1), opacity 0.4s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #F3E5AB;
  font-size: 2rem;
  padding: 18px 22px 8px 8px;
  margin-bottom: 10px;
  cursor: pointer;
  z-index: 101;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(243,229,171,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 20px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F3E5AB;
  border-bottom: 2px solid #F3E5AB;
}

/* == HERO == */
.hero {
  padding: 56px 0 32px 0;
  background: #123C69;
  color: #fff;
  border-radius: 0 0 52px 52px;
  box-shadow: 0 6px 40px 0 rgba(18,60,105,0.11);
  margin-bottom: 40px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1, 
.hero h2 {
  color: #fff;
}
.hero p {
  color: #F3E5AB;
  font-size: 1.18rem;
  margin-bottom: 16px;
}
.hero .cta-btn {
  margin-left: 0;
}

/* === FEATURES & CARD Grids === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #fff;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 260px;
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(18,60,105,0.09);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 2px solid #F3E5AB;
  transition: box-shadow 0.18s, border 0.15s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(18,60,105,0.23);
  border: 2.5px solid #123C69;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px rgba(18,60,105,0.09);
  margin-bottom: 20px;
  padding: 30px 24px;
  position: relative;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 36px 0 rgba(18,60,105,0.18);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  align-items: center;
  gap: 20px;
  background: #F3E5AB;
  color: #123C69;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px 0 rgba(18,60,105,0.10);
  font-size: 1.05rem;
  min-width: 220px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #123C69;
  margin-right: 10px;
}
.testimonial-card p { color: #333; margin-bottom: 0; }

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

.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.articles-list article {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1.5px 10px rgba(18,60,105,0.08);
  padding: 20px 18px;
  min-width: 200px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.15s, border 0.17s;
  border: 1.5px solid #F3E5AB;
}
.articles-list article:hover {
  box-shadow: 0 6px 32px 0 rgba(18,60,105,0.18);
  border: 2px solid #123C69;
}

.categories-list {
  background: #F8F9FB;
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 1rem;
  margin-bottom: 12px;
  margin-top: 16px;
}
.categories-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.categories-list li {
  background: #F3E5AB;
  color: #123C69;
  padding: 5px 15px;
  border-radius: 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list li {
  background: #f8f9fb;
  border-radius: 9px;
  padding: 14px 20px;
  font-weight: 500;
  color: #333;
}

.product-rankings {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expert-comments {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
}
.expert-comments blockquote {
  background: #F3E5AB;
  color: #123C69;
  border-radius: 15px;
  padding: 18px 22px 12px 22px;
  box-shadow: 0 2px 12px 0 rgba(18,60,105,0.10);
  font-family: 'Oswald', Arial, sans-serif;
  min-width: 220px;
  font-size: 1.09rem;
  border-left: 7px solid #123C69;
  margin-bottom: 0;
}
.expert-comments span {
  display: block;
  margin-top: 9px;
  color: #333;
  font-size: 1rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 16px 0 12px 0;
}

.text-section {
  margin-bottom: 30px;
}

/* == TABLES == */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 1rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(18,60,105,0.07);
}
th, td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid #F3E5AB;
}
th {
  background: #123C69;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: #F3E5AB;
  color: #123C69;
  transition: background 0.16s, color 0.16s;
}

/* == FOOTER == */
footer {
  background: #123C69;
  color: #fff;
  padding: 40px 0 16px 0;
  border-radius: 52px 52px 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
footer nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: color 0.2s;
}
footer nav a:hover { color: #F3E5AB; }
footer div > p, .footer .address, .footer .contact {
  color: #F3E5AB;
  margin-bottom: 10px;
  font-size: 1rem;
}
footer div > a img {
  width: 38px;
  height: 38px;
  margin-right: 12px;
  filter: grayscale(0) brightness(1);
  transition: filter 0.2s;
}
footer div > a:hover img { filter: brightness(0.8) sepia(0.4) hue-rotate(-20deg); }
footer small {
  display: block;
  margin-top: 24px;
  color: #ECECEC;
  text-align: right;
  letter-spacing: 0.02em;
}

/* == BUTTONS & INTERACTIONS == */
button, .cta-btn {
  transition: background 0.18s, color 0.13s, box-shadow 0.21s;
}
a:focus {
  outline: 2px solid #F3E5AB;
  outline-offset: 3px;
}
button:focus {
  outline: 2.5px solid #F3E5AB;
}

/* == RESPONSIVE DESIGN == */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .feature-grid { gap: 14px; }
}
@media (max-width: 850px) {
  header .container {
    flex-direction: row;
    gap: 22px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .expert-comments { gap: 16px; }
  .feature-grid > div, .card {
    min-width: 160px;
    max-width: 48vw;
  }
  .testimonial-card, .articles-list article { min-width: 160px; }
}
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    max-width: 100%;
    margin-bottom: 12px;
  }
  .card-container, .articles-list, .expert-comments, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .trust-badges { gap: 14px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
  }
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 13px 9px;
    text-align: left;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .hero {
    padding: 28px 0 22px 0;
    border-radius: 0 0 26px 26px;
  }
  .section {
    margin-bottom: 30px;
    padding: 16px 6px;
    border-radius: 16px;
  }
  .feature-grid > div, .card, .articles-list article {
    padding: 12px 8px;
    border-radius: 8px;
  }
  .testimonial-card {
    padding: 13px 6px;
    border-radius: 10px;
  }
  .categories-list {
    padding: 10px 6px;
  }
}

/* == COOKIE CONSENT BANNER == */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #123C69;
  box-shadow: 0 -4px 24px rgba(18,60,105,0.13);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 34px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: cc-bounce-in 0.7s cubic-bezier(0.5,1.5,0.5,1);
}
@keyframes cc-bounce-in { 0% { transform: translateY(120%);} 70% {transform: translateY(-6%);} 85% {transform: translateY(2%);} 100%{ transform: translateY(0);}}
.cookie-consent-banner__text {
  flex: 3 1 580px;
  font-size: 1rem;
}
.cookie-consent-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 22px;
  border: none;
  background: #123C69;
  color: #fff;
  margin-right: 0;
  transition: background 0.16s, color 0.13s;
  box-shadow: 0 2px 8px rgba(18,60,105,0.09);
}
.cookie-btn.cookie-btn--accent {
  background: #F3E5AB;
  color: #123C69;
}
.cookie-btn.cookie-btn--accent:hover,
.cookie-btn.cookie-btn--accent:focus {
  background: #123C69;
  color: #F3E5AB;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #2d4b7f;
  color: #fff;
}

/* == COOKIE MODAL == */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(18,60,105,0.66);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
.cookie-modal {
  background: #fff;
  color: #123C69;
  padding: 42px 28px 28px 28px;
  border-radius: 22px;
  box-shadow: 0 6px 60px 0 rgba(18,60,105,0.23);
  min-width: 270px;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: modalPopIn 0.35s cubic-bezier(0.48,1.5,0.68,1);
  position: relative;
}
@keyframes modalPopIn { 0% { transform: scale(0.8); opacity: 0;} 93%{ transform: scale(1.05);} 100% {transform: scale(1); opacity: 1;}}
.cookie-modal h3 { color: #123C69; font-size: 1.22rem; margin-bottom: 6px; }
.cookie-modal label { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.cookie-modal .modal-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-switch {
  width: 44px;
  height: 22px;
  background: #F3E5AB;
  border-radius: 16px;
  position: relative;
  margin-left: 8px;
  flex-shrink: 0;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}
.cookie-modal .cookie-switch span {
  display: block;
  width: 20px;
  height: 20px;
  background: #123C69;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left 0.2s;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked + span {
  left: 23px;
  background: #123C69;
}
.cookie-modal .cookie-switch input[type="checkbox"]:disabled + span {
  background: #ececec;
  cursor: not-allowed;
}

.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 13px;
  background: none;
  border: none;
  color: #123C69;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 210;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F3E5AB;
  background: rgba(18,60,105,0.12);
  border-radius: 50%;
}

@media (max-width: 620px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
    padding: 15px 10px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 6px 14px 12px;
    border-radius: 12px;
  }
  .cookie-modal-actions { gap: 8px; }
}

/* === UTILS === */
.bg-primary { background: #123C69!important; color: #fff!important; }
.bg-accent { background: #F3E5AB!important; color: #123C69!important; }
.text-primary { color: #123C69!important; }
.text-accent { color: #F3E5AB!important; }
.shadow-lg { box-shadow: 0 8px 40px rgba(18,60,105,0.13) !important; }
.rounded-board { border-radius: 26px!important; }
.flex-row { display: flex!important; flex-direction: row!important; }
.flex-col { display: flex!important; flex-direction: column!important; }
.centered { display: flex!important; justify-content: center!important; align-items: center!important; }
.gap-20 { gap: 20px!important; }
.gap-32 { gap: 32px!important; }
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }

/* === MODERN GEOMETRIC ACCENTS === */
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  right: -18px;
  width: 32px;
  height: 32px;
  background: #F3E5AB22;
  border-radius: 50%;
  z-index: 0;
}

/* == HIGH CONTRAST FOR TESTIMONIALS == */
.testimonial-card,
.expert-comments blockquote,
.hero {
  color: #123C69;
  background: #F3E5AB;
}
.hero {
  background: #123C69;
  color: #fff;
}

/* === END OF STYLES === */
