/* --- 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #F8F9FB;
  color: #25364C;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- BRAND TYPOGRAPHY --- */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #25364C;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #25364C;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #25364C;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25364C;
  font-weight: normal;
}
p, li, span, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #25364C;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  color: #25364C;
  padding-left: 20px;
  border-left: 4px solid #E0E4EA;
  margin-bottom: 10px;
}

/* SPACING UTILS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER NAVIGATION --- */
header {
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(37, 54, 76, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 0 0;
  min-height: 77px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
}
.brand-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #25364C;
  padding: 8px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E0E4EA;
  color: #FEA900;
}
.cta-primary {
  background: #FEA900;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 40px;
  padding: 11px 32px;
  box-shadow: 0 2px 16px rgba(37,54,76,0.06);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  border: none;
  margin-left: 18px;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #25364C;
  color: #FEA900;
  box-shadow: 0 4px 32px rgba(37,54,76,0.11);
}
.cta-secondary {
  background: #E0E4EA;
  color: #25364C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 36px;
  padding: 10px 26px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 12px;
  border: none;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FEA900;
  color: #FFFFFF;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #25364C;
  border: none;
  padding: 4px 14px;
  border-radius: 6px;
  align-self: center;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E0E4EA;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: 0 2px 24px rgba(37,54,76,0.09);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  padding: 36px 0 0 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: #E0E4EA;
  color: #25364C;
  border-radius: 40px;
  align-self: flex-end;
  margin: 0 24px 12px 0;
  padding: 4px 16px;
  transition: background 0.17s, color 0.18s;
  z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FEA900;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: #25364C;
  padding: 13px 0;
  width: 100%;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E0E4EA;
  color: #FEA900;
}

/* Hide main-nav & show burger on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO SECTIONS --- */
.hero-section {
  background: #E0E4EA;
  border-radius: 0 0 16px 16px;
  margin-bottom: 56px;
  padding: 48px 0 32px 0;
  box-shadow: 0 3px 16px rgba(37,54,76,0.07);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 14px;
  text-align: center;
}
.hero-section h1 {
  color: #25364C;
  margin-bottom: 8px;
}
.hero-section .hero-sub {
  color: #25364C;
  font-size: 1.19rem;
  margin-bottom: 22px;
  margin-top: 2px;
}

/* --- FEATURES GRID & CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 14px;
}
.feature {
  flex: 1 1 210px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(37,54,76,0.06);
  padding: 30px 24px 18px 24px;
  min-width: 175px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}
.feature h3 {
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #25364C;
}
.feature p {
  color: #25364C;
  font-size: 1rem;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px rgba(37,54,76,0.12);
  transform: translateY(-3px) scale(1.025);
}

/* --- FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,54,76,0.05);
  overflow: hidden;
  padding: 26px 22px;
}
.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: 26px 32px 14px 32px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(37,54,76,0.10);
  min-width: 240px;
  max-width: 378px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.22s;
  border: 1.5px solid #E0E4EA;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 44px rgba(37,54,76,0.15);
  transform: translateY(-4px) scale(1.028);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  color: #25364C;
  opacity: 0.83;
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SERVICE/CATEGORY LISTS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 16px 0;
}
.service-list li {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,54,76,0.04);
  flex: 1 1 270px;
  min-width: 185px;
  max-width: 360px;
  margin-bottom: 20px;
  padding: 23px 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 1px solid #E0E4EA;
}
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 6px 28px rgba(37,54,76,0.09);
  transform: translateY(-2px) scale(1.026);
}
.service-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #25364C;
}
.service-list p {
  font-size: 1rem;
  color: #25364C;
}

/* --- BLOG POSTS & TAGS --- */
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.post-list article {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(37,54,76,0.07);
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  padding: 22px 18px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.post-list article:hover, .post-list article:focus-within {
  box-shadow: 0 8px 35px rgba(37,54,76,0.11);
  transform: scale(1.017);
}
.post-list h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
  color: #25364C;
}
.post-list p {
  font-size: 1rem;
  color: #25364C;
}

.popular-tags-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 8px 0;
}
.popular-tags-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.popular-tags-grid li {
  background: #E0E4EA;
  color: #25364C;
  border-radius: 16px;
  padding: 5px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
}

/* --- CONTACT INFO --- */
.contact-info, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info p, .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #25364C;
}
.contact-info img, .contact-details img {
  width: 22px;
  height: 22px;
}
.mini-contact-info {
  margin-top: 14px;
}
.mini-contact-info p {
  font-size: 1.02rem;
  color: #25364C;
  line-height: 1.5;
}
.address-map {
  margin-top: 5px;
}
.address-map em {
  color: #7B889A;
  font-style: italic;
  font-size: 0.98rem;
}

/* --- MISSION, VALUES, TEXT SECTIONS --- */
.mission-statement, .brand-values, .text-section, .confirmation-message {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(37,54,76,0.03);
  padding: 26px 22px;
  margin-bottom: 20px;
}
.brand-values ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 5px;
}
.brand-values li {
  font-size: 1rem;
  color: #25364C;
  list-style: inside disc;
}

/* --- FOOTER --- */
footer {
  background: #FFFFFF;
  border-top: 1.8px solid #E0E4EA;
  margin-top: 64px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 18px 20px;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #25364C;
  transition: color 0.19s;
  opacity: 0.83;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FEA900;
}
.footer-contact {
  font-size: 0.97rem;
  color: #7B889A;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.footer-contact a {
  color: #25364C;
  opacity: 0.85;
  transition: color 0.18s;
  margin-left: 4px;
}
.footer-contact a:hover {
  color: #FEA900;
}
.footer-copyright {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.69;
  text-align: center;
}
footer img {
  height: 34px;
  width: auto;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFFFF;
  box-shadow: 0 -2px 18px rgba(37,54,76,0.09);
  border-top: 2px solid #E0E4EA;
  z-index: 12010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10vw 22px 10vw;
  gap: 24px;
  min-height: 55px;
  transform: translateY(100%);
  transition: transform 0.33s cubic-bezier(0.8,0,0.2,1);
}
.cookie-banner.active {
  transform: translateY(0);
}
.cookie-banner-message {
  font-size: 1rem;
  color: #25364C;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-left: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 32px;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  background: #E0E4EA;
  color: #25364C;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: #FEA900;
  color: #FFFFFF;
}
.cookie-btn.reject {
  background: #E0E4EA;
  color: #25364C;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid #E0E4EA;
  color: #25364C;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #25364C;
  color: #FEA900;
  box-shadow: 0 2px 14px #25364C21;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 22222;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,54,76,0.21);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 45px rgba(37,54,76,0.18);
  padding: 36px 40px 30px 40px;
  max-width: 428px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: fadeInScale 0.35s cubic-bezier(0.54,1.8,0.65,1) 1;
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25364C;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FEA900;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #25364C;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 1.6rem;
  background: #E0E4EA;
  color: #25364C;
  border-radius: 50%;
  padding: 2px 10px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  outline: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FEA900;
  color: #FFF;
}

/* --- GENERAL ELEMENTS --- */
::-webkit-scrollbar {
  width: 8px;
  background: #FFF;
}
::-webkit-scrollbar-thumb {
  background: #E0E4EA;
  border-radius: 8px;
}
table, th, td {
  border-collapse: collapse;
  border-spacing: 0;
}

strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #E0E4EA;
  margin: 36px 0;
}

/* --- MEDIA QUERIES / RESPONSIVE --- */
@media (max-width: 1100px) {
  .feature-grid, .testimonial-list, .service-list,
  .card-container, .post-list {
    gap: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
    padding: 0 8px;
  }
  .footer-container {
    padding: 30px 10px 15px 10px;
  }
  .mission-statement, .brand-values, .text-section, .confirmation-message,
  .card {
    padding: 16px 10px;
  }
  .cookie-modal {
    padding: 18px 12px 20px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero-section {
    padding: 36px 0 24px 0;
    margin-bottom: 35px;
    border-radius: 0 0 12px 12px;
  }
  .feature-grid,
  .testimonial-list,
  .card-container,
  .service-list,
  .post-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .testimonial-card, .service-list li,
  .card, .post-list article {
    max-width: none;
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .footer-nav {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
  .footer-contact {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 5vw 14px 5vw;
  }
  .cookie-banner-actions {
    margin-left: 0;
  }
  .cookie-modal {
    border-radius: 17px;
    max-width: 99vw;
    min-width: 0;
  }
}
@media (max-width: 515px) {
  .container {
    max-width: 99vw;
    padding: 0 3px;
  }
  .hero-section {
    padding: 21px 0 13px 0;
  }
  .section {
    padding: 18px 5px;
  }
  h1, .hero-section h1 {
    font-size: 1.45rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 8px;
  }
}

/* --- FOCUS STATES --- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2px solid #FEA900;
  outline-offset: 2px;
}

/* --- MICRO-INTERACTIONS & ANIMATION HINTS --- */
.cta-primary, .cta-secondary, .cookie-btn, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.14s, transform 0.14s;
}
.feature:hover, .feature:focus-within,
.service-list li:hover, .service-list li:focus-within,
.card:hover, .card:focus-within,
.testimonial-card:hover, .testimonial-card:focus-within,
.post-list article:hover, .post-list article:focus-within {
  transform: translateY(-3px) scale(1.02);
}

/* --- UTILITY CLASSES --- */
.hide {
  display: none!important;
}

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