/* --- 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%;
  width: 100%;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232323;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dotted #232323;
}
ul, ol {
  list-style: none;
}
button {
  outline: none;
  border: none;
  appearance: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* --- MONOCHROME SOPHISTICATED PALETTE --- */
:root {
  --primary: #181818; /* Near black for headings */
  --secondary: #fff; /* White for backgrounds */
  --accent: #f6be32; /* Gold accent for small highlights */
  --gray-100: #f6f7fa;
  --gray-200: #e5eaf1;
  --gray-300: #ced3db;
  --gray-600: #787a80;
  --gray-800: #232323;
  --link-hover: #144363;
  --shadow: 0 4px 28px 0 rgba(23, 23, 23, 0.07);
  --radius: 10px;
  --transition: all 0.25s cubic-bezier(.32,.72,.52,.96);

  --brand-primary: #144363;
  --brand-accent: #f6be32;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.75rem; /*44px*/
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, .answer {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
strong {
  color: var(--primary);
  font-weight: 600;
}
li {
  margin-bottom: 8px;
  padding-left: 0;
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--secondary);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 20;
  box-shadow: 0 2px 18px 0 rgba(30,30,30, 0.02);
}
header .container {
  height: 84px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header a img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  border-bottom: 2.5px solid var(--gray-800);
  transition: width .3s;
  margin-top: 2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-primary);
}
.main-nav a:hover::after,
.main-nav a:focus::after{
  width: 80%;
}

.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 8px 0 rgba(0,0,0, 0.06);
  transition: background var(--transition), color var(--transition);
  margin-left: 10px;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--primary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--gray-200);
  border-radius: 50%;
  width: 42px; height: 42px;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
  margin-left: 14px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--gray-300);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,23,23,0.92);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 0 0 22px;
  font-size: 2.2rem;
  color: var(--secondary);
  background: none;
  border: none;
  align-self: flex-start;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  margin-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--secondary);
  letter-spacing: 0.02em;
  font-weight: 600;
  transition: color .18s;
  padding: 10px 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--brand-accent);
}
@media (max-width: 768px) {
  header .container {
    height: 68px;
  }
  .mobile-nav {
    gap: 24px;
    margin-left: 20px;
    margin-top: 32px;
  }
}

/* --- HERO & PAGE SECTIONS --- */
.hero-section {
  background: linear-gradient(135deg,#fff 70%,#e5eaf1 100%);
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
}
.hero-section h1 {
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-section h2 {
  color: var(--gray-800);
  margin-bottom: 18px;
  font-size: 1.4rem;
  font-weight: 500;
}
.hero-section p {
  margin-bottom: 20px;
  font-size: 1.12rem;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 24px 0;
    margin-bottom: 34px;
  }
  .hero-section .content-wrapper {
    gap: 14px;
  }
}

/* --- FEATURE GRID & CARDS --- */
.feature-grid, .service-list, .project-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature, .service, .project-overview {
  background: var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(23,23,23, 0.06);
  padding: 32px 22px 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover, .service:hover, .project-overview:hover {
  box-shadow: 0 8px 30px 0 rgba(20,67,99, .12);
  transform: translateY(-4px) scale(1.025);
  z-index: 1;
}
.feature img, .service img, .project-overview img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
}
.feature h3, .service h3, .project-overview h3 {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .project-list {
    gap: 18px;
  }
  .feature, .service {
    padding: 18px 8px 18px 8px;
    min-width: 160px;
    max-width: initial;
    font-size: 0.95rem;
  }
}
@media (max-width: 620px) {
  .feature-grid, .service-list, .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service, .project-overview {
    width: 100%;
    min-width: 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 54px 0 44px 0;
}
.testimonials-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(23,23,23, 0.05);
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 370px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(20,67,99, .11);
  transform: scale(1.017);
  z-index: 2;
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: var(--gray-600);
  font-family: 'Montserrat', Arial, sans-serif;
}
.star-rating {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-top: 2px;
}
.star-rating img {
  width: 18px; height: 18px;
  filter: grayscale(0);
}

@media (max-width: 620px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0; max-width: 100%;
  }
}

/* --- ABOUT, LEGAL, ETC --- */
.about-section, .about-highlights, .values, .numbers, .legal-section, .confirmation-section, .faq-section, .opening-hours-section, .contact-section {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* --- ACCORDION FAQ --- */
.accordion, .accordion-faq {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 18px 0;
}
.accordion-item, .accordion-faq .accordion-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 17px 14px 17px;
  box-shadow: 0 2px 6px 0 rgba(20,20,20,0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item h3, .accordion-faq .accordion-item h2 {
  font-size: 1.09rem;
  cursor: pointer;
  color: var(--primary);
  margin-bottom: 6px;
}
.accordion-item .answer { display: block; }

@media (max-width: 540px){
  .accordion, .accordion-faq {
    gap: 16px;
  }
  .accordion-item, .accordion-faq .accordion-item {
    padding: 14px 7px 10px 10px;
  }
}

/* --- CTA SECTIONS --- */
.cta-section {
  background: linear-gradient(95deg,#fff 82%,#e5eaf1 100%);
  margin-bottom: 60px;
  padding: 40px 0 44px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta-section .cta-primary {
  margin: 22px 0 0 0;
}
@media (max-width: 540px) {
  .cta-section {
    padding: 32px 0 28px 0;
  }
}

/* --- TEXT/IMAGE SECTIONS, VERTICAL ALIGNMENTS --- */
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- COMPANY DETAILS, MAP --- */
.company-details, .map-embed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.company-details div, .map-embed span {
  display: flex;
  align-items: center;
  font-size: 1.09rem;
  color: var(--primary);
  gap: 12px;
}
.company-details img, .map-embed img {
  width: 22px;
}

/* --- FOOTER --- */
footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  padding: 38px 0 16px 0;
  width: 100%;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray-800);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: .97rem;
}
.footer-contact img {
  width: 18px;
}
.footer-copy {
  margin-top: 12px;
  font-size: .94rem;
  color: var(--gray-600);
}
@media (max-width: 620px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 14px;
  }
}

/* --- FORMS (if present) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
  width: 100%;
  margin-bottom: 14px;
  transition: border .2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-primary);
  outline: none;
}

/* --- MODAL AND DIALOGS (COOKIE CONSENT) --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gray-800);
  color: var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  gap: 34px;
  z-index: 1200;
  box-shadow: 0 -4px 18px 0 rgba(23,23,23,0.10);
  font-size: 1.03rem;
  transition: transform 0.25s cubic-bezier(.32,.72,.52,.96);
  transform: translateY(0);
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button {
  border-radius: var(--radius);
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  box-shadow: none;
  transition: background .22s, color .16s;
  margin: 0 3px;
}
.cookie-consent-banner button.accept {
  background: var(--brand-accent);
  color: var(--gray-800);
  border-color: var(--brand-accent);
}
.cookie-consent-banner button.accept:hover, .cookie-consent-banner button.accept:focus {
  background: var(--secondary);
  color: var(--brand-primary);
  border-color: var(--secondary);
}
.cookie-consent-banner button.reject {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: rgba(255,255,255,.12);
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}
/* Cookie Settings Button */
.cookie-consent-banner button.settings {
  border-color: var(--brand-primary);
  color: var(--brand-accent);
  background: transparent;
}
.cookie-consent-banner button.settings:hover {
  background: var(--brand-accent);
  color: var(--gray-800);
}
@media (max-width: 680px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 4px;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,23,23,0.68);
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  transition: opacity 0.21s cubic-bezier(.32,.72,.52,.96);
  opacity: 1;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 8px 44px 0 rgba(0,0,0,0.18);
  padding: 34px 28px 28px 28px;
  min-width: 340px; max-width: 97vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.82rem;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 4;
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.11rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-100);
  border-radius: 6px;
  padding: 12px;
}
.cookie-category .category-label strong{
  color: var(--brand-primary);
}
.cookie-toggle {
  width: 46px; height: 24px;
  background: var(--gray-300);
  border-radius: 16px;
  position: relative;
}
.cookie-toggle input[type='checkbox'] {
  width: 46px; height: 24px;
  margin: 0;
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  z-index: 2;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #bbbdbe;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input[type='checkbox']:checked ~ .slider {
  left: 24px;
  background: var(--brand-accent);
}
.cookie-category .always-on {
  font-size: .92rem;
  color: var(--gray-600);
  font-style: italic;
}
@media (max-width: 540px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 16px 8px 14px 14px;
  }
}

/* --- MICRO-INTERACTIONS, HOVERS ETC --- */
button, .cta-primary, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: background .18s, color .18s, border-color .14s, box-shadow .18s, transform .19s;
}
a:active, button:active {
  transform: scale(.96);
}

/* --- LAYOUT PATTERNS FROM BRIEF --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius); box-shadow: var(--shadow); }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}
.card-content { display: flex; flex-direction: column; justify-content: center; }

/* --- SPACING, GAPS, HIERARCHY --- */
main > section, .main-section {
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  main > section, .main-section {
    margin-bottom: 34px;
  }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 7px;
  background: var(--gray-200);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 6px;
}

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }
.center { justify-content: center; align-items: center; }

/* --- FOCUS OUTLINE ACCESSIBILITY --- */
:focus-visible {
  outline: 2.5px solid var(--brand-accent);
  outline-offset: 1.5px;
}

/* --- PRINT STYLES --- */
@media print {
  header, nav, .mobile-menu, .footer-nav, .footer-contact, .cookie-consent-banner {
    display: none !important;
  }
  body, main {
    background: #fff !important;
    color: #181818;
  }
}
