/* ===== 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, 
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;
}
html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #193153;
  background: #fff;
  font-size: 1rem;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #193153;
  outline-offset: 2px;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #193153;
  --primary-rgb: 25,49,83;
  --secondary: #a9bacc;
  --accent: #f7c873;
  --white: #ffffff;
  --light-bg: #f7f9fc;
  --border: #e5e8ed;
  --shadow: 0 2px 8px rgba(25,49,83,0.06);
  --shadow-card: 0 4px 20px rgba(25,49,83,0.07);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
  max-width: 660px;
  color: #2a3650;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.9em;
  color: var(--secondary);
}

/* ===== LAYOUT & UTILS ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(25,49,83,0.09);
}
.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;
  background: var(--light-bg);
  padding: 20px 28px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  color: #222e42;
  min-width: 0;
}
.testimonials-section .testimonial-card {
  /* Specific context - keep spacing */
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid li {
  flex: 1 1 220px;
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 32px 18px 22px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.services-list li {
  color: var(--primary);
  background: var(--light-bg);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.12s;
}
.services-list li a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.17s;
}
.services-list li a:hover {
  color: var(--accent);
}

/* Team cards */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 20px 22px 20px;
  flex: 1 1 240px;
  min-width: 225px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* FAQ Accordion (minimal style) */
.faq-accordion h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color .18s;
  color: var(--primary);
}
.faq-accordion h3:hover {
  color: var(--accent);
}
.faq-accordion p {
  margin-bottom: 12px;
  color: #25354a;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  min-height: 84px;
  background: var(--light-bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px;
  margin-bottom: 16px;
  color: #384b66;
  font-size: 1rem;
  border: 1px solid var(--border);
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--light-bg);
  padding: 60px 0 54px 0;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.hero p {
  color: #2a3650;
  font-size: 1.125rem;
  max-width: 700px;
}

/* ===== HEADER & NAV ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 101;
  width: 100%;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 74px;
  gap: 20px;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 40px;
  flex: 1 1 auto;
}
.main-nav a {
  color: var(--primary);
  padding: 10px 2px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.13s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--light-bg);
  color: var(--accent);
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 12px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(25,49,83,0.05);
  transition: background 0.18s, color 0.18s, transform 0.13s;
  margin-left: 24px;
  outline: none;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px) scale(1.02);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  margin-left: 26px;
  padding: 8px 12px 8px 5px;
  border-radius: 6px;
  transition: background .16s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--light-bg);
  color: var(--accent);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
    margin-left: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
  .cta-btn {
    margin-left: 12px;
    padding: 10px 18px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,49,83,0.92);
  z-index: 500;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.5,.2,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 16px 24px 0 0;
  font-size: 2.4rem;
  color: var(--accent);
  background: transparent;
  border-radius: 6px;
  padding: 8px 10px;
  transition: background .13s, color .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--white);
  color: var(--primary);
}
.mobile-nav {
  position: relative;
  width: 90vw;
  max-width: 410px;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  margin-top: 20px;
  padding: 20px 0 24px 0;
  box-shadow: 0 6px 48px rgba(25,49,83,0.13);
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  letter-spacing: .01em;
  padding: 16px 30px 16px 30px;
  border-radius: 8px;
  margin: 0 14px 6px 14px;
  transition: background 0.13s, color 0.13s;
  font-weight: 600;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--light-bg);
  color: var(--accent);
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0 0 0 0;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding: 40px 0 32px 0;
  width: 100%;
}
.footer-bar img {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
}
.footer-bar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-bar nav a {
  color: var(--primary);
  font-size: 0.99rem;
  padding: 4px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.footer-bar nav a:hover, .footer-bar nav a:focus {
  color: var(--accent);
  background: var(--light-bg);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.5;
}
.footer-contact img {
  height: 17px;
  margin-right: 7px;
  vertical-align: -3px;
  opacity: .77;
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 18px rgba(25,49,83,0.09);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 14px 22px 14px;
  z-index: 9999;
  font-size: 1rem;
  transition: transform .34s cubic-bezier(.5,.2,.2,1), opacity .23s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__msg {
  color: var(--primary);
  max-width: 480px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  box-shadow: 0 1px 7px rgba(25,49,83,0.03);
  margin-right: 0;
  cursor: pointer;
  transition: background .17s, color .17s, transform .13s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: var(--light-bg);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dadfe5;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(25,49,83,0.45);
  align-items: center;
  justify-content: center;
  z-index: 12000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: var(--white);
  border-radius: 15px;
  max-width: 95vw;
  width: 400px;
  box-shadow: 0 10px 46px rgba(25,49,83,0.13);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  transition: transform 0.22s cubic-bezier(.5,.2,.2,1);
  transform: translateY(0);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: #13306a;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
}
.cookie-category .category-label {
  flex: 1;
}
.cookie-category.essential label {
  color: var(--primary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  width: 100%;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  font-size: 2.1rem;
  color: var(--secondary);
  border: none;
  cursor: pointer;
  transition: color .15s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-category input[disabled] {
  opacity: 0.65;
}

/* ===== SPACING UTILITIES ===== */
.mb-8 { margin-bottom: 8px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-24 { margin-bottom: 24px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-24 { margin-top: 24px!important; }
.gap-20 { gap: 20px!important; }
.gap-30 { gap: 30px!important; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-bar {
    gap: 18px;
    padding: 32px 0 18px 0;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
    padding-bottom: 20px;
  }
  .team-grid {
    gap: 16px;
  }
  .footer-contact {
    font-size: 0.96rem;
    gap: 4px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 34px 0 28px 0;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .feature-grid, .card-container, .team-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .card, .team-card {
    min-width: 0;
    width: 100%;
    padding: 20px 12px 18px 12px;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .footer-bar {
    flex-direction: column;
    gap: 10px;
    padding: 22px 0 10px 0;
    align-items: flex-start;
  }
  .footer-bar nav {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 10px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 14px 3px;
  }
  .cookie-modal {
    padding: 11vw 5vw 8vw 5vw;
    width: 94vw;
  }
  .mobile-nav a {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .hero .content-wrapper {
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    font-size: 0.99rem;
    padding: 18px 3px 17px 3px;
  }
  .cookie-banner__msg {
    max-width: none;
  }
  .cookie-banner__actions {
    gap: 7px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===== LISTS ===== */
ul, ol {
  padding-left: 18px;
  margin-bottom: 16px;
}
ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.5em;
  font-size: 1rem;
  color: var(--primary);
}
ul li img {
  margin-right: 8px;
  vertical-align: -3px;
  height: 17px;
}
ul li strong {
  color: var(--primary);
}

/* ===== BUTTONS ===== */
button, .button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 7px rgba(25,49,83,0.04);
  transition: background 0.16s, color 0.14s, transform .11s;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px) scale(1.03);
}

/* ===== MICRO-INTERACTIONS ===== */
a, .cta-btn, button {
  transition: color .16s, background .17s, box-shadow .11s;
}
a:active, .cta-btn:active, button:active {
  transform: scale(0.97);
}

/* ===== VISUAL ELEMENTS ===== */
.card, .feature-grid li, .testimonial-card, .team-card {
  transition: box-shadow .16s, border-color .14s;
}
.card:hover, .feature-grid li:hover, .team-card:hover {
  box-shadow: 0 8px 23px 0 rgba(25,49,83,0.11);
  border-color: var(--secondary);
}

/* ===== COLOR & CONTRAST ===== */
.testimonial-card,
.testimonial-card p,
.testimonial-card span,
.testimonial-card strong {
  color: #182641;
}

/* ===== SPECIALS ===== */
.hero .cta-btn {
  margin-top: 15px;
}

/* Accessibility: visibly-hidden utility */
.visually-hidden {
  border: 0;
  clip: rect(0,0,0,0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Z-index guards (needed for mobile menu/modal) */
.mobile-menu,
.cookie-modal-overlay {
  z-index: 5000;
}

/* ===== END OF CSS ===== */
