/* CSS RESET & NORMALIZE – MOBILE-FIRST */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #181818;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND & TYPOGRAPHY - MONOCHROME SOPHISTICATED */
:root {
  --primary: #181818;
  --secondary: #555;
  --accent: #e8e8e8;
  --background: #fff;
  --surface: #f6f6f6;
  --brand-main: #24495A;
  --brand-light: #B5C2C7;
  --brand-accent: #F8EDE0;
  --shadow-light: 0 4px 24px rgba(20,20,20,0.06);
  --border-radius: 12px;
  --transition: 0.25s cubic-bezier(.35,0,.25,1);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #101010;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.6rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.125rem; line-height: 1.4; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #222;
}
strong { color: #1a1a1a; font-weight: 600; }
small { font-size: .85rem; color: #565656; }
a {
  color: var(--brand-main);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus { color: var(--primary); text-decoration: none; }

/* LAYOUT BASE CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 34px;
  }
}

/* HEADER: LAYOUT & NAVIGATION */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 14px 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(24,24,24,0.04);
  z-index: 100;
  position: relative;
}
header a img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  transition: color var(--transition);
  padding: 6px 8px;
  border-radius: 7px;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--brand-main);
  background: var(--accent);
}
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 9px;
  padding: 12px 28px;
  margin-left: 18px;
  box-shadow: 0 2px 15px rgba(24,24,24,0.06);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-main);
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(36,73,90,0.10);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width:1020px) {
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0 10px 0;
  }
  .cta-btn { margin-left: 0; margin-top: 8px; }
  nav { gap: 12px; font-size: .99rem; }
}

/* BURGER MENU - VISIBLE ON MOBILE*/
.mobile-menu-toggle {
  display: inline-block;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: auto;
  transition: background var(--transition), color var(--transition);
  align-self: flex-end;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 1;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
  background: var(--primary);
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* DESKTOP NAV ONLY VISIBLE ON DESKTOP */
@media (max-width: 991px) {
  header nav { display: none; }
}

/* MOBILE MENU STYLES */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.55,0,.4,1);
  overflow-y: auto;
  padding: 28px 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.8rem;
  color: #fff;
  margin-right: 18px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-main);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding-left: 22px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 0;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  width: 100%;
  display: block;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--brand-main);
  padding-left: 10px;
}

@media (max-width: 991px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* MAIN CONTENT & SECTIONS */
main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* FLEX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  min-width: 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(24,24,24,0.12);
  transform: translateY(-2px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 25px 20px 28px;
  background: #fff;
  border-left: 5px solid var(--brand-main);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px rgba(24,24,24,0.09);
  max-width: 720px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  background: none;
  margin: 0;
  padding: 0;
}
.testimonial-card p strong {
  color: var(--brand-main);
  font-size: .99rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(36,73,90,0.11);
  border-left-color: #101821;
  transform: translateY(-1.5px) scale(1.009);
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 -2px 10px rgba(0,0,0,.02);
  padding: 35px 0 18px 0;
  margin-top: 32px;
  font-size: 1rem;
  color: #222;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #222;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-main);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: .95rem;
  text-align: center;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  opacity: 0.72;
}
@media (max-width: 768px) {
  footer { padding: 26px 0 11px 0; }
  .footer-nav { font-size: .94rem; gap:6px; }
  .footer-contact { font-size: .89rem; }
}

/* LISTS, UL, OL */
ul, ol {
  padding-left: 25px;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  color: #222;
  line-height: 1.5;
}
ul li img, ol li img {
  margin-right: 7px;
  vertical-align: bottom;
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section article {
  background: var(--surface);
  border-radius: 8px;
  padding: 20px 25px 18px 20px;
  box-shadow: 0 1px 6px rgba(24,24,24,0.04);
  margin-bottom: 8px;
  width: 100%;
}
.text-section h2, .text-section h3 {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 1.22rem;
  color: #222;
}
.text-section p {
  color: #2a2a2a;
}

/* BUTTONS */
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(24,24,24,0.06);
  transition: all var(--transition);
  margin-right: 14px;
}
button:last-child, .btn:last-child { margin-right: 0; }
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--brand-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(36,73,90,0.11);
  outline: none;
}

/* FORMS (if any in future) */
input, textarea, select {
  border: 1.5px solid var(--secondary);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  transition: border var(--transition);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-main);
  outline: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.20);
  z-index: 10020;
  padding: 22px 18px 18px 18px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.52,0,.27,1), opacity 0.23s;
  opacity: 0.97;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  text-align: center;
  font-size: .99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 8px 20px;
  font-size: 0.97rem;
  border-radius: 7px;
  border: none;
  background: var(--brand-main);
  color: #fff;
  transition: background var(--transition), box-shadow var(--transition);
  margin: 0;
}
.cookie-banner .btn.settings {
  background: var(--brand-light);
  color: #1a1a1a;
  font-weight: 500;
}
.cookie-banner .btn.reject {
  background: #fff;
  color: #333;
  border: 1.5px solid var(--brand-main);
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .btn.settings:hover, .cookie-banner .btn.settings:focus {
  background: #f8f8f8;
  color: var(--brand-main);
}
.cookie-banner .btn.reject:hover, .cookie-banner .btn.reject:focus {
  background: #f5f5f5;
  color: #222;
}

/* COOKIE MODAL (preferences) */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(14,14,19,0.66);
  z-index: 10025;
  backdrop-filter: blur(1.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .26s cubic-bezier(.55,0,.20,1);
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #111;
  border-radius: 13px;
  box-shadow: 0 0 54px rgba(20, 24, 30, 0.18);
  max-width: 420px;
  width: calc(100vw - 38px);
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 10026;
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.26rem;
  color: var(--brand-main);
}
.cookie-modal label, .cookie-modal .cookie-category {
  font-size: 1.05rem;
  color: #101010;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--brand-main);
  width: 20px; height: 20px;
  margin-right: 3px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal .btn {
  font-size: 1rem;
  padding: 8px 23px;
  border-radius: 6px;
}
.cookie-modal .cookie-essential {
  color: #2e2e2e;
  font-weight: 600;
}
.cookie-modal .cookie-category.disabled {
  color: #b0b0b0;
  opacity: 0.7;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 5vw 18px 5vw;
    min-width: 0;
  }
  .cookies-modal h2 { font-size: 1.1rem; }
}

/* Animations - subtle fade/slide */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(13px); }
  100% { opacity: 1; transform: none; }
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: none; }
}
.section, .card, .testimonial-card, .content-wrapper, .cookie-banner, .cookie-modal {
  animation: fadeIn 0.7s cubic-bezier(.51,0,.34,1);
}

/* Spacing utilities for all layouts */
.mb-10 { margin-bottom: 10px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mb-26 { margin-bottom: 26px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-10 { margin-top: 10px!important; }
.mt-20 { margin-top: 20px!important; }
.mt-32 { margin-top: 32px!important; }

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.04rem; }
  .content-wrapper { gap: 18px; }
  .text-section { gap: 12px; }
}

/* OVERRIDE FOR MIN. CARD MARGINS ON EVERY PAGE */
section > div > .card-container > *,
.content-grid > *,
.content-wrapper > *,
.content-wrapper ul > li,
.content-wrapper ol > li,
.text-image-section > *
{
  margin-bottom: 20px;
}

/* NO ABSOLUTE POSITIONING FOR CONTENT (EXCEPT DECOR/ELEMENT) */

/* AVOID OVERLAPPING - Z-INDEX and adequate padding everywhere */
.section, .card, .testimonial-card, .content-wrapper, .cookie-banner, .cookie-modal {
  z-index: 1;
}
.header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 20; }

/* SCROLLBARS MINIMAL */
::-webkit-scrollbar { width: 8px; background: #ececec; border-radius: 6px; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius:6px; }

/* ACCESSIBILITY & FOCUS STATES */
a:focus, button:focus, .btn:focus {
  outline: 2px solid var(--brand-main);
  outline-offset: 3px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--brand-main);
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .cta-btn, button, .btn {
  transition: box-shadow var(--transition), transform var(--transition), color var(--transition), background var(--transition);
}
.card:active, .testimonial-card:active { transform: scale(.99); }

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