/* ================= 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, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F6F8;
  color: #17455A;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== BRAND COLORS ===== */
:root {
  --primary: #17455A;
  --secondary: #F5F6F8;
  --accent: #E3B041;
  --white: #fff;
  --black: #16212e;
  --grey: #7f8da6;
}

/* ============= TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
}
h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 22px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.4rem; line-height: 1.22; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, li, dl, dd, dt {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--grey);
}
strong { font-weight: bold; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .subheadline { font-size: 1rem; }
}

/* ============ LAYOUT CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(23, 69, 90, 0.07), 0 0.5px 1.5px rgba(23, 69, 90, 0.08);
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(23, 69, 90, 0.18);
}
.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;
  background: var(--secondary);
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(23,69,90,0.06);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 25px rgba(23,69,90,0.12);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-meta {
  font-weight: 500;
  color: var(--primary);
  font-size: 0.98rem;
  margin-top: 7px;
}
.stars {
  color: var(--accent);
  margin-left: 8px;
  font-size: 1.3em;
  vertical-align: middle;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1.5px 6px rgba(23, 69, 90, 0.10);
  padding: 22px 24px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, transform 0.18s;
  min-width: 200px;
}
.feature-item img {
  width: 42px; height: 42px;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(23, 69, 90, 0.17);
  transform: translateY(-5px) scale(1.02);
}

@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  .feature-grid, .content-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 10px;
    flex-direction: column;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .testimonial-card, .feature-item {
    padding: 16px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============== HEADER & NAVIGATION =============== */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(23, 69, 90, 0.06);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 70;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.07em;
  padding: 8px 8px;
  border-radius: 7px;
  transition: background 0.19s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--white);
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 12px 32px;
  letter-spacing: 0.09em;
  box-shadow: 0 7px 24px rgba(23,69,90,0.16);
  margin-left: 18px;
  transition: background 0.19s, color 0.15s, box-shadow 0.2s, transform 0.17s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 12px 38px rgba(227,176,65,0.19)!important;
  transform: translateY(-2px) scale(1.025);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 18px;
  transition: background 0.16s, color 0.14s;
  z-index: 99;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.mobile-menu-toggle:hover {
  background: var(--secondary);
}

/* =========== MOBILE NAVIGATION =========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--white);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,1.95,.68,.99);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  box-shadow: 0 0 80px rgba(23,69,90,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  padding: 24px 24px 8px 0;
  background: none;
  font-size: 2.4rem;
  color: var(--primary);
  border: none;
  margin-right: 6px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 36px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  padding: 14px;
  border-radius: 7px;
  color: var(--primary);
  background: none;
  transition: background 0.18s, color 0.12s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--white);
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 960px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============ HERO & KEY SECTIONS =============== */
.hero {
  background: linear-gradient(95deg, var(--secondary) 70%, rgba(227,176,65,0.028) 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 38px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(23,69,90,0.08);
  font-size: 3rem;
  font-weight: 900;
  max-width: 700px;
}
.hero .subheadline {
  color: var(--black);
  max-width: 520px;
}
.hero .cta-btn {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .hero { padding: 34px 0 23px 0; margin-bottom: 13px; }
  .hero h1 { font-size: 1.5rem; }
}

/* ========== LINKS & MICRO-INTERACTIONS ========== */
.quick-link {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 12px;
  transition: color 0.13s;
  font-size: 1.08rem;
}
.quick-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ============== BLOG LIST STYLES ============== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}
.blog-list article {
  background: var(--white);
  border-radius: 13px;
  padding: 24px 22px 16px 22px;
  box-shadow: 0 0.5px 4px rgba(23, 69, 90, 0.07);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.19s;
}
.blog-list article:hover {
  box-shadow: 0 6px 19px rgba(23,69,90,0.13);
}
.categories {
  font-size: 1rem;
  color: var(--grey);
}
.categories span {
  font-weight: 600;
  color: var(--primary);
  margin-right: 8px;
}

/* ============ SECTIONS, UL, LI STYLES ============ */
ul, ol {
  list-style: disc inside;
  margin: 0 0 16px 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}
dl { margin-bottom: 18px; }
dt {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  margin-top: 10px;
}
dd {
  margin-left: 16px;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ============= SPECIAL ELEMENTS ============== */
.do-dont {
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  padding: 15px 18px;
  border-radius: 7px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 14px;
}
.map-snippet,.map-location {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--secondary);
  border-radius: 7px;
  padding: 13px 15px;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ============== FOOTER ================ */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 0 0 10px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 10px 0 10px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  transition: color 0.11s;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.97rem;
  color: var(--secondary);
}
.footer-contact img {
  height: 17px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social img {
  width: 24px; height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity 0.16s;
}
.footer-social img:hover {
  opacity: 1;
}
.footer-location-note {
  color: var(--accent);
  margin-top: 8px;
  font-size: 0.98rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 8px;
  }
}

/* =========== FORMS =========== */
input[type="text"], input[type="email"], textarea {
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--secondary);
  margin-bottom: 17px;
  transition: border 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid var(--accent);
  outline: none;
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(16,36,57,0.08);
  z-index: 2000;
  padding: 24px 30px 18px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 23px;
  transition: transform 0.5s cubic-bezier(0.42,0,0.54,1.06), opacity 0.7s;
  opacity: 1; visibility: visible;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0; visibility: hidden;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 540px;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  font-size: 1rem;
  padding: 10px 24px;
  border: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.12s, transform 0.18s;
  box-shadow: 0 2px 10px rgba(23,69,90,0.09);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 8px 11px 8px;
  }
  .cookie-banner-content {
    font-size: 0.98rem;
    max-width: 100vw;
  }
  .cookie-banner-buttons {
    gap: 7px;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,69,90,0.48);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.37s, visibility 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal {
  background: var(--white);
  border-radius: 21px;
  min-width: 290px;
  max-width: 95vw;
  padding: 34px 24px 26px 24px;
  box-shadow: 0 14px 39px rgba(23,69,90,0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 4001;
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal .category {
  margin-bottom: 7px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
}
.cookie-modal .category.essential {
  opacity: 0.64;
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 3px;
  border-radius: 50%;
  transition: background 0.13s, color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal-actions button {
  min-width: 104px;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 7px 17px 7px;
    min-width: 0;
    font-size: 0.98rem;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero, .section, .feature-item, .card, .testimonial-card, .blog-list article, .do-dont, .map-snippet, .map-location, .cta-btn {
  animation: fadeInUp 0.7s cubic-bezier(.67,.19,.27,.99);
}

/* ========== ACCESSIBILITY SUPPORT ========== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== MISC UTILITIES ========== */
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-50 { margin-bottom: 50px !important; }
.gap-24 { gap: 24px !important; }
.fw-bold { font-weight: 700 !important; }
.text-center { text-align: center !important; }
.bg-accent { background: var(--accent) !important; color: var(--white) !important; }

/* ========== RESPONSIVE ALIGNMENT ========== */
@media (max-width: 768px) {
  .content-grid, .blog-list, .card-container, .feature-grid, .footer-social { flex-direction: column !important; gap: 10px !important; }
  .testimonial-card, .map-snippet, .map-location {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ===== COLOR CONTRAST FOR TESTIMONIALS ===== */
.testimonial-card, .testimonial-content, .testimonial-card p {
  background: #F5F6F8 !important;
  color: #17455A !important;
}

/* ======= SPACING BETWEEN ALL CARDS/SECTIONS ======= */
section, .section, .card, .feature-item, .testimonial-card, .blog-list article {
  margin-bottom: 20px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* ENDS */
