/* --- 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
:focus {
  outline: 2px solid #E8C48A;
  outline-offset: 2px;
}

/* --- BRAND & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

body {
  background: #fff;
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Times, serif;
  font-weight: 700;
  color: #183153;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-top: 24px;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 16px;
}

p, ul, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #183153;
  margin-bottom: 12px;
  font-size: 1rem;
}
p {
  max-width: 650px;
}
strong {
  font-weight: 700;
  color: #183153;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(24,49,83,0.04);
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}

.text-section {
  max-width: 760px;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  border-bottom: 1px solid #EFF1F4;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
header a img {
  height: 37px;
  width: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #183153;
  opacity: 0.85;
  transition: opacity 0.18s, color 0.18s;
  padding: 4px 2px;
  border-radius: 2px;
  position: relative;
}
.main-nav a.cta {
  margin-left: 16px;
  background: #183153;
  color: #fff;
  padding: 8px 22px;
  border-radius: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(24,49,83,0.04);
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta:hover,
 .main-nav a.cta:focus {
  background: #E8C48A;
  color: #183153;
}
.main-nav a:hover, .main-nav a:focus:not(.cta) {
  opacity: 1;
  color: #E8C48A;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #183153;
  background: transparent;
  border: none;
  margin-left: 18px;
  padding: 8px;
  line-height: 1;
  z-index: 1020;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #E8C48A;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,49,83,0.97);
  color: #fff;
  z-index: 2030;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #E8C48A;
  background: none;
  border: none;
  margin: 24px 28px 18px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2040;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 48px;
  border-radius: 18px;
  font-weight: 400;
  opacity: 0.86;
  transition: background 0.18s, color 0.18s, opacity 0.14s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8C48A;
  color: #183153;
  opacity: 1;
}

/*! layout helpers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(24,49,83,0.05);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(24,49,83,0.11);
  transform: translateY(-3px) scale(1.018);
  z-index: 2;
}
.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;
  background: #fafbfc;
  box-shadow: 0 2px 8px rgba(24,49,83,0.08);
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: 1.08rem;
  max-width: 550px;
  min-width: 200px;
}
.testimonial-card p {
  color: #183153;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #183153;
  opacity: 0.72;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* --- BUTTONS & CTA --- */
.cta,
button.cta {
  display: inline-block;
  background: #E8C48A;
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(24,49,83,0.08);
  font-size: 1.09rem;
  margin-top: 18px;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s, transform 0.13s;
  border: none;
  cursor: pointer;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #183153;
  color: #fff;
  box-shadow: 0 6px 28px rgba(24,49,83,0.15);
  transform: translateY(-2px) scale(1.021);
}

/* --- LISTS WITH ICONS --- */
ul > li, ol > li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
ul > li img, ol > li img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-right: 6px;
  filter: grayscale(0.1) contrast(1.15);
  opacity: 0.88;
}

/* --- FOOTER --- */
footer {
  background: #f7f7f8;
  border-top: 1px solid #E8C48A22;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 44px 20px 16px 20px;
  flex-wrap: wrap;
}
footer img {
  margin-bottom: 12px;
  height: 34px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 170px;
}
.footer-nav a {
  font-size: 0.98rem;
  color: #183153;
  opacity: 0.7;
  transition: color 0.16s, opacity 0.17s;
  border-radius: 2px;
  padding: 3px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E8C48A;
  opacity: 1;
}
footer p {
  font-size: 0.97rem;
  opacity: 0.7;
  color: #183153;
  margin: 0 0 8px 0;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3100;
  background: #fff;
  color: #183153;
  box-shadow: 0 -2px 24px rgba(24,49,83,0.12);
  padding: 18px 20px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 220px;
  max-width: 100vw;
  transition: transform 0.32s ease, opacity 0.22s;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  flex: 1 1 0;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: #183153;
  color: #fff;
  border-radius: 18px;
  font-size: 1rem;
  padding: 8px 20px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  transition: background 0.15s, color 0.14s;
  font-weight: 600;
}
.cookie-btn.secondary {
  background: #fff;
  color: #183153;
  border: 1.5px solid #E8C48A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E8C48A;
  color: #183153;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #183153;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,49,83, 0.46);
  z-index: 3150;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px rgba(24,49,83,0.15);
  padding: 36px 30px 30px 30px;
  max-width: 420px;
  width: 90vw;
  transition: transform 0.24s ease, opacity 0.22s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 24px;
  background: #EFF1F4;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  margin-left: 6px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch span {
  display: block;
  width: 18px;
  height: 18px;
  background: #B2B7BD;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: left 0.16s, background 0.19s;
}
.cookie-switch input[type="checkbox"]:checked + span {
  left: 19px;
  background: #E8C48A;
}
.cookie-category .always-on {
  font-weight: 700;
  font-size: 0.98rem;
  color: #183153;
  opacity: 0.7;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

/* --- ANIMATIONS & ADORNMENTS --- */
.cta, .card, .testimonial-card, .cookie-banner, .cookie-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.17s, background 0.14s, color 0.16s, opacity 0.14s, transform 0.10s;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1150px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .card {
    min-width: 200px;
    padding: 18px 11px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    min-height: 54px;
    padding: 0 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 9px 12px 9px;
  }
  section, .section {
    padding: 28px 4px;
    margin-bottom: 36px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start !important;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 12px 11px;
    font-size: 1rem;
    min-width: 0;
    max-width: 98vw;
  }
  h1, h2 {
    margin-bottom: 18px;
  }
  h1 {
    font-size: 1.4rem;
  }
}
@media (max-width: 500px) {
  .cta, button.cta {
    padding: 10px 16px;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 6px 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-btn {font-size:0.98rem; padding:7px 12px;}
}

/* --- MISCELLANEOUS --- */
::-webkit-input-placeholder { color: #B2B7BD; }
:-moz-placeholder { color: #B2B7BD; }
::-moz-placeholder { color: #B2B7BD; }
:-ms-input-placeholder { color: #B2B7BD; }
::placeholder { color: #B2B7BD; }

/* Subtle border for separation */
section:not(:last-child), .section:not(:last-child) {
  border-bottom: 1px solid #EFF1F4;
}

/* Hide elements visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Remove blue tap highlight on mobile for polished minimal look */
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
