/* --- 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,
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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F6F7F9;
  color: #23476C;
  font-family: 'Source Sans Pro', Arial, 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 {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* --- SOFT PASTEL COLOR PALETTE (with brand) --- */
:root {
  --brand-primary: #23476C;
  --brand-secondary: #F6F7F9;
  --brand-accent: #C69434;
  --brand-accent-dark: #967018;
  --pastel-blue: #c5d8ed;
  --pastel-pink: #f8e0e9;
  --pastel-lilac: #e6e5fa;
  --pastel-mint: #d2f1eb;
  --pastel-yellow: #fef6e0;
  --pastel-green: #e0f7f1;
  --pastel-grey: #E8EEF3;
  --shadow: 0 4px 16px 0 rgba(49, 84, 128, 0.06);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  line-height: 1.17;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, dd {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.content-wrapper ul {
  padding-left: 24px;
}

a.cta,
button.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--pastel-lilac) 0%, var(--pastel-blue) 100%);
  color: var(--brand-primary);
  border-radius: 30px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  border: none;
  margin-top: 16px;
  transition: background 0.2s, box-shadow 0.2s, color 0.16s;
  outline: none;
}
a.cta:hover, a.cta:focus, button.cta:hover, button.cta:focus {
  background: linear-gradient(90deg, var(--pastel-mint) 0%, var(--pastel-pink) 100%);
  color: var(--brand-accent-dark);
  box-shadow: 0 6px 18px 0 rgba(49,84,128,.13);
}


/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features-grid,
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-lilac);
  border-radius: 22px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  min-width: 250px;
  flex: 1 1 260px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pastel-blue);
  box-shadow: 0 2px 14px 0 rgba(49, 84, 128, 0.10);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 22px;
  color: #23314C;
  font-size: 1.07rem;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--brand-primary);
  font-weight: 600;
  opacity: .72;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-mint);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px 0 rgba(49, 84, 128, 0.06);
  min-width: 210px;
  flex: 1 1 220px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(49,84,128,0.16);
  background: var(--pastel-yellow);
}
.project-card {
  background: var(--pastel-green);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(49, 84, 128, 0.09);
  padding: 20px 22px;
  margin-bottom: 20px;
  min-width: 200px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s;
}
.project-card h3 {
  margin-bottom: 10px;
  color: var(--brand-primary);
}
.project-card ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.project-card:hover {
  box-shadow: 0 8px 30px 0 rgba(49,84,128,0.15);
  background: var(--pastel-lilac);
}

.team-highlight {
  background: var(--pastel-yellow);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 16px;
  box-shadow: 0 1px 6px 0 rgba(49, 84, 128, 0.07);
}

.address-block, .phone-block, .email-block, .opening-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pastel-grey);
  border-radius: 14px;
  padding: 13px 16px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.address-block img,
.phone-block img,
.email-block img,
.opening-hours img {
  width: 20px; height: 20px; opacity: 0.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--brand-primary);
}
.contact-details img {
  width: 20px;
  opacity: 0.75;
  vertical-align: middle;
}

.footer-nav, .footer-legal, .footer-social, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav {
  gap: 24px;
  font-size: 1.07rem;
  margin-top: 20px;
}
.footer-legal a {
  font-size: .99rem;
  color: var(--brand-primary);
}
.footer-contact div {
  gap: 10px;
  display: flex;
  align-items: center;
  font-size: .98rem;
}
.footer-contact img {
  width: 20px;
  opacity: .7;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  opacity: .94;
  transition: opacity .17s;
}
.footer-social a:hover img {
  opacity: 1;
}
footer {
  background: linear-gradient(90deg, var(--pastel-lilac), var(--pastel-mint));
  color: var(--brand-primary);
  padding: 38px 0 24px 0;
  margin-top: 32px;
  font-size: 1.02rem;
}
footer .container {
  flex-direction: column;
}
footer a:hover, footer a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
}

.hero {
  background: linear-gradient(120deg, var(--pastel-pink) 0%, var(--pastel-blue) 100%);
  border-radius: 0 0 38px 38px;
  padding: 56px 0 48px 0;
  margin-bottom: 44px;
  box-shadow: 0 10px 32px 0 rgba(49,84,128,0.09);
}
.hero h1, .hero h2 {
  color: var(--brand-primary);
  text-shadow: 0 2px 12px rgba(200,170,210,0.08);
}
.hero p {
  font-size: 1.17rem;
  color: #415f7d;
  max-width: 650px;
  margin-bottom: 24px;
}

.confirmation {
  background: linear-gradient(120deg, var(--pastel-mint) 0%, var(--pastel-yellow) 100%);
  border-radius: 32px;
  margin-top: 48px;
  box-shadow: var(--shadow);
  padding: 54px 0 54px 0;
  text-align: center;
}
.confirmation h1 {
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.confirmation p {
  color: #415f7d;
  margin-bottom: 20px;
}

.embedded-map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--pastel-green);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  color: var(--brand-primary);
  font-size: 1.04rem;
}


/* --- NAVIGATION: Desktop & Mobile --- */
header {
  background: #fff6ff;
  box-shadow: 0 2px 12px 0 rgba(49,84,128,0.12);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 16px 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav .cta {
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 1rem;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(49,84,128,0.09);
  transition: background 0.23s, color 0.17s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--brand-accent-dark);
  color: #fff6ec;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  color: var(--brand-primary);
  border-radius: 46px;
  padding: 5px 13px;
  border: 2px solid var(--pastel-blue);
  margin-left: 12px;
  transition: background 0.18s, border 0.16s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  background: var(--pastel-lilac);
  border-color: var(--brand-accent);
}

/* Hide mobile nav by default */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #fff6ff 40%, #ebfaf7 100%);
  box-shadow: 0 8px 32px 0 rgba(49, 84, 128, 0.18);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,.01,.47,1.04);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  border-radius: 31px;
  margin: 26px 26px 10px 0;
  padding: 3px 16px 3px 12px;
  border: 2px solid var(--pastel-blue);
  transition: background 0.12s, border 0.13s;
}
.mobile-menu-close:focus {
  background: var(--pastel-lilac);
  border-color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 0 42px;
}
.mobile-nav a {
  font-size: 1.21rem;
  color: var(--brand-primary);
  padding: 12px 0 12px 2px;
  border-radius: 12px;
  transition: background .13s, color .16s;
  min-width: 100px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--brand-accent-dark);
}

/* Desktop nav hiding burger */
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- SPACING AND SECTION RULES --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  section {
    padding: 24px 0 30px 0;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 0 26px 0;
    margin-bottom: 22px;
    border-radius: 0 0 22px 22px;
  }
  .confirmation {
    padding: 32px 0;
    border-radius: 18px;
    margin-top: 22px;
  }
}

/* FLEX WRAP for card and feature containers */
.features-grid, .project-cards, .card-container, .content-grid {
  flex-direction: column;
}
@media (min-width: 641px) {
  .features-grid, .project-cards, .card-container, .content-grid {
    flex-direction: row;
  }
}

/* Adaptive for testimonial and text-image */
.text-image-section {
  flex-direction: column;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .feature-item, .project-card, .testimonial-card, .team-highlight, .address-block, .embedded-map {
  transition: box-shadow 0.19s, background 0.18s, transform 0.13s;
}
.card:hover, .project-card:hover {
  box-shadow: 0 8px 24px 0 rgba(49,84,128,.11);
  background: var(--pastel-yellow);
}

/* Text links hover */
.content-wrapper a:not(.cta):hover,
.content-wrapper a:not(.cta):focus {
  color: var(--brand-accent-dark);
  text-decoration: underline;
}

/* Lists with icon images (footer, contact) spacing */
.footer-contact > div,
.contact-details > li {
  gap: 10px;
  display: flex;
  align-items: center;
}

/* --- FORMS & BUTTONS --- */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #f7fcfd;
  border-radius: 12px;
  border: 1px solid var(--pastel-blue);
  width: 100%;
  font-size: 1.05rem;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-accent);
  background: var(--pastel-mint);
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 22px;
  padding: 12px 30px;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(49,84,128,0.08);
  border: none;
  font-size: 1rem;
  transition: background 0.15s, color 0.16s;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: var(--brand-accent-dark);
  color: #fff6ec;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-yellow));
  color: var(--brand-primary);
  width: 100%;
  z-index: 2500;
  box-shadow: 0 -2px 16px 0 rgba(49,84,128,0.10);
  padding: 22px 16px 16px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1.01rem;
  border-radius: 18px 18px 0 0;
  transition: transform 0.33s cubic-bezier(.71,0,.49,1.23), opacity .21s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 250px;
  color: var(--brand-primary);
  font-size: 1.08rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 12px;
}
.cookie-banner .cookie-accept {
  background: var(--brand-accent);
  color: #fff;
  border-radius: 18px;
  border: none;
  padding: 9px 23px;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--brand-accent-dark);
}
.cookie-banner .cookie-reject {
  background: var(--pastel-pink);
  color: var(--brand-primary);
  border: none;
  border-radius: 18px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--brand-accent-dark);
  border-radius: 16px;
  border: 2px solid var(--brand-accent);
  padding: 9px 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.13s, color 0.18s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--pastel-yellow);
  color: var(--brand-primary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2600;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(49, 84, 128, 0.25);
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.active {
  display: flex;
  pointer-events: all;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: linear-gradient(120deg, #fafaff 70%, #e9f7f3 100%);
  padding: 42px 34px 30px 34px;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(49,84,128,.16);
  max-width: 440px;
  min-width: 240px;
  width: 90%;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px; top: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--brand-primary);
  border-radius: 22px;
  padding: 1px 8px 1px 8px;
  transition: background 0.13s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: var(--pastel-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eee;
  border-radius: 18px;
  transition: background .18s;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--brand-accent);
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-modal .cookie-accept:hover {
  background: var(--brand-accent-dark);
}

@media (max-width: 700px) {
  .cookie-modal .cookie-modal-content {
    padding: 24px 8px 20px 8px;
  }
}

/* Always enabled (gray text) */
.cookie-category.cookie-essential label {
  color: #789;
  opacity: 0.88;
}
.cookie-category.cookie-essential .switch {
  pointer-events: none;
  opacity: 0.50;
}

/* --- MEDIA QUERIES (Responsive) --- */
@media (max-width: 1023px) {
  .footer-nav, .footer-legal, .footer-social, .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .hero {
    padding: 30px 0 24px 0;
    border-radius: 0 0 16px 16px;
  }
  .features-grid, .project-cards {
    flex-direction: column !important;
    gap: 15px;
  }
  .feature-item, .project-card {
    min-width: 0;
    padding: 16px 11px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px 10px;
    gap: 8px;
  }
  .address-block, .phone-block, .email-block, .opening-hours {
    padding: 10px 8px;
    font-size: .96rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 16px 6px;
  }
  .footer-social a img {
    width: 21px;
    height: 21px;
  }
}

/* --- VISUAL ENHANCEMENTS (SOFT PASTEL THEME) --- */
.card, .feature-item, .project-card, .testimonial-card, .team-highlight, .confirmation, .embedded-map {
  box-shadow: 0 4px 16px 0 rgba(200,210,250,0.07);
  border-radius: 19px;
}

/* --- DL FAQ STYLING --- */
dt {
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 10px;
  font-size: 1.05rem;
}
dd {
  margin-left: 10px;
  color: #4e5e76;
  font-size: .97rem;
  margin-bottom: 10px;
}

/* --- EMBLEM STYLING ON AWARDS --- */
ul li img {
  width: 25px;
  margin-right: 9px;
  vertical-align: sub;
  opacity: .86;
}

/* --- ACCESSIBILITY/FOCUS OUTLINES --- */
a:focus,
button:focus {
  outline: 2px dashed var(--brand-accent-dark);
  outline-offset: 2px;
}

/* --- Z-Index Fixes --- */
.mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 3200;
}