/* 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 {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100%;
  background: #fff;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #232323;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #284B63;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

/* MONOCHROME SOPHISTICATED COLOR SCHEME */
:root {
  --primary: #232323;
  --primary-strong: #111214;
  --gray-light: #f4f1ee;
  --gray-mid: #B6B7BA;
  --gray-dark: #3A3A3A;
  --white: #fff;
  --brand-main: #284B63;
  --brand-secondary: #87986A;
  --accent-light: #FAFAFA;
  --accent: #f4f1ee;
  --shadow: rgba(40, 75, 99, 0.07);
  --shadow-strong: rgba(40,75,99,0.16);
  --radius: 14px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: var(--primary-strong);
  margin-bottom: 0.5em;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.13;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4em;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.7em;
}
strong {
  font-weight: 600;
  color: var(--primary-strong);
}

/* CONTAINER & SPACING */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 19px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}

/* FLEXBOX LAYOUTS */
.card-container, .feature-grid, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: var(--white);
  box-shadow: 0 3px 20px var(--shadow);
  border-radius: var(--radius);
  padding: 28px 28px 20px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 240px;
}
@media (max-width: 768px) {
  .card-container, .feature-grid, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    padding: 16px 14px;
    min-width: unset;
  }
}
.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: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS */
ul, ol {
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.6em;
  color: var(--primary-strong);
  word-break: break-word;
}
.text-section ul, .text-section ol {
  padding-left: 1.3em;
}

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 34px;
}
nav img {
  height: 36px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 18px;
  margin: 0 16px 0 18px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  color: var(--gray-dark);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav ul li a:hover,
nav ul li a:focus {
  color: var(--primary-strong);
  background: var(--gray-light);
}
nav .btn-primary {
  margin-left: 10px;
}

/* BUTTONS */
.btn-primary,
button.btn-primary,
av.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--white);
  color: var(--primary-strong);
  border: 2px solid var(--primary-strong);
  border-radius: var(--radius);
  padding: 11px 29px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 6px var(--shadow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-strong);
  color: var(--white);
  border-color: var(--primary-strong);
  box-shadow: 0 3px 14px var(--shadow-strong);
}

button, input[type=button], input[type=submit] {
  font-family: inherit;
  font-size: inherit;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  border: none;
  background: transparent;
  color: var(--primary-strong);
  font-size: 2rem;
  cursor: pointer;
  display: none;
  padding: 5px 6px;
  transition: background 0.2s;
  z-index: 150;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--gray-light);
  border-radius: 50%;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 6px 40px var(--shadow-strong);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 32px 22px 32px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.85,0,.32,1), opacity 0.37s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  border: none;
  background: transparent;
  color: var(--primary-strong);
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 14px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-strong);
  padding: 13px 0 8px 4px;
  border-bottom: 1px solid var(--accent);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--white);
  background: var(--primary-strong);
  border-radius: var(--radius);
  outline: none;
}
@media (max-width: 980px) {
  nav ul, nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block !important;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: var(--gray-light);
  border-bottom: 1.7px solid var(--gray-mid);
  padding: 72px 0 60px 0;
  margin-bottom: 0;
}
.hero .container > .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero p {
  color: var(--primary-strong);
}
.hero p {
  font-size: 1.18rem;
  max-width: 600px;
  color: var(--primary-strong);
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 26px 0;
  }
}

/* CTA SECTION */
.cta {
  background: var(--primary-strong);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px var(--shadow);
  margin-bottom: 60px;
  padding: 44px 20px;
}
.cta h2,
.cta p {
  color: var(--white);
}
.cta .btn-primary {
  background: var(--white);
  color: var(--primary-strong);
  border-color: var(--white);
}
.cta .btn-primary:hover,
.cta .btn-primary:focus {
  background: var(--primary-strong);
  color: var(--white);
  border-color: var(--white);
}

@media (max-width: 768px) {
  .cta {
    padding: 28px 10px;
  }
}

/* FEATURE GRID */
.feature-grid > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px var(--shadow);
  padding: 24px 22px 19px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px var(--shadow-strong);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  max-width: 42px;
  height: auto;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .feature-grid > div {
    padding: 14px 8px 11px 13px;
  }
}

/* CARDS & CARD CONTAINERS */
.card-container {
  gap: 20px;
}
.card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 34px var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px var(--shadow);
  margin-bottom: 20px;
  max-width: 750px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--primary-strong);
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--gray-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  display: block;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px var(--shadow-strong);
  transform: scale(1.01);
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 10px;
  }
}

/* ADDRESS/BLOCKS IN FOOTER */
footer {
  background: var(--gray-light);
  border-top: 1.5px solid var(--gray-mid);
  padding: 34px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.footer-menu a {
  color: var(--primary-strong);
  padding: 3px 7px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--primary-strong);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.footer-brand img {
  height: 32px;
}
footer address {
  font-style: normal;
  color: var(--primary-strong);
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 12px;
}
footer address div {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer address img {
  height: 18px;
  opacity: 0.80;
}

@media (max-width: 768px) {
  footer .container {
    gap: 16px;
    padding: 0 6px;
  }
  .footer-menu {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand {
    gap: 8px;
    font-size: 0.98rem;
  }
  footer address {
    gap: 8px;
    flex-direction: column;
    font-size: 0.97rem;
    margin-top: 7px;
  }
}

/* TEXT-SECTIONS, MAPS, CONTACT */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 27px;
}
.map-embed {
  margin: 16px 0;
  background: var(--gray-light);
  padding: 18px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--gray-dark);
}

/* MISC */
::-webkit-input-placeholder { color: var(--gray-mid); }
:-moz-placeholder { color: var(--gray-mid); }
::-moz-placeholder { color: var(--gray-mid); }
:-ms-input-placeholder { color: var(--gray-mid); }
::placeholder { color: var(--gray-mid); }

hr {
  border: 0;
  height: 1px;
  background: var(--gray-mid);
  margin: 36px 0;
}

/* SPACING OVERRIDES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    padding: 22px 8px;
    margin-bottom: 34px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary-strong);
  box-shadow: 0 -2px 18px var(--shadow-strong);
  z-index: 9999;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  transition: transform 0.33s var(--transition), opacity 0.33s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--primary-strong);
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}

.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--primary-strong);
  padding: 8px 21px;
  background: var(--white);
  color: var(--primary-strong);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-banner .btn-cookie.btn-accept {
  background: var(--primary-strong);
  color: var(--white);
  border-color: var(--primary-strong);
}
.cookie-banner .btn-cookie.btn-accept:hover,
.cookie-banner .btn-cookie.btn-accept:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .btn-cookie.btn-reject {
  background: var(--white);
  color: var(--primary-strong);
  border-color: var(--gray-dark);
}
.cookie-banner .btn-cookie.btn-reject:hover,
.cookie-banner .btn-cookie.btn-reject:focus {
  background: var(--gray-mid);
  color: var(--primary-strong);
  border-color: var(--primary-strong);
}
.cookie-banner .btn-cookie.btn-settings {
  background: var(--accent);
  color: var(--primary-strong);
  border-color: var(--gray-mid);
}
.cookie-banner .btn-cookie.btn-settings:hover,
.cookie-banner .btn-cookie.btn-settings:focus {
  background: var(--gray-light);
  color: var(--primary-strong);
  border-color: var(--primary-strong);
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10001;
  width: 100vw;
  height: 100vh;
  background: rgba(40,47,62,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s, visibility 0.28s;
  opacity: 1;
  visibility: visible;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: var(--white);
  padding: 36px 30px 24px 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 38px var(--shadow-strong);
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 21px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: var(--primary-strong);
  cursor: pointer;
}
.cookie-modal .category-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .category-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-modal label {
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary-strong);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 4px;
    font-size: 0.97rem;
  }
  .cookie-modal .cookie-modal-content {
    padding: 19px 5vw 17px 5vw;
    min-width: 0;
  }
}

/* ACCESSIBILITY: FOCUS VISIBLE */
:focus-visible {
  outline: 2px solid var(--brand-main);
  outline-offset: 2px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary:after, .btn-cookie:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(40, 75, 99, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  pointer-events: none;
  opacity: 0;
}
.btn-primary:active:after, .btn-cookie:active:after {
  width: 120%;
  height: 200%;
  opacity: 1;
  transition: 0s;
}

/* Hide visually, but accessible for screenreader usage */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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