/* === CSS RESET & NORMALIZATION === */
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 {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23222B;
  background: #f7f8fa;
  font-size: 16px;
  line-height: 1.6;
}
ul, ol {
  list-style: inside disc;
  padding-left: 1em;
  margin-bottom: 16px;
}
a {
  color: #2A5174;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #89A498;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* === TYPOGRAPHY SCALE & BRAND FONTS === */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: #23222B;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.1875rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.125rem;
  color: #3b4151;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
  color: #23222B;
}
blockquote {
  color: #23222B;
  font-style: italic;
  margin-bottom: 12px;
  border-left: 3px solid #89A498;
  padding-left: 18px;
  font-family: 'Playfair Display', serif;
}

/* === LAYOUT STRUCTURE === */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === HEADER & MAIN NAVIGATION === */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(35,34,43,0.05);
  border-bottom: 2px solid #23222B0D;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  position: relative;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  color: #23222B;
  padding: 6px 0 6px 0;
  transition: color 0.22s;
  border-radius: 4px;
  font-weight: 500;
  position: relative;
}
.main-nav a.cta {
  background: #2A5174;
  color: #fff;
  padding: 7px 22px;
  border-radius: 22px;
  margin-left: 16px;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(137,164,152,0.10);
  transition: background 0.18s, box-shadow 0.18s;
  border: none;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #89A498;
  color: #23222B;
  box-shadow: 0 4px 32px 0 rgba(35,34,43,0.08);
  outline: none;
}
.main-nav a:hover:not(.cta), .main-nav a:focus:not(.cta) {
  color: #2A5174;
  background: #e5ebee;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #23222B;
  background: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f0f6f9;
  color: #2A5174;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #23222B;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.84,0,.08,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 1.25em 1em 0 0;
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1120;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #89A498;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 40px 0 0 0;
  padding: 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2A5174;
  color: #D6BFA6;
}
.mobile-nav a.cta {
  background: #D6BFA6;
  color: #23222B;
  font-weight: 700;
  align-self: flex-start;
  padding: 11px 30px;
  border-radius: 99px;
  margin-top: 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a.cta:focus, .mobile-nav a.cta:hover {
  background: #fff;
  color: #2A5174;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(180deg, #f7f9fb 60%, #e9eef2 100%);
  padding: 64px 0 28px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  font-size: 2.375rem;
  color: #2A5174;
  margin-bottom: 6px;
}
.hero .cta {
  margin-top: 14px;
}

/* === CTA BUTTON === */
.cta {
  background: #2A5174;
  color: #fff !important;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  border-radius: 24px;
  padding: 10px 32px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 3px 16px 0 rgba(137,164,152,0.09);
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  border: none;
}
.cta:hover, .cta:focus {
  background: #89A498;
  color: #23222B !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px 0 rgba(35,34,43,0.09);
  outline: none;
}

/* === FEATURES/GRID SECTIONS === */
.features {
  background: #fff;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-item {
  background: #f4f5f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(137,164,152,0.03);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  border: 1px solid #e9eaea;
  position: relative;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-item h3 {
  margin-bottom: 4px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(42,81,116,0.11);
  transform: translateY(-2px) scale(1.012);
  border-color: #89A49840;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  background: #f7f8fa;
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,34,43,0.07);
  margin-bottom: 24px;
  border-left: 4px solid #2A5174;
  min-width: 0;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  color: #23222B;
  font-size: 1.04rem;
  line-height: 1.61;
  font-style: italic;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #3b4151;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 28px 0 rgba(137,164,152,0.19);
  border-left-color: #89A498;
}

/* === SERVICES/CARDS === */
.services {
  background: #fff;
}
.services ul, .services ol {
  padding-left: 1.2em;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(35,34,43,0.09);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === ABOUT & TEXT SECTIONS === */
.about {
  background: #f4f5f9;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.value-statements {
  font-style: italic;
  color: #3b4151;
}

/* === LEGAL SECTIONS === */
.legal {
  background: #fff;
  padding: 48px 0 40px 0;
}

/* === CONTACT SECTION === */
.contact {
  background: #e9eef2;
}
.contact .cta {
  margin-top: 14px;
}

/* === FOOTER === */
footer {
  background: #23222B;
  color: #fff;
  padding: 48px 0 26px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #D6BFA6;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-social img {
  width: 52px;
  height: 52px;
}
.footer-legal {
  font-size: 0.91rem;
  color: #b1b6c4;
  text-align: center;
}

/* === FLEX SPACING ALIGNMENTS (MANDATORY CLASSES) === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === GAPS, SPACING, AND VISUAL CONSISTENCY === */
section {
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}
main {
  margin-bottom: 0;
}

/* === SCROLLBAR (for desktop, subtle) === */
html::-webkit-scrollbar {
  width: 10px;
  background: #e9eef2;
}
html::-webkit-scrollbar-thumb {
  background: #b1b6c4;
  border-radius: 5px;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.cta, .main-nav a, .feature-item, .testimonial-card, .mobile-nav a, .card {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s, border-color 0.17s;
}

/* === DETAILS TAGS (FAQ etc.) === */
details {
  margin-top: 16px;
  padding: 15px 22px;
  background: #f4f5f9;
  border-radius: 8px;
  border-left: 3px solid #89A498;
  color: #23222B;
  cursor: pointer;
}
details summary {
  font-weight: 600;
  color: #2A5174;
  outline: none;
}
details[open] {
  background: #e9eef2;
}

/* === COOKIES CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1201;
  background: #23222B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 24px 24px 24px;
  font-size: 1rem;
  box-shadow: 0 -6px 22px rgba(0,0,0,0.10);
  animation: cookieBannerAppear 0.44s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieBannerAppear {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 540px;
  line-height: 1.6;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-banner .cookie-btn, .cookie-banner button {
  padding: 8px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .cookie-btn-accept {
  background: #89A498;
  color: #23222B;
}
.cookie-banner .cookie-btn-reject {
  background: #e9eef2;
  color: #2A5174;
}
.cookie-banner .cookie-btn-settings {
  background: #fff;
  color: #23222B;
  border: 1px solid #D6BFA6;
}
.cookie-banner .cookie-btn-accept:hover {
  background: #2A5174;
  color: #fff;
}
.cookie-banner .cookie-btn-reject:hover {
  background: #D6BFA6;
  color: #23222B;
}
.cookie-banner .cookie-btn-settings:hover {
  background: #f4f5f9;
  color: #2A5174;
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,31,56,0.67);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeinBackdrop 0.26s ease;
}
@keyframes fadeinBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23222B;
  max-width: 420px;
  width: 96%;
  border-radius: 18px;
  box-shadow: 0 14px 60px rgba(35,34,43,0.25);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPopupAppear 0.32s cubic-bezier(.8,0,.3,1);
}
@keyframes modalPopupAppear {
  from { opacity: 0; transform: translateY(40px) scale(0.93); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.31rem;
  margin-bottom: 10px;
  color: #2A5174;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #23222B;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1;
}
.cookie-modal-close:hover {
  color: #89A498;
}
.cookie-modal .cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 15px 0;
}
.cookie-modal .cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-toggle-label {
  font-size: 1.02rem;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  background: #e9eef2;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s, background 0.17s;
  box-shadow: 0 2px 8px 0 rgba(35,34,43,0.09);
}
.cookie-switch input:checked + .cookie-switch-slider {
  transform: translateX(18px);
  background: #89A498;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn-save {
  background: #2A5174;
  color: #fff;
  padding: 8px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.18s;
}
.cookie-modal .cookie-btn-cancel {
  background: #e9eef2;
  color: #2A5174;
  padding: 8px 18px;
  border-radius: 24px;
  border: none;
  font-weight: 500;
}
.cookie-modal .cookie-btn-save:hover {
  background: #89A498;
  color: #23222B;
}
.cookie-modal .cookie-btn-cancel:hover {
  background: #D6BFA6;
  color: #23222B;
}

/* === RESPONSIVENESS (MOBILE-FIRST) === */
@media (max-width: 1079px) {
  .container {
    max-width: 99vw;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .footer-menu {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.1875rem; }
  .hero { padding: 40px 0 20px 0; }
  .section {
    margin-bottom: 38px;
    padding: 20px 8px 30px 8px;
  }
  .card, .feature-item {
    padding: 18px 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 6px;
    gap: 8px;
  }
  .footer-social img {
    width: 38px; height: 38px;
  }
}
@media (max-width: 900px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 580px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    font-size: 0.97rem;
    padding: 18px 10px 18px 10px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .footer-social img {
    width: 29px; height: 29px;
  }
  .cookie-modal {
    padding: 18px 6px 16px 6px;
    font-size: 0.99rem;
  }
}

/* === VISUAL HIERARCHY: WHITE SPACE === */
.section, .feature-grid, .card-container, .content-grid, .feature-item, .testimonial-card, .card, .text-section {
  margin-bottom: 0;
}

/* === MISCELLANEOUS === */
::-moz-focus-inner {
  border: 0;
}
:focus {
  outline: 2px solid #2A5174;
  outline-offset: 1px;
}

/* Utility classes */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }
.tac { text-align: center !important; }
section {
  padding: 10px 0;
}
/* === END OF STYLE.CSS === */