/* ===== 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 {
  scroll-behavior: smooth;
}
body {
  background: #F6F8FA;
  color: #1b232e;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #205375; outline-offset: 2px; }

/* ===== IMPORT GOOGLE FONTS SAFELY ===== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
}

/* ===== GEOMETRIC STRUCTURED THEME ROOTS ===== */
:root {
  --primary: #205375;
  --primary-hover: #173b56;
  --secondary: #56c596;
  --secondary-hover: #3b946e;
  --accent: #ffffff;
  --bg-hero: #f6f8fa;
  --text-main: #1b232e;
  --text-dark: #1b232e;
  --text-light: #ffffff;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 36px;
  --shadow-card: 0 4px 16px rgba(32,83,117,0.07);
  --shadow-elevated: 0 6px 24px rgba(32,83,117,0.15);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===== GENERAL CONTAINER, SECTION, AND LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
}

p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1rem;
}
p.subheadline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
}
ul, ol {
  margin: 1rem 0 1.5rem 2rem;
  line-height: 1.8;
}
li {
  margin-bottom: 0.5rem;
}
strong {
  font-weight: 600;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(32,83,117,0.08);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  display: block;
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: var(--border-radius-sm);
  position: relative;
  transition: background .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.main-nav .btn-primary {
  margin-left: 14px;
  padding: 10px 26px;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--accent);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--accent);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,.1,.8,1.2);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.25rem;
  padding: 14px 36px 14px 36px;
  border-radius: 0;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1080px){
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px){
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px){
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  min-height: 340px;
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  box-shadow: 0 2px 16px rgba(32,83,117,0.09);
  margin-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  font-size: 3rem;
  color: var(--primary);
}
.hero .subheadline {
  color: var(--secondary);
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  .hero {
    min-height: 200px;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    margin-bottom: 36px;
    padding: 30px 0 36px 0;
  }
  .hero .container {
    padding: 0 10px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ===== FEATURE GRID, FLEX ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  background: var(--accent);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 24px 20px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 320px;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: drop-shadow(0 1px 2px rgba(32,83,117,0.10));
}
@media (max-width: 900px){
  .feature-grid {
    gap: 16px;
  }
  .feature {
    min-width: 165px;
    max-width: 90%;
    flex: 1 1 160px;
    padding: 20px 10px 18px 10px;
  }
}
@media (max-width: 600px){
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature {
    max-width: 100%;
    min-width: 0;
  }
}

/* ===== CARD, TEASERS FLEX ===== */
.card-container, .card-grid, .offer-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.card, .offer-teasers > div {
  background: var(--accent);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  padding: 24px 18px 20px 18px;
  flex: 1 1 220px;
  max-width: 330px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.offer-teasers > div h3 {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.offer-teasers > div a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  text-decoration: underline;
  transition: color .2s;
}
.offer-teasers > div a:hover, .offer-teasers > div a:focus {
  color: var(--secondary);
}
@media (max-width: 900px){
  .card-container, .card-grid, .offer-teasers {
    gap: 14px;
  }
}
@media (max-width: 600px){
  .card-container, .card-grid, .offer-teasers {
    flex-direction: column;
    gap: 12px;
  }
  .card, .offer-teasers > div {
    max-width: 100%;
    min-width: 0;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #f7fafc;
  border: 2.5px solid var(--secondary);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 8px rgba(32,83,117,0.07);
  margin-bottom: 20px;
  margin-top: 8px;
  max-width: 600px;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--primary);
}
@media (max-width: 600px){
  .testimonial-card {
    padding: 16px 12px;
    margin-bottom: 14px;
  }
}

/* ===== GEOMETRIC VISUAL ELEMENTS (e.g. Buttons, Cards) ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 12px 36px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .17s;
  box-shadow: 0 2.5px 10px rgba(32,83,117,0.11);
  min-width: 160px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(86,197,150,0.19);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-md);
  padding: 10px 26px;
  margin-right: 10px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ===== FLEXBOX UTILITY PATTERNS ===== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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){
  .content-grid, .card-container { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 22px; }
}

/* ===== ADDRESS BLOCK, MAP, CONTACT DETAILS ===== */
.address-block, .contact-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.address-block img {
  width: 34px;
  height: 34px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.map-snippet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f6f8fa;
  border-radius: var(--border-radius-sm);
  padding: 14px 14px 14px 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(32,83,117,0.07);
}
.map-snippet img {
  width: 44px;
  height: 44px;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-bottom: 8px;
}
.social-links a img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: box-shadow 0.15s, filter 0.2s;
  box-shadow: 0 2px 8px rgba(32,83,117,0.06);
  background: var(--accent);
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(0.9) saturate(1.3);
  box-shadow: 0 6px 18px rgba(86,197,150,0.17);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 26px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.18s;
  text-decoration: underline;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
}
footer address {
  color: var(--accent);
  font-style: normal;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
footer p {
  font-size: 0.96rem;
  color: #e9eef3;
}
@media (max-width: 768px){
  .footer-nav {
    gap: 12px;
  }
  footer {
    padding: 24px 0 18px 0;
    margin-top: 36px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 22px 16px;
  box-shadow: 0 -2px 14px rgba(32,83,117,0.15);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.35s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner p {
  margin: 0;
  color: var(--accent);
  max-width: 540px;
}
.cookie-banner .cookie-controls {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  font-size: 0.98rem;
  min-width: 130px;
  padding: 8px 22px;
  border-radius: var(--border-radius-md);
}
.cookie-settings-btn {
  background: none;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-family: var(--font-display);
  font-size: 0.97rem;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 8px;
  transition: background .16s, color .16s, border-color .16s;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 680px){
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-controls {
    width: 100%;
    gap: 8px;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,83,117,.58);
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.20s;
}
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--border-radius-md);
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 28px rgba(32,83,117,0.22);
  padding: 28px 34px 24px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1.07rem;
  margin: 24px;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 23px;
  height: 23px;
}
.cookie-modal .cookie-toggle-label {
  font-family: var(--font-body);
  font-size: 1.03rem;
}
.cookie-modal .btn-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 1rem;
  min-width: 120px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.45rem;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--secondary);
}
@media (max-width: 500px){
  .cookie-modal {
    min-width: 0;
    width: 95vw;
    padding: 16px 11px 14px 11px;
    font-size: 0.97rem;
  }
}

/* ===== ANIMATIONS ===== */
.mobile-menu,
.cookie-modal-overlay {
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.mobile-menu {
  will-change: transform;
}
.mobile-menu.open {
  animation: slideInMenu .4s cubic-bezier(0.68,-0.25,0.48,1.12);
}
@keyframes slideInMenu {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  height: 13px;
  width: 7px;
  background: #f5fafc;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}

/* ===== FORM ELEMENTS (if any, for completeness) ===== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid #bddcda;
  border-radius: var(--border-radius-sm);
  padding: 8px 14px;
  margin-bottom: 10px;
  transition: border .19s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}
.button, button {
  font-family: var(--font-display);
}

/* ===== MISC GEOMETRIC/BLOCK ELEMENTS ===== */
hr {
  border: none;
  border-top: 2.5px solid var(--secondary);
  margin: 32px 0;
  width: 70px;
  border-radius: 8px;
}

/* ===== Z-INDEX LAYERS ===== */
header { z-index: 1000; }
.mobile-menu { z-index: 3000; }
.mobile-menu-close { z-index: 3050; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10200; }

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 420px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  .section { padding: 12px 2px; }
  .card, .offer-teasers>div { padding: 10px 4px; }
}
