/* --- 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;
}
html {
  height: 100%;
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F4F4F4;
  color: #143656;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #143656;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #EAC372;
  outline-offset: 2px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #143656;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1.02rem;
  margin-bottom: 16px;
  color: #143656;
}
strong, b {
  font-weight: 800;
}
blockquote {
  font-style: italic;
  color: #143656;
  border-left: 6px solid #EAC372;
  background: #fff;
  padding: 20px 26px;
  margin-bottom: 24px;
  font-size: 1.12rem;
  border-radius: 10px;
}

/* --- UTILITY & LAYOUT STRUCTURE --- */
.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid #EAC372;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  gap: 18px;
}
.logo-link img {
  height: 44px;
  min-width: 110px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.main-nav a {
  color: #143656;
  padding: 6px 10px;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  border-radius: 6px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EAC372;
  color: #143656;
}

.cta-btn {
  background: #143656;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 36px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(20,54,86,0.10);
  transition: background .2s, box-shadow .22s, transform .15s;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #EAC372;
  color: #143656 !important;
  box-shadow: 0 6px 22px rgba(20,54,86,0.19);
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #143656;
  padding: 4px 14px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 201;
  transition: color .20s;
}
.mobile-menu-toggle:hover {
  color: #EAC372;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #143656;
  color: #fff;
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(.53,.21,.18,1);
  box-shadow: -6px 0 22px rgba(20,54,86,0.12);
  z-index: 2002;
  padding-top: 0;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 14px 22px 10px 14px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 0;
  transition: color .15s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EAC372;
  border-bottom: 2px solid #EAC372;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(111deg, #EAC372 30%, #F4F4F4 100%);
  padding: 0;
  display: flex;
  margin-bottom: 60px;
}
.hero .container {
  padding: 60px 22px 40px 22px;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 26px;
  align-items: flex-start;
}
.hero h1 {
  color: #143656;
  font-size: 2.7rem;
  max-width: 700px;
}
.hero p {
  font-size: 1.2rem;
  color: #143656;
  margin-bottom: 16px;
  max-width: 540px;
  font-weight: 500;
}
.hero .cta-btn {
  margin-top: 12px;
}

/* --- SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.features .container, .feature-grid {
  width: 100%;
}
.features h2 {
  color: #143656;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(20,54,86,.10);
  padding: 28px 22px 28px 22px;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 230px;
  transition: box-shadow .2s, transform .2s;
  margin-bottom: 20px;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 8px 32px rgba(20,54,86, 0.16);
  transform: translateY(-2px) scale(1.04);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0px;
}
.feature-grid p {
  font-size: 1rem;
}

/* --- CARDS & CARD CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(20,54,86,0.10);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 225px;
  flex: 1 1 225px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(20,54,86,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* --- SERVICE CARDS (SERVICES.HTML) --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 28px;
  margin-top: 12px;
}
.service-list > li {
  flex: 1 1 230px;
  min-width: 260px;
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(20,54,86,0.08);
  padding: 28px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  border-left: 5px solid #EAC372;
  transition: box-shadow .22s, border-color .18s;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 8px 22px rgba(20,54,86,0.13);
  border-color: #143656;
}
.service-card h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.service-card strong {
  color: #EAC372;
  font-size: 1.04rem;
}
.benefits {
  margin-top: 8px;
  margin-left: 12px;
  color: #143656;
  padding-left: 9px;
}

/* --- TESTIMONIAL & STORY CARDS --- */
.testimonials {
  background: #F4F4F4;
}
.testimonials h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(20,54,86,0.12);
  padding: 22px 28px 18px 26px;
  border-left: 5px solid #143656;
  color: #143656;
  font-size: 1.1rem;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px rgba(20,54,86,0.13);
  border-left: 5px solid #EAC372;
}
.testimonial-author,
.story-grid span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #EAC372;
  font-weight: 700;
  margin-top: 6px;
  font-size: 1rem;
}
.highlight-quote {
  font-weight: bold;
  background: #fffbe7;
  color: #143656;
  border-left: 6px solid #EAC372;
  border-radius: 12px;
  margin-top: 30px;
}
.story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.story-grid .testimonial-card {
  flex: 1 1 260px;
  min-width: 240px;
}
.detailed-story {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(20,54,86,0.10);
  padding: 24px 30px;
  margin-bottom: 20px;
}

/* --- CTA BANNER SECTIONS --- */
.cta {
  background: #143656;
  color: #fff;
  border-radius: 22px;
  margin-bottom: 48px;
  margin-top: 10px;
}
.cta .container {
  align-items: center;
}
.cta .content-wrapper {
  gap: 10px;
  align-items: center;
  text-align: center;
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #EAC372;
  color: #143656 !important;
  margin-top: 16px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #143656 !important;
  box-shadow: 0 4px 18px rgba(20,54,86,0.11);
}

/* --- FAQ LIST & ITEMS --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(20,54,86,0.07);
  padding: 18px 22px;
  position: relative;
  margin-bottom: 4px;
  transition: box-shadow .18s;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 5px 18px rgba(20,54,86,0.09);
}
.faq-item h3 {
  color: #143656;
  font-size: 1.1rem;
  margin-bottom: 9px;
}

/* --- TIP LIST (TIPS.HTML) --- */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.tip-list li {
  background: #fff;
  border-left: 4px solid #EAC372;
  padding: 15px 18px 15px 14px;
  border-radius: 9px;
  color: #143656;
  font-size: 1.07rem;
}

/* --- CONTACT PAGE --- */
.contact-info-block ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-block li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #143656;
}
.contact-info-block img {
  width: 24px;
  height: 24px;
}
.info-note p {
  background: #fffbe7;
  color: #143656;
  border-left: 4px solid #EAC372;
  padding: 13px 15px;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 17px;
}

/* --- MISC --- */
ul {
  list-style-position: inside;
  padding-left: 20px;
}
ol {
  padding-left: 26px;
}
li {
  margin-bottom: 7px;
}
section ul {
  margin-bottom: 16px;
}

.founder-info {
  margin-top: 8px;
  padding: 13px 15px;
  border-radius: 9px;
  background: #fff;
  border-left: 4px solid #EAC372;
  font-style: italic;
}

.confirmation .container {
  align-items: center;
}
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 15px;
}

/* --- FOOTER --- */
footer {
  background: #143656;
  color: #fff;
  padding: 40px 0 24px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-menu {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #EAC372;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 2px 8px;
  transition: color .15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
footer p {
  color: #fff;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
}

/* ----------- COOKIE CONSENT ----------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #143656;
  color: #fff;
  box-shadow: 0 -3px 18px rgba(20,54,86,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 20px 8vw 20px 5vw;
  z-index: 3000;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  animation: cookieBannerAppear .25s ease;
}
@keyframes cookieBannerAppear {
  0% {transform: translateY(70px); opacity:0;}
  90%{opacity:1;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  margin: 0 8px 0 0;
  color: #fff;
}
.cookie-btn {
  border: none;
  background: #EAC372;
  color: #143656;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 22px;
  padding: 10px 26px;
  margin-left: 8px;
  margin-right: 4px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 3px 12px rgba(20,54,86,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #143656;
}
.cookie-btn--settings {
  background: #fff;
  color: #143656;
  border: 1.5px solid #EAC372;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #EAC372;
  color: #143656;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94%;
  max-width: 420px;
  padding: 36px 28px 32px 28px;
  background: #fff;
  color: #143656;
  z-index: 4000;
  border-radius: 22px;
  box-shadow: 0 8px 38px rgba(20,54,86,0.34);
  transform: translate(-50%, -50%) scale(1);
  animation: modalAppear .28s cubic-bezier(.66,.15,.33,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalAppear {
  from {transform: translate(-50%, -46%) scale(.97); opacity: 0;}
  to {transform: translate(-50%, -50%) scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.28rem;
  font-weight: bold;
  color: #143656;
  margin-bottom: 3px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #143656;
  cursor: pointer;
}
.cookie-modal input[type=checkbox]:not(:disabled) {
  accent-color: #EAC372;
  margin-right: 6px;
}
.cookie-cat-essential {
  color: #143656;
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #143656;
  font-size: 1.5rem;
  position: absolute;
  top: 10px; right: 18px;
  cursor: pointer;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
  .story-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 14px;
  }
  .footer-menu {
    gap: 14px;
  }
  .feature-grid, .service-list, .story-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  section {
    padding: 26px 0;
    margin-bottom: 38px;
  }
  .hero .container {
    padding: 38px 0 24px 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .feature-grid, .service-list, .story-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .service-list > li, .testimonial-card {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
  }
  .cta {
    border-radius: 0;
    margin-bottom: 15px;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 15px 4vw;
    border-radius: 12px 12px 0 0;
    font-size: .98rem;
  }
}
@media (max-width: 560px) {
  html {
    font-size: 15px;
  }
  .hero h1 {
    font-size: 1.36rem;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-banner {
    padding-left: 1vw;
    padding-right: 1vw;
  }
}

/* --- FLEXBOX LAYOUT PATTERNS (MANDATORY) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* --- MICRO-INTERACTIONS --- */
.button, .cta-btn, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .17s, transform .13s;
}
.card, .service-card, .testimonial-card, .faq-item, .tip-list li, .feature-grid li {
  transition: box-shadow .18s, border-color .14s, transform .13s;
}
.button:hover, .cta-btn:hover, .cookie-btn:hover {
  transform: scale(1.04);
}
.button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(.98);
}

/* --- REMOVE GRID, COLUMNS, ABSOLUTE POSITIONS (except for decor/modal/close) --- */
/* No display: grid, columns, column-count, column-gap, break-inside or grid-* in this stylesheet! */