/* ===== 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 { font-size: 16px; }
body { line-height: 1.5; background: #fff; color: #181818; min-height: 100vh; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; background: transparent; }
img { max-width: 100%; display: block; border: 0; }
table { border-collapse: collapse; border-spacing: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ====== FONT IMPORTS ====== */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-bg: #fff;
  --color-bg-dark: #171717;
  --color-neutral-light: #fafafa;
  --color-neutral: #e6e6e6;
  --color-accent: #fff;
  --color-primary: #181818;
  --color-secondary: #525252;
  --color-black: #000;
  --color-gray: #AAAAAA;
  --color-dark-gray: #3c3c3c;
  --color-brand-primary: #181818;
  --color-brand-secondary: #343436;
  --color-highlight: #fff;
  --color-border: #dcdcdc;
  --radius: 16px;
  --shadow-card: 0 3px 14px rgba(0,0,0,0.04), 0 1.5px 2.5px rgba(0,0,0,0.06);
  --shadow-strong: 0 6px 36px rgba(0,0,0,0.12);
  --shadow-hover: 0 4px 22px rgba(0,0,0,0.12);
  --transition: all 0.18s cubic-bezier(.36,.56,0,1);
  --gap: 24px;
  --gap-s: 16px;
  --content-width: 1080px;
  --font-display: 'Baloo 2', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-brand-primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-brand-primary);
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 24px;
}
h3 {
  font-size: 1.33rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, li, address, span {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 0.8em;
}

strong, b {
  color: var(--color-brand-primary);
  font-weight: 700;
}

/* ===== MONOCHROME SOPHISTICATED CORE ===== */

body, html, .container {
  background: var(--color-bg);
  color: var(--color-brand-primary);
}
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 18px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap);
  width: 100%;
}
/* for text/image combos (not currently in pages, but future proof) */
.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; }
}

/* Card/Section Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-neutral-light);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  min-width: 230px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

ul, ol {
  margin: 0 0 1.5em 1.5em;
  padding-left: 0;
  list-style: disc inside none;
  color: var(--color-secondary);
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-brand-primary);
  margin-bottom: 1.2em;
}

/* ===== NAVIGATION STYLES ===== */
header {
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 18px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--color-brand-primary);
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  line-height: 1.15;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-brand-primary);
  color: #fff;
}
.main-nav img {
  height: 44px;
  margin-right: 16px;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 103;
  font-size: 2rem;
  color: var(--color-brand-primary);
  background: var(--color-bg);
  border: none;
  border-radius: 12px;
  padding: 5px 10px;
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-neutral);
  color: #111;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,24, 0.98);
  transform: translateX(-135vw);
  z-index: 3001;
  transition: transform 0.32s cubic-bezier(.44,.22,.14,1);
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  z-index: 3040;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #282828;
  color: var(--color-secondary);
}
.mobile-nav {
  margin-top: 68px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 14px 0 14px 4px;
  width: 100%;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222226;
  color: var(--color-secondary);
}

@media (max-width: 1020px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
}

@media (max-width: 900px) {
  .main-nav { font-size: 0.98rem; gap: 10px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header { min-height: 65px; }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ==== BUTTONS ===== */
.btn-primary, a.btn-primary {
  background: #fff;
  color: #181818;
  border: 2px solid #181818;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: .015em;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(20,20,20,0.07);
  margin-top: 12px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover, .btn-primary:focus {
  background: #181818;
  color: #fff;
  border: 2px solid #181818;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary, a.btn-secondary {
  background: #181818;
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: .015em;
  padding: 13px 34px;
  cursor: pointer;
  border: 2px solid #181818;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fff;
  color: #181818;
}

/* ===== CARDS & TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  color: #201f23;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 5px solid #181818;
  transition: box-shadow 0.18s;
  min-width: 260px;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-card p {
  color: #111;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.11rem;
  flex: 1;
  margin-bottom: 0.8em;
}
.testimonial-card span {
  font-family: var(--font-body);
  font-style: normal;
  color: #343436;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card img {
  width: 24px;
  height: 24px;
  margin-left: 1px;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  padding: 5px;
  transition: background 0.15s;
}
.social-icons img {
  height: 28px;
  width: 28px;
}
.social-icons a:hover {
  background: #181818;
}
.social-icons a:hover img {
  filter: invert(1) grayscale(1) brightness(2.3);
}

/* ===== FOOTER ===== */
footer {
  background: #171717;
  color: #fff;
  padding: 0 0 15px 0;
  margin-top: 60px;
}
footer h3, footer section h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 16px;
}
footer .container {
  padding: 0 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-left: 0;
}
.footer-nav a {
  color: #b6b6b6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
  border-radius: 6px;
  padding: 3px 8px;
}
.footer-nav a:hover {
  background: #181818;
  color: #fff;
}

footer address span, footer address a {
  color: #e6e6e6;
  font-style: normal;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}
footer address img {
  vertical-align: middle;
  margin-right: 8px;
  height: 17px;
  width: 17px;
}

@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; gap: 36px; }
  .footer-nav { margin-top: 10px; }
}

/* ======= COOKIE CONSENT ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 5000;
  background: #201f23;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(16,16,16,0.13);
  padding: 22px 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
  transition: transform 0.28s cubic-bezier(.44,.22,.14,1);
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner .cookie-text {
  flex: 1;
  font-size: 1rem;
  color: #f1f1f1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: #fff;
  min-width: 130px;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner button.accept {
  background: #fff;
  color: #181818;
  border: 2px solid #fff;
}
.cookie-banner button.reject {
  background: #181818;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner button.settings {
  background: transparent;
  border: 2px solid #fff;
}
.cookie-banner button.accept:hover {
  background: #dcdcdc;
  color: #181818;
}
.cookie-banner button.reject:hover {
  background: #282828;
  color: #fafafa;
}
.cookie-banner button.settings:hover {
  background: #fff;
  color: #181818;
}

/* Cookie Modal */
.cookie-modal-bg {
  z-index: 6000;
  position: fixed; inset: 0;
  background: rgba(30,30,30,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-bg.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 20px;
  box-shadow: 0 8px 44px rgba(0,0,0,0.20);
  max-width: 450px;
  min-width: 290px;
  width: 92vw;
  padding: 40px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 6900;
  position: relative;
  font-family: var(--font-body);
  transition: transform 0.24s;
  transform: translateY(52px) scale(.97);
}
.cookie-modal-bg.open .cookie-modal {
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 22px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #181818;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  z-index: 7000;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #e6e6e6;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #181818;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f7f7f7;
  border-radius: 9px;
  padding: 12px 11px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #181818;
  font-weight: 500;
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 38px;
  height: 18px;
  background: #d4d4d4;
  border-radius: 13px;
  position: relative;
  outline: none;
  margin: 0 7px 0 0;
  transition: background 0.16s;
  vertical-align: middle;
}
.cookie-modal .toggle-switch:checked {
  background: #181818;
}
.cookie-modal .toggle-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 12px;
  background: #fff;
  border-radius: 8px;
  transition: left 0.18s;
}
.cookie-modal .toggle-switch:checked::before {
  left: 21px;
}
.cookie-modal .locked {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .locked .toggle-switch {
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #181818;
  background: #181818;
  color: #fff;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .cookie-modal-actions button:last-child {
  background: #fff;
  color: #181818;
}
.cookie-modal .cookie-modal-actions button:hover {
  opacity: 0.9;
  background: #282828;
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    font-size: 0.98rem;
    padding: 17px 7px;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }
  .cookie-modal {
    padding: 22px 10px 17px 10px;
    min-width: 180px;
  }
}

/* ==== GENERAL MEDIA QUERIES ===== */
@media (max-width: 1020px) {
  .container, main > section, .content-wrapper {
    max-width: 92vw;
  }
  section { padding: 35px 5px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  section { padding: 28px 0; }
  .content-wrapper, .card-container { gap: 16px; }
}
@media (max-width: 640px) {
  .container, main > section, .content-wrapper {
    max-width: 98vw;
    padding-left: 3px; padding-right: 3px;
  }
  .card, .testimonial-card { padding: 14px; }
}

/*==== ALIGN & FLEX FOR LAYOUTS =====*/
.content-wrapper, .footer-nav, .card-container, .content-grid, .social-icons {
  display: flex;
  flex-wrap: wrap;
}
.content-wrapper, .card-container {
  align-items: flex-start;
  gap: 24px;
}
.testimonial-card, .feature-item, .footer-nav, .social-icons {
  align-items: center;
}
.content-wrapper {
  flex-direction: column;
}

/* Prevent overlapping: guarantee min spacing for all cards & sections */
section + section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 24px;
}

/* === FORM ELEMENTS (for future forms) ==== */
input[type="text"],
input[type="email"],
textarea {
  border: 1.5px solid #dedede;
  border-radius: 9px;
  padding: 13px 13px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #232323;
  margin-bottom: 18px;
  width: 100%;
  background: #f6f6f6;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #181818;
}
label {
  font-family: var(--font-body);
  color: #181818;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
}

/* === LINK DECORATION === */
a {
  color: var(--color-brand-primary);
  transition: color 0.17s;
}
a:hover, a:focus {
  color: #888;
}

/* === SPECIAL UTILITIES === */
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.hide { display: none !important; }

::-webkit-selection, ::selection {
  background: #181818;
  color: #fff;
}

/* === Z-INDEX FOR OVERLAYS === */
.mobile-menu, .cookie-modal-bg { z-index: 3000; }
.cookie-banner { z-index: 5000; }

/* ======= FOCUS VISIBLE ======= */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid #181818;
  outline-offset: 2px;
  background: #d2d2d2;
}


/* ========== END ========== */