/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
input, textarea, select {
  font: inherit;
}

/* BASE COLORS & FONTS */
:root {
  --brand-primary: #222;
  --brand-secondary: #b8860b; /* subtle gold for accent */
  --brand-accent: #F9F6EE; /* soft ivory/light for monochrome */
  --brand-dark: #000;
  --brand-light: #fff;
  --brand-gray-100: #F2F2F2;
  --brand-gray-200: #ECECEC;
  --brand-gray-300: #D4D4D4;
  --brand-gray-500: #888;
  --brand-gray-700: #444;
  --brand-gray-900: #222;
  --shadow: 0 2px 12px rgba(30,30,34,0.08);
  --radius: 12px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY SCALE & ELEGANCE */
body {
  color: var(--brand-gray-900);
  background: var(--brand-light);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--brand-dark);
}
h1 {
  font-size: 2.75rem; /* 44px */
  line-height: 1.12;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.22;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: var(--brand-dark);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--brand-gray-700);
  margin-bottom: 30px;
  max-width: 48em;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--brand-gray-900);
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 12px;
}
ul li, ol li {
  list-style: disc;
  margin-bottom: 0.33em;
}

.text-section ul, .text-section ol {
  margin-bottom: 20px;
}
.text-section li {
  margin-bottom: 6px;
}

/* GLOBAL CONTAINER */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* HEADER & NAVIGATION */
header {
  background: var(--brand-light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
header img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  z-index: 1;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-gray-900);
  position: relative;
  padding: 4px 2px;
  transition: color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-secondary);
}

/* Mobile burger menu - Hide main nav and show toggle on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--brand-dark);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--brand-light);
  border: 2px solid var(--brand-gray-200);
  margin-left: 10px;
  transition: background var(--transition), border-color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-gray-200);
  border-color: var(--brand-secondary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.68);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--transition), transform var(--transition);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--brand-light);
  margin: 32px 24px 16px 0;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
  transition: color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  background: var(--brand-light);
  border-radius: 16px 0 0 16px;
  min-width: 270px;
  padding: 36px 38px 40px 24px;
  box-shadow: -2px 0 38px 0 rgba(50,50,50,.13);
  margin: 0 0 0 0;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--brand-dark);
  letter-spacing: -.5px;
  padding: 8px 0;
  transition: color var(--transition), font-weight var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* SECTION / LAYOUT CLASSES - FLEXBOX ONLY */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(30,30,34,0.18);
  transform: translateY(-2px) scale(1.02);
}
.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;
  margin-bottom: 24px;
}
.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-gray-100);
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(30,30,34,0.04);
  padding: 22px 20px;
  min-width: 220px;
  min-height: 170px;
  max-width: 380px;
  flex: 1 1 200px;
  transition: box-shadow var(--transition), background var(--transition);
  margin-bottom: 20px;
}
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 6px;
  filter: grayscale(1) brightness(0.4);
  opacity: .85;
}

.feature-item:hover, .feature-item:focus-within {
  background: var(--brand-accent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

@media (max-width: 1024px) {
  .feature-grid, .features {
    gap: 18px;
  }
  .feature-item {
    min-width: 160px;
    padding: 14px 12px;
  }
}
@media (max-width: 650px) {
  .feature-item {
    min-width: 78vw;
    max-width: 100vw;
  }
}

/* USP List Style */
.usp-list {
  margin-bottom: 22px;
}
.usp-list li {
  margin-bottom: 10px;
  color: var(--brand-gray-700);
  font-size: 1.1rem;
}

/***** TESTIMONIAL CARDS *****/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 8px;
}
.testimonial-card {
  background: var(--brand-accent);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 250px;
  flex: 1 1 250px;
  max-width: 450px;
  border-left: 5px solid var(--brand-secondary);
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--brand-dark);
  box-shadow: 0 4px 24px 0 rgba(27,27,27,0.12);
  background: #fff;
}
.testimonial-content p {
  color: var(--brand-dark);
  font-size: 1.13rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-user {
  font-family: var(--font-display);
  color: var(--brand-gray-700);
  font-size: .99rem;
  font-style: normal;
}

/***** BUTTONS & CTA *****/
.cta-btn, .cta-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-dark);
  color: var(--brand-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.13rem;
  border-radius: 27px;
  padding: 14px 34px;
  box-shadow: 0 2px 16px rgba(45,45,45,0.06);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  margin-top: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-dark);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 28px rgba(50,40,0,0.19);
}

/* Section Links/Email */
.text-section a {
  color: var(--brand-secondary);
  border-bottom: 1px solid var(--brand-gray-300);
  transition: color var(--transition), border-bottom-color var(--transition);
}
.text-section a:hover, .text-section a:focus {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-secondary);
}

/* FOOTER STYLES */
footer {
  background: var(--brand-dark);
  color: var(--brand-light);
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-nav, .footer-links, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a, .footer-links a {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brand-light);
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-links a:hover, .footer-nav a:focus, .footer-links a:focus {
  background: var(--brand-light);
  color: var(--brand-dark);
}
.footer-social a img {
  width: 32px;
  height: 32px;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.6;
  transition: opacity var(--transition), filter var(--transition);
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0);
  opacity: 1;
}
.footer-copyright {
  color: #ccc;
  font-size: 0.95rem;
  margin-top: 8px;
}

/***** COOKIE CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 22px 25px 22px 22px;
  background: var(--brand-dark);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  box-shadow: 0 -2px 26px rgba(25,25,25,0.18);
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1.07rem;
  flex: 1 1 auto;
  color: #fff;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 18px;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  background: var(--brand-light);
  color: var(--brand-dark);
}
.cookie-btn.accept {
  background: var(--brand-secondary);
  color: var(--brand-dark);
}
.cookie-btn.reject {
  background: var(--brand-dark);
  color: var(--brand-secondary);
  border: 1px solid var(--brand-secondary);
}
.cookie-btn.settings {
  background: var(--brand-gray-300);
  color: var(--brand-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-1.5px) scale(1.04);
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-color: var(--brand-secondary);
}

/* Cookie Consent Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(34, 34, 34, 0.70);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 38px 24px 26px 24px;
  border-radius: 19px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 4px 32px rgba(20,20,20,0.23);
  position: relative;
  z-index: 3300;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 2.1rem;
  color: var(--brand-dark);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  opacity: 1;
  color: var(--brand-secondary);
}
.cookie-modal__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-modal__toggle {
  width: 40px;
  height: 22px;
  background: var(--brand-gray-300);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.cookie-modal__toggle input {
  opacity: 0;
  width: 40px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-modal__toggle span {
  position: absolute;
  left: 2px; top: 2px;
  background: var(--brand-dark);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-modal__toggle input:checked + span {
  left: 20px;
  background: var(--brand-secondary);
}
.cookie-modal__desc {
  color: var(--brand-gray-700);
  font-size: .99rem;
  margin-bottom: 3px;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}

/***** RESPONSIVE & MOBILE ADJUSTMENTS *****/
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding-right: 8px;
    padding-left: 8px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.5rem; }
  .container { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.18rem; margin-bottom: 16px; }
  .container {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  section, .section {
    padding: 26px 8px 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section, .feature-grid, .features {
    gap: 11px;
  }
  .feature-grid, .features {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    padding: 13px 6px;
  }
  .card-container {
    gap: 13px;
  }
  .testimonial-slider {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 97vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav, .footer-links, .footer-social {
    gap: 13px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copyright {
    font-size: 0.86rem;
    margin-top: 3px;
  }
  .mobile-menu .mobile-nav {
    min-width: 65vw;
    padding-left: 10px;
    padding-right: 19px;
  }
}

@media (max-width: 480px) {
  .content-wrapper, .text-section {
    gap: 7px;
  }
  .cta-btn {
    padding: 12px 7vw;
    font-size: 1rem;
  }
  .cookie-modal {
    min-width: 88vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* MONOCHROME SOPHISTICATED SPECIAL TONES */
body, html {
  background: var(--brand-accent);
  color: var(--brand-gray-900);
}
section, .section {
  background: var(--brand-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: 60px;
}
h1, h2, h3, h4 {
  color: var(--brand-gray-900);
}

/***** ADA/ACCESSIBILITY FOCUS *****/
.main-nav a, .mobile-nav a, .cta-btn, .cookie-btn, .footer-nav a, .footer-links a {
  outline: none;
}
.main-nav a:focus-visible, .mobile-nav a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .footer-nav a:focus-visible, .footer-links a:focus-visible {
  box-shadow: 0 0 0 2px var(--brand-secondary), 0 2px 14px rgba(185,134,11,0.08);
  border-radius: 4px;
  z-index: 1;
}

/* Hide cookie modal overlay by default */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.active {
  display: flex;
}

/***** MICRO-INTERACTIONS *****/
.card, .feature-item, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a, .footer-links a, .cookie-btn {
  will-change: box-shadow, transform;
}

/***** PRINT STYLES (Optional) *****/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .section {
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}
