/* --- 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #101A24;
  color: #F1F6FB;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: #FFBB00;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 4px #FFBB00cc;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
::-webkit-scrollbar {
  background: #181D22;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #174967;
  border-radius: 8px;
}

/* --- VARIABLES (with fallback) --- */
:root {
  --color-primary: #174967;
  --color-secondary: #F1F6FB;
  --color-accent: #FFBB00;
  --color-bg-dark: #101A24;
  --color-bg-light: #174967;
  --color-card-bg: #182234;
  --color-footer-bg: #14202B;
  --color-contrast-dark: #101A24;
  --color-contrast-text: #222E3A;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F1F6FB;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, li, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #e2ecf4;
}
p.subheadline {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #FFBB00;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
strong {
  color: #FFBB00;
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #182234;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 #06172780;
  position: relative;
}
main > section {
  margin-bottom: 60px;
}
/* --- HEADER/NAVIGATION --- */
header {
  background: #101A24;
  padding: 0;
  border-bottom: 1px solid #18324c;
  z-index: 102;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  height: 84px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F1F6FB;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #182234;
  color: #FFBB00;
}
.cta-primary {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(92deg, #174967 60%, #2467a0 100%);
  color: #FFBB00 !important;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  box-shadow: 0 0 18px 0 #59adff33;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  margin-left: 16px;
  margin-right: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFBB00;
  color: #101A24 !important;
  box-shadow: 0 0 32px 0 #FFF17666, 0 0 8px 0 #FFBB0080;
  border: 2px solid #174967;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFBB00;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 104;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #182234;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #101A24ee;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 64px 0 #17496796;
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.86, 0, 0.07, 1);
}
.mobile-menu.open {
  transform: translateX(0%) !important;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFBB00;
  font-size: 2.1rem;
  padding: 18px 20px 10px 20px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #182234; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 32px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #FFBB00;
  padding: 12px 0;
  border-radius: 8px;
  width: 90vw;
  max-width: 370px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #174967;
  color: #fff;
  padding-left: 10px;
}

/* --- MAIN CONTENT --- */
main {
  padding-top: 40px;
  padding-bottom: 50px;
  min-height: 60vh;
}
.section {
  background: #182234;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 #17496730;
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #14202B;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #17496733;
  transition: box-shadow 0.18s, border 0.18s;
  border: 1.5px solid #18324c;
  min-width: 210px;
  overflow: hidden;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px 0 #FFBB0030, 0 0 0 #17496700;
  border: 1.5px solid #FFBB00;
  z-index: 4;
}
.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 26px 20px 18px;
  background: #fff;
  color: #174967;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 #17496718;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 460px;
  transition: box-shadow 0.16s, transform 0.12s;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #174967;
}
.testimonial-card p {
  color: #222E3A;
  margin-bottom: 4px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #FFBB0030, 0 2px 8px #17496740;
  transform: translateY(-6px) scale(1.015);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SPECIAL FLEX ITEMS (CUSTOM FROM HTML ANALYSIS) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.feature-grid li {
  background: #14202B;
  border-radius: 18px;
  padding: 24px 22px;
  flex: 1 1 200px;
  min-width: 220px;
  min-height: 144px;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 2px 16px 0 #17496716;
  margin-bottom: 10px;
  border: 1.5px solid #18324c;
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-right: 6px;
}
.category-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 0 0;
  padding: 0;
}
.category-overview li a {
  color: #FFBB00;
  font-weight: bold;
  text-shadow: 0 0 4px #FFBB0040;
  margin-right: 6px;
}

/* Card grid for popular tips */
.tip-list, .benefit-highlights, .icon-features, .problem_solution_overview ul, .brand-values, .team-highlights, .editorial_principles, .howto_steps, .benefits_of_contact{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 18px 0;
}
.theme-overview ul, .focus_topics ul, .next_steps_info ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
  margin-bottom: 24px;
}
.tip-grid > div {
  background: #14202B;
  color: #FFBB00;
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 195px;
  flex: 1 1 220px;
  box-shadow: 0 2px 16px #17496720;
  font-size: 1rem;
  border: 1.5px solid #18324c;
}

/* --- CONTACT & MAP --- */
.contact_information, .map {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact_information p, .map p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2ecf4;
}

/* --- FOOTER --- */
footer {
  background: var(--color-footer-bg);
  color: #F1F6FB;
  padding: 50px 0 0 0;
}
footer .container {
  padding-bottom: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid #18324c;
  padding-top: 32px;
}
.footer-contact {
  flex: 2;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #b2c7dd;
  font-size: 0.95rem;
}
.footer-contact img {
  height: 36px;
  margin-bottom: 10px;
}
.footer-contact p {
  color: #b2c7dd;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.footer-links a {
  color: #FFBB00;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 0;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background 0.2s;
}
.footer-links a:hover, .footer-links a:focus {
  background: #174967;
  color: #fff;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 8px #FFBB0075);
  transition: filter 0.2s, transform 0.18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: drop-shadow(0 0 16px #fff1);
  transform: scale(1.14) rotate(-3deg);
}

/* --- BUTTONS --- */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
}
.button-secondary, .btn-secondary {
  background: #182234;
  color: #FFBB00;
  border-radius: 22px;
  border: 1.5px solid #FFBB00;
  padding: 8px 20px;
  margin-left: 8px;
  min-width: 110px;
}
.button-secondary:hover, .button-secondary:focus {
  background: #FFBB00;
  color: #174967;
  border-color: #174967;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #14202B;
  color: #F1F6FB;
  border-top: 2.5px solid #FFBB00;
  box-shadow: 0 -2px 36px #0007;
  padding: 18px 20px 18px 20px;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  animation: cookieBannerIn 0.74s cubic-bezier(.5,1.24,.49,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(90px); opacity: 0.1;}
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #F1F6FB;
  font-size: 0.98rem;
  margin-right: 10px;
  flex-basis: 50vw;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  border-radius: 18px;
  padding: 8px 18px;
  margin: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  box-shadow: 0 0 10px #18324c14;
  background: #174967;
  color: #FFBB00;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #FFBB00;
  color: #182234;
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: #FFBB00;
  border: 1.5px solid #FFBB00;
  font-weight: 600;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #FFBB00;
  color: #174967;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  background: #101A24cc;
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.45s cubic-bezier(.48,.77,.46,.98) 1;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #182234;
  color: #F1F6FB;
  border-radius: 20px;
  box-shadow: 0 6px 44px #17496743;
  padding: 40px 28px 28px 28px;
  width: 96vw;
  max-width: 420px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.33rem;
  color: #FFBB00;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1.5px solid #18324c;
  font-size: 1.06rem;
}
.cookie-modal .toggle-switch {
  width: 45px;
  height: 22px;
  background: #174967;
  border-radius: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: background 0.16s;
}
.cookie-modal .toggle-switch[aria-checked="true"] {
  background: #FFBB00;
}
.cookie-modal .toggle-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.22s cubic-bezier(.54,.5,.44,1.14), background 0.15s;
}
.cookie-modal .toggle-switch[aria-checked="true"] .toggle-thumb {
  left: 25px;
  background: #174967;
}
.cookie-modal .btn-cookie-close {
  position: absolute;
  right: 9px;
  top: 7px;
  background: none;
  border: none;
  color: #FFBB00;
  font-size: 1.65rem;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.17s;
}
.cookie-modal .btn-cookie-close:hover, .cookie-modal .btn-cookie-close:focus {
  background: #174967;
}
.cookie-modal .btn-cookie-save {
  background: #FFBB00;
  color: #174967;
  border-radius: 16px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border: none;
  margin-top: 16px;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .btn-cookie-save:hover, .cookie-modal .btn-cookie-save:focus {
  background: #174967;
  color: #FFBB00;
}

/* --- FORM ELEMENTS --- */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  outline: none;
  border: 1.5px solid #18324c;
  padding: 12px 10px;
  background: #14202B;
  color: #F1F6FB;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.18s, background 0.15s;
}
input:focus, textarea:focus {
  border: 1.5px solid #FFBB00;
  background: #18324c;
}

/* --- UTILITY CLASSES --- */
.mtb-40 { margin-top: 40px; margin-bottom: 40px; }
.fade-in {
  animation: fadeIn 0.7s cubic-bezier(.4,0,.6,1.22);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container { max-width: 990px; }
  header .container { height: 68px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer .content-wrapper { gap: 18px; }
  .social-links { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .footer-contact, .footer-links, .social-links {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  main { padding-top: 20px; padding-bottom: 24px; }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    height: 60px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 2px;
    padding: 10px 16px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .category-overview {
    font-size: 0.99rem;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact, .footer-links, .social-links {
    min-width: auto;
    width: 100%;
  }
  .social-links {
    justify-content: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 22px 10px;
    border-radius: 18px;
    margin-bottom: 34px;
  }
  .testimonial-card {
    padding: 14px 10px 15px 10px;
    border-radius: 13px;
    min-width: 60vw;
    max-width: 98vw;
    font-size: 0.99rem;
  }
}
@media (max-width: 576px) {
  .container { padding: 0 7px; }
  .feature-grid li {
    min-width: 90vw;
    padding: 15px 12px;
  }
  .footer-contact img { height: 28px; }
  .cookie-modal { padding: 18px 7px 18px 11px; min-width: 80vw; }
  .cookie-banner { flex-direction: column; gap: 14px; align-items: flex-start; }
}

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