/* ---------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
--------------------------------------------- */
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,
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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #f6f8fa;
  color: #1A3242;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { display: block; max-width: 100%; height: auto; border: 0; }
input, button, textarea { font-family: inherit; }
button { border: none; background: none; cursor: pointer; }

/* ---------------------------------------------
   BRAND COLORS & TYPOGRAPHY
--------------------------------------------- */
:root {
  --color-primary: #1A3242;
  --color-secondary: #5E6B74;
  --color-accent: #FFD700;
  --color-bg: #f6f8fa;
  --color-card: #fff;
  --color-shadow: rgba(26, 50, 66, 0.06);
  --color-btn-hover: #28455b;
  --color-border: #e4e7ea;
  --color-footer: #223340;
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  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;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
}
a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-accent);
  outline: none;
}

/* ---------------------------------------------
   LAYOUT CONTAINERS & SPACING
--------------------------------------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  box-sizing: border-box;
}
.content-wrapper {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 32px 28px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  background: #f2f5f8;
  border-radius: 10px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}

/* ---------------------------------------------
   HEADER & NAV
--------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-size: 16px;
  color: var(--color-secondary);
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a.active {
  background: var(--color-primary);
  color: #fff;
}
.cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-display);
  padding: 11px 32px;
  border-radius: 32px;
  font-size: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.16s;
  margin-left: 16px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ffe067;
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(26, 50, 66, 0.08);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-left: 16px;
  z-index: 40;
  transition: background 0.18s;
  padding: 6px 8px;
  border-radius: 6px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-bg);
  color: var(--color-accent);
}

/* ---------------------------------------------
   MOBILE NAVIGATION
--------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26, 50, 66, 0.96);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.32s cubic-bezier(0.86,0,0.07,1), opacity 0.32s;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  margin: 24px 22px 12px 14px;
  align-self: flex-end;
  background: none;
  border: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 9px;
  padding: 0 32px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  padding: 14px 6px 10px 0;
  border-radius: 4px;
  margin-bottom: 4px;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,255,255,0.08);
  color: var(--color-accent);
}

/* ---------------------------------------------
   MAIN LAYOUT & SECTIONS
--------------------------------------------- */
main {
  padding-top: 24px;
  padding-bottom: 36px;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.content-wrapper > ul {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-wrapper > ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: 1.55;
}
.content-wrapper > ul li img {
  width: 28px;
  height: 28px;
  display: inline-block;
}
.content-wrapper > div > span,
.content-wrapper > div > a {
  display: inline-flex;
  align-items: center;
  background: #f2f5f8;
  border-radius: 7px;
  padding: 10px 20px;
  margin: 7px 8px 7px 0;
  gap: 8px;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--color-primary);
  box-shadow: 0 1px 6px rgba(26, 50, 66,0.03);
}

/* Progress Bars (Sustainability Goals) */
.progress-bars {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 8px 0;
}
.progress-bars > div {
  background: #eaf0f4;
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.1rem;
  min-width: 160px;
  box-shadow: 0 2px 10px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Contact details */
.contact-details, .business-hours, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-details p, .business-hours p, .contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
}
.contact-details img, .business-hours img, .contact-info img {
  width: 20px;
  height: 20px;
  display: inline-block;
}
.map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 62px;
  background: #ecf2f5;
  border-radius: 13px;
  padding: 13px 16px;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

/* ---------------------------------------------
   CARDS, TESTIMONIALS, FEATURES
--------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(26,50,66,0.13);
  margin-bottom: 18px;
  color: var(--color-primary);
  font-style: normal;
  min-width: 220px;
  max-width: 660px;
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 0;
  color: var(--color-primary);
}
.testimonial-card span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.98rem;
  padding-left: 16px;
}

/* multi-type card flex utility */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

/* ---------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
  background: var(--color-footer);
  padding: 36px 0 0 0;
  color: #fff;
  font-size: 0.98rem;
  box-shadow: 0 -1px 8px var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 0;
  padding-bottom: 24px;
}
footer nav {
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  color: #d5dbe1;
  font-size: 0.99rem;
  padding: 3px 0;
  border-radius: 4px;
  transition: color 0.16s, background 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-accent);
  background: rgba(255,255,255,0.04);
}
footer .contact-summary {
  color: #eaf0f4;
  line-height: 1.6;
  font-size: 1rem;
  font-family: var(--font-body);
}

/* ---------------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
--------------------------------------------- */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.22s, transform 0.19s;
  outline: none;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ---------------------------------------------
   COOKIE CONSENT BANNER
--------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -1px 14px rgba(26,50,66,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 16px 24px;
  z-index: 1400;
  font-size: 1rem;
  animation: banner-fade-in 0.44s 0.09s both;
}
@keyframes banner-fade-in {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 360px;
  min-width: 220px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 35px;
  padding: 9px 26px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background 0.19s, color 0.19s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #e5e9eb;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-btn-hover);
  color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(26,50,66,.13);
  transform: scale(1.03);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,50,66,0.36);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 44px rgba(26,50,66,0.13);
  color: var(--color-primary);
  animation: modal-appear 0.34s cubic-bezier(0.57,1.53,0.66,1) both;
}
@keyframes modal-appear {
  0% {opacity: 0;transform: translateY(48px) scale(0.98);}
  100% {opacity: 1;transform: translateY(0) scale(1);}
}
.cookie-modal-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.cookie-categories {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #f2f5f8;
  padding: 12px 16px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.03rem;
}
.cookie-category .category-label {
  font-weight: 600;
  color: var(--color-secondary);
}
.cookie-category .category-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 19px; height: 19px;
}
.cookie-category input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
}

/* ---------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------- */
@media (max-width: 992px) {
  .container { max-width: 98vw; }
  .content-wrapper { padding: 24px 10px; font-size: 1rem; }
  .footer .container { flex-direction: column; gap: 18px; }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
}
@media (max-width: 786px) {
  .container { max-width: 100vw; }
  .footer .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .content-wrapper, .text-section,
  section {margin-bottom: 38px; padding: 22px 5px 8px 5px;}
}
@media (max-width: 768px) {
  header nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 16px 5px;
  }
  .content-grid, .card-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  section {
    padding: 18px 0 0 0;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 10px 10px 10px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-banner-actions {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.2rem; }
  .content-wrapper, .text-section {
    padding: 12px 0px;
    font-size: 0.98rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .progress-bars > div {
    font-size: 1rem;
    padding: 7px 8px;
  }
  .testimonial-card {
    padding: 12px 8px;
    font-size: 0.99rem;
  }
}

/* ---------------------------------------------
   UTILITIES & MICRO-INTERACTIONS
--------------------------------------------- */
.shadow-lift {
  box-shadow: 0 8px 24px rgba(26,50,66,0.09);
  transition: box-shadow 0.16s;
}
.card, .testimonial-card, .content-wrapper, .text-section {
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .card:focus, .content-wrapper:hover, .content-wrapper:focus {
  box-shadow: 0 10px 36px rgba(26,50,66,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(26,50,66,0.10);
  transform: translateY(-2px) scale(1.02);
}

/* Selection */
::selection { background: var(--color-accent); color: var(--color-primary); }

/* Focus Styles for Accessibility */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------------------------------------------
   Print Styles
--------------------------------------------- */
@media print {
  body, header, footer, nav, main, section, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}

/* ---------------------------------------------
   END
--------------------------------------------- */
