/* --- 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FFF;
  color: #1B2957;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  flex: 1 0 auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}

/* --- BRAND TYPOGRAPHY & SCALE --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #1B2957;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #1B2957;
}
.section h2,
.content-wrapper h2 {
  margin-top: 0;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(27,41,87,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(27,41,87,0.10);
}
.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: 24px;
  background: #F1F0E6;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(27,41,87,0.07);
  margin-bottom: 20px;
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #1B2957;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #1B2957;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1F0E6;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  min-height: 320px;
  background: #fff;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #1B2957;
}

/* FEATURES SECTION */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 400;
  padding: 10px 0;
}
.features img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* CTA BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 28px;
  background: #1B2957;
  color: #FFF;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 10px 0 rgba(30,35,60,0.07);
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FF7F57;
  color: #1B2957;
  box-shadow: 0 6px 20px 0 rgba(255, 127, 87, 0.17);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 25px;
  background: #F1F0E6;
  color: #1B2957;
  border: 1.5px solid #1B2957;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FF7F57;
  color: #FFF;
  border: 1.5px solid #FF7F57;
}

/* FOOTER --- */
footer {
  background: #F1F0E6;
  margin-top: 40px;
  padding: 32px 0 0 0;
}
.footer-brand img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 1rem;
  color: #1B2957;
  max-width: 260px;
}
.footer-nav,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  margin-bottom: 0;
}
.footer-nav a {
  font-size: 1rem;
  color: #1B2957;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FF7F57;
}
.footer-contact p,
.footer-contact img {
  font-size: 1rem;
  color: #1B2957;
  vertical-align: middle;
}
.footer-social {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.18s;
}
.footer-social a:hover img {
  opacity: 1;
}
footer .content-wrapper {
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #e3e2dc;
}

/* NAVIGATION (DESKTOP & MOBILE) */
header {
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(27,41,87,0.04);
  position: relative;
  z-index: 1003;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 0 16px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1B2957;
  opacity: 0.88;
  transition: color 0.18s, opacity 0.18s;
  padding: 5px 8px;
  border-radius: 4px;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  color: #FF7F57;
  opacity: 1;
  background: #F1F0E6;
}
.main-nav .cta-primary {
  margin-left: 14px;
}
.main-nav img {
  width: 44px;
  height: 44px;
  margin-right: 14px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #1B2957;
  background: #F1F0E6;
  border-radius: 8px;
  border: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 1100;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #FF7F57;
  color: #FFF;
}

/* MOBILE MENU OVERLAY STYLES */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.51,.15,.52,1.12);
  box-shadow: 0 8px 28px 0 rgba(27,41,87,0.15);
  z-index: 1200;
  padding: 32px 28px 24px 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #1B2957;
  background: #F1F0E6;
  padding: 8px 14px 8px 8px;
  border-radius: 10px;
  align-self: flex-end;
  margin-bottom: 28px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FF7F57;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  color: #1B2957;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F0E6;
  color: #FF7F57;
}

/* --- BLOG HIGHLIGHT ARTICLE --- */
.highlight-article {
  background: #F1F0E6;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 7px 0 rgba(27,41,87,0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- STATIC POLICY LAYOUT --- */
.static-policy {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.static-policy ul {
  margin-bottom: 16px;
}
.static-policy li {
  margin-left: 24px;
  margin-bottom: 6px;
  position: relative;
  color: #1B2957;
}
.static-policy li:before {
  content: '–';
  position: absolute;
  left: -18px;
  color: #FF7F57;
}

/* --- CTA/CONFIRMATION --- */
.cta, .confirmation {
  background: #F1F0E6;
  padding-top: 34px;
  padding-bottom: 34px;
  border-radius: 20px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirmation .cta-primary {
  margin-top: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .main-nav, .footer-nav, .footer-contact, .footer-brand, .footer-social {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .hero {
    min-height: unset;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 12px;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .footer-nav,
  .footer-contact,
  .footer-brand,
  .footer-social {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 14px;
    right: 20px;
    z-index: 1100;
  }
  .hero .content-wrapper {
    align-items: flex-start;
  }
  .content-grid, .card-container, .footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .features ul {
    flex-direction: column;
    gap: 10px;
  }
  .section {
    margin-bottom: 30px;
    padding: 18px 5px;
  }
  .about .content-wrapper ul,
  .services .content-wrapper ul {
    gap: 8px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px;
  }
  .footer-social {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .map-snippet {
    padding: 10px 8px;
    gap: 8px;
    font-size: 0.98rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.34rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.08rem;
    margin-bottom: 8px;
  }
  .static-policy, .section {
    padding: 10px 1px;
  }
  .cta-primary, .cta-secondary {
    font-size: 0.85rem;
    padding: 10px 13px;
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  color: #1B2957;
  box-shadow: 0 -2px 24px 0 rgba(27,41,87,0.09);
  z-index: 1300;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 5vw 18px 5vw;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.33s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  color: #1B2957;
  font-size: 0.99rem;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  padding: 9px 22px;
  font-size: 0.99rem;
  margin: 0;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: #1B2957;
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FF7F57;
  color: #FFF;
}
.cookie-btn.reject {
  background: #F1F0E6;
  color: #1B2957;
  border: 1.5px solid #1B2957;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FF7F57;
  color: #FFF;
  border-color: #FF7F57;
}
.cookie-btn.settings {
  background: transparent;
  color: #1B2957;
  text-decoration: underline;
  border: none;
  padding: 8px 10px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #FF7F57;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 12px;
    font-size: 0.94rem;
  }
  .cookie-btn {
    font-size: 0.95rem;
    padding: 8px 13px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1350;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,41,87,0.32);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #FFF;
  color: #1B2957;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(27,41,87,0.17);
  max-width: 400px;
  width: 94vw;
  padding: 34px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1352;
  animation: modalFadeIn 0.46s cubic-bezier(.5,.18,.42,.98);
}
@keyframes modalFadeIn {
  from { opacity:0; transform: scale(0.95); }
  to   { opacity:1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #F1F0E6;
  border-radius: 10px;
  position: relative;
  transition: background 0.18s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle input {
  appearance: none;
  width: 100%;
  height: 100%;
  background: none;
  margin: 0;
  outline: none;
  border: none;
  cursor: pointer;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #1B2957;
  border-radius: 50%;
  transition: left 0.2s, background 0.15s;
}
.cookie-toggle input:checked + .slider {
  left: 20px;
  background: #FF7F57;
}
.cookie-modal .cookie-btn {
  margin-top: 13px;
}
@media (max-width:480px) {
  .cookie-modal {
    padding: 13px 7px 11px 7px;
    max-width: 98vw;
  }
}

/* --- UTILITIES --- */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* --- SCROLLBAR (minimal) --- */
::-webkit-scrollbar {
  width: 8px;
  background: #F1F0E6;
}
::-webkit-scrollbar-thumb {
  background: #dbdad2;
  border-radius: 8px;
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .testimonial-card, .highlight-article, .cta-primary, .cta-secondary, .cookie-btn {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.18s;
}
main a {
  transition: color 0.16s;
}
main a:focus-visible {
  outline: 2px solid #1B2957;
  outline-offset: 1px;
}
.card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 4px 20px 0 #FF7F5733;
}

/* --- MINIMALIST WHITE SPACE --- */
.section, .about, .services, .features, .testimonials, .static-policy, .confirmation, .cta, .hero {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .section, .about, .services, .features, .testimonials, .static-policy, .confirmation, .cta, .hero {
    margin-bottom: 32px;
  }
}

/* --- DEBUG/DEV --- */
/* Uncomment below for debug borders
* {
  outline: 1px dashed #e3e2dc;
}
*/
