/* ============================
   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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #141414;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {  
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s cubic-bezier(.67,.13,.1,.81);
}
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
*, *::before, *::after {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 10px;
  background: #f4f4f4;
}
::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 8px;
}

/* ============================
   MONOCHROME SOPHISTICATED BRAND COLORS
============================ */
:root {
  --brand-primary: #141414; /* super dark monochrome for dramatic contrast */
  --brand-primary-rgb: 20,20,20;
  --brand-secondary: #17426B;
  --brand-secondary-light: #2F5B90;
  --brand-accent: #F4F4F4;
  --brand-accent-dark: #dbdbdb;
  --brand-yellow: #FFB800;
  --white: #fff;
  --grey-1: #f4f4f4;
  --grey-2: #E5E5E5;
  --grey-3: #bbb;
  --grey-4: #6D6D6D;
  --mono-light: #fff;
  --mono-dark: #1A1A1A;
  --shadow-card: 0 10px 32px rgba(20,20,20,0.09), 0 2px 8px rgba(20,20,20,0.07);
  --shadow-nav: 0 2px 16px rgba(20,20,20,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --focus-outline: 2px solid var(--brand-yellow);
}

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

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--brand-primary);
  background: var(--white);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.12rem; /* 18px */
  margin-bottom: 8px;
}
p {
  color: var(--brand-primary);
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}
.text-section ul,
.content-wrapper ul {
  margin-bottom: 16px;
  padding-left: 16px;
}
.text-section ul li,
.content-wrapper ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
  color: var(--brand-primary);
}
.text-section ul li:before {
  content: '\2022';
  color: var(--grey-4);
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}


/* ============================
   GLOBAL LAYOUT WRAPPERS
============================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ============================
   HEADER & NAVIGATION
============================ */
header {
  width: 100%;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-nav);
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
}
.header-logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-right: 16px;
  z-index: 2;
}
.header-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  margin-left: 12px;
}
.main-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  transition: background .22s, color .18s;
  position: relative;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: var(--grey-1);
  color: var(--brand-secondary);
  outline: none;
}
.main-nav a.cta {
  background: var(--brand-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(20,20,20,0.05);
  transition: background .23s, color .18s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--brand-secondary-light);
  color: #fff;
  outline: var(--focus-outline);
}
.mobile-menu-toggle {
  display: none;
}

/* ============================
   HERO SECTION
============================ */
.hero {
  background: linear-gradient(90deg, var(--white) 70%, #e0e6ef 100%);
  color: var(--brand-primary);
  padding: 64px 0 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: #353535;
}
.hero .cta {
  margin-top: 16px;
}

/* ============================
   CTA STYLE
============================ */
.cta,
a.cta, .text-section a.cta, .content-wrapper a.cta {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  transition: background .23s, color .15s, box-shadow .18s;
  margin-top: 8px;
  box-shadow: 0 2px 14px rgba(20,20,20,0.09);
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--brand-secondary);
  color: var(--brand-yellow)!important;
  box-shadow: 0 6px 24px rgba(20,20,20,0.16);
  outline: var(--focus-outline);
}

/* ============================
   CARD STYLES
============================ */
.feature-card, .card {
  background: var(--mono-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 260px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  border: 1px solid var(--grey-2);
  transition: box-shadow .22s, border-color .2s, transform .14s;
  position: relative;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(20,20,20,0.17);
  border-color: var(--brand-secondary);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: grayscale(1) contrast(1.2);
}
.feature-card h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--brand-secondary);
}
.feature-card p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--brand-primary);
}

/* =============================
   FLEXBOX CONTAINERS & GRIDS
============================= */
.feature-grid, .card-container, .card-grid, .content-grid, .services .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.features .content-wrapper, .features .text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* ============================
   USP-LIST
============================ */
.usp-list {
  margin-top: 10px;
  margin-bottom: 8px;
  padding-left: 14px;
  font-size: 1rem;
  color: var(--brand-primary);
}
.usp-list li {
  margin-bottom: 7px;
}

/* ============================
   TESTIMONIALS
============================ */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--grey-1);
  border-radius: var(--radius);
  padding: 20px 32px 20px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  flex: 1 1 320px;
  min-width: 240px;
  border-left: 6px solid var(--brand-secondary);
  transition: box-shadow .18s, transform .13s;
  max-width: 500px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(20,20,20,0.14);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-content p {
  font-size: 1.09rem;
  color: #232323;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-name {
  color: var(--brand-secondary);
  font-weight: 600;
  font-size: .97rem;
}

/* ============================
   FOOTER
============================ */
footer {
  background: var(--brand-primary);
  color: var(--white);
  padding: 32px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-menu a {
  color: var(--white);
  opacity: 0.8;
  font-weight: 500;
  transition: opacity .15s, color .15s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--brand-yellow);
  opacity: 1;
  outline: none;
}
.footer-contact p, .footer-contact a {
  font-size: .98rem;
  color: var(--grey-2);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.8;
  transition: opacity .1s, filter .15s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: grayscale(0) contrast(1.2);
  opacity: 1;
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 900px) {
  .feature-grid, .card-container, .card-grid, .services .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: var(--brand-yellow);
    border: none;
    font-size: 2rem;
    border-radius: var(--radius-sm);
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: 12px;
    z-index: 10;
    transition: background .2s, color .15s;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(20,20,20,0.05);
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: var(--brand-secondary);
    color: #fff;
    outline: var(--focus-outline);
  }
  .hero, .section {
    padding: 36px 0 24px 0;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .feature-card {
    padding: 20px 16px 18px 16px;
    min-width: 210px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 540px) {
  header {
    height: 60px;
    padding: 0 0 0 0;
  }
  .header-logo {
    height: 36px;
  }
  .header-logo img {
    height: 28px;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/* ============================
   MOBILE MENU OVERLAY
============================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,20, 0.98);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 32px rgba(20,20,20,0.3);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-yellow);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 28px 24px 0 0;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: color .15s, background .15s;
  padding: 4px 8px;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: var(--brand-secondary);
  outline: var(--focus-outline);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 36px 24px 36px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 6px;
  padding: 12px 10px;
  line-height: 1.18;
  transition: background .17s, color .15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-secondary-light);
  color: var(--brand-yellow);
  outline: none;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================
   COOKIE CONSENT BANNER
============================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(20,20,20,0.12);
  border-top: 2px solid var(--brand-secondary);
  z-index: 8888;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 22px 16px;
  animation: cookieBannerSlideIn .45s cubic-bezier(.75,.02,.32,1);
  font-size: 0.98rem;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity:0 }
  to   { transform: translateY(0); opacity:1 }
}
.cookie-consent-banner {
  transition: transform .3s cubic-bezier(.67,.13,.1,.81), opacity .12s;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%)!important;
  opacity: 0!important;
  pointer-events: none;
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: var(--brand-primary);
}
.cookie-consent-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: var(--brand-primary);
  color: #fff;
  transition: background .18s, color .18s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-yellow);
  outline: var(--focus-outline);
}
.cookie-btn.settings {
  background: var(--grey-1);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn.settings:hover {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}

/* ============================
   COOKIE PREFERENCE MODAL
============================ */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(34,34,34,0.88);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .32s;
  opacity: 1;
}
.cookie-modal.hidden {
  display: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  color: var(--brand-primary);
  padding: 36px 32px;
  border-radius: var(--radius);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 12px 48px rgba(20,20,20,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInPop .33s cubic-bezier(.74,.01,.26,1);
}
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.cookie-category {
  border-bottom: 1px solid var(--grey-2);
  padding: 10px 0 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.08rem;
  font-weight: 500;
  margin-right: 14px;
}
.cookie-toggle {
  width: 44px;
  height: 26px;
  border-radius: 32px;
  background: var(--grey-2);
  border: 1px solid var(--brand-secondary);
  position: relative;
  cursor: pointer;
  transition: background .19s, border-color .14s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--brand-secondary);
  border-radius: 50%;
  transition: left .20s, background .18s;
}
.cookie-toggle input:checked + span {
  left: 21px; 
  background: var(--brand-yellow);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 12px;
  background: none;
  color: var(--brand-primary);
  font-size: 1.4rem;
  border: none;
  padding: 4px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary);
  color: #fff;
  outline: var(--focus-outline);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 8px;
    font-size: .93rem;
  }
  .cookie-modal-content {
    padding: 20px 10px;
    min-width: 220px;
    font-size: .98rem;
  }
}

/* ============================
   LEGAL, THANK YOU & SPECIAL PAGES
============================ */
.legal {
  background: var(--grey-1);
  padding: 48px 0 64px 0;
  border-top: 2px solid var(--grey-2);
}
.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
}
.thank-you .text-section {
  align-items: center;
  text-align: center;
}
.thank-you a.cta {
  margin-top: 30px;
}

/* ============================
   OTHER UI ELEMENTS & STATES
============================ */
::-webkit-input-placeholder { color: var(--grey-4); }
:-moz-placeholder { color: var(--grey-4); }
::-moz-placeholder { color: var(--grey-4); }
:-ms-input-placeholder { color: var(--grey-4); }

:focus {
  outline: var(--focus-outline);
  outline-offset: 1.5px;
}

/* ------ MICRO-INTERACTIONS ------ */
.card, .feature-card, .testimonial-card, .cta, .cookie-btn, .footer-social img {
  transition: box-shadow .22s, border-color .19s, background .18s, color .18s, transform .15s;
}

/* ------- UTIL HELPER CLASSES ------ */
.d-none {
  display: none!important;
}
.mt-32 {
  margin-top: 32px;
}
.mt-60 {
  margin-top: 60px;
}
.text-center {
  text-align: center;
}
.overflow-hidden {
  overflow: hidden;
}

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