/* RESET & BASE ----------------------------- */
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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

:root {
  --color-primary: #17394D;
  --color-secondary: #8F9B9E;
  --color-accent: #F4EDE3;
  --color-vibrant1: #FB9A24;
  --color-vibrant2: #21A59B;
  --color-vibrant3: #FF577C;
  --color-dark: #102331;
  --color-light: #fbfbfb;
  --color-card-bg: #fff;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* HEADER & NAV --------------------------------- */
header {
  background: var(--color-light);
  box-shadow: 0 2px 16px 0 rgba(23,57,77,0.08);
  position: sticky;
  top: 0;
  z-index: 1003;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-vibrant2);
  color: #fff;
}
.main-nav .cta-primary {
  background: var(--color-vibrant1);
  color: #fff;
  font-size: 16px;
  padding: 8px 22px;
  border-radius: 30px;
  margin-left: 10px;
  box-shadow: 0 2px 12px 0 rgba(251,154,36,0.14);
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--color-vibrant3);
  transform: scale(1.03);
  box-shadow: 0 6px 28px 0 rgba(255,87,124,0.19);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--color-primary);
  cursor: pointer;
  display: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}

/* MOBILE MENU ---------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.83,0,0.17,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 26px 14px 0;
  background: none;
  border: none;
  font-size: 40px;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 2001;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-vibrant2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
  padding-top: 14px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 9px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s, padding 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-vibrant1);
  color: #fff;
  padding-left: 18px;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}

/* HERO & SECTIONS ------------------------------ */
main {
  padding-top: 36px;
  padding-bottom: 36px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:nth-of-type(even) {
  background: var(--color-accent);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: bold;
}
h1 { font-size: 2.7rem; letter-spacing: 0.04em; margin-bottom: 16px; }
h2 { font-size: 2rem; letter-spacing: 0.03em; margin-bottom: 18px; }
h3 { font-size: 1.4rem; letter-spacing: 0.02em;  }
p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  color: var(--color-vibrant1);
  font-weight: bold;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}
ul, ol {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 12px;
  position: relative;
}
ul li:before {
  content: '■';
  font-size: 12px;
  color: var(--color-vibrant2);
  position: absolute;
  left: -18px; top: 4px;
}
ol li { counter-increment: listnumber; }
ol {
  counter-reset: listnumber;
}
ol li:before {
  content: counter(listnumber) '.';
  color: var(--color-vibrant1);
  font-weight: bold;
  position: absolute; left: -18px;
}
section:last-child {
  margin-bottom: 0;
}

/* FLEX SPECIAL LAYOUTS ---------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: var(--color-card-bg);
  box-shadow: 0 4px 28px 0 rgba(23,57,77,0.09);
  padding: 30px 26px;
  min-width: 270px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.16s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(33,165,155,0.16), 0 0 0 4px var(--color-vibrant2, #21A59B);
  transform: translateY(-4px) scale(1.03);
}
.card h3 {
  margin-bottom: 12px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .card-container {
    flex-direction: column;
  }
}

.feature-grid,
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 220px;
  background: var(--color-light);
  border-radius: 22px;
  box-shadow: 0 3px 14px 0 rgba(33,165,155,0.06);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(251,154,36,0.18);
  background: #FFF5DE;
}
.feature-grid img {
  margin-bottom: 12px;
  width: 44px;
  height: 44px;
}
.feature-grid h3 { margin-bottom: 8px; font-size: 1.2rem; color: var(--color-vibrant1);}
.feature-grid p {color: var(--color-primary);}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(23,57,77,0.10);
  margin-bottom: 20px;
  max-width: 540px;
  min-width: 220px;
  border-left: 7px solid var(--color-vibrant3);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-dark);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  border-left: 7px solid var(--color-vibrant2);
  box-shadow: 0 6px 32px 0 rgba(33,165,155,0.14);
}

/* CTAs & BUTTONS ----------------------------- */
.cta-primary {
  background: var(--color-vibrant1);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.03em;
  padding: 13px 38px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, transform 0.17s;
  box-shadow: 0 4px 22px 0 rgba(251,154,36,0.16);
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 8px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-vibrant3);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 12px 42px 0 rgba(255,87,124,0.18);
}

button, .button {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
}
.button-vibrant1 {
  background: var(--color-vibrant1);
  color: #fff;
}
.button-vibrant1:hover { background: var(--color-vibrant2); }
.button-vibrant2 {
  background: var(--color-vibrant2);
  color: #fff;
}
.button-vibrant2:hover { background: var(--color-vibrant3); }
.button-outline {
  background: transparent;
  border: 2px solid var(--color-vibrant2);
  color: var(--color-vibrant2);
}
.button-outline:hover { background: var(--color-vibrant2); color: #fff; }

/* TABLE STYLING --------------------------------- */
table {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(23,57,77,0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
th, td {
  padding: 18px 14px;
  text-align: left;
}
th {
  color: var(--color-light);
  background: var(--color-vibrant2);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
td {
  font-size: 1rem;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-accent);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER ----------------------------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--color-vibrant3);}
footer .footer-info {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.97rem;
}
.footer-info a {
  color: var(--color-vibrant1);
  font-weight: bold;
  transition: color 0.15s;
}
.footer-info a:hover { color: var(--color-vibrant3); }
.social-icons {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-top: 6px;
}
.social-icons img {
  width: 30px; height: 30px;
  transition: transform 0.18s;
}
.social-icons img:hover {
  transform: scale(1.18) rotate(-4deg);
}
.footer-legal {
  font-size: 0.92rem;
  margin-top: 16px;
}
.footer-legal a { color: var(--color-accent); }
.footer-legal a:hover { color: var(--color-vibrant2); }

/* COOKIE CONSENT BANNER --------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px 20px;
  z-index: 2100;
  box-shadow: 0 -2px 30px 0 rgba(0,0,0,0.14);
  transition: transform 0.33s ease;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  flex: 1 1 300px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-banner button {
  margin: 0 3px;
  min-width: 110px;
  font-size: 1rem;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-outline, transparent);
  border: 2px solid var(--color-vibrant2);
  color: var(--color-vibrant2);
  font-weight: 700;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-vibrant2);
  color: #fff;
}
.cookie-banner .accept-btn {
  background: var(--color-vibrant1);
  color: #fff;
}
.cookie-banner .accept-btn:hover {
  background: var(--color-vibrant2);
}
.cookie-banner .reject-btn {
  background: var(--color-vibrant3);
  color: #fff;
}
.cookie-banner .reject-btn:hover {
  background: var(--color-vibrant2);
}

/* COOKIE MODAL ------------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,57,77,0.72);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 5px 40px 0 rgba(23,57,77,0.24);
  max-width: 440px;
  min-width: 320px;
  padding: 36px 34px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
  position: relative;
}
.cookie-modal h3 {
  color: var(--color-vibrant1);
  font-size: 1.33rem;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: none;
  font-size: 30px;
  color: var(--color-vibrant3);
  cursor: pointer;
  z-index: 1000;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  padding: 9px 0;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: var(--color-secondary);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: var(--color-vibrant2);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-toggle[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-category-label {
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* UTILS ------------------------------ */
.nowrap { white-space: nowrap; }
.mt-32 { margin-top: 32px; }

/* Media Queries for Responsive Design *//* Mobile first, scale up */
@media (max-width: 700px) {
  .container { padding-left: 8px; padding-right: 8px; }
  section { padding: 24px 6px; margin-bottom: 30px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; margin-bottom: 14px; }
  h3 { font-size: 1rem; }
  .content-wrapper { gap: 13px; }
  .card,
  .feature-grid > div {
    min-width: 90vw;
    padding: 18px 12px;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 16px 10px;
  }
  .cookie-modal {
    max-width: 98vw;
    min-width: 0;
    padding: 16px 5vw 18px 5vw;
  }
}
@media (max-width: 480px) {
  .main-nav {
    display: none !important;
  }
  header .container { gap: 10px; }
  .mobile-nav a { font-size: 18px; }
}

/* Artistic Touches (Creative Artistic Style) ------- */
section, .card, .testimonial-card, .feature-grid > div {
  /* Artistic hand-drawn border element using box-shadow for realism */
  box-shadow: 0 4px 32px 0 rgba(255,87,124,0.06), 0 1.5px 0 var(--color-vibrant3, #FF577C), 0 0 0 2.5px var(--color-vibrant2, #21A59B);
}

h1, h2, h3 {
  font-family: var(--font-display), cursive;
  /* slightly uneven letter-spacing for creative flair */
  letter-spacing: 0.015em;
  /* artistic color accent underline effect */
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 5px;
  border-radius: 4px;
  background: var(--color-vibrant1);
  margin-top: 9px;
}

.cta-primary {
  /* artistic paint splash shadow for CTA */
  box-shadow: 0 2px 8px 0 var(--color-vibrant2, #21A59B), 0 8px 24px 0 rgba(255,87,124,0.17), 0 0 0 5px rgba(244,237,227,0.13);
}
.cta-primary:active {
  background: var(--color-primary);
  color: #fff;
}

.testimonial-card {
  /* background pattern for creative feel */
  background: linear-gradient(108deg, #fff 76%, rgba(251,154,36,0.045) 100%);
  position: relative;
  overflow: visible;
}
.testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -12px;
  top: 32px;
  width: 42px;
  height: 42px;
  background: url('../assets/icons/icon-quote.svg') center/contain no-repeat, var(--color-accent);
  opacity: 0.17;
  z-index: 0;
}
.testimonial-card > * {
  position: relative;
  z-index: 1;
}

footer {
  /* Artistic color stripes at the top of the footer */
  border-top: 8px solid var(--color-vibrant1);
  box-shadow: 0 -2px 8px 0 var(--color-vibrant2, #21A59B), 0 -3px 0 var(--color-vibrant3, #FF577C);
}

/* Misc accessibility & interaction improvements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-vibrant2);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-vibrant3);
}

::-webkit-scrollbar {
  width: 9px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-vibrant2);
  border-radius: 5px;
}

/* Hide elements visually but keep accessible */
.visually-hidden {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* END OF CSS */
