/* ===================================================
   CSS RESET & NORMALIZE (Mobile-first)
   =================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #fff; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #232323;
  background: #FAFAFA;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* =================================
   VARIABLES (with fallbacks)
   ================================= */
:root {
  --brand-primary: #232323;
  --brand-secondary: #888;
  --brand-accent: #F6F7FA;
  --brand-highlight: #fff;
  --shadow-sm: 0 2px 8px rgba(30,30,30,0.06);
  --shadow-md: 0 6px 22px rgba(20,20,20,0.15);
  --radius: 14px;
  --gap-section: 60px;
  --gap-medium: 24px;
  --gap-card: 20px;
  --gap-small: 12px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ====================================
   TYPOGRAPHY: Hierarchy & Elegance
   ==================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #181818;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; color: #111; }
h3 { font-size: 1.22rem; margin-bottom: 9px; color: #2A2A2A; font-weight: 600; }
.subheadline {
  color: #404040;
  font-size: 1.18rem;
  font-family: var(--font-body);
  margin-bottom: 20px;
  font-style: italic;
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 15px;
  color: #232323;
  font-size: 1rem;
}
strong { font-weight: bold; color: #181818; }
ul, ol { margin-left: 18px; margin-bottom: 16px; }
ul li, ol li { margin-bottom: 9px; color: #232323; }
.text-section ul {margin-bottom: 0;}

/* =============================================
   LAYOUT STRUCTURE & CONTAINERS (Flexbox Only)
   ============================================= */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-medium);
  padding-top: 20px;
}
.section {
  margin-bottom: var(--gap-section);
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s;
}
.section:last-child {
  margin-bottom: 0;
}

/* ========================
   FLEX CONTAINERS
   ======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F8F8;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 22px;
  transition: box-shadow 0.23s, transform 0.23s;
  flex: 1 1 270px;
  min-width: 220px;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/*******************
   FEATURES-LIST
********************/ 
.features-list,
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  align-items: stretch;
}
.features-list li, .features-list div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAFAFA;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 23px 18px 22px;
  min-width: 205px;
  flex: 1 1 205px;
  margin-bottom: 0;
  transition: box-shadow 0.23s, background 0.18s;
}
.features-list li:hover, .features-list div:hover {
  background: #F1F1F1;
  box-shadow: var(--shadow-md);
}
.features-list img {
  width: 42px; height: 42px; margin-bottom: 10px;
  filter: grayscale(1) contrast(1.5) brightness(1.07);
}

.step-list li {
  background: #f8f8f8;
  box-shadow: var(--shadow-sm);
  border-radius: 11px;
  padding: 13px 16px;
  margin-bottom: 0px;
  font-size: 1rem;
}

/*******************
   TESTIMONIAL CARDS
********************/ 
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  min-width: 0;
  max-width: 620px;
  border-left: 5px solid #222;
  transition: box-shadow 0.19s, border-color 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(10,10,10,0.16);
  border-color: #111;
}
.testimonial-card p {
  color: #181818;
  font-size: 1.14rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #333;
  margin-top: 7px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 5px;
}
.star-rating img {
  width: 22px; height: 22px;
  filter: grayscale(0) brightness(1.15) contrast(1.09) drop-shadow(0 1px 2px #ccc);
}

/************************
   BUTTONS & CTA STYLES
*************************/
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #181818;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.015em;
  padding: 13px 30px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  border: none;
  transition: background 0.21s, color 0.21s, box-shadow 0.16s, transform 0.17s;
  margin-top: 8px;
  margin-bottom: 5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #181818;
  box-shadow: 0 7px 35px rgba(30,30,30,0.13);
  border: 2px solid #232323;
  outline: none;
  transform: translateY(-1px) scale(1.028);
}

/************************
   HEADER & NAVIGATION
*************************/
header {
  background: #fff;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 2px 8px rgba(40,40,40,0.03);
  padding: 0;
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 18px 0;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #252525;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 3px;
  border-radius: 5px;
  transition: background .14s, color .14s;
}
nav a:hover, nav a.active {
  background: #232323;
  color: #fff;
}

header .cta-btn {
  margin-left: 28px;
  margin-right: 0;
  font-size: 1.07rem;
}

/********************
   FOOTER STYLES
*********************/
footer {
  background: #181818;
  color: #fff;
  padding: 37px 0 25px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
footer a {
  color: #fff;
  opacity: 0.93;
  font-size: 0.98rem;
  margin-right: 21px;
  margin-bottom: 5px;
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  transition: color 0.13s, opacity 0.13s;
}
footer a:hover {
  opacity: 1;
  color: #FABD4A;
}
footer img {
  height: 40px;
  margin-bottom: 15px;
}
footer nav {
  flex-direction: column;
  gap: 11px;
}
.contact-short {
  font-size: 0.98rem;
  color: #ccc;
  line-height: 1.6;
  margin-top: 7px;
  font-family: var(--font-body);
}
.contact-short img {
  display: inline-block;
  width: 15px; height: 15px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) contrast(1.4);
}


/********************************
   MOBILE NAVIGATION (BURGER)
*********************************/
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #181818;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 2001;
  border: none;
  box-shadow: 0 2px 10px rgba(30,30,30,0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #fff; color: #181818; border: 2px solid #181818; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #232323;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.78,.13,.39,.98), opacity 0.15s;
  z-index: 2002;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  right: 23px;
  top: 18px;
  cursor: pointer;
  z-index: 2003;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {color: #FABD4A;}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 70px;
  width: 100vw;
  align-items: flex-start;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: var(--font-display);
  color: #fff;
  width: 100%;
  padding: 16px 30px;
  border-radius: 8px;
  margin-bottom: 2px;
  background: transparent;
  transition: background .16s, color .14s;
}
.mobile-nav a:active,
.mobile-nav a.active,
.mobile-nav a:hover {
  background: rgba(255,255,255,0.09);
  color: #FABD4A;
}

/********************************
   COOKIE BANNER + COOKIE MODAL
*********************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232323;
  color: #fff;
  padding: 22px 15px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2200;
  min-height: 42px;
  animation: bannerIn 0.7s cubic-bezier(.22,1.38,.84,.98);
}
@keyframes bannerIn { 0% {opacity:0; transform: translateY(80px);} 100%{opacity:1;transform:none;} }

.cookie-banner .cookie-banner-text {
  font-size: 1rem;
  margin-bottom: 18px;
  text-align: center;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 7px;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #232323;
  padding: 8px 23px;
  border-radius: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background .14s, color .14s, box-shadow .17s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.cookie-btn.accept {
  background: #181818;
  color: #fff;
}
.cookie-btn.reject {
  background: #faf9fa;
  color: #232323;
  border: 1px solid #232323;
}
.cookie-btn.settings {
  background: #FABD4A;
  color: #232323;
  font-weight: 700;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #FABD4A;
  color: #232323;
}

/******** COOKIE PREFERENCES MODAL *******/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2300;
  background: rgba(36,36,36,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #181818;
  padding: 35px 24px 24px 24px;
  border-radius: 18px;
  min-width: 320px;
  width: 94vw;
  max-width: 420px;
  box-shadow:0 8px 60px rgba(20,20,20,0.27);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.35s cubic-bezier(.33,1.44,.60,0.97);
}
@keyframes modalIn {0%{opacity:0; transform: translateY(50px);}100%{opacity:1;transform:none;}}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: transparent;
  color: #232323;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color .15s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: #FABD4A;}
.cookie-modal h3 {font-size: 1.17rem; margin-bottom: 6px;}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 24px;
  background: #e2e2e2;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .15s;
}
.cookie-toggle:checked {
  background: #181818;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .13s;
}
.cookie-toggle:checked:before {
  left: 21px;
}
.cookie-modal .cookie-info {
  font-size: 0.93rem;
  color: #575757;
  margin-bottom: 7px;
}

.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

/***************************************************
   RESPONSIVE DESIGN: MOBILE-FIRST
***************************************************/
/* Hide desktop nav & show burger on mobile */
nav { display: none; }
.mobile-menu-toggle { display: flex; }
@media (min-width: 900px) {
  nav { display: flex !important; }
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* Adjust container for tablets/desktop */
@media (min-width: 600px) {
  .container { padding-left: 30px; padding-right: 30px; }
}

@media (min-width: 900px) {
  .section {padding: 60px 50px;}
  .content-wrapper {gap: 35px;}
}

/***************************
   FLEX: ROWS ON DESKTOP
****************************/
@media (min-width: 900px) {
  .features-list,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: row;
    gap: 30px;
  }
  .testimonial-card {
    flex-direction: row;
    max-width: 820px;
  }
  footer .container {
    flex-direction: row;
    gap: 52px;
    align-items: flex-start;
  }
}

/*****************************
   MISCELLANEOUS, UTILITIES
******************************/
.map-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 34px 0 0 0;
}
.map-placeholder img {
  width: 80px; height: 80px;
  opacity: 0.82;
  filter: grayscale(1) contrast(1.3);
}

/*****************************************
   ACCESSIBILITY: FOCUS + VISUAL STATES
*****************************************/
a:focus, .cta-btn:focus, button:focus, .cookie-btn:focus {
  outline: 2px dashed #FABD4A;
  outline-offset: 1.5px;
}

/************************
   GENERAL UTILITIES
*************************/
.mt-2 { margin-top: 12px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-4 { margin-bottom: 24px !important; }

/*******************************************
   FORM ELEMENTS (if future form is added)
********************************************/
input, textarea, select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #DDD;
  border-radius: 6px;
  margin-bottom: 13px;
  background: #F8F8F8;
  font-size: 1rem;
  color: #181818;
  transition: border .17s, box-shadow .17s;
}
input:focus, textarea:focus {
  border-color: #232323;
  background: #fff;
  box-shadow: 0 2px 10px rgba(80,80,80,0.10);
}

/**********************************
   PRINT & SELECTION COLOR EFFECTS
***********************************/
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cta-btn, .cookie-banner, .cookie-modal {display: none !important;}
}
::selection { background: #181818; color: #fff; }

/****************************************
 DESIGN SYSTEM – Subtle Effects & Shadows
*****************************************/
.card, .features-list li, .features-list div {box-shadow: 0 3px 20px rgba(40,40,40,0.05);}

/* ===========================
  Z-INDEX LAYERING
 =========================== */
header { z-index: 100; }
.mobile-menu { z-index: 2002; }
.mobile-menu-toggle { z-index: 2001; }
.cookie-banner {z-index: 2200;}
.cookie-modal {z-index: 2300;}

/* Ensure min spacing between content cards */
.card, .features-list li, .features-list div, .testimonial-card { margin-bottom: 20px; }

/*****************
 Hide if JS active
******************/
.js-mobile-menu-open body {
  overflow: hidden;
}
