/* ===================================================
   Swift Hammer Stays | Modern Bold CSS Theme
   ---------------------------------------------------
   Brand: Contemporary bold, high contrast, bright accent
           Montserrat (display), Open Sans (body)
   Colors: #1C3552 (primary navy), #6088A4 (secondary blue), #F4D06F (bright gold)
   UI: Bold headings, geometric elements, flex-only layouts
   =================================================== */

/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFC;
  color: #1C3552;
  line-height: 1.55;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
  display: inline-block;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: #1C3552;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F4D06F;
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

/* === TYPOGRAPHY SCALE & BOLDNESS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #1C3552;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #304B68;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #6088A4;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: bold;
}

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

/* === SECTIONS & SPACING === */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.hero-section {
  padding: 60px 20px 60px 20px;
  margin-bottom: 60px;
  border-radius: 18px;
  background: #1C3552;
  color: #fff;
  box-shadow: 0 8px 32px rgba(28,53,82,0.10), 0 1.5px 8px rgba(244,208,111,0.05);
}
.hero-section h1,
.hero-section .subheadline,
.hero-section p {
  color: #fff;
}

.legal-section {
  background: #F7F9FB;
  border-radius: 12px;
  padding: 36px 24px;
}

.text-section {
  margin-top: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === FLEX UTILITIES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(28,53,82,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(28,53,82,0.15);
  transform: translateY(-6px) scale(1.015);
  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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #F7F9FB;
  box-shadow: 0 2px 12px rgba(28,53,82,0.09);
  margin-right: 16px;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(96,136,164,0.13);
  transform: scale(1.025);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3552;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: -14px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-highlights {
  margin-top: 18px;
  display: flex;
  gap: 32px;
}
.content-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.content-highlights li {
  background: #F4D06F;
  color: #1C3552;
  border-radius: 14px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(28,53,82,0.06);
  padding: 22px 26px;
  min-width: 230px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.service-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 28px 0;
}
.service-steps li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #304B68;
  font-size: 1.1rem;
  background: #F7F9FB;
  border-radius: 10px;
  padding: 7px 17px;
}

/* === FEATURE GRID (used for icons) === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 190px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(96,136,164,0.07);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 32px rgba(244,208,111,0.18);
  transform: scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3552;
  font-weight: 600;
  margin-bottom: 3px;
}
.feature-grid p {
  font-size: 1rem;
  color: #304B68;
}

/* === TESTIMONIAL SLIDER (responsive stack) === */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

/* === BUTTONS === */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  background: #F4D06F;
  color: #1C3552;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 26px;
  border: none;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(244,208,111,0.13);
  letter-spacing: 0.025em;
  margin-top: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .17s, transform .16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1C3552;
  color: #F4D06F;
  box-shadow: 0 6px 24px rgba(28,53,82,0.13);
  transform: scale(1.045);
  outline: none;
}

/* Inline links in cards/text */
.text-section a, .content-wrapper a:not(.cta-primary):not(.mobile-menu-close):not(.mobile-menu-toggle) {
  color: #1C3552;
  font-weight: 600;
  text-decoration: underline;
  transition: color .16s;
}
.text-section a:hover, .content-wrapper a:not(.cta-primary):not(.mobile-menu-close):not(.mobile-menu-toggle):hover {
  color: #F4D06F;
}

/* === NAVIGATION === */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(28,53,82,0.07);
  position: relative;
  border-radius: 0 0 18px 18px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1C3552;
  position: relative;
  padding: 7px 10px;
  transition: color .18s;
}
.main-nav > a:not(:first-child):hover, .main-nav > a.cta-primary:hover {
  color: #F4D06F;
}
.main-nav a.cta-primary {
  margin-left: auto;
  padding: 10px 24px;
  border-radius: 18px;
  background: #F4D06F;
  color: #1C3552;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 10px rgba(244,208,111,0.10);
  transition: background .16s, color .16s;
}
.main-nav a.cta-primary:hover {
  background: #1C3552;
  color: #F4D06F;
}
.main-nav img {
  width: 44px;
  height: 44px;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- Hamburger menu --- */
.mobile-menu-toggle {
  position: absolute;
  right: 24px;
  top: 24px;
  background: #1C3552;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  z-index: 1050;
  display: none;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4D06F;
  color: #1C3552;
}

/* --- Mobile menu overlay & navigation --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1C3552;
  box-shadow: 0 10px 32px rgba(28,53,82,0.27);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.65,0,0.35,1);
  z-index: 1090;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  color: #F4D06F;
  font-size: 2.2rem;
  padding: 8px 24px 8px 8px;
  background: none;
  border: none;
  align-self: flex-end;
  margin-top: 18px;
  margin-right: 12px;
  transition: color .18s;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #F4D06F;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding-left: 34px;
}
.mobile-nav a {
  color: #F4D06F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 6px;
  transition: background .17s, color .17s;
  width: 90vw;
}
.mobile-nav a:hover {
  background: #F4D06F;
  color: #1C3552;
}

/* === FOOTER === */
footer {
  width: 100%;
  padding: 50px 0 16px 0;
  background: #1C3552;
  color: #fff;
  margin-top: 60px;
  border-radius: 18px 18px 0 0;
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F4D06F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color .14s;
  padding: 4px 10px;
  border-radius: 8px;
}
.footer-nav a:hover {
  color: #fff;
  background: #6088A4;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding-bottom: 5px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 24px 20px;
  background: #304B68;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -6px 30px rgba(28,53,82,0.18);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  font-size: 1rem;
  color: #fff;
  flex: 2;
  margin-right: 20px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  background: #F4D06F;
  color: #1C3552;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(244,208,111,0.08);
  transition: background .13s, color .13s;
}
.cookie-btn:focus {
  outline: 2px solid #1C3552;
}
.cookie-btn.reject {
  background: #6088A4;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #1C3552;
  color: #F4D06F;
}
.cookie-btn.settings {
  background: #fff;
  color: #1C3552;
  border: 1.5px solid #6088A4;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F4D06F;
  color: #1C3552;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1C3552;
  color: #F4D06F;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(0.96);
  background: #fff;
  color: #1C3552;
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(28,53,82,0.28);
  z-index: 3100;
  padding: 40px 30px 32px 30px;
  min-width: 310px;
  max-width: 97vw;
  width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.cookie-modal-title {
  font-size: 1.22rem;
  color: #1C3552;
}
.cookie-modal-close {
  font-size: 2rem;
  color: #6088A4;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 6px;
  transition: background .14s, color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4D06F;
  color: #1C3552;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.cookie-toggle label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  background: #D6DEE3;
  border-radius: 13px;
  position: relative;
  transition: background .24s;
  margin-left: 10px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #F4D06F;
  border-radius: 50%;
  transition: transform .22s, background .16s;
}
.cookie-switch input:checked + span {
  transform: translateX(18px);
  background: #6088A4;
}
.cookie-toggle.disabled label {
  color: #B3BFC7;
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}

/* === MISC COMPONENTS === */
.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

/* === RESPONSIVENESS (Mobile-first) === */
@media (max-width: 1000px) {
  .container {
    padding: 0 14px;
  }
  .main-nav {
    gap: 16px;
    padding: 14px 10px;
  }
}

@media (max-width: 920px) {
  .feature-grid, .testimonial-slider, .card-container, .service-list, .content-highlights ul {
    gap: 16px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .main-nav > a:not(:first-child) {
    font-size: 0.98rem;
    padding: 6px 5px;
  }
  .main-nav a.cta-primary {
    font-size: 0.98rem;
    padding: 7px 14px;
    margin-left: 4px;
  }
  .hero-section {
    padding: 40px 10px 36px 10px;
    border-radius: 12px;
    margin-bottom: 40px;
  }
  .feature-grid, .testimonial-slider, .card-container, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    gap: 16px;
    font-size: 0.95rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 7px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .section, section {
    padding: 22px 4px;
    margin-bottom: 34px;
  }
  .hero-section {
    padding: 26px 6px;
    border-radius: 7px;
    margin-bottom: 30px;
  }
  .footer-brand img {
    width: 31px; height: 31px;
  }
  .cookie-modal {
    padding: 26px 9px 18px 9px;
    width: 97vw;
    min-width: unset;
  }
}

/* === GEOMETRIC DECORATIVE ELEMENTS (optional) === */
.hero-section::before {
  content: "";
  display: block;
  position: absolute;
  top: -36px;
  left: -46px;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #F4D06F;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}
.hero-section {
  position: relative;
  z-index: 2;
}
.hero-section::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -36px;
  width: 62px;
  height: 62px;
  background: #6088A4;
  opacity: 0.18;
  border-radius: 18px;
  z-index: 1;
  pointer-events: none;
}

/* === ANIMATIONS & MICROINTERACTIONS === */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow .2s, transform .2s;
}
.cta-primary, .cookie-btn {
  transition: background .17s, color .17s, box-shadow .15s, transform .13s;
}
.mobile-menu, .cookie-modal, .cookie-banner {
  /* animations via transform/opacity above */
}

/* --- Accessibility --- */
:focus {
  outline: 2px solid #F4D06F !important;
  outline-offset: 2px;
}

/* === END === */
