/* CSS RESET & BASE STYLING */

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 p {
  color: white;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #fff;
  color: #18191a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*::selection { background: #333; color: #fff; }
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
strong { font-weight: 700; }


/* MONOCHROME SOPHISTICATED PALETTE (black/white/gray + brand colors as accents) */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f6f6f6;
  --color-primary: #18191a;
  --color-secondary: #222426;
  --color-muted: #6c757d;
  --color-light: #E6ECE9;
  --color-dark: #18191a;
  --color-brand-dark: #23404A;
  --color-brand-accent: #A2C53A;
  --color-border: #d1d4d7;
  --shadow-card: 0 4px 24px rgba(24,25,26,0.08), 0 1.5px 5px rgba(24,25,26,0.05);
  --radius: 14px;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Georgia', serif;
  color: #18191a;
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
p, li, .text-section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222426;
  margin-bottom: 16px;
  line-height: 1.7;
}
.text-section {
  margin-bottom: 16px;
}

/* CONTAINER AND LAYOUT WRAPPING */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px; /* Prevent layout grid style gaps here, rely on inner classes */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,25,26,0.07);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-brand-dark);
  background: var(--color-light);
}
.cta.primary {
  background: var(--color-brand-dark);
  color: #fff;
  font-family: 'Roboto',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 11px 32px 11px 32px;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(35,64,74,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s;
  outline: none;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #000;
  color: var(--color-brand-accent);
  box-shadow: 0 5px 24px rgba(35,64,74,0.15);
}
.cta {
  display: inline-block;
  font-family: 'Roboto',Arial,sans-serif;
  font-weight: 500;
  border-radius: 12px;
  padding: 9px 30px 9px 30px;
  color: var(--color-brand-dark);
  background: #fff;
  border: 2px solid var(--color-brand-dark);
  margin-top: 8px;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.cta:hover, .cta:focus {
  background: var(--color-brand-dark);
  color: #fff;
  border-color: #000;
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #18191a;
  cursor: pointer;
  padding: 6px 12px;
  line-height: 1;
  transition: color 0.16s, background 0.16s;
  border-radius: 8px;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  color: var(--color-brand-dark);
  background: var(--color-light);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,25,26,0.92);
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.67, 0.08, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 0 20px 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  font-weight: 400;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.17s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-brand-accent);
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-brand-accent);
}


/*-------------------------------
  SECTIONS
-------------------------------*/
main {
  flex: 1 1 auto;
  width: 100%;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Hero Section */
.hero {
  background: linear-gradient(145deg, #fff 65%, #ededed 100%);
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #18191a;
  margin-bottom: 12px;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}


/* Features / Services Lists */
.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.features ul li, .services ul li {
  font-size: 1.065rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  min-width: 220px;
  background: none;
}
.features ul img, .services ul img {
  width: 32px;
  height: 32px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.85;
}
.features h2, .services h2 {
  margin-bottom: 4px;
  color: var(--color-brand-dark);
}
.text-section { margin-bottom: 24px; }

/* Feature Item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Content Grid/Row */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text-Image Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}


/*-------------------------------
  CARDS & CARD-CONTAINER
-------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 250px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(24,25,26,0.15);
  transform: translateY(-4px) scale(1.012);
  z-index: 3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/*-------------------------------
  TESTIMONIALS
-------------------------------*/
.testimonials {
  background: var(--color-bg-alt);
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 30px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(24, 25, 26, 0.07);
  border: 1.5px solid #e7e9ea;
  max-width: 560px;
  transition: box-shadow 0.17s, border-color 0.16s;
}
.testimonial-card p {
  font-size: 1.06rem;
  font-family: 'Lora', Georgia, serif;
  color: #18191a;
  margin-bottom: 8px;
  line-height: 1.66;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-muted);
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--color-brand-accent);
  box-shadow: 0 8px 40px rgba(35,64,74,0.095);
}


/*-------------------------------
  FOOTER
-------------------------------*/
footer {
  background: #18191a;
  color: #fff;
  width: 100%;
  padding: 42px 0 30px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #fff;
  opacity: 0.82;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-brand-accent);
  opacity: 1;
}
footer p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  opacity: 0.69;
  text-align: center;
}


/*-------------------------------
  CONTACT SECTION
-------------------------------*/
.contact .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.contact h2, .contact h1 {
  color: var(--color-brand-dark);
}
.contact .cta {
  margin-top: 18px;
}


/*-------------------------------
  CARDS, CTA, & MICRO-INTERACTIONS
-------------------------------*/
.card, .cta, .testimonial-card {
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s, border-color 0.16s, color 0.16s, background 0.17s;
}
.button, button, input[type="submit"] {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-radius: 14px;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  background: var(--color-brand-dark);
  color: #fff;
  font-weight: 500;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.button:hover, button:hover, input[type="submit"]:hover,
.button:focus, button:focus, input[type="submit"]:focus {
  background: var(--color-brand-accent);
  color: #232323;
  outline: none;
}


/*-------------------------------
  SPACING & FLEXBOX LAYOUTS
-------------------------------*/
.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;
}

/* Universal margin between content cards/sections */
section > *, .content-wrapper > *, .card-container > *, .content-grid > * {
  margin-bottom: 20px;
}
section > *:last-child, .content-wrapper > *:last-child, .card-container > *:last-child, .content-grid > *:last-child {
  margin-bottom: 0;
}

/*-------------------------------
  RESPONSIVE DESIGN
-------------------------------*/
@media (max-width: 1080px) {
  .container {
    max-width: 900px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  header .container {
    min-width: unset;
    max-width: unset;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  header .main-nav {
    display: none !important;
  }
  header .mobile-menu-toggle {
    display: inline-block;
  }
  .cta.primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  header .container {
    gap: 6px;
    height: 62px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .testimonial-card {
    padding: 18px 13px;
    max-width: 95vw;
    gap: 10px;
  }
  section {
    padding: 28px 5vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.05rem; }
  .hero h1, .hero h2 { font-size: 1.35rem; }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .container {
    padding: 0 2vw;
  }
}

/*-------------------------------
  COOKIE CONSENT BANNER & MODAL
-------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232323;
  color: #ededed;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 20px 16px;
  z-index: 2000;
  font-size: 1rem;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(0.54,0.09,0.26,1), opacity 0.2s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  flex: 1 1 300px;
  font-family: 'Roboto',Arial,sans-serif;
  color: #ededed;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-banner .button {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 1rem;
  border: none;
  background: #fff;
  color: #232323;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  margin: 0 2px;
  cursor: pointer;
  transition: color 0.18s, background 0.17s;
}
.cookie-btn.accept {
  background: var(--color-brand-accent);
  color: #232323;
}
.cookie-btn.reject {
  background: #fff;
  color: #18191a;
}
.cookie-btn.settings {
  background: var(--color-dark);
  color: #fff;
  border: 1.2px solid #adadad;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-brand-dark);
  color: #fff;
}
.cookie-banner__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.16s, color 0.16s;
}
.cookie-banner__close:hover, .cookie-banner__close:focus {
  opacity: 1;
  color: var(--color-brand-accent);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 430px;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fff;
  color: #18191a;
  border-radius: 16px;
  box-shadow: 0 12px 80px rgba(24,25,26,0.28);
  z-index: 2050;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 30px 28px 30px;
  opacity: 1;
  transition: opacity 0.18s, transform 0.32s cubic-bezier(0.44,0.08,0.17,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}
.cookie-modal .modal-title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.cookie-modal .modal-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-left: 6px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-brand-accent);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  vertical-align: middle;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category.essential {
  font-weight: 700;
  color: var(--color-brand-dark);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
  box-shadow: 0 1.5px 5px rgba(24,25,26,0.04);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #868686;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #18191a;
}


/* ANIMATIONS */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 8px 18px 8px;
    font-size: 0.98rem;
  }
}
.cookie-modal .fade-in {
  animation: fadeInModal 0.34s cubic-bezier(0.44,0.08,0.17,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%,-60%) scale(0.91); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* OVERRIDES FOR MODAL ON SMALL */
@media (max-width: 520px) {
  .cookie-modal {
    padding: 20px 6vw 20px 6vw;
    max-width: 98vw;
    min-width: 0;
    font-size: 0.98rem;
  }
}

/*-------------------------------
  GENERAL STYLES/MISC
-------------------------------*/
::-webkit-input-placeholder { color: #979797; }
::-moz-placeholder { color: #979797; }
:-ms-input-placeholder { color: #979797; }
::placeholder { color: #979797; }

hr {
  border: none;
  border-top: 1px solid #dadada;
  margin: 36px 0;
}

/* Remove default button/anchor outline on active, but show focus for accessibility */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, input:focus {
  outline: 2px solid var(--color-brand-accent);
  outline-offset: 2px;
}

/* Hide elements visually but not for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(1px,1px,1px,1px); border: 0 !important;
}

/*------------- PRINT SUPPORT -------------*/
@media print {
  header, footer, nav, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
}

/* 100% FLEXBOX - ZERO CSS GRID/COLUMNS! */
