/* 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, 
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.5;
  background: #F2F6F9;
  color: #2C3238;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #286a97;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #eb4900;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224466;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  font-weight: 800;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, li, blockquote, cite, dl, dd, dt {
  font-size: 1rem;
  color: #2C3238;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #224466;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 4px solid #faa346;
}
cite {
  display: block;
  font-style: normal;
  color: #7A828A;
  font-size: 0.98rem;
  margin-top: 6px;
}

/* CREATIVE ARTISTIC ACCENTS */
:root {
  --primary: #224466;
  --secondary: #2C3238;
  --accent: #F2F6F9;
  --highlight: #faa346;
  --art-pink: #f25e84;
  --art-blue: #38bbd8;
  --art-green: #78e08f;
  --art-lavender: #916dd5;
  --shadow-1: 0 3px 18px 0 #22446612;
  --shadow-2: 0 5px 32px 0 #faa34616;
  --round-card: 20px;
  --main-gap: 24px;
  --transition: .28s cubic-bezier(.61,.08,.46,.92);
}

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 0;
  background: none;
  border-radius: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-1);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--round-card);
  box-shadow: var(--shadow-2);
  background: linear-gradient(110deg,#F2F6F9 60%,#f25e84 140%);
  padding: 32px 24px;
  min-width: 286px;
  flex: 1 1 270px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
  box-shadow: 0 8px 36px 0 #38bbd84d;
}
.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: 12px;
  padding: 20px 28px 20px 22px;
  background: #faf6f2;
  border-left: 8px solid var(--highlight);
  border-radius: 22px;
  box-shadow: var(--shadow-1);
  margin-bottom: 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
.testimonial-card span {
  margin-top: 4px;
  font-weight: bold;
  color: #f25e84;
}
.testimonial-card:hover {
  background: #fff8f6;
  box-shadow: 0 6px 22px 0 #faa34629;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 28px 0 10px 0;
}
.features-grid > div {
  background: linear-gradient(120deg, #f25e84 8%, #38bbd8 92%, #fff 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  padding: 22px 15px 19px 21px;
  min-width: 235px;
  max-width: 285px;
  flex: 1 1 236px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.features-grid > div:hover {
  box-shadow: 0 12px 34px 0 #78e08f38;
  transform: scale(1.03) rotate(0.5deg);
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  border: 2px solid #faa34644;
  box-shadow: 0 2px 6px 0 #2244660f;
}
.features-grid h3 {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 3px;
  font-weight: 800;
  text-shadow: 0 2px 5px #22446622;
}
.features-grid p {
  color: #f2f6f9;
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(100deg, #38bbd8 0%, #f25e84 91%);
  color: #fff;
  font-weight: 800;
  font-size: 1.07rem;
  letter-spacing: 0.5px;
  padding: 0.68em 2em 0.72em 2em;
  border: none;
  border-radius: 16px;
  box-shadow: 0 6px 20px #f25e8441;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-shadow: 0 2px 8px #22446630;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #faa346 0%, #916dd5 93%);
  transform: translateY(-2px) scale(1.025) rotate(-0.8deg);
  box-shadow: 0 10px 28px #916dd525;
  outline: none;
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  padding: 0;
  background: #fffbed;
  box-shadow: 0 2px 16px 0 #78e08f07;
  z-index: 5;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 46px;
  margin-right: 22px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: #224466;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 10px 8px 10px;
  font-size: 1rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
nav a:not(.cta-btn):hover {
  background: linear-gradient(90deg,#f25e84 60%, #faa346 100%);
  color: #fff;
}
/* Mobile menu toggle (burger) */
.mobile-menu-toggle {
  background: #faa346;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 21;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f25e84;
  color: #fff;
  outline: none;
  transform: scale(1.06);
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,44,44,0.98);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.73,.12,.24,.95);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #faa346;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 14px;
  width: 52px;
  height: 52px;
  margin: 18px 0 12px 18px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 121;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f25e84;
  color: #fff;
  outline: none;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 22px 0 28px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  background: none;
  font-size: 1.22rem;
  font-weight: 700;
  margin: 8px 0;
  padding: 14px 0;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  text-shadow: 0 2px 8px #2244667a;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #faa346;
  color: #2C3238;
}

/* SECTIONS & FORMATTING ENHANCEMENTS */
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 36px;
  padding: 0;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--highlight);
  margin-bottom: 1px;
  font-weight: 700;
  font-size: 1.07rem;
}
dd {
  margin-bottom: 14px;
  margin-left: 0;
  color: #224466;
}
li {
  margin-bottom: 9px;
}

/* FOOTER */
footer {
  background: #224466;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 40px;
  box-shadow: 0 -2px 24px 0 #2C323822;
  text-align: center;
  position: relative;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 7px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #faa346;
  font-weight: 600;
  font-size: 1.01rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f25e84;
}
.legal-info small {
  color: #fff;
  opacity: 0.7;
  font-size: 0.98rem;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.85;
}
.brand-info img {
  height: 36px;
  width: auto;
  display: block;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #2C3238ee;
  color: #fff;
  z-index: 1800;
  box-shadow: 0 -4px 40px 0 #22446618;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 18px 8vw 18px 8vw;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
   opacity: 0;
   transform: translateY(120%);
   pointer-events: none;
}
.cookie-banner .cookie-btn {
  background: linear-gradient(98deg, #38bbd8, #faa346 85%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 13px;
  padding: 9px 24px;
  margin-right: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookie-banner .cookie-btn:hover {
  background: #f25e84;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-btn.settings {
  background: #916dd5;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #38bbd8;
}
.cookie-banner .cookie-btn.reject {
  background: #2C3238;
  color: #fff;
  border: 2px solid #faa346;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #faa346;
  color: #2C3238;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(34,44,68,.74);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}
.cookie-modal.open {
  display: flex;
  animation: fadein 0.19s cubic-bezier(.25,.93,.64,1.04) forwards;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbed;
  color: #224466;
  border-radius: 24px;
  box-shadow: 0 10px 28px 0 #22446623;
  padding: 34px 36px;
  min-width: 280px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  font-size: 1.09rem;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal-content .cookie-category input[type=checkbox] {
  width: 34px;
  height: 18px;
  accent-color: #38bbd8;
}
.cookie-modal-content .cookie-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #faa346;
  margin-top: -18px;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 21px;
}
.cookie-modal-content .cookie-modal-btns button {
  background: #faa346;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal-content .cookie-modal-btns button.save {
  background: #38bbd8;
}
.cookie-modal-content .cookie-modal-btns button.save:hover {
  background: #916dd5;
}
.cookie-modal-content .cookie-modal-btns button.cancel {
  background: #2C3238;
  color: #fff;
}
.cookie-modal-content .cookie-modal-btns button.cancel:hover {
  background: #f25e84;
}

/* RESPONSIVE & FLEXBOX MEDIA QUERIES */
@media (max-width: 1024px) {
  .container { max-width: 98vw; padding: 0 10px; }
  .features-grid { gap: 19px; }
}
@media (max-width: 920px) {
  .features-grid > div { min-width: 200px; max-width: 46vw; }
  .card { min-width: 210px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 10px; padding: 8px 8px 8px 10px; }
  nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  main, .container {
    padding: 0 1vw;
  }
  .section {
    padding: 22px 5vw;
    margin-bottom: 44px;
  }
  .card-container { gap: 12px; }
  .content-grid, .features-grid { flex-direction: column; gap: 14px;}
  .features-grid > div { max-width: 100%; min-width: unset; }
  .card { min-width: 100%; padding: 24px 15px; }
  .testimonial-card { padding: 16px 14px 16px 8px; }
  .brand-info img { height: 28px; }
  footer .container { gap: 10px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 10px 3vw 10px 3vw; font-size: 0.98rem; }
  .cookie-banner .cookie-btn { margin: 1px 4px 0 0; font-size: 0.98rem; }
  .cookie-modal-content { padding: 19px 6vw; min-width: 180px; max-width: 95vw; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.08rem; }
  .cta-btn { font-size: 0.95rem; padding: 0.58em 1.3em 0.62em 1.3em; }
  .section { padding: 13px 2vw; }
  .cookie-modal-content { padding: 11px 2vw; }
}

/* MICRO-INTERACTIONS, HOVER, FOCUS */
button, .cta-btn, .cookie-btn {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #faa346;
  outline-offset: 2px;
}

/* MISC/UTILITY */
::-webkit-scrollbar {
  width: 11px;
  background: #F2F6F9;
}
::-webkit-scrollbar-thumb {
  background: #38bbd8;
  border-radius: 9px;
}

/* ARTISTIC DECORATIVE ELEMENTS - CAN BE ENHANCED VIA JS/SVG */
.features-grid > div:after {
  content: "";
  display: block;
  position: absolute;
  top: -17px; right: -37px;
  width: 56px; height: 33px;
  border-radius: 27px 29px 19px 31px;
  background: linear-gradient(115deg,#faa346 5%, #f25e84 49%, #38bbd8 100%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.features-grid > div:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -13px; left: -17px;
  width: 37px; height: 29px;
  border-radius: 29px 12px 21px 72px;
  background: linear-gradient(70deg,#78e08f 30%, #916dd5 100%);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

/* LAYOUT SPACING ENFORCEMENT */
.section, .card, .testimonial-card, .features-grid > div, .content-wrapper {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* PREVENT ABSOLUTE POSITIONING OF CONTENT CARDS */
.card, .testimonial-card, .features-grid > div {
  position: relative;
}

/* MANDATORY FLEXBOX LAYOUTS (NO GRID) */
/* (handled throughout, see above) */
