/* ========== 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 {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
ol, ul {
  list-style: none;
}
b, strong { font-weight: bold; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
}

/* ========== ROOT VARIABLES ========== */
:root {
  --color-primary: #294374;
  --color-secondary: #1D9A6C;
  --color-accent: #FAF9F6;
  --color-bg-card: #ffffff;
  --color-bg-soft: #f6f4ef;
  --color-border: #e2e1de;
  --color-muted: #848484;
  --color-dark: #191919;
  --color-shadow: rgba(41,67,116,0.07);
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
}

/* ========== BASE TYPOGRAPHY ========== */
html {
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-body);
  min-height: 100vh;
}
body {
  line-height: 1.6;
  color: var(--color-dark);
  font-family: var(--font-body);
  background: var(--color-accent);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem;   margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
.subtitle {
  color: var(--color-secondary);
  font-size: 1.18rem;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1080px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

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

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 0;
}
.logo {
  height: 48px;
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.logo img {
  height: 48px;
  aspect-ratio: 1/1;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1.08rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  position: relative;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cta-btn {
  background: var(--color-secondary);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 22px;
  margin-left: 12px;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px 0 var(--color-shadow);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 24px;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-card);
  box-shadow: 0 2px 24px 0 rgba(41,67,116,0.14);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.65,.01,.51,1.29);
  z-index: 120;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  margin: 18px 26px 8px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 125;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 14px 0 0 0;
  padding: 0 38px 36px 38px;
}
.mobile-nav a {
  padding: 16px 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: none;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ========== MAIN SECTIONS & FLEX LAYOUTS ========== */
. usp-grid, .feature-list, .card-container, .content-grid, .newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.usp-grid > div {
  background: var(--color-bg-soft);
  padding: 24px 20px;
  border-radius: 8px;
  flex: 1 1 190px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 var(--color-shadow);
}
.content-grid {
  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;
  background: var(--color-bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(41,67,116,0.10);
  margin-bottom: 22px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow 0.15s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 var(--color-shadow);
  border-left: 4px solid var(--color-primary);
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.06rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-muted);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FORMS ========== */
input[type="text"], input[type="email"], textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  border-radius: 6px;
  margin-bottom: 18px;
  color: var(--color-dark);
  transition: border 0.15s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 2px 8px 0 var(--color-shadow);
}
textarea {
  min-height: 80px;
  resize: vertical;
}
label {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: var(--color-primary);
}
.newsletter-form {
  flex-direction: row;
  gap: 14px;
  align-items: flex-end;
  margin-top: 12px;
}
.newsletter-form input[type="email"] {
  flex: 2;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-form input, .newsletter-form .cta-btn {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* ========== HERO & FEATURE SECTIONS ========== */
section {
  background: transparent;
}
ul li, .usp-grid div {
  font-size: 1.07rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul.faq-list > li {
  background: var(--color-bg-soft);
  border-radius: 7px;
  padding: 14px 20px;
  margin-bottom: 16px;
}
ul.faq-list h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.service-list h2 {
  font-size: 1.22rem;
  color: var(--color-secondary);
  margin-top: 32px;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.service-list p {
  margin-bottom: 16px;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: #E2E8F0;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

/* ========== CONTACT DETAILS ========== */
.contact-details p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}
.contact-details a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 40px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 5px;
}
.footer-brand span {
  color: #ddeaff;
  font-size: 1.02rem;
  font-family: var(--font-display);
  max-width: 230px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #cbd7f5;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  color: #f7fafc;
  font-size: 0.98rem;
  font-family: var(--font-body);
  max-width: 250px;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: invert(1) grayscale(1) brightness(1.3);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: invert(48%) sepia(35%) saturate(350%) hue-rotate(100deg) brightness(1);
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

/* ========== SPACING UTILITIES & MICRO-ANIMATIONS ========== */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.shadow {
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-container {
    padding-bottom: 12px;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-dark);
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -2px 22px 0 var(--color-shadow);
  z-index: 1050;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
  animation: slideUpBanner 0.6s;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border-radius: 5px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 500;
  padding: 7px 18px;
  border: none;
  margin-left: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 5px 0 var(--color-shadow);
}
.cookie-consent-banner button.cookie-reject {
  background: #f7fafc;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}
.cookie-consent-banner button.cookie-settings {
  background: var(--color-primary);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-consent-banner button.cookie-reject:hover, .cookie-consent-banner button.cookie-reject:focus {
  background: #ececec;
  color: var(--color-secondary);
}
.cookie-consent-modal-overlay {
  position: fixed;
  z-index: 1120;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41, 67, 116, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-consent-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px 0 var(--color-shadow);
  padding: 38px 30px 28px 30px;
  max-width: 420px;
  width: 92vw;
  font-size: 1.07rem;
  position: relative;
  animation: modalBounceIn 0.37s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalBounceIn {
  from { opacity: 0; transform: scale(0.96) translateY(36px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-consent-modal h2 {
  font-size: 1.32rem;
  font-family: var(--font-display);
  margin-bottom: 7px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e2e1de;
  border-radius: 24px;
  transition: background 0.17s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--color-secondary);
}
.cookie-slider:before {
  position: absolute; content: "";
  height: 14px; width: 14px; left: 4px; bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-consent-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-consent-modal .cookie-actions button {
  min-width: 90px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: bold;
  padding: 7px 22px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.cookie-consent-modal .cookie-actions button.cookie-cancel {
  background: #eaeaea;
  color: var(--color-dark);
  font-weight: 500;
}
.cookie-consent-modal .close-modal {
  position: absolute; top: 12px; right: 18px;
  background: none; border: none;
  font-size: 1.4rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0;
}
.cookie-consent-modal .close-modal:hover {
  color: var(--color-secondary);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
  }
  .cookie-consent-modal {
    padding: 22px 9px 18px 16px;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
}
@media (max-width: 540px) {
  .container { padding-left: 4vw; padding-right: 4vw; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  p, li { font-size: 0.98rem; }
}

/* ========== MISC ========== */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* ========== CARD HOVER LINK EFFECTS ========== */
.card a.cta-btn {
  margin-top: 16px;
}

/* ========== ANIMATIONS FOR BUTTONS ========== */
button, .cta-btn, .footer-social a img, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, filter 0.2s;
}
.card, .testimonial-card, .usp-grid > div {
  transition: box-shadow 0.19s, border 0.2s, border-color 0.17s;
}

/* === END === */
