/* ===========================
   CSS RESET / NORMALIZE & ROOTS
=========================== */
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;
  background: #FAFAFA;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* For cookie banner spacing */
}

ol, ul {
  list-style: none;
}

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

a { 
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

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

:root {
  --color-black: #181818;
  --color-dark: #23272B;
  --color-charcoal: #323639;
  --color-gray-1: #4B5259;
  --color-gray-2: #6E757B;
  --color-gray-3: #B0B6BB;
  --color-gray-4: #EAEAEA;
  --color-white: #FAFAFA;
  --color-accent: #FAFAFA;
  --color-primary: #18436B;
  --color-secondary: #26A69A;
  --color-focus: #18436B;

  --brand-blue: #18436B;
  --brand-teal: #26A69A;
  --brand-accent: #FAFAFA;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-elev1: 0 2px 8px rgba(24,24,24,0.10);
  --shadow-elev2: 0 6px 22px rgba(24,24,24,0.12);

  --transition-main: all 0.24s cubic-bezier(.4,0,.2,1);

  --font-sz-xs: 14px;
  --font-sz-sm: 16px;
  --font-sz-md: 18px;
  --font-sz-lg: 24px;
  --font-sz-xl: 32px;
  --font-sz-xxl: 48px;
}

/* ============================
   LAYOUT STRUCTURE
============================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elev1);
  transition: box-shadow 0.22s;
}
section:last-child {
  margin-bottom: 0;
}

main {
  margin-bottom: 80px; /* For cookie banner */
}

/* Card Container, Cards and Flex Wrappers */
.card-container, .content-grid, .features, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  flex: 1 1 280px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elev1);
  transition: box-shadow 0.23s;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-elev2);
}

.content-grid {
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  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: flex-start;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #F4F5F6; /* subtle light for contrast */
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(40,40,40,0.08);
  border-left: 4px solid var(--brand-blue);
  color: var(--color-black);
}
.testimonial-card strong {
  font-size: var(--font-sz-sm);
  font-weight: 700;
  color: var(--color-gray-1);
}
.testimonial-card div {
  letter-spacing: .1em;
  color: var(--brand-blue);
  font-size: 18px;
}

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

.text-section {
  margin-bottom: 20px;
}

/* ============================
   HEADER & NAVIGATION
============================ */
header {
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1002;
  box-shadow: 0 1px 12px rgba(24,24,24,0.07);
}
header > a img {
  height: 44px;
  width: auto;
  margin: 18px 0 12px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--font-sz-sm);
  margin-left: 40px;
}
header nav a {
  color: var(--color-white);
  opacity: 0.90;
  padding: 10px 0;
  position: relative;
  transition: color 0.18s, opacity 0.18s;
}
header nav a:hover {
  opacity: 1;
  color: var(--brand-teal);
}

.cta-btn {
  background: var(--brand-blue);
  color: var(--color-white);
  padding: 12px 32px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: auto;
  box-shadow: 0 2px 12px rgba(24,24,24,0.06);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-teal);
  color: var(--brand-blue);
  transform: translateY(-1px) scale(1.03);
}

header {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding-right: 20px;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-white);
  margin-left: 24px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: var(--brand-teal);
  outline: 2px solid var(--brand-blue);
}

/* =========== MOBILE MENU =========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24, 0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 20px 32px;
  z-index: 1300;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,0,.3,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 36px;
  cursor: pointer;
  z-index: 1310;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-teal);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 22px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-align: left;
  opacity: 0.90;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: var(--brand-teal);
  background: rgba(38,166,154,0.18);
  opacity: 1;
}

@media (max-width: 1150px) {
  .container { max-width: 96vw; }
  header nav { gap: 4px 16px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  header nav { gap: 2px 12px; }
}
@media (max-width: 950px) {
  .cta-btn { padding: 12px 20px; }
  header nav {
    margin-left: 8px;
    gap: 2px 8px;
  }
}
@media (max-width: 840px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 841px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================
   TYPOGRAPHY / HEADINGS
============================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--color-black);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.11;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
h4, h5 {
  font-size: 1.09rem;
  margin-bottom: 8px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  margin-bottom: 12px;
  line-height: 1.72;
}
p.lead {
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--color-black);
}
strong {
  font-weight: 700;
}

ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 16px;
}
ul li:before {
  content: '';
  display: inline-block;
  background: var(--brand-teal);
  border-radius: 50%;
  width: 9px;
  height: 9px;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ============================
   BUTTONS & LINKS
============================ */
a.cta-btn, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: var(--color-white);
  border: none;
  outline: none;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  padding: 12px 32px;
  margin: 14px 4px 0 0;
  transition: background 0.18s, color 0.18s, box-shadow .15s, transform 0.14s;
  box-shadow: 0 2px 12px rgba(24,24,24,0.06);
  cursor: pointer;
  text-decoration: none;
}
a.cta-btn:hover, .cta-btn:hover, a.cta-btn:focus, .cta-btn:focus {
  background: var(--brand-teal);
  color: var(--brand-blue);
  text-decoration: none;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 18px rgba(24,24,24,0.13);
}

/* Text links in body and FAQ */
.content-wrapper a:not(.cta-btn) {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 500;
  font-family: var(--font-body);
}
.content-wrapper a:not(.cta-btn):hover {
  color: var(--brand-teal);
}

/* ============================
   FOOTER STYLES
============================ */
footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 42px 0 13px 0;
  border-top: 1px solid #242424;
  width: 100vw;
  margin-top: 10px;
}
footer > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer img {
  height: 40px;
  margin-bottom: 7px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 5px;
}
footer nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 16px;
  opacity: 0.80;
  transition: opacity 0.15s, color 0.16s;
}
footer nav a:hover {
  opacity: 1;
  color: var(--brand-teal);
}
footer small {
  opacity: 0.65;
  font-size: 15px;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* ============================
   RESPONSIVE: FLEX LAYOUTS
============================ */
@media (max-width: 768px) {
  section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 18px 8px;
    min-width: 0;
    font-size: 15px;
  }
  .testimonial-card {
    padding: 16px 7px;
  }
  .features, .feature-item {
    flex-direction: column;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.15rem; }
  .container { padding: 0 7px; }
  section { margin-bottom: 26px; }
}

/* ============================
   MONOCHROME SOPHISTICATED
============================ */
body {
  background: linear-gradient(90deg, #FAFAFA 0%, #EDF0F3 100%);
  color: #23272B;
}
section {
  background: #FAFAFA;
  box-shadow: 0 2.5px 22px rgba(20,20,20,0.04);
  border: 1px solid #ECECEC;
}
.card {
  background: #FCFCFC;
  border: 1px solid #EFEFEF;
}
.testimonial-card {
  background: #F4F5F6;
  color: #23272B;
  border-left: 4px solid var(--brand-blue);
  box-shadow: 0 1px 9px rgba(36,36,36,0.06);
}

/* ======= Miscellaneous Layouts ======= */
.text-section p { margin-bottom: 8px; }

/* ============================
   TRANSITIONS & MICROINTERACTIONS
============================ */
.card, a, .cta-btn, .card *, .testimonial-card {
  transition: var(--transition-main);
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 6px 22px rgba(38,38,38,0.10);
  border-left: 5px solid var(--brand-teal);
}

footer nav a:hover, .mobile-nav a:hover {
  color: var(--brand-teal);
  opacity: 1;
}

/* ============================
   FORM STYLES (if any forms added)
============================ */
input, select, textarea {
  font-family: var(--font-body);
  background: #F9F9F9;
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 13px;
  font-size: 17px;
  color: var(--color-black);
  width: 100%;
  box-sizing: border-box;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--brand-blue);
  background: #F3F9FB;
}

/* ============================
   SPECIAL COMPONENTS & STATES
============================ */
::-webkit-scrollbar { width: 10px; background: #F4F4F4; }
::-webkit-scrollbar-thumb { background: #B0B6BB; border-radius: 8px; }

::selection {
  background: var(--brand-blue);
  color: var(--color-white);
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
============================ */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23272B;
  color: var(--color-white);
  box-shadow: 0 -2px 16px rgba(20,20,20,0.14);
  padding: 22px 10px 16px 10px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: cookieFadeIn 0.6s ease;
}
@keyframes cookieFadeIn {
  from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  margin: 0 24px 0 0;
  font-size: 1rem;
  color: #F4F4F4;
  flex: 1 0 220px;
}
.cookie-btn, .cookie-btn-secondary {
  background: var(--brand-blue);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  padding: 9px 27px;
  margin-right: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(60,72,84,0.08);
  transition: background 0.18s, color 0.16s, box-shadow 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-teal);
  color: var(--color-black);
  outline: none;
  box-shadow: 0 2px 10px rgba(38,166,154,0.12);
}
.cookie-btn-secondary {
  background: var(--color-gray-2);
  color: var(--color-white);
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--color-white);
  color: var(--brand-blue);
  box-shadow: 0 1px 7px rgba(60,72,84,0.10);
}

#cookie-banner .cookie-settings-btn {
  background: none;
  color: var(--brand-teal);
  padding: 9px 10px;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-right: 0;
  cursor: pointer;
  transition: color 0.15s;
}
#cookie-banner .cookie-settings-btn:hover { color: var(--brand-blue); }

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24, 27, 30, 0.92);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.34s .08s cubic-bezier(.8,0,.2,1) forwards;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: #FAFAFA;
  color: #23272B;
  border-radius: var(--radius-lg);
  max-width: 410px;
  min-width: 260px;
  width: 97vw;
  padding: 38px 32px 26px 32px;
  box-shadow: 0 8px 38px rgba(20,20,26,0.13);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  z-index: 2110;
  animation: fadeIn .27s;
}
.cookie-modal h2 {
  margin-bottom: 6px;
  color: var(--brand-blue);
  font-size: 1.3rem;
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 17px;
  background: none;
  color: var(--color-gray-1);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  z-index: 2112;
  opacity: 0.7;
  transition: color 0.11s, opacity 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-blue);
  opacity: 1;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 19px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-blue);
}
.cookie-category .cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 12px;
  background: #BBB;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-category input[type="checkbox"]:checked + .cookie-toggle {
  background: var(--brand-blue);
}
.cookie-category .cookie-toggle::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 5px rgba(34,34,34,.10);
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.13s;
}
.cookie-category input[type="checkbox"]:checked + .cookie-toggle::before {
  left: 21px;
}
.cookie-modal .cookie-expl {
  font-size: 0.97rem;
  margin-bottom: 8px;
  color: #444;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
@media (max-width:600px) {
  #cookie-banner { flex-direction: column; align-items: stretch; gap: 10px; padding: 13px 5px 12px 5px; }
  .cookie-modal { padding: 17px 7px 20px 7px; }
  .cookie-modal h2 { font-size: 1.06rem; }
}

/* ============================
   VISIBILITY HELPERS
============================ */
.hide { display: none !important; }

/* ============================
   DEBUG/ACCESSIBILITY
============================ */
:focus-visible {
  outline: 2px dashed var(--brand-teal);
  outline-offset: 2px;
}

/* ============================
   PRINT STYLES
============================ */
@media print {
  * { background: none !important; color: #000 !important; }
  header, footer, #cookie-banner { display: none !important; }
  section { box-shadow: none !important; border: none !important; }
  .cta-btn { display: none !important; }
}
