/* 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;
}
footer span {
  color: white;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #1C2234;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #6D1532;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C2234;
}
ul, ol {
  margin-left: 24px;
}

/* BRAND FONTS - IMPORT (ensure in HTML or use fallback) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #6D1532;
  --secondary: #1C2234;
  --accent: #E6E7EC;
  --text: #1C2234;
  --white: #fff;
  --cta-text: #fff;
  --success: #007755;
  --danger: #b00020;
  --shadow: 0 6px 36px rgba(28,34,52,0.10), 0 1.5px 8px rgba(109,21,50,0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

/* BODY STRUCTURE */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* TYPOGRAPHY SYSTEM */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.2;
}
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.subheadline {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, span, ul, ol, label, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
}
strong {
  font-weight: 700;
}

/* LAYOUT SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FLEXBOX SPACING/ALIGNMENT */
.card-container, .features-grid, .card-grid, .footer-row, .usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .testimonials, .feature-item, .usp-row {
  margin-bottom: 20px;
  position: relative;
}
.card {
  background: var(--accent);
  padding: 28px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(28, 34, 52, 0.20), 0 2px 10px rgba(109,21,50,0.13);
  transform: translateY(-4px) scale(1.012);
}
.content-grid, .card-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 28px;
  margin-bottom: 20px;
  background: #f7f8fa;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 18px rgba(109,21,50,0.035);
  border-left: 6px solid var(--primary);
  font-style: italic;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 1.5px 10px rgba(109,21,50,0.05);
  padding: 22px 18px 20px 18px;
  min-width: 230px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature-item img {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  background: rgba(109,21,50,0.06);
  padding: 6px;
  margin-bottom: 2px;
}
.feature-item h3 {
  font-size: 1.14rem;
  margin: 0 0 2px 0;
}
.feature-item p {
  font-size: 0.98rem;
  color: var(--text);
}
.feature-item strong {
  color: var(--primary);
  font-size: 1.08em;
}
.feature-item:hover {
  box-shadow: 0 6px 28px rgba(109,21,50,0.13);
  transform: translateY(-3px) scale(1.018);
}
.usp-list {
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usp-list li {
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--secondary);
  padding-left: 30px;
  position: relative;
}
.usp-list li:before {
  content: '✓';
  font-size: 1.01em;
  font-weight: bold;
  color: var(--primary);
  position: absolute;
  left: 4px;
  top: 1px;
}
.text-section {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-top: 12px;
  font-weight: 500;
}

/* BUTTONS / CTA */
.cta-btn, button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--cta-text);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  box-shadow: 0 4px 18px rgba(109,21,50,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.12s;
  margin: 14px 0 0 0;
  outline: none;
  gap: 8px;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, .button:hover, .button:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 7px 28px rgba(28,34,52,0.13);
  transform: translateY(-2px) scale(1.018);
}
.cta-btn:active, button:active {
  background: #4B0F22;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.3rem;
  padding: 2px 12px 2px 10px;
  cursor: pointer;
  z-index: 1021;
  margin-left: 18px;
  transition: color 0.19s;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(28,34,52,0.03);
  position: sticky;
  z-index: 1000;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 0;
}
header a img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--secondary);
  background: none;
  border-radius: 8px;
  padding: 8px 10px;
  transition: color 0.2s, background 0.18s;
  letter-spacing: 0.4px;
}
nav a:hover, nav a:focus {
  background: var(--primary);
  color: var(--cta-text);
  outline: none;
}
nav a.cta-btn {
  background: var(--primary);
  color: var(--cta-text);
  font-size: 1.01rem;
  border-radius: 20px;
  padding: 10px 24px;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(109,21,50,0.10);
  margin-left: 20px;
}
nav a.cta-btn:hover, nav a.cta-btn:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu {
  display: none;
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 0;
  width: 100%;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 38px 20px 18px 20px;
  border-bottom: 1px solid #e1e2e7;
  min-width: 0;
}
.footer-row a img {
  height: 38px;
}
.footer-row nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-row nav a {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.13s, background 0.12s;
  border-radius: 7px;
  padding: 5px 10px;
}
.footer-row nav a:hover, .footer-row nav a:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #fff;
  font-size: 0.90rem;
  align-items: center;
  padding: 10px 20px 26px 20px;
  min-width: 0;
}
.footer-meta a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px dotted var(--accent);
}
.footer-meta a:hover {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

/* BLOG PAGE FEATURED POST */
.featured-blog-post {
  margin-top: 18px;
  padding: 24px 22px 20px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.featured-blog-post h3 {
  color: #fff;
}

/* USP ROW, ICONS */
.usp-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}
.usp-row img {
  height: 34px;
  width: 34px;
}

/* LISTS & MISC. */
ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
li {
  padding-bottom: 2px;
}

/*-------------------------------------------------------------------------------
---------------------- MOBILE MENU / BURGER NAV -------------------------------*/
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--secondary);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 0 0 120px rgba(28,34,52,0.22), 0 2px 10px rgba(109,21,50,0.17);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  margin: 22px 22px 8px 0;
  cursor: pointer;
  z-index: 1201;
  padding: 4px 12px 4px 5px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 28px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  padding: 13px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.16s;
  min-width: 0;
  margin-right: 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: #fff;
}

/* Hide desktop nav on mobile and show burger, show mobile menu overlay */
@media (max-width: 991px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu.open, .mobile-menu-close {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*-------------------------------------------------------------------------------
---------------------- COOKIE CONSENT BANNER -----------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--secondary);
  color: #fff;
  z-index: 2040;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 22px 16px 22px 16px;
  box-shadow: 0 -4px 20px rgba(28,34,52,0.19);
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #fff;
  max-width: 610px;
}
.cookie-banner .cookie-btn,
.cookie-banner .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 18px;
  margin-left: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.09s;
  box-shadow: 0 1px 5px rgba(109,21,50,0.12);
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid var(--primary);
  margin-right: 1px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-btn:focus, .cookie-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,34,52,0.52);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 8px 52px rgba(109,21,50,0.16);
  max-width: 96vw;
  min-width: 0;
  width: 410px;
  padding: 38px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalBounceIn 0.34s cubic-bezier(.62,-0.18,.47,1.12);
}
@keyframes modalBounceIn {
  from { transform: scale(0.84) translateY(80px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 20px;
  margin-top: 0;
  font-size: 1.34rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category span {
  font-size: 1.07em;
  font-weight: 600;
  min-width: 0;
}
.cookie-toggle {
  margin-left: auto;
  margin-right: 0;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn,
.cookie-modal .modal-actions .cookie-settings-btn {
  margin-left: 0;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.72rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 40;
  padding: 3px 7px;
  transition: color 0.13s;
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--danger);
}

/* Cookie toggle switches */
.toggle-switch {
  width: 46px;
  height: 23px;
  background: var(--accent);
  border-radius: 13px;
  position: relative;
  transition: background 0.13s;
  display: inline-block;
  vertical-align: middle;
}
.toggle-switch input {
  display: none;
}
.toggle-switch span {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
  box-shadow: 0 1px 4px rgba(28,34,52,0.13);
}
.toggle-switch input:checked + span {
  left: 24px;
  background: var(--primary);
}
.toggle-switch input:disabled + span {
  background: #bbb;
}

/*-------------------------------------------------------------------------------
------------------ RESPONSIVE LAYOUTS (MOBILE-FIRST) ---------------------------*/
@media (max-width: 1199px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  .content-wrapper {
    padding: 0 !important;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 10px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  section {
    padding: 28px 8px;
  }
  .features-grid, .card-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
    max-width: 99%;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 16px 14px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 10px;
    padding: 10px 8px 22px 8px;
  }
  .usp-row, .map-placeholder {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.97rem;
    padding: 10px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .cookie-modal {
    width: 99vw;
    max-width: 99vw;
    min-width: 0;
    padding: 22px 10px 18px 12px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.22rem; }
  h2, .h2 { font-size: 1rem; }
  .cta-btn, button, .button {
    padding: 12px 16px;
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 4px 14px 4px;
    font-size: 0.97rem;
    min-width: 0;
  }
  .cookie-banner .cookie-btn,
  .cookie-banner .cookie-settings-btn {
    font-size: 0.97rem;
    padding: 8px 14px;
  }
  .cookie-modal h2 {
    font-size: 1.02rem;
  }
}

/*-------------------------------------------------------------------------------
---------------------- MODERN BOLD STYLE EXTRAS --------------------------------*/
section {
  border-radius: 24px;
}
h1, h2, h3 {
  text-shadow: 0 2.5px 16px rgba(109,21,50,0.09);
}
.feature-item {
  border-left: 6px solid var(--primary);
}
.testimonial-card {
  border-left: 6px solid var(--primary);
  background: #F7F8FA;
  color: var(--text);
}
.testimonial-card p {
  font-size: 1.02rem;
  color: var(--secondary);
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
}

/* Microinteractions */
.card, .feature-item, .cta-btn, button, .button {
  will-change: transform, box-shadow;
}
.cta-btn, button, .button, .cookie-btn, .cookie-settings-btn {
  outline: none;
  border: none;
}
.cta-btn:focus-visible, button:focus-visible, .cookie-btn:focus-visible, .cookie-settings-btn:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
}

/* Accessibility & contrast */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #232730;
}

/* Hide scroll on body when cookie modal or mobile nav open */
body.menu-opened, body.cookie-modal-opened {
  overflow: hidden;
}

/* END CSS */
