/* ------------------------------------------------------
   Storm Pulse Studio – MODERN_BOLD CSS – style.css
   Modern, bold, geometric & high-contrast design
   (C) Storm Pulse Studio 2024
---------------------------------------------------------*/
/* CSS RESET & BASICS */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #273357;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img, video, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #8E4C3A;
  text-decoration: none;
  transition: color 0.18s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #A25C36;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #273357;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
p, .footer-contact, blockquote, cite {
  color: #273357;
  margin-bottom: 16px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: #273357;
}
.service-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: #EBD9B7;
  color: #273357;
  padding: 4px 12px;
  border-radius: 18px;
  margin-bottom: 6px;
  margin-top: 6px;
  display: inline-block;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  quotes: "\201C" "\201D" "\2018" "\2019";
  background: #EBD9B7;
  color: #273357;
  border-left: 6px solid #8E4C3A;
  padding: 20px 28px 20px 24px;
  margin-bottom: 12px;
  border-radius: 20px 36px 20px 6px;
}
cite {
  display: block;
  font-size: 0.95rem;
  color: #8E4C3A;
  font-style: normal;
  font-weight: 800;
  margin-top: 8px;
  padding-left: 6px;
}

/* LAYOUT & SPACING */
main {
  padding-top: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}
.text-section {
  margin-bottom: 36px;
}
/* Flexbox Containers */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(39,51,87,0.10), 0 1.5px 4px rgba(39,51,87,0.03);
  padding: 30px 28px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(146,76,58,0.24), 0 3px 9px rgba(146,76,58,0.06);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.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;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 20px 28px 20px 8px;
  box-shadow: 0 4px 24px rgba(39,51,87,0.09);
  border-left: 6px solid #A25C36;
  transition: box-shadow 0.22s, border-left-color 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(146,76,58,0.18);
  border-left-color: #8E4C3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.post-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.post-teasers article {
  background: #EBD9B7;
  border-radius: 20px;
  padding: 20px;
  flex: 1 1 250px;
  min-width: 230px;
  box-shadow: 0 2px 8px rgba(39,51,87,0.07);
  transition: box-shadow 0.2s;
}
.post-teasers article:hover {
  box-shadow: 0 6px 22px rgba(146,76,58,0.15);
}

/* HEADER & NAVIGATION */
header {
  background: #273357;
  color: #fff;
  padding: 0;
  box-shadow: 0 4px 16px rgba(39,51,87,0.15);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 48px;
  max-width: 180px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.19s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  color: #EBD9B7;
  border-bottom: 2.5px solid #A25C36;
}
.cta-btn {
  background: #8E4C3A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 28px;
  padding: 13px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 18px rgba(39,51,87,0.11);
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, transform 0.12s;
  text-transform: uppercase;
  margin-left: 12px;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A25C36;
  color: #fff;
  box-shadow: 0 8px 32px rgba(146,76,58,0.23);
  transform: translateY(-2px) scale(1.03);
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #8E4C3A;
  color: #fff;
  font-size: 2.1rem;
  padding: 8px 18px 8px 8px;
  border: none;
  border-radius: 12px 32px 12px 8px;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-left: 18px;
  z-index: 201;
  outline: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A25C36;
  color: #EBD9B7;
  box-shadow: 0 2px 10px rgba(39,51,87,0.18);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #273357;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.7,.3,.1,1), opacity 0.26s cubic-bezier(.6,.2,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 24px 22px 8px 0;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8E4C3A;
  color: #EBD9B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 36px;
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  padding: 14px 0 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.17s, border-bottom 0.18s, background 0.15s;
  border-radius: 12px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EBD9B7;
  background: #A25C36;
  border-bottom: 2px solid #EBD9B7;
}

/* FOOTER */
footer {
  background: #273357;
  color: #fff;
  padding: 0 0 0 0;
  border-top: 6px solid #A25C36;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: 42px;
  padding-bottom: 36px;
}
footer img {
  height: 36px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #EBD9B7;
  font-size: 0.98em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.13s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #A25C36;
  border-bottom: 2.5px solid #A25C36;
}
.footer-contact {
  color: #EBD9B7;
  font-size: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
}
.footer-contact a {
  color: #EBD9B7;
  text-decoration: underline;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #A25C36;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .section {
    padding: 34px 8px;
  }
  .post-teasers { gap: 10px; }
}
@media (max-width: 768px) {
  html { font-size: 96%; }
  header .container { flex-direction: row; gap: 7px; }
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-btn { margin-left: 0; margin-top: 4px; padding: 11px 13px; font-size: 1rem; }
  main { padding-top: 26px; }
  .feature-grid, .content-grid, .card-container, .post-teasers {
    flex-direction: column;
    gap: 14px;
    min-width: 0;
  }
  .testimonial-card, .card, .post-teasers article {
    min-width: unset;
    width: 100%;
  }
  .content-wrapper { max-width: 97vw; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  html { font-size: 92%; }
  .container { padding: 0 5px; }
  .section { padding: 22px 2px; }
  .cta-btn { padding: 9px 7px; font-size: 0.98rem; }
  .feature-grid, .content-grid { gap: 8px; }
}

/* BUTTONS & INTERACTIVES */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #A25C36;
  outline-offset: 2.5px;
}
::-webkit-input-placeholder { color: #273357; opacity: .82; }
::-moz-placeholder { color: #273357; opacity: .82; }
:-ms-input-placeholder { color: #273357; opacity: .82; }
::placeholder { color: #273357; opacity: .82; }

/* CUSTOM GEOMETRIC ELEMENTS */
.feature-grid > div, .feature-item {
  background: #fff;
  border-radius: 22px 36px 20px 8px;
  box-shadow: 0 2px 12px rgba(146,76,58,0.04);
  border: 2px solid #EBD9B7;
  padding: 26px 21px 24px 21px;
  flex: 1 1 240px;
  min-width: 210px;
  transition: box-shadow 0.2s, border 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .feature-item:hover {
  box-shadow: 0 8px 24px rgba(146,76,58,0.14);
  border-color: #8E4C3A;
  transform: scale(1.04) translateY(-2px);
  z-index: 1;
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 16px;
}

/* GEOMETRIC DECORATIVE SHAPES (if desired - add)
.section:before {
  content: '';
  display: block;
  width: 44px;
  height: 9px;
  background: #EBD9B7;
  border-radius: 18px 32px 18px 18px;
  margin-bottom: 22px;
}
*/

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  z-index: 2500;
  background: #273357;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 14px;
  box-shadow: 0 -4px 24px rgba(39,51,87,0.23);
  font-size: 1rem;
  border-top: 5px solid #A25C36;
  transition: transform 0.32s cubic-bezier(.7,.3,.1,1), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-consent-banner p {
  margin: 0;
  color: #fff;
  flex: 1 1 210px;
}
.cookie-consent-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow .15s;
  margin-left: 3px;
  margin-right: 3px;
}
.cookie-btn.accept {
  background: #8E4C3A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #A25C36;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #273357;
  border: 2px solid #A25C36;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #A25C36;
  color: #fff;
}
.cookie-btn.settings {
  background: #EBD9B7;
  color: #273357;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A25C36;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 15px;
    padding: 14px 6px;
    font-size: 0.99rem;
    align-items: flex-start;
  }
  .cookie-consent-buttons { gap: 6px; }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(39,51,87,0.85);
  z-index: 2650;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #273357;
  border-radius: 20px 36px 28px 15px;
  box-shadow: 0 10px 40px rgba(39,51,87,0.21);
  max-width: 455px;
  padding: 38px 26px 24px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  color: #273357;
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: #8E4C3A;
  width: 20px; height: 20px;
  border-radius: 7px;
  border: 2.5px solid #A25C36;
}
.cookie-description {
  color: #273357;
  margin-bottom: 2px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  color: #A25C36;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  background: #EBD9B7;
  color: #8E4C3A;
}
@media (max-width: 600px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 18px 8px 17px 13px;
  }
  .cookie-modal h3 { font-size: 1.05rem; }
}

/* FORMS (if used) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid #EBD9B7;
  margin-bottom: 12px;
  width: 100%;
  background: #F5F5F5;
  transition: border-color 0.13s, box-shadow 0.19s;
  color: #273357;
}
input:focus, textarea:focus, select:focus {
  border-color: #A25C36;
  outline: 2px solid #A25C36;
  background: #fff;
}

/* MISC */
hr {
  border: 0;
  border-top: 2px solid #EBD9B7;
  margin: 38px 0;
}
/* Scrollbar styling for modern look */
::-webkit-scrollbar { width: 12px; background: #EBD9B7; border-radius: 9px; }
::-webkit-scrollbar-thumb { background: #273357; border-radius: 8px; }
/* FADE/SLIDE ANIMATIONS */
.fade-in {
  animation: fadein .42s cubic-bezier(.7,.3,.1,1) 1;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-in-right {
  animation: slideinright .32s cubic-bezier(.7,.3,.1,1) 1;
}
@keyframes slideinright {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Accessibility helpers */
.sr-only { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }

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