/* ---------------------- CSS RESET ---------------------- */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #FBFAF8;
  color: #203035;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid #E2E5E9;
}
dl dt {
  font-weight: 700;
  margin-top: 16px;
}
dl dd {
  margin-bottom: 10px;
  margin-left: 0;
}
::selection {
  background: #FCDDEB;
}

/* ---- COLORS / SOFT PASTELS ---- */
:root {
  /* Brand soft pastels */
  --color-primary: #0D4766;
  --color-secondary: #97C1A9;
  --color-accent: #F3E9DC;
  --color-pink: #FCDDEB;
  --color-lavender: #E2D6F2;
  --color-mint: #D9F3E2;
  --color-yellow: #FFF5CE;
  --color-white: #FFF;
  --color-gray: #F8F8F8;
  --color-text: #283440;
  --color-muted: #757991;
  --color-border: #E2E5E9;
  --color-shadow: rgba(44, 79, 113, 0.08);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, dl, table {
  margin-bottom: 16px;
}
p {
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}
.text-section strong {
  color: var(--color-primary);
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44, 79, 113, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.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;
  background: var(--color-lavender);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  color: var(--color-primary);
  flex: 1 1 280px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-mint);
  border-radius: 14px;
  padding: 22px 16px;
}

/* ------------- HERO & PREVIEWS ------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: linear-gradient(135deg, var(--color-accent) 60%, var(--color-mint) 100%);
  border-radius: 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 225px;
  min-width: 200px;
  flex: 1 1 220px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}
.feature-grid > div h3 {
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-size: 1.1rem;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 20px 0 var(--color-shadow);
  transform: translateY(-3px) scale(1.02);
}

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.15s;
  margin-top: 16px;
}
.btn-primary {
  color: #fff;
  background: var(--color-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #136092;
  box-shadow: 0 4px 18px #aec8d8b3;
  transform: translateY(-1px) scale(1.02);
}
.btn-secondary {
  color: var(--color-primary);
  background: var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background: #75b093;
  box-shadow: 0 4px 16px #bbdbc7b3;
  transform: translateY(-1px) scale(1.02);
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  background: linear-gradient(90deg, var(--color-accent) 80%, var(--color-mint) 100%);
  border-bottom: 2px solid var(--color-border);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.17s;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
}
header a img {
  height: 44px;
  margin-right: 18px;
  vertical-align: middle;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  outline: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.16s, color 0.18s;
  z-index: 120;
  display: none;
  margin-left: 14px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-lavender);
  color: var(--color-secondary);
}
.btn-primary {
  margin-left: 20px;
}

/* ---------- MOBILE NAVIGATION ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.5,.1,.5,1.4);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  border: none;
  color: var(--color-primary);
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.16s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-lavender);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 40px;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.1s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-mint);
  color: var(--color-secondary);
}

@media (max-width: 1023px) {
  header .container {
    flex-wrap: wrap;
    gap: 16px;
  }
  .btn-primary {
    margin-left: 8px;
  }
}
@media (max-width: 850px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--color-accent);
  border-top: 2px solid var(--color-border);
  font-size: 0.96rem;
  color: var(--color-primary);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.17s;
  font-size: 1rem;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-secondary);
}
footer a img {
  height: 36px;
}
footer small {
  color: var(--color-muted);
}

/* ---------- LISTS, ICONS ---------- */
ul li, ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
}
ul li img {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.text-section ul,
.text-section ol {
  margin-bottom: 8px;
}
.text-section ul li {
  background: none;
}

/* ---------- TABLES ---------- */
table {
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 9px var(--color-shadow);
  margin-bottom: 24px;
}
thead th {
  color: var(--color-primary);
  font-weight: 600;
  background-color: var(--color-mint);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
}
td {
  color: var(--color-text);
  background-color: var(--color-white);
}

/* ----------- TESTIMONIALS ----------- */
.testimonial-card {
  background: var(--color-lavender);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 5px solid var(--color-secondary);
  color: #203035;
  font-size: 1.04rem;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 18px var(--color-shadow);
  border-left: 7px solid var(--color-secondary);
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--color-primary);
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--color-text);
}

/* ---------- MISC ---------- */
[tabindex]:focus,
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-border);
  margin: 32px 0;
}

/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 925px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .feature-grid > div {
    width: 45%;
    min-width: 155px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .section,
  .content-wrapper {
    padding: 20px 8px 20px 8px !important;
    margin-bottom: 35px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .container, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .feature-grid > div {
    font-size: 0.99rem;
    padding: 16px 10px 12px 10px;
  }
  .btn-primary,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 0.99rem;
  }
  header a img, footer a img {
    height: 33px;
    margin-right: 10px;
  }
}

/* ---------------------- COOKIE BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 2px 24px #bac7d433;
  z-index: 3000;
  padding: 18px 18px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100vw;
  animation: bannerIn 0.5s cubic-bezier(.63,.03,.42,1.1);
}
@keyframes bannerIn {
  0% { transform: translateY(84px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner__text {
  color: #214055;
  flex: 1 1 300px;
  font-size: 1rem;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.13s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-banner__btn:focus,
.cookie-banner__btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__btn:last-child {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.cookie-banner__btn:last-child:hover,
.cookie-banner__btn:last-child:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 599px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 8px;
    align-items: flex-start;
  }
  .cookie-banner__text {
    font-size: 0.96rem;
  }
  .cookie-banner__buttons {
    flex-direction: column;
    gap: 7px;
    width: 100%;
  }
}

/* ---------- COOKIE MODAL --------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(18, 24, 33, 0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s cubic-bezier(.7,0,.83,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__content {
  background: var(--color-accent);
  box-shadow: 0 6px 54px #b5d0e333;
  border-radius: 18px;
  max-width: 380px;
  width: 96%;
  padding: 32px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.38s cubic-bezier(.17,0,.6,1.09);
}
@keyframes modalIn {
  0% { transform: scale(0.93) translateY(35px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal__close {
  background: none;
  border: none;
  position: absolute;
  top: 10px; right: 10px;
  font-size: 1.7rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 9px;
  padding: 7px 10px;
  transition: background 0.12s, color 0.13s;
}
.cookie-modal__close:focus,
.cookie-modal__close:hover {
  background: var(--color-lavender);
  color: var(--color-secondary);
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
}
.cookie-modal__category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 1px 5px #b1cbe825;
  margin-bottom: 8px;
}
.cookie-modal__toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 27px;
}
.cookie-modal__toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal__slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--color-lavender);
  border-radius: 20px;
  transition: .3s;
}
.cookie-modal__toggle input:checked + .cookie-modal__slider {
  background-color: var(--color-secondary);
}
.cookie-modal__slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: .3s;
}
.cookie-modal__toggle input:checked + .cookie-modal__slider:before {
  transform: translateX(18px);
}
.cookie-modal__save {
  margin-top: 10px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 18px;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.14s;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-modal__save:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --------- ANIMATIONS & INTERACTION --------- */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle,
.mobile-menu-close, .cookie-banner__btn, .cookie-modal__close {
  transition: all 0.16s cubic-bezier(.82,.01,.51,1.34);
}

/* --------- HIDE & SHOW UTIL --------- */
.hide-on-desktop { display: none !important; }
.show-on-mobile { display: none !important; }
@media (max-width: 850px) {
  .hide-on-mobile { display: none !important; }
  .show-on-mobile { display: block !important; }
}

/* ------- ACCESSIBILITY ------ */
[aria-current], a.active {
  font-weight: 700;
  text-decoration: underline wavy var(--color-secondary) 2px;
  color: var(--color-secondary);
}

/* --------- END CSS --------- */
