/* CSS RESET & BASE STYLES */
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, font, 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  color-scheme: light dark;
}
body {
  min-height: 100vh;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background: #fff;
  color: #191919;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #191919;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #216A4B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #191919;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}
h2 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}
h3 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #242424;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #363636;
}
p, li {
  font-size: 1rem;
  color: #292929;
}
.subheadline {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 20px;
}

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

/* ----- HEADER & NAVIGATION ----- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img, .logo-footer img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #212121;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .02em;
  position: relative;
  padding: 3px 0;
  transition: color 0.17s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #191919;
  transition: width 0.2s;
  position: absolute;
  left: 0; bottom: 0;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
  background: #216A4B;
}
.main-nav a.active {
  color: #216A4B;
  font-weight: 700;
}

.button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  padding: 12px 32px;
  background: #242424;
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 3px 12px 0 rgba(30,30,30,.08);
  outline: none;
  display: inline-block;
  text-align: center;
}
.button.primary {
  background: #216A4B;
  color: #fff;
}
.button.primary:hover,.button.primary:focus {
  background: #191919;
  color: #FFB400;
}
.button.accent {
  background: #fff;
  color: #216A4B;
  border: 2px solid #216A4B;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(40,40,40,0.07);
}
.button.accent:hover, .button.accent:focus {
  background: #FFB400;
  color: #181818;
  border-color: #FFB400;
}
.button:not(.accent):active {
  box-shadow: 0 2px 4px rgba(60,60,60,0.09);
}

/* ----- MOBILE NAVIGATION ----- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #242424;
  border: none;
  margin-left: auto;
  cursor: pointer;
  z-index: 1101;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  color: #216A4B;
  outline: 2px solid #216A4B;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.98);
  color: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.7,.1,.28,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 1102;
  padding: 8px;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 90px 38px 32px 38px;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #191919;
  color: #FFB400;
}

@media (max-width: 1024px) {
  header .container {
    gap: 14px;
  }
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .main-nav {
    gap: 14px;
  }
  .logo img { height: 34px; }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 8px;
  }
  .button {
    margin-left: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav,
  header .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container,
  footer .container {
    flex-direction: row;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
}
@media (max-width: 520px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 1.4rem;
  }
}

/* ----- HERO SECTION ----- */
.hero {
  background: #FCFCFC;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 320px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
}
.hero h1 {
  color: #181818;
}
.hero .button {
  margin-top: 18px;
}

/* ----- SECTION LAYOUT ----- */
.section,
.about, .features, .values, .cta, .services, .contact-details, .contact-form, .testimonials, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(48,48,48,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ----- FEATURES GRID ----- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
}
.feature {
  background: #F6F8F9;
  border: 1px solid #e4e5e7;
  border-radius: 14px;
  box-shadow: 0 1.5px 16px 0 rgba(40,40,40,0.07);
  padding: 32px 28px 25px 28px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.17s, border-color 0.15s, transform 0.12s;
}
.feature:hover {
  box-shadow: 0 8px 28px rgba(30,30,40,0.10);
  border-color: #BDBDBD;
  transform: translateY(-4px);
}
.feature img {
  height: 44px;
  width: 44px;
  margin-bottom: 11px;
}
.feature h3 { margin-bottom: 6px; }
.feature-grid li {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  background: #222;
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 14px 0 rgba(40,40,40,0.09);
  flex: 1 1 125px;
  text-align: center;
  letter-spacing: .01em;
  transition: background 0.12s, color 0.15s;
}
.feature-grid li:hover {
  background: #191919;
  color: #FFB400;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature, .feature-grid li {
    min-width: 140px;
    padding: 20px 14px 18px 14px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .feature-grid li {
    min-width: 0;
    width: 100%;
    margin-bottom: 12px;
  }
}

/* ----- TESTIMONIALS ----- */
.testimonials {
  background: #F4F4F7;
  border-radius: 16px;
  box-shadow: 0 4px 30px 0 rgba(22,22,22,0.06);
  margin-bottom: 60px;
  padding: 40px 16px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  box-shadow: 0 2.5px 16px 0 rgba(25,25,25,0.065);
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border-color 0.13s;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #151515;
}
.testimonial-card strong {
  color: #216A4B;
  font-weight: 700;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.stars {
  color: #FFB400;
  font-size: 1.27em;
  letter-spacing: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(18,18,20,0.12);
  border-color: #b6b6b6;
}
@media (max-width: 900px) {
  .testimonial-card, .testimonial-list { gap: 12px; }
}
@media (max-width: 700px) {
  .testimonial-list {
    flex-direction: column;
    gap: 0px;
  }
  .testimonial-card {
    max-width: 99%;
    width: 100%;
    padding: 22px 11px;
  }
}

/* ----- CTA SECTION ----- */
.cta {
  background: #212121;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 30px rgba(36,40,50,0.10);
  position: relative;
}
.cta h2 { color: #fff; }
.cta p { color: #edeaea; }
.cta .button.accent {
  background: #FFB400;
  color: #191919;
  border-color: #FFB400;
  margin-top: 12px;
}
.cta .button.accent:hover,
.cta .button.accent:focus {
  background: #fff;
  border-color: #fff;
  color: #216A4B;
}
@media (max-width: 500px) {
  .cta { padding: 28px 8px; }
}

/* ----- CARD & FLEX UTILS ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  border-radius: 18px;
  background: #F7F8F9;
  box-shadow: 0 2.5px 16px 0 rgba(25,25,25,0.060);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 27px 21px;
  transition: box-shadow 0.18s, border 0.13s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(36,36,36,0.09);
}
.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;
}
@media (max-width: 900px) {
  .card-container, .content-grid, .text-image-section { gap: 13px; }
  .text-image-section { flex-direction: column; }
  .content-grid { flex-direction: column; align-items: stretch; }
}
@media (max-width: 800px) {
  .section, .features, .about, .cta, .testimonials, .legal {
    padding: 22px 4px;
  }
}
@media (max-width: 600px) {
  .card {
    padding: 20px 8px;
  }
}

/* ----- VALUES, SERVICES, LEGAL ----- */
.values ul, .services ol {
  list-style: disc inside;
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.values li, .services li {
  margin-bottom: 16px;
}
.legal ul {
  margin-bottom: 14px;
}

/* ----- FOOTER ----- */
footer {
  background: #1a1a1a;
  color: #d4d4d4;
  padding: 36px 0;
  border-top: 1px solid #212121;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.logo-footer img {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #f7f7f7;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  margin-bottom: 8px;
  opacity: 0.8;
  transition: color 0.14s, opacity 0.13s;
}
.footer-nav a:hover,.footer-nav a:focus {
  color: #FFB400;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  color: #cccccc;
}
.footer-contact a {
  color: #FFB400;
  text-decoration: underline;
  font-weight: 600;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 23px;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 10px;
  }
}

/* ----- CONFIRMATION ----- */
.confirmation {
  background: #F7F7F8;
  border: 1px solid #e1e1e1;
  text-align: center;
  padding: 60px 12px;
  border-radius: 10px;
}

/* GENERAL ANIMATIONS */
.button, .feature, .card, .feature-grid li, .testimonial-card, .mobile-menu, .mobile-nav a {
  transition: all 0.18s cubic-bezier(.6,.2,.45,1);
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(30,30,30,0.98);
  color: #f9fafb;
  z-index: 4000;
  box-shadow: 0 -2px 18px 0 rgba(18,19,21,0.14);
  padding: 22px 24px 18px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  font-size: 1rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 10px 20px;
  margin: 0 2px;
  cursor: pointer;
  background: #191919;
  color: #fff;
  transition: background 0.15s, color 0.12s;
}
.cookie-banner .accept {
  background: #216A4B;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1b523a;
  color: #FFB400;
}
.cookie-banner .reject {
  background: #232627;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #252526;
  color: #FFD23B;
}
.cookie-banner .settings {
  background: #fff;
  color: #191919;
  border: 1px solid #191919;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFB400;
  color: #1b1c1d;
  border-color: #FFB400;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 13px 8px 8px 8px;
    font-size: 0.98rem;
  }
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,27,30,0.93);
  z-index: 4100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #f6f7f9;
  color: #212121;
  max-width: 440px;
  width: 92vw;
  border-radius: 15px;
  box-shadow: 0 2.5px 30px rgba(16,16,19,0.18);
  padding: 36px 30px 27px 30px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  font-size: 1rem;
  animation: fadein-modal 0.25s cubic-bezier(.5,.78,.4,1);
}
@keyframes fadein-modal {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.27rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #21422C;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #222;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.13s;
}
.cookie-modal-close:hover { background: #ededed; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: space-between;
}
.cookie-category-row label {
  font-weight: 600;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 14px;
  background: #d9d9db;
  border: 1.5px solid #97999d;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, border 0.12s;
}
.cookie-toggle:checked {
  background: #216A4B;
  border-color: #216A4B;
}
.cookie-toggle:disabled {
  opacity: .7;
  background: #ececec;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px; top: 1px;
  transition: transform 0.20s;
  box-shadow: 0 1px 2px rgba(20,20,20,.08);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 10px 21px;
  border-radius: 18px;
  border: none;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #191919;
  color: #fff;
  margin-left: 2px;
  cursor: pointer;
}
.cookie-modal .modal-actions .accept {
  background: #216A4B;
  color: #fff;
}
.cookie-modal .modal-actions .accept:hover {
  background: #191919; color: #FFB400;
}
.cookie-modal .modal-actions .reject {
  background: #fff; color: #212;
  border: 1.5px solid #191919;
}
.cookie-modal .modal-actions .reject:hover {
  background: #FFB400; color: #212120;
  border-color: #FFB400;
}

/* --- RESPONSIVE ADJUSTMENTS FOR COOKIE MODAL --- */
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 8px 27px 8px;
    width: 99vw;
  }
}

/* ----- RESPONSIVE GENERAL ----- */
@media (max-width: 760px) {
  h1 { font-size: 1.2rem; }
  .footer-contact, .footer-nav {
    font-size: 0.97rem;
  }
}

/* ---- SPECIAL UTILITIES & OVERRIDES ---- */
::-webkit-input-placeholder { color: #7e7e7e; }
::-moz-placeholder { color: #7e7e7e; }
:-ms-input-placeholder { color: #7e7e7e; }
::placeholder { color: #7e7e7e; }

[tabindex="0"]:focus, button:focus, .button:focus, a:focus {
  outline: 2px solid #216A4B;
  outline-offset: 3px;
}

/* ------- END OF CSS ------- */
