/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body, html { height: 100%; min-height: 100%; background: #F5F7FA; color: #222; }
img { max-width: 100%; display: block; border: none; }
a { color: #245072; text-decoration: none; font-weight: 500; transition: color 0.18s; }
a:hover, a:focus { color: #55B69D; text-decoration: underline; outline: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* TYPOGRAPHY - Elegant Classic */
:root {
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Open Sans', 'Georgia', serif;
  --color-primary: #245072;
  --color-secondary: #55B69D;
  --color-accent: #F5F7FA;
  --color-on-primary: #fff;
  --color-contrast: #111118;
  --color-light: #FDFDFB;
  --color-muted: #E9EBEF;
  --color-border: #D8D6D1;
  --color-shadow: rgba(36,80,114,0.08);
  --radius: 16px;
  --transition: 0.18s cubic-bezier(.4,0,.2,1);
}
body { font-family: var(--font-body); font-size: 16px; line-height: 1.8; background: var(--color-accent); color: var(--color-contrast); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol { margin-bottom: 18px; }
strong, b { font-weight: 700; }

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  padding-top: 24px;
  padding-bottom: 36px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Mandatory Spacing & Alignment Patterns */
.section { margin-bottom: 60px; padding: 40px 20px; background: var(--color-light); border-radius: var(--radius); box-shadow: 0 2px 8px var(--color-shadow); }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: var(--radius); box-shadow: 0 2px 10px var(--color-shadow); padding: 24px 18px; min-width: 230px; flex: 1 1 300px; transition: box-shadow var(--transition); }
.card:hover { box-shadow: 0 6px 24px rgba(36,80,114,.15); }
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; background: #fff; color: #1A202C; border-left: 6px solid var(--color-secondary); border-radius: var(--radius); box-shadow: 0 2px 10px var(--color-shadow); margin-bottom: 24px; max-width: 600px; font-style: italic; transition: box-shadow var(--transition), border-color var(--transition); }
.testimonial-card:hover, .testimonial-card:focus-within { border-color: var(--color-primary); box-shadow: 0 8px 28px rgba(36,80,114,.15); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Lists and Icons */
ul, ol {
  margin-bottom: 20px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-contrast);
}
ul li img, ol li img { width: 24px; height: 24px; }

/* Table Styling */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 6px var(--color-shadow); margin-bottom: 24px; }
thead { background: var(--color-muted); }
th, td { padding: 15px 10px; text-align: left; border-bottom: 1px solid var(--color-border); }
th { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-primary); letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: none; }

/* Buttons & CTA */
.cta-primary, .mobile-menu .cta-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 32px;
  background: var(--color-primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--color-shadow);
  text-align: center;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.cta-primary:hover, .cta-primary:focus { background: var(--color-secondary); color: #fff; box-shadow: 0 8px 24px rgba(36,80,114,.16); text-decoration: none; outline: none; }

button, .button {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 24px;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--color-primary); box-shadow: 0 4px 16px rgba(36,80,114,.10); outline: none;
}

/* HEADER & NAVIGATION */
header { background: #fff; box-shadow: 0 4px 25px rgba(36,80,114,0.03); position: sticky; top: 0; z-index: 40; }
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 32px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus { background: var(--color-muted); color: var(--color-secondary); text-decoration: none; }

header .cta-primary { margin-left: 10px; }
header img { height: 44px; }

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  transition: background var(--transition);
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: var(--color-secondary); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 32px rgba(36,80,114,0.15);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.55,0,0.2,1);
  padding: 32px 28px 24px 28px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  background: var(--color-muted);
  border-radius: 50%;
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 32px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: var(--color-secondary); color: #fff; }
.mobile-nav {
  display: flex; flex-direction: column; gap: 22px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 14px 12px;
  border-radius: 18px;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--color-secondary); color: #fff; }
.mobile-menu .cta-primary {
  display: block;
  margin-top: 36px;
}

/* HERO SECTION */
.hero {
  padding: 56px 0 48px 0;
  background: linear-gradient(90deg,#F5F7FA 70%,#E9EBEF 100%);
  margin-bottom: 54px;
}
.hero .container {
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero h1 { color: var(--color-primary); font-size: 2.8rem; font-family: var(--font-display); margin-bottom: 24px; }
.hero p { font-size: 1.22rem; color: var(--color-contrast); margin-bottom: 24px; }
.hero .cta-primary { margin-top: 5px; }

/* CTA SECTION */
.cta { margin-top: 60px; margin-bottom: 0; padding: 36px 0; background: var(--color-primary); color: #fff; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(36,80,114,0.09); }
.cta .container { display: flex; flex-direction: column; align-items: center; }
.cta .content-wrapper { align-items: center; text-align: center; }
.cta h2, .cta p { color: #fff !important; }
.cta .cta-primary { background: #fff; color: var(--color-primary) !important; margin-top: 22px; }
.cta .cta-primary:hover, .cta .cta-primary:focus { background: var(--color-secondary); color: #fff !important; }

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
}
.text-section ul, .text-section ol { margin-bottom: 10px; }

/* FAQ ACCORDION (non-interactive, style only) */
.faq-accordion {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 20px 18px;
  margin-bottom: 16px; }
.faq-accordion h2 { color: var(--color-secondary); font-size: 1.3rem; }
.faq-accordion h3 { color: var(--color-primary); font-size: 1.1rem; }
.faq-accordion p { color: var(--color-contrast); font-size: 1rem; }

/* MAP PLACEHOLDER */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-muted);
  border-radius: 14px;
  padding: 18px;
  font-size: .96rem;
  color: var(--color-contrast);
}
.map-placeholder img { width: 48px; height: 48px; }

/* FOOTER */
footer {
  background: var(--color-light);
  padding: 38px 0;
  border-top: 1px solid var(--color-border);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover { color: var(--color-secondary); }
footer img { height: 34px; margin-bottom: 12px; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info img {
  margin-right: 7px;
  width: 18px; height: 18px;
  vertical-align: middle;
}
.contact-info div { display: flex; align-items: center; color: var(--color-contrast); font-size: .98rem; }

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-contrast);
  box-shadow: 0 -2px 12px rgba(36,80,114,.13);
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 24px 20px;
  font-size: 1rem;
  flex-wrap: wrap;
  border-radius: 18px 18px 0 0;
  transition: transform 0.3s var(--transition), opacity .25s;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.cookie-banner .cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-right: 2px;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus { background: var(--color-secondary); color: #fff; }
.cookie-banner .cookie-btn.settings { background: var(--color-secondary); color: #fff; }
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus { background: var(--color-primary); }
/* Cookie modal */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(36,80,114,0.29);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 40px rgba(36,80,114,.18);
  padding: 38px 28px;
  max-width: 400px;
  min-width: 300px;
  color: var(--color-contrast);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.35s var(--transition);
  animation: cookieModalIn .37s cubic-bezier(.39,.68,.13,1.31);
}
  @keyframes cookieModalIn { from { transform: translateY(72px) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity:1; } }
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size:1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-primary);
  transform: scale(1.2);
}
.cookie-category label {
  font-family: var(--font-body); color: var(--color-contrast);
}
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 14px; justify-content: flex-end;
}
.cookie-modal .cookie-btn { min-width: 110px; margin: 0; }
.cookie-modal .cookie-btn.close { background: var(--color-border); color: var(--color-primary); }
.cookie-modal .cookie-btn.close:hover, .cookie-modal .cookie-btn.close:focus { background: var(--color-secondary); color: #fff; }
.cookie-category.essential label { font-weight: 700; }

/* MEDIA QUERIES ----------------------------- */
@media (max-width: 1160px) {
  .container { max-width: 96vw; }
  .content-grid { flex-direction: column; gap: 20px; }
}
@media (max-width: 980px) {
  .container { padding: 0 12px; }
  .footer .container, footer .container { gap: 18px; }
}
@media (max-width: 820px) {
  header .container { flex-wrap: wrap; gap: 10px; padding-top: 8px; }
  .card, .testimonial-card { min-width: 220px; }
  .footer .container, footer .container { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  html { font-size: 94.5%; }
  main { padding-top: 14px; padding-bottom: 16px; }
  .section { margin-bottom: 33px; padding: 22px 7px; }
  .content-wrapper { gap: 16px; }
  .card { flex: 1 1 98%; min-width: 90vw; padding: 14px 10px; }
  .testimonial-card { padding: 15px 9px; }
  .container { padding: 0 7px; }
  header nav, header .cta-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { padding-top: 66px; }
  .hero { padding: 30px 0 28px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; margin-bottom: 16px; }
  .cta { padding: 16px 0; }
  .cta .container { padding: 0 3vw; }
  .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  table, thead, tbody, tr, td, th { font-size: 0.97rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 18px 7px; gap: 13px; font-size: .98rem; }
  .cookie-banner .cookie-buttons { margin-left: 0; }
  .cookie-modal { padding: 22px 9px; min-width: 70vw; }
}
/* Force non-overlapping for all cards & sections */
section + section, .section + .section, .card + .card, .testimonial-card + .testimonial-card, .card + .testimonial-card, .testimonial-card + .card {
  margin-top: 28px;
}

/* MISC: Microinteractions */
.card, .testimonial-card, .faq-accordion {
  transition: box-shadow .19s cubic-bezier(.24,.6,.34,1), border-color .17s;
}
.card:focus-within, .card:focus, .testimonial-card:focus-within, .faq-accordion:focus-within {
  box-shadow: 0 8px 32px rgba(36,80,114,0.18);
  outline: 2px solid var(--color-secondary);
}

/* Accessibility improvement */
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }

/* END */
