/* ================================================
   VitalGlanz – Sophisticated Monochrome CSS
   Modern, elegant, flexbox-based, responsive
===================================================*/
/* 1. 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;
    color: #181818;
    min-height: 100vh;
}
ul, ol {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}

/* 2. ROOT & FONT VARIABLES ================================ */
:root {
  --color-bg: #fff;
  --color-bg-dark: #181818;
  --color-bg-light: #f5f5f5;
  --color-bg-contrast: #1a1a1a;
  --color-primary: #191919; /* Monochrome: Black for dramatic elements */
  --color-secondary: #f5f5f5; /* Light gray/white */
  --color-accent: #555; /* Subtle monochrome accent */
  --color-border: #e0e0e0;
  --color-border-dark: #2d2d2d;
  --color-text: #181818;
  --color-text-muted: #555;
  --color-text-light: #fff;
  --color-button-bg: #181818;
  --color-button-hover: #fff;
  --color-button-hover-bg: #1a1a1a;
  --color-link-hover: #101010;
  --color-shadow: rgba(24,24,24,0.07);
  --radius: 12px;
  --shadow-1: 0 2px 8px 0 rgba(30,30,30,0.08);
  --shadow-2: 0 6px 24px rgba(10,10,10,0.12);
  --shadow-high: 0 3px 20px 0 rgba(0,0,0,0.15);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* 3. BASE TYPOGRAPHY & STRUCTURE ========================== */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.13;
}
h1 { font-size: 2.4rem; margin-bottom: 28px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4,h5,h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b { font-weight: 700; }
.text-section ul, .text-section ol { margin: 0 0 12px 20px; }
.text-section li { list-style: disc inside; margin-bottom: 8px; }

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

/* 4. HEADER/NAV STYLES ==================================== */
header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    position: relative;
    z-index: 700;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
}
.desktop-nav {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-left: 24px;
}
.desktop-nav a {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.18s;
    padding: 8px 4px;
    border-radius: 6px;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
    color: var(--color-primary);
    background: var(--color-secondary);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-button-bg);
    color: var(--color-button-hover);
    font-family: var(--font-display);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-1);
    border: 1px solid var(--color-button-bg);
    cursor: pointer;
    letter-spacing: 0.015em;
    transition: background 0.18s, color 0.18s, box-shadow 0.22s;
    text-align: center;
    margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
    color: var(--color-primary);
    background: var(--color-button-hover);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-high);
    text-decoration: none;
}

/* Hamburger/mobile nav ------------------------------------ */
.mobile-menu-toggle {
    font-size: 2rem;
    display: none;
    color: var(--color-primary);
    background: transparent;
    border: none;
    padding: 8px 12px;
    margin-left: 16px;
    z-index: 801;
    transition: background 0.16s;
    border-radius: 6px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: var(--color-secondary);
}


/* 5. HERO SECTION ========================================= */
.hero {
    background: linear-gradient(120deg, #fff 70%, #ececec 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 60px 0 48px 0;
}
.hero .content-wrapper {
    align-items: flex-start;
    gap: 24px;
    max-width: 750px;
}
.hero h1 {
    font-size: 2.6rem;
    color: #181818;
    margin-bottom: 8px;
    line-height: 1.13;
}
.hero p { font-size: 1.18rem; color: #333; max-width: 600px; }

/* 6. FLEX LAYOUT AND GRID SYSTEM ========================== */
.features-grid, .features {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 20px;
}
.features-grid > div, .features > div {
    flex: 1 1 min(250px,100%);
    min-width: 210px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.21s, border 0.18s;
}
.features-grid > div:hover,
.features > div:hover {
    box-shadow: var(--shadow-high);
    border: 1px solid var(--color-border-dark);
}
.features-grid img, .features img {
    width: 36px;
    margin-bottom: 8px;
    filter: grayscale(100%) contrast(140%);
}
.features-grid h3, .features h3 { font-size: 1.15rem;}

/* Card containers as per requirements ---------------------- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--color-bg-light);
    box-shadow: var(--shadow-1);
    position: relative;
    padding: 22px 20px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, border 0.18s;
}
.card:hover, .card:focus {
    border: 1px solid var(--color-border-dark);
    box-shadow: var(--shadow-high);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.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;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/***** TESTIMONIALS & CTA STYLES ******************************/
.cta {
    background: #232323;
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    padding: 46px 0 40px 0;
    margin-bottom: 54px;
}
.cta .content-wrapper {
    align-items: center;
    gap: 20px;
}
.cta p {
    color: #fff;
    font-size: 1.13rem;
    font-weight: 400;
    text-align: center;
}
.cta .btn-primary {
    background: #fff;
    color: #181818;
    border-color: #fff;
    margin-left: 0;
}
.cta .btn-primary:hover {
    background: #222;
    color: #fff;
    border-color: #fff;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
}
.testimonial-card {
    background: #fafafa;
    color: #232323;
    border-left: 4px solid #232323;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    min-width: 250px;
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.16s;
}
.testimonial-card strong {
    color: #1a1a1a;
    letter-spacing: 0.02em;
    font-size: 1.01em;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-high);
}

/*  LEGAL / TEXT-SECTION  ----------------------------------- */
.legal .container, .text-section {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    padding: 28px 22px;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.text-section h2 {
    font-size: 1.35rem;
    margin-top: 20px;
    margin-bottom: 8px;
}
.text-section p, .text-section li {
    color: #2c2c2c;
    font-size: 1rem;
    font-family: var(--font-body);
}

/* Contact Details ------------------------------------------ */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 14px;
}
.contact-details img {
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
    filter: grayscale(100%) contrast(120%);
}

/* Address styles ------------------------------------------- */
.address {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #232323;
    font-size: 0.94rem;
    margin-top: 12px;
}
.address img {
    width: 18px;
    margin-right: 7px;
    vertical-align: middle;
    filter: grayscale(90%) contrast(110%);
}

/* 8. FOOTER STYLES ========================================= */
footer {
    background: #161616;
    color: #ececec;
    padding: 40px 0 24px;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
footer nav {
    margin-top: 4px;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.98rem;
}
footer nav a {
    color: #ececec;
    opacity: 0.94;
    transition: color 0.18s, opacity 0.16s;
}
footer nav a:hover,
footer nav a:focus {
    color: #fff;
    opacity: 1;
    text-decoration: underline;
}
footer p {
    color: #a9a9a9;
    font-size: 0.95rem;
}
footer .address {
    border-top: 1px solid #282828;
    padding: 10px 0 0;
}
footer img {
    margin-bottom: 4px;
}

/* 10. MOBILE MENU & BURGER NAVIGATION ===================== */
.mobile-menu {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #191919ed;
    transform: translateX(-100%);
    transition: transform 0.33s cubic-bezier(0.85,0,0.15,1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 0 0;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    pointer-events: all;
    opacity: 1;
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    margin: 22px 26px 0 0;
    color: #fff;
    background: none;
    border: none;
    border-radius: 6px;
    transition: background 0.14s;
    padding: 10px 14px;
}
.mobile-menu-close:hover {
    background: #111;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    margin-top: 28px;
    width: 100%;
    padding-left: 38px;
}
.mobile-nav a {
    font-size: 1.3rem;
    font-family: var(--font-display);
    color: #fff;
    padding: 12px 0;
    width: 100%;
    transition: color 0.14s;
    border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #eee;
    background: #232323;
}

/* Hide desktop nav, show mobile burger ==================== */
@media (max-width: 990px) {
    .desktop-nav {
        display: none !important;
    }
    .btn-primary {
        margin-left: 0;
    }
    .mobile-menu-toggle {
        display: inline-block !important;
    }
}
@media (min-width: 991px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* 11. COOKIE CONSENT BANNER & MODAL ======================= */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1300;
    width: 100vw;
    background: #222;
    color: #fff;
    padding: 22px 16px;
    box-shadow: 0 -2px 24px rgba(0,0,0,0.11);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(48px);
    transition: opacity 0.23s, transform 0.21s;
}
.cookie-consent-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.cookie-consent-banner .cookie-text {
    flex: 1 1 360px;
    max-width: 520px;
    font-size: 1rem;
}
.cookie-consent-banner .cookie-actions {
    display: flex;
    gap: 18px;
}
.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    color: #222;
    transition: background 0.18s, color 0.18s;
    box-shadow: var(--shadow-1);
    cursor: pointer;
}
.cookie-btn[aria-pressed="true"], .cookie-btn.accept {
    background: #222;
    color: #fff;
    border: 1px solid #fff;
}
.cookie-btn:focus,
.cookie-btn:hover {
    background: #111;
    color: #fff;
}
.cookie-btn.reject {
    background: #fff;
    color: #222;
    border: 1px solid #eee;
}
.cookie-btn.settings {
    background: #ebebeb;
    color: #222;
    border: 1px solid #ccc;
}
.cookie-btn.settings:hover {
    background: #ddd;
}

/* COOKIE SETTINGS MODAL =================================== */
.cookie-modal {
    position: fixed;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%) scale(0.97);
    z-index: 1400;
    background: #fff;
    color: #232323;
    border-radius: var(--radius);
    box-shadow: 0 8px 44px rgba(0,0,0,0.23);
    min-width: 320px;
    max-width: 94vw;
    width: 440px;
    padding: 34px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.17s;
}
.cookie-modal.visible {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%,-50%) scale(1);
}
.cookie-modal .cookie-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 1.5rem;
    background: none;
    color: #222;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    transition: background 0.13s;
}
.cookie-modal .cookie-modal-close:hover {
    background: #eee;
}
.cookie-modal h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.13rem; font-weight: 700; font-family: var(--font-display); }
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.cookie-modal .toggle-switch {
    appearance: none;
    width: 36px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.18s;
}
.cookie-modal .toggle-switch:checked {
    background: #232323;
}
.cookie-modal .toggle-switch::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.22s;
}
.cookie-modal .toggle-switch:checked::after {
    left: 18px;
}
.cookie-modal .cookie-category label {
    font-size: 1rem;
}
.cookie-modal .cookie-category.essential label {
    color: #c1c1c1;
    font-style: italic;
}
.cookie-modal .cookie-category.essential .toggle-switch {
    pointer-events: none;
    background: #aaa;
}

/* 12. GENERAL FORM, LINKS, UTILS =========================== */
a {
    color: #111;
    transition: color 0.18s;
    text-decoration: underline dotted 1.5px #c6c6c6;
    text-underline-offset: 2px;
}
a:hover, a:focus {
    color: #181818;
    text-decoration: underline solid 1.5px #222;
}
.btn-primary:active, .btn-primary:focus { outline: 2px solid #888; }

/* Animations =============================================== */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .cookie-btn, .mobile-menu, .cookie-consent-banner, .card, .features-grid > div {
      transition: all 0.18s cubic-bezier(.36,.8,.48,1), box-shadow 0.22s cubic-bezier(0.35,.7,.52,.97);
  }
}

/* Responsive queries ======================================= */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  .features-grid, .features {
      gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero { padding: 34px 0 20px 0; }
  .section { padding: 24px 6px; margin-bottom: 38px; }
  .content-wrapper { gap: 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.39rem; }
  .features-grid, .features {
      flex-direction: column;
      gap: 18px;
  }
  .card-container, .testimonial-slider, .content-grid, .address, footer .container, .contact-details, .text-image-section {
      flex-direction: column !important;
      gap: 12px !important;
  }
  .cta { padding: 24px 0 18px 0; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 14px 10px; gap: 8px; }
}
@media (max-width: 600px) {
    .card, .features-grid > div, .legal .container, .text-section {
        padding: 16px 9px !important;
        font-size: 0.98rem;
    }
    .cookie-modal {
        width: 96vw !important;
        min-width: unset;
        padding: 24px !important;
    }
}

/* ======= Z-INDEX LAYERS: header 700, mobile menu 1200, cookies 1300+ ====== */
