/* ==== 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, main, 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;
}
body {
  line-height: 1.5;
  background: #F1FAEE;
  color: #1D3557;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

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

/* ==== CSS VARIABLES FOR BRAND COLOR & TYPOGRAPHY ==== */
:root {
  --primary: #1D3557;
  --secondary: #457B9D;
  --accent: #F1FAEE;
  --shadow: 0 2px 12px rgba(29,53,87,0.08);
  --radius-l: 18px;
  --radius-s: 8px;
  --gap-xxl: 60px;
  --gap-xl: 40px;
  --gap-l: 30px;
  --gap-m: 24px;
  --gap: 20px;
  --gap-s: 16px;
  --gap-xs: 8px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background-color: var(--accent);
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.17; }
h3 { font-size: 1.375rem; margin-bottom: 16px; line-height: 1.2; }
h4 { font-size: 1.125rem; margin-bottom: 12px; font-weight: 600; }

p, li, span, a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
}
strong { font-weight: 700; }

/* ---- Main Containers ---- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.text-section {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: var(--gap-m);
  gap: var(--gap);
}

/* ---- HEADER ---- */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(29,53,87,0.07);
  padding: 0 0;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 20;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  margin-left: 24px;
  margin-right: 36px;
  height: 74px;
}
.logo img {
  height: 44px;
  width: auto;
  margin-top: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap);
  height: 74px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  transition: 
    color 0.2s,
    background 0.28s,
    box-shadow 0.25s;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: 0 2px 10px rgba(29,53,87,0.06);
}
.cta-btn {
  background: var(--primary);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 26px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(29,53,87,0.09);
  margin-left: 28px;
  transition: background 0.25s, color 0.22s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(69,123,157,0.13);
}

button.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  margin-right: 20px;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 100;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px rgba(29,53,87,0.09);
  transition: background 0.22s;
}
button.mobile-menu-toggle:hover, button.mobile-menu-toggle:focus {
  background: var(--secondary);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(110deg, #F1FAEE 90%, #457B9D 140%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(.7,0,.3,1);
  box-shadow: 6px 0 32px rgba(29,53,87,0.11);
  padding: 0 0 0 0;
  width: 94vw;
  max-width: 370px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.25rem;
  color: var(--primary);
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--gap);
  padding: 90px 28px 36px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--primary);
  padding: 15px 0;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--secondary);
  transition: background 0.19s, color 0.19s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* ---- MAIN HERO ---- */
.hero {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(117deg, #F1FAEE 75%, #457B9D 140%);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--secondary);
}
.hero .container {
  align-items: center;
}

/* ---- FLEX PATTERN SECTIONS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px rgba(69,123,157,0.16);
  transform: translateY(-2px) scale(1.01);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--radius-l);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  min-width: 290px;
  flex: 1 1 320px;
  border-left: 7px solid var(--secondary);
  transition: box-shadow 0.16s, border-left 0.22s, transform 0.19s;
}
.testimonial-card:hover {
  border-left: 7px solid var(--primary);
  box-shadow: 0 6px 36px rgba(69,123,157,0.16);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- Blog, Features, Post, FAQ, Steps ---- */
.feature-grid, .tips-grid, .benefit-grid, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: var(--gap-m);
}
.feature-grid > div, .tips-grid > div, .benefit-grid > div, .blog-post-list .post {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 230px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.19s;
}
.feature-grid > div:hover, .tips-grid > div:hover, .benefit-grid > div:hover, .blog-post-list .post:hover {
  box-shadow: 0 6px 32px rgba(69,123,157,0.16);
  transform: scale(1.02);
}

.blog-post-list .post a,
.category-filters a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  font-size: 1rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 3px;
  transition: color 0.18s, border-bottom 0.22s;
}
.blog-post-list .post a:hover,
.category-filters a:hover {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.case-studies, .faq-accordion {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: var(--gap);
}
.case-studies .case, .faq-accordion > div {
  flex: 1 1 235px;
  min-width: 210px;
  background: #f8fafd;
  border: 2.2px solid var(--secondary);
  border-radius: var(--radius-s);
  padding: 18px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px rgba(29,53,87,0.07);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.case-studies .case:hover, .faq-accordion > div:hover {
  border-color: var(--primary);
}

.category-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin: 20px 0 0 0;
  font-size: 1.05rem;
}
.category-filters strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin-right: 4px;
}

.step-by-step-guide ol {
  margin-left: 24px;
  margin-top: 6px;
}
.step-by-step-guide li {
  list-style: decimal inside;
  margin-bottom: 10px;
}

/* ---- TESTIMONIALS ---- */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.star-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}
.star-rating img {
  width: 22px;
  height: 22px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
}

/* ---- CTA SECTIONS ---- */
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}
.cta h2, .cta p, .cta a {
  color: #fff;
}
.cta .cta-btn {
  margin-top: 18px;
  background: #fff;
  color: var(--primary) !important;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* ---- LEGAL, CONFIRMATION ---- */
.legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal .text-section, .confirmation .text-section {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  margin-bottom: 18px;
}
.legal h1, .confirmation h1 {
  margin-top: 0;
}

/* ---- Contact page ---- */
.address-details, .contact-info, .opening-hours, .contact-confirm {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info img {
  width: 20px;
  margin-right: 8px;
}

/* ---- Footer ---- */
footer {
  background: #fff;
  border-top: 2px solid var(--secondary);
  padding: 32px 0 28px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}
footer .footer-menu {
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
footer .footer-menu a {
  font-family:'Montserrat', Arial, sans-serif;
  padding: 5px 12px;
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.99rem;
  font-weight: 600;
  background: var(--accent);
  transition: background 0.17s;
}
footer .footer-menu a:hover,
footer .footer-menu a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--primary);
  text-align: center;
}
footer img {
  height: 38px;
  width: auto;
}

/* ---- COOKIE BANNER & COOKIE MODAL ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2222;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -4px 32px rgba(29,53,87,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
  padding: 22px 34px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-slide-in 0.7s cubic-bezier(.7,0,.18,1) 1;
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 290px;
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 21px;
  background: var(--secondary);
  color: #fff;
  border-radius: 16px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background 0.18s, transform 0.13s;
  box-shadow: 0 2px 8px rgba(69,123,157,0.11);
  margin-left: 0;
}
.cookie-btn.settings {
  background: var(--primary);
}
.cookie-btn.reject {
  background: #ededed;
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--secondary);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,53,87,0.46);
  z-index: 3333;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.35s cubic-bezier(.7,0,.18,1);
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 36px 28px 28px 28px;
  width: 94vw;
  max-width: 430px;
  position: relative;
  box-shadow: 0 8px 40px rgba(29,53,87,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scale-in 0.32s cubic-bezier(.71,0,.19,1);
}
@keyframes scale-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-close {
  font-size: 1.9rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 13px; right: 18px;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category .switch {
  margin-left: auto;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 22px; height: 22px;
}
.cookie-category.essential label {
  font-style: italic;
  color: #929292;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 14px;
}

/* ---- ANIMATIONS & MICRO-INTERACTIONS ---- */
a, button {
  transition: color 0.18s, background 0.14s, border 0.16s, box-shadow 0.18s;
}
img, svg {
  transition: transform 0.15s, filter 0.16s;
}
img:hover, svg:hover {
  transform: scale(1.045) rotate(-2deg);
}

/* ---- RESPONSIVE BREAKPOINTS ---- */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  .feature-grid, .tips-grid, .benefit-grid, .blog-post-list {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .main-nav, .footer-menu {
    display: none;
  }
  button.mobile-menu-toggle {
    display: flex;
  }
  header {
    justify-content: flex-start;
    height: 64px;
  }
  .logo {
    margin-left: 13px;
    margin-right: 12px;
    height: 64px;
  }
  .logo img {
    height: 36px;
  }
  .cta-btn {
    margin-left: 0;
    padding: 10px 21px;
    font-size: 0.97rem;
    border-radius: 15px;
  }
  .section, .hero, .cta, .legal, .confirmation {
    padding: 30px 7px;
    margin-bottom: 38px;
  }
  .feature-grid, .tips-grid, .benefit-grid, .blog-post-list, .case-studies, .faq-accordion, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .tips-grid > div, .benefit-grid > div, .blog-post-list .post, .case-studies .case, .faq-accordion > div, .testimonial-card {
    padding: 24px 13px;
  }
  .cta {
    border-radius: 13px;
    padding: 25px 8px;
  }
  .content-wrapper, .text-section, .legal .text-section, .confirmation .text-section {
    padding: 18px 7px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 8px 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 9px;
  }
  .cookie-modal-content {
    padding: 20px 6vw 14px 6vw;
    gap: 14px;
    min-width: unset;
  }
  footer {
    padding: 22px 0 20px 0;
  }
  footer img {
    height: 28px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.02rem; }
  .container, .content-wrapper, .text-section {
    padding: 0 2px;
  }
  .cta {
    border-radius: 10px;
  }
  .cookie-banner {
    padding: 14px 2px;
    font-size: 0.95rem;
  }
}

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