/* CSS RESET & BASE TYPOGRAPHY ------------------------------------------------------------ */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #202632;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #283C63; outline-offset: 2px; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* BRAND COLORS ------------------------------------------------------------ */
:root {
  --color-primary: #283C63;
  --color-secondary: #74B3CE;
  --color-accent: #F2E9E4;
  --color-text: #222;
  --color-bg: #fff;
  --color-muted: #eef2f6;
  --color-shadow: rgba(40, 60, 99, 0.06);
}

/* LAYOUT CONTAINERS ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 0 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(40, 60, 99, 0.17);
  transform: translateY(-2px) scale(1.02);
}

.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;
}

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

/* TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.22;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
  color: var(--color-primary);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

ul, ol {
  margin-bottom: 14px;
  margin-left: 18px;
  padding-left: 10px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
ul li img {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 8px;
  opacity: 0.91;
}

/* BUTTONS & CTA ------------------------------------------------------------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Raleway', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.2s, box-shadow 0.22s, transform 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(40, 60, 99, 0.11);
  outline: none;
  transform: translateY(-1px) scale(1.015);
}

button, .button-like {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 24px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 22px;
  border: none;
  margin: 6px 8px 6px 0;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
button:hover, .button-like:hover, button:focus, .button-like:focus {
  background: var(--color-primary);
  color: #fff;
  outline: none;
  box-shadow: 0 4px 12px rgba(40, 60, 99, 0.13);
}

/* HEADER & NAVIGATION ------------------------------------------------------------ */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: relative;
  z-index: 100;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 22px 0 14px 0;
}
header nav a {
  font-family: 'Raleway', Arial, sans-serif;
  padding: 6px 17px;
  border-radius: 20px;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-right: 2px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a.active, header nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
header nav a img {
  padding: 0;
  margin-right: 10px;
  height: 38px;
  width: auto;
  vertical-align: middle;
  border-radius: 6px;
  background: none;
  box-shadow: none;
}

/* MOBILE MENU ------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: 8px;
  transition: background 0.1s;
  z-index: 250;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242, 233, 228, 0.97);
  box-shadow: 0 2px 32px rgba(40,60,99,0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.63,0.05,0.23,0.97);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: var(--color-primary);
  margin: 18px 24px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 31px;
}
.mobile-nav a {
  width: 90%;
  display: block;
  text-align: left;
  font-size: 1.23rem;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  padding: 19px 18px;
  margin: 0 0 5px 0;
  border-radius: 16px;
  transition: background 0.2s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* MAIN & SECTION SPACING ------------------------------------------------------------ */
main {
  margin: 0 auto;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
}

/* CARDS & TESTIMONIALS ------------------------------------------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: #222;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  max-width: 520px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px rgba(40,60,99,0.16);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1rem;
  color: #202632;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: var(--color-accent);
  box-shadow: 0 -1px 7px var(--color-shadow);
  padding: 28px 0 18px 0;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--color-primary);
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
  font-size: 0.97rem;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
footer .text-section {
  text-align: center;
  font-size: 0.97rem;
  color: #222;
}

/* COOKIE CONSENT BANNER ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--color-accent);
  box-shadow: 0 -1px 10px rgba(40,60,99,0.08);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  gap: 20px;
  min-height: 82px;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--color-primary);
  flex: 1 1 60%;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.15s, color 0.19s;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* COOKIE MODAL ------------------------------------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,60,99,0.22);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(40,60,99,0.21);
  padding: 36px 24px 26px 24px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: bounceIn 0.28s;
}
@keyframes bounceIn {
  0% {transform: scale(0.93)}
  80% {transform: scale(1.03)}
  100% {transform: scale(1)}
}
.cookie-modal h3 {
  margin-bottom: 7px;
  font-size: 1.14rem;
}
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-switch {
  width: 36px; height: 20px; position: relative; display: inline-block;
}
.cookie-switch input {opacity:0;width:0;height:0;}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-secondary);
  border-radius: 12px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-primary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 14px; width: 14px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}

.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: -18px;
  margin-top: -16px;
  cursor: pointer;
  transition: color 0.16s;
  display: inline-block;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary);
}

/* SPACING AND FLEX PATTERNS ------------------------------------------------------------ */
.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; }

/* SHADOWS AND EFFECTS ------------------------------------------------------------ */
.card, .testimonial-card, section {
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 14px;
}

/* MICRO-INTERACTIONS ------------------------------------------------------------ */
*:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.cta-btn, .button-like, button {
  transition: background 0.2s, box-shadow 0.18s, color 0.18s, transform 0.16s;
}

/* RESPONSIVE DESIGN ------------------------------------------------------------ */
@media (max-width: 920px) {
  .container {
    max-width: 92%;
    padding: 0 9px;
  }
  section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .container {
    max-width: 98%;
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 20px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 575px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1rem; }
  .section, section {
    padding: 19px 2px;
    margin-bottom: 38px;
  }
  .testimonial-card { max-width: 100%; }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 14px;
    min-height: 120px;
  }
}
@media (max-width: 430px) {
  .cookie-modal {
    padding: 16px 3vw 11px 3vw; width: 95vw;
  }
}

/* MISC UTILITY ------------------------------------------------------------ */
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* END OF FILE */
