/* ==========================================================
   CSS RESET & NORMALIZE (modern minimal)
   ========================================================== */
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: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAFBFD;
}

*, *:before, *:after {
  box-sizing: inherit;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Font Imports: Montserrat & Roboto */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&display=swap');

/* ==========================================================
   BRAND COLOR PALETTE (MONOCHROME + BRAND)
   ========================================================== */
:root {
  --color-primary: #2D4263;
  --color-secondary: #0E1833;
  --color-accent: #E6E9F3;
  --color-black: #111216;
  --color-dark: #191B21;
  --color-gray: #BBBBBF;
  --color-gray-light: #F1F1F4;
  --color-white: #fff;
  --color-shadow: rgba(20, 24, 45, 0.08);
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 400;
}

strong, b {
  font-weight: 700;
  color: var(--color-secondary);
}

.section ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.section ul li {
  margin-bottom: 8px;
  position: relative;
}
.section ul li:before {
  content: '\2022';
  color: var(--color-primary);
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
  font-size: 1em;
  font-weight: bold;
}

/* Typography scale for desktop */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.6rem; }
  p, ul, li, span { font-size: 1.08rem; }
}

/* ==========================================================
   LAYOUT & STRUCTURE
   ========================================================== */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-section {
  margin-top: 10px;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px; 
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 28px 0 rgba(16,22,40,.11);
  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;
  background: var(--color-accent);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px 0 var(--color-shadow);
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.05rem;
  color: var(--color-black);
  border-left: 4px solid var(--color-primary);
  transition: box-shadow .16s, background .16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px 0 rgba(16,22,40,.16);
  background: #f7f7f9;
}
.testimonial-card span {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-secondary);
}

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

.map-address {
  margin-top: 10px;
  font-style: italic;
  color: var(--color-gray);
  font-size: 0.97em;
}

/* ----------------------------------------------------------
   MAIN NAVIGATION & HEADER
   ---------------------------------------------------------- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0 16px 0;
  gap: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
}
.main-nav > a {
  color: var(--color-secondary);
  padding: 6px 18px;
  border-radius: 6px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav > a:not(.cta):hover,
.main-nav > a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}
.main-nav > a:first-child {
  padding-left: 0;
}
.main-nav img {
  height: 38px;
  margin-right: 6px;
  vertical-align: middle;
}
.main-nav .cta {
  margin-left: 18px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
  box-shadow: 0 0 8px 0 var(--color-shadow);
  transition: background .16s, color .18s, box-shadow .18s;
}
.main-nav .cta:hover {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(45,66,99,0.11);
}

/* Hide Mobile Menu Toggle on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.0rem;
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 1051;
  border: none;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
}

@media (max-width: 990px) {
  .main-nav {
    gap: 12px;
    font-size: 1rem;
  }
  .main-nav > a {
    padding: 5px 10px;
  }
}

@media (max-width: 850px) {
  .main-nav {
    gap: 6px;
    font-size: .98rem;
  }
  .main-nav > a {
    padding: 5px 8px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------------------------------------------------
   MOBILE NAVIGATION (SLIDE-IN OVERLAY)
   ---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(14,24,51,0.94);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.9,.1,.3,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-white);
  background: transparent;
  font-size: 2.4rem;
  line-height: 1;
  margin: 24px 26px 12px 0;
  border: none;
  align-self: flex-end;
  transition: background .16s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
  background: rgba(255,255,255,.11);
  border-radius: 50%;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  margin-right: 36px;
  margin-top: 22px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px 0 0 6px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* Mobile nav cta link highlight */
.mobile-nav a.cta {
  color: var(--color-primary);
  background: var(--color-accent);
  font-weight: 700;
  border-radius: 10px 0 0 10px;
}

/* Overlay background click (optional if JS triggers close) */
.mobile-menu:before {
  content: '';
  display: none;
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================================
   HERO / INTRO SECTIONS
   ========================================================== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0; /* Full section spacing */
  background: transparent;
}
section:first-child {
  padding-top: 50px;
}

@media (max-width: 768px) {
  section {
    padding: 34px 0;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 8px;
  }
}

/* Hero text alignment */
section .container > .content-wrapper {
  align-items: flex-start;
}
@media (max-width: 600px) {
  section .container > .content-wrapper {
    align-items: center;
  }
}

/* ==========================================================
   BUTTONS & CTA's
   ========================================================== */
.cta,
button.cta,
input[type="submit"].cta {
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: 26px;
  padding: 12px 32px;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  box-shadow: 0 2px 12px rgba(45,66,99,0.06);
  transition: background .16s, color .16s, transform .17s, box-shadow .16s;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.cta:hover, button.cta:hover, input[type="submit"].cta:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 18px 0 rgba(45,66,99,0.15);
}
.cta:focus {
  outline: 2px solid var(--color-primary);
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonial-card p {
  color: var(--color-secondary);
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 400;
  opacity: .9;
  margin-left: 6px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0;
  margin: 0;
  width: 100%;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 12px 22px 12px;
  max-width: 1024px;
  margin: 0 auto;
}
.footer-main img {
  height: 54px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0 8px 0;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0 6px;
  opacity: .93;
  transition: color .16s;
}
footer nav a:hover {
  color: var(--color-white);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 6px 0;
}
.legal-links a {
  color: var(--color-gray);
  font-size: 0.97rem;
  opacity: .7;
  text-decoration: underline;
  transition: color .16s;
}
.legal-links a:hover {
  color: var(--color-accent);
  opacity: 1;
  text-decoration: none;
}
.contact-snippet {
  font-size: .98rem;
  color: #c8cbe2;
  opacity: .92;
  text-align: center;
  margin-top: 6px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .footer-main { padding: 32px 5px 16px 5px; }
  .footer-main nav, .legal-links { gap: 8px; }
  .footer-main img { height: 40px; }
}

/* ==========================================================
   COOKIE CONSENT BANNER (Fixed Bottom)
   ========================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-secondary);
  color: var(--color-accent);
  z-index: 11000;
  box-shadow: 0 -1px 12px var(--color-shadow);
  padding: 18px 20px 18px 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1rem;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}

.cookie-banner p {
  color: var(--color-accent); font-size: 1rem;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 16px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 7px 22px;
  margin-left: 0;
  transition: background .16s, color .16s, box-shadow .13s, transform .12s;
  box-shadow: 0 2px 6px var(--color-shadow);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.reject {
  background: var(--color-gray);
  color: var(--color-secondary);
}
.cookie-btn.reject:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.accept:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
    padding: 18px 8px 18px 10px;
  }
  .cookie-buttons {
    margin-left: 0;
  }
}

/* Cookie modal (Settings) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18,22,30,0.72);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .24s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 13px;
  box-shadow: 0 8px 40px 0 var(--color-shadow);
  width: 98%;
  max-width: 420px;
  padding: 35px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.9rem;
  font-weight: 700;
  position: absolute;
  top: 16px; right: 22px;
  z-index: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}
.cookie-modal-close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px; height: 24px;
  border-radius: 12px;
  background: var(--color-gray);
  position: relative;
  transition: background .2s;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-primary);
}
.cookie-toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left .16s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  left: 21px;
}
.cookie-category span {
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-category .always {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 12px;
  font-size: .95em;
  padding: 2px 10px;
  margin-left: 6px;
}

/* ==========================================================
   FLEXBOX STRUCTURAL HELPERS FROM MANDATORY
   ========================================================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */
@media (max-width: 899px) {
  .container {
    max-width: 94vw;
    padding: 0 4vw;
  }
  .footer-main {
    max-width: 99vw;
  }
}

@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  section {
    padding: 24px 0;
    margin-bottom: 22px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 28px;
  }
}

@media (max-width: 540px) {
  section {
    padding: 14px 0;
  }
  .section {
    padding: 16px 3px;
  }
  .card,
  .testimonial-card {
    padding: 13px 8px;
  }
  h1, h2 { font-size: 1.32rem !important; }
  h3 { font-size: 1.1rem; }
}

/* ==========================================================
   MICRO-INTERACTIONS, TRANSITIONS, & FOCUS STYLES
   ========================================================== */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--color-primary);
  outline-offset: 2px;
}

/* Subtle fade/scale transitions */
.card, .cta, .testimonial-card, .cookie-btn, .main-nav > a, .mobile-nav a {
  transition: background .18s, color .16s, transform .16s, box-shadow .14s;
}

/* Links underline on keyboard nav */
a:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent);
}

/* ==========================================================
   MONOCHROME SOPHISTICATED EFFECTS
   ========================================================== */
.card, .testimonial-card {
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 2px 20px 0 var(--color-shadow);
}
.card {
  background: linear-gradient(100deg, #fff 90%, #f4f7fa 100%);
}
.testimonial-card {
  background: linear-gradient(98deg, var(--color-accent) 80%, #fff 100%);
}
.section {
  background: #fff;
  border-radius: 13px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}

/* ==========================================================
   UTILITY CLASSES & MINIMUM SPACING
   ========================================================== */
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.gap-2 { gap: 10px; }
.gap-4 { gap: 24px; }

/* Minimum space between elements */
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}

/* Prevent overlapping */
.card, .testimonial-card, .feature-item, .section { z-index: 1; }

/* Hide scroll when overlays are open */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* ==========================================================
   END OF STYLE.CSS
   ========================================================== */
