/* ====== 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;}
ol, ul {list-style: none;}
a {text-decoration: none; color: inherit;}
img {max-width: 100%; height: auto; display: block;}
table {border-collapse: collapse; border-spacing: 0;}
button {font-family: inherit; border: none; background: none; cursor: pointer;}

/* ====== BRAND VARIABLES ====== */
:root {
  --primary: #232B41;
  --secondary: #F0C419;
  --accent: #FFFFFF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  --font-size-xxxl: 48px;
  --shadow-default: 0 2px 16px 0 rgba(30,32,39,0.07);
  --shadow-hover: 0 4px 24px 0 rgba(30,32,39,0.10);
  --radius-card: 14px;
  --radius-button: 6px;
  --transition: 0.2s cubic-bezier(0.4,0.1,0.25,1);
  --color-body-bg: #FAFAFB;
  --color-content-bg: #FFFFFF;
  --color-border: #EBEDF3;
  --color-text: #232B41;
  --color-subtle-text: #62687B;
  --color-link-hover-bg: #232B4110;
  --z-mobile-menu: 1000;
  --z-cookie-banner: 1100;
}

body {
  background: var(--color-body-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  min-height: 100vh;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 {
  font-size: var(--font-size-xxxl);
  margin-bottom: 24px;
}
h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: 20px;
}
h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 12px;
}
h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 8px;
}
p, ul, ol, li, dl, dd {
  font-size: var(--font-size-base);
  color: var(--color-subtle-text);
}
.text-section p {
  margin-bottom: 16px;
}
a {
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--secondary);
  background: var(--color-link-hover-bg);
  border-radius: 5px;
  outline: none;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ====== CONTAINER ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ========== HEADER & NAV ========== */
header {
  background: var(--color-content-bg);
  box-shadow: var(--shadow-default);
  padding: 0 0 0 0;
  position: relative;
  z-index: 2;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 20px;
  font-size: var(--font-size-lg);
  font-family: var(--font-display);
}
.main-nav > a img {
  height: 34px;
  margin-right: 16px;
}
.main-nav > a {
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav > a:hover, .main-nav > a.active {
  background: var(--color-link-hover-bg);
  color: var(--secondary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  padding: 0 24px;
  height: 44px;
  min-width: 160px;
  border-radius: var(--radius-button);
  background: var(--primary);
  color: var(--accent);
  box-shadow: var(--shadow-default);
  margin: 0 20px 0 0;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow-hover);
  outline: none;
}

/* ========== MOBILE MENU STYLES ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  position: relative;
  z-index: var(--z-mobile-menu);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--accent);
  z-index: var(--z-mobile-menu);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  color: var(--secondary);
  background: none;
  font-size: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(240,196,25,0.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 32px;
  gap: 18px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: var(--font-size-xl);
  padding: 14px 0;
  border-bottom: 1px solid #30364f;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(240,196,25,0.10);
  color: var(--secondary);
  border-radius: 5px;
}

/* ========== HERO & GENERIC SECTIONS ========== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.hero {
  background: var(--color-content-bg);
  box-shadow: var(--shadow-default);
  border-radius: var(--radius-card);
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  max-width: 740px;
}
.text-section ul {
  margin: 10px 0 20px 20px;
  padding: 0 0 0 10px;
}
.text-section li {
  margin-bottom: 8px;
  color: var(--color-subtle-text);
  list-style: disc inside;
  font-size: var(--font-size-base);
}
.text-section strong {
  font-weight: 700;
}

.brand-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--font-size-lg);
  color: var(--primary);
  margin-top: 16px;
}

/* ========== FLEXBOX UTILITIES ========== */
.card-container, .feature-grid, .project-list, .benefits-overview ul, .product-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-content-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-default);
  padding: 24px;
  flex: 1 1 250px;
  min-width: 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-content-bg);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-default);
  min-width: 210px;
  max-width: 510px;
  color: var(--color-text); /* CRITICAL contrast */
  font-size: var(--font-size-base);
  transition: box-shadow var(--transition), border var(--transition);
  border: 1px solid var(--color-border);
}
.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: -12px;
}
.testimonial-card strong {
  color: var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-content-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-default);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: var(--color-content-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-default);
  padding: 24px 20px;
  flex: 1 1 215px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature img {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project {
  background: var(--color-content-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-default);
  padding: 24px 16px;
  margin-bottom: 16px;
  min-width: 220px;
  flex: 1 1 340px;
}
.project-challenges {
  margin-top: 30px;
  margin-bottom: 24px;
}
.benefits-overview ul, .product-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 2px 0;
  padding: 0;
}
.benefits-overview li, .product-highlights li {
  background: var(--color-content-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 10px 18px;
  font-size: var(--font-size-base);
  color: var(--primary);
  min-width: 200px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  font-size: var(--font-size-base);
  color: var(--primary);
  padding: 0;
}
.feature-list img {width: 30px; height: 30px;}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: var(--font-size-sm);
  color: var(--color-subtle-text);
  margin-top: 24px;
}
.contact-info img {
  width: 19px;
  vertical-align: middle;
  margin-right: 5px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 14px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-content-bg);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: var(--font-size-base);
  color: var(--color-subtle-text);
  padding: 6px 8px;
  transition: color var(--transition), background var(--transition);
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  background: var(--color-link-hover-bg);
  outline: none;
}
footer p {
  color: var(--color-subtle-text);
  text-align: center;
  margin-top: 20px;
  font-size: var(--font-size-sm);
}

/* ========== RESPONSIVE (MOBILE-FIRST) ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature, .card, .project {
    min-width: 180px;
    flex: 1 1 180px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 16px;
    font-size: var(--font-size-base);
    padding: 12px 10px;
  }
  .cta-btn {
    margin: 0 10px 0 0;
    min-width: 120px;
    font-size: var(--font-size-base);
    height: 38px;
  }
}
@media (max-width: 800px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  h3 {font-size: 1.11rem;}
  .hero {
    padding-top: 30px;
    padding-bottom: 28px;
  }
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .card-container, .feature-grid, .project-list {
    gap: 14px;
  }
  .feature, .card, .project {
    padding: 15px 10px;
    min-width: 125px;
    font-size: var(--font-size-sm);
  }
  section, .section { padding: 24px 4px; margin-bottom: 36px; }
  .contact-info { gap: 10px 12px; }
}
@media (max-width: 640px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute; right: 12px; top: 14px;
  }
  header {
    padding-bottom: 12px;
  }
  .hero {
    padding-top: 14px; padding-bottom: 16px;
    border-radius: 10px;
  }
  .footer-nav {
    gap: 4px; flex-direction: column;
  }
  .testimonial-card { max-width: 95vw; min-width: 80vw; }
}

/* ========== FORMS (where present) ========== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  padding: 10px 14px;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-border);
  background: var(--color-content-bg);
  transition: border var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
  margin-bottom: 18px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px #f0c4191a;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: var(--z-cookie-banner);
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -8px 24px 0 rgba(30,32,39,0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  justify-content: center;
  padding: 22px 10px 22px 10px;
  font-size: var(--font-size-base);
  transition: transform 0.25s cubic-bezier(0.7,0,0.3,1);
}
.cookie-banner.hide {transform: translateY(120%);}
.cookie-banner .cookie-btn {
  margin-left: 16px;
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-button);
  padding: 7px 22px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
  border: 1px solid var(--secondary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-banner .cookie-link {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-left: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-button);
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-banner .cookie-link:hover, .cookie-banner .cookie-link:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--secondary);
}

/* ========== COOKIE SETTINGS MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,33,40,0.52);
  z-index: calc(var(--z-cookie-banner) + 1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-content-bg);
  color: var(--color-text);
  padding: 38px 34px 28px 34px;
  border-radius: var(--radius-card);
  max-width: 430px;
  width: 92vw;
  box-shadow: var(--shadow-hover);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 14px;
  color: var(--secondary);
  background: none;
  font-size: 1.7rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f0c41927;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: var(--font-size-base);
  color: var(--color-text);
}
.cookie-toggle {
  appearance: none;
  width: 36px; height: 20px;
  background: #ECEDEF;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background var(--transition);
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform var(--transition), background var(--transition);
}
.cookie-toggle:checked:before {
  background: var(--accent);
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius-button);
  padding: 8px 20px;
  font-weight: 600;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-actions .cookie-btn:hover, .cookie-modal-actions .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ========== MICRO-INTERACTIONS & GENERAL INTERACTIVES ========== */
button, .cta-btn, .cookie-btn, .cookie-link {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition), transform var(--transition);
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #B3B7CE; }
::-moz-placeholder { color: #B3B7CE; }
:-ms-input-placeholder { color: #B3B7CE; }
::placeholder { color: #B3B7CE; }

/* ========== FAQ, DL ================== */
dt {
  font-weight: bold;
  margin-top: 18px;
  color: var(--primary);
  font-size: var(--font-size-lg);
}
dd {
  margin-bottom: 10px;
}

/* ========== ADDITIONAL FIXES/OVERRIDES ========== */
@media (max-width: 380px) {
  .cookie-banner {flex-direction: column; align-items: flex-start;}
}

/* ========== SMOOTH OPEN ANIMATION FOR MOBILE MENU ======= */
.mobile-menu {
  will-change: transform;
  box-shadow: var(--shadow-hover);
}

/* ========== Example class for hidden cookie modal/banner ======== */
.cookie-modal.hide, .cookie-banner.hide {display: none !important;}

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