/* --- CSS RESET & NORMALIZE --- */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #224257;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #224257;
  margin: 0 0 16px 0;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-top: 28px; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p {
  margin: 0 0 16px 0;
  color: #224257;
  font-size: 1.125rem;
}
strong {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
a {
  color: #224257;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.20s;
}
a:hover, a:focus {
  color: #709FB0;
  outline: none;
}

ul, ol {
  padding-left: 20px;
  margin: 0 0 16px 0;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
li {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

blockquote {
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 4px solid #224257;
  font-style: italic;
  color: #224257;
  font-size: 1.15rem;
}

button, .btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: #224257;
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 14px 32px;
  font-size: 1.05rem;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 10px rgba(34, 66, 87, 0.06);
  display: inline-block;
}
button:active, .btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:hover, .btn-primary:focus {
  background: #709FB0;
  color: #224257;
  box-shadow: 0 4px 16px rgba(34,66,87,.12);
  text-decoration: none;
  outline: none;
}

.btn-secondary {
  background: #709FB0;
  color: #224257;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
  margin-right: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #224257;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #224257;
  border: 2px solid #224257;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  text-transform: uppercase;
}
.btn-outline:hover, .btn-outline:focus {
  background: #224257;
  color: #fff;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  border-bottom: 2px solid #F7EFEA;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
header a img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  color: #224257;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: border .15s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #709FB0;
  border-bottom: 2.5px solid #709FB0;
}
.main-nav .btn-primary {
  margin-left: 18px;
}

/* Hamburger button */
.mobile-menu-toggle {
  background: #224257;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
  z-index: 130;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #709FB0;
  color: #224257;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #224257;
  box-shadow: 0 0 12px rgba(34,66,87,0.14);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.72,-0.23,.4,1.44);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 2px 0 24px rgba(34,66,87,0.11);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  margin: 28px 0 24px 24px;
  align-self: flex-start;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1.4px;
  padding: 10px 0;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7EFEA;
  border-bottom: 2px solid #F7EFEA;
}

/* Hide nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO --- */
.hero {
  background: #F7EFEA;
  position: relative;
  padding: 0;
  margin-bottom: 0;
}
.hero .container {
  min-height: 360px;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  color: #224257;
  font-size: 2.7rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.hero p {
  color: #224257;
  font-size: 1.18rem;
  max-width: 650px;
}

/* --- GENERAL SECTION & LAYOUT SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.cta-block {
  background: #224257;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(34,66,87,.10);
  color: #fff !important;
  text-align: center;
  padding: 48px 18px;
  margin-top: 36px;
  gap: 18px;
}
.cta-block h2, .cta-block p {
  color: #fff;
}
.cta-block .btn-primary {
  margin: 18px auto 0 auto;
}

/* --- FLEX UTILITY LAYOUT CLASSES (FLEXBOX ONLY) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(112, 159, 176, 0.15);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
}

.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 28px;
  margin-bottom: 28px;
  background: #F7EFEA;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(112,159,176,0.09), 0 1px 2px rgba(34,66,87,0.04);
}
.testimonial-card blockquote {
  border-color: #709FB0;
  font-size: 1.1rem;
  color: #224257;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #224257;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 12px;
}
.testimonial-card p {
  margin: 0 0 0 12px;
  color: #224257;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* --- CUSTOM GRID-LIKE FLEX LAYOUTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(112,159,176,0.09);
  padding: 32px 28px 28px 28px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0;
}
.feature-grid img {
  height: 44px;
  width: 44px;
}
.feature-grid h3 {
  color: #224257;
  font-size: 1.2rem;
  font-weight: 700;
}
.feature-grid p {
  color: #224257;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.service-list > div {
  background: #F7EFEA;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(112,159,176,0.07);
  padding: 24px 20px 20px 20px;
  flex: 1 1 230px;
  min-width: 190px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-grid > div {
  background: #F7EFEA;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(112,159,176,0.07);
  padding: 28px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: #F7EFEA;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(112,159,176,0.07);
  padding: 28px 22px 18px 22px;
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 510px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.confirmation {
  background: #F7EFEA;
  border-radius: 16px;
  padding: 44px 22px;
  margin: 40px 0 0 0;
  text-align: center;
  box-shadow: 0 2px 12px rgba(112,159,176,0.13);
  gap: 14px;
}

/* --- FOOTER --- */
footer {
  background: #224257;
  color: #fff;
  padding: 48px 0 32px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.footer-brand img {
  height: 40px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  color: #F7EFEA;
}
.footer-links a {
  color: #F7EFEA;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #709FB0;
}
.footer-contact {
  color: #F7EFEA;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-contact img {
  vertical-align: bottom;
  margin-right: 7px;
  height: 20px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #224257;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 24px 22px;
  gap: 16px;
  box-shadow: 0 -2px 20px rgba(34,66,87,0.20);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.35s, transform 0.40s cubic-bezier(.71,-0.18,.27,1.46);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 0 0;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cookie-banner .btn-primary {
  min-width: 140px;
  margin-right: 0;
}
.cookie-banner .btn-secondary {
  background: #F7EFEA;
  color: #224257;
  min-width: 140px;
  border: none;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #709FB0;
  color: #fff;
}
.cookie-banner .btn-outline {
  border: 2px solid #F7EFEA;
  color: #fff;
  background: transparent;
  min-width: 146px;
}
.cookie-banner .btn-outline:hover, .cookie-banner .btn-outline:focus {
  background: #F7EFEA;
  color: #224257;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 300;
  background: #fff;
  color: #224257;
  padding: 38px 24px 28px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(34,66,87,0.25);
  transform: translate(-50%,-50%) scale(.98);
  min-width: 320px;
  max-width: 92vw;
  display: none;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.active {
  display: flex;
  animation: cookie-modal-fade-in .23s cubic-bezier(.7,0,1,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; transform: translate(-50%,-46%) scale(.96); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: #224257;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  padding: 14px 0 0 0;
}
.cookie-modal label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
}
.cookie-toggle {
  appearance: none;
  width: 32px; height: 16px;
  background: #709FB0;
  border-radius: 30px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .22s;
}
.cookie-toggle:checked {
  background: #224257;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  background: #fff;
  width: 12px; height: 12px;
  border-radius: 50%;
  transition: left 0.22s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn-primary {
  margin: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1050px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero .container { padding: 36px 10px; }
  .section { margin-bottom: 36px; padding: 30px 8px; }
  .feature-grid { gap: 16px; }
  .feature-grid li {
    min-width: 156px;
    padding: 20px 10px 10px 10px;
  }
  .service-list,
  .service-grid,
  .faq-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .cta-block { padding: 32px 6px; margin-top: 20px; }
  .testimonial-card {
    padding: 14px 8px;
    border-radius: 10px;
    margin-bottom: 16px;
  }
  .content-wrapper { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-modal { min-width: unset; width: 96vw; }
}
@media (max-width:500px) {
  .footer-contact span { font-size: 0.95rem; }
  .footer-brand { font-size: 1.1rem; }
}

/* --- MISC: VISUAL EFFECTS & MICRO-INTERACTIONS --- */
.card, .feature-grid li, .service-list > div, .service-grid > div, .faq-list > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-grid li:hover, .service-list > div:hover, .service-grid > div:hover, .faq-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(112,159,176,0.19);
  transform: translateY(-3px) scale(1.018);
  z-index: 2;
}

.btn-primary, .btn-secondary, .btn-outline {
  transition: background 0.22s, color 0.22s, box-shadow 0.14s;
}

::-webkit-input-placeholder { color: #709FB0; opacity: 1; }
::-moz-placeholder { color: #709FB0; opacity:1; }
:-ms-input-placeholder { color: #709FB0; opacity:1; }
::placeholder { color: #709FB0; opacity:1; }

/* --- FORMS: DEFAULT STYLING IF USED --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #709FB0;
  background: #FAFAFA;
  color: #224257;
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.18s;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: #224257;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #224257;
  font-size: 1rem;
  margin-bottom: 6px;
  display: inline-block;
}

/* --- SPECIAL UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom:0 !important; }
.hide { display: none !important; }

/* --- ACCESSIBILITY OUTLINE --- */
:focus-visible {
  outline: 2px dashed #709FB0;
  outline-offset: 2px;
}

/* --- END --- */
