/* 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.45;
  background: #fff;
  color: #2F4858;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2F4858;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
a:hover, a:focus {
  color: #EDC531;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
  margin-bottom: 16px;
}
li { margin-bottom: 12px; }
strong { font-weight: bold; }

h1, h2, h3, h4, h5, h6 {
  color: #2F4858;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1em; }
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.04rem; }
}
p {
  margin-bottom: 14px;
  font-size: 1.07rem;
  color: #384650;
}
.text-section h3 { font-size: 1.15rem; margin-top: 22px; }
.text-section p { font-size: 1rem; margin-bottom: 10px; }

/* BRAND COLORS ------------------------------------------------------------ */
:root {
  --primary: #2F4858;
  --secondary: #C2CED3;
  --accent: #EDC531;
  --bg-light: #F9FAFC;
  --danger: #ed6663;
  --success: #49dcb1;
  --brand-shadow: rgba(41,54,64,0.10);
  --white: #fff;
}

/* MAIN WRAPPER ------------------------------------------------------------ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SECTION SPACING ---------------------------------------------------------- */
section {
  width: 100%;
  background: var(--bg-light);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 6px 28px var(--brand-shadow);
  z-index: 1;
}

@media (max-width: 600px) {
  section {
    margin-bottom: 38px;
    padding: 27px 8px;
    border-radius: 13px;
  }
}

/* FLEX PATTERNS ------------------------------------------------------------ */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .card, .card-container > div {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(220, 195, 49, 0.10), 0 1.5px 6px var(--brand-shadow);
  padding: 26px 18px;
  margin-bottom: 20px; /* for .card */
  flex: 1 1 232px;
  min-width: 232px;
  max-width: 37vw;
  position: relative;
  transition: transform 0.18s cubic-bezier(0.52,1.64,.37,.66), box-shadow 0.20s;
  cursor: pointer;
}
.feature-grid > div:hover, .card:hover, .card-container > div:hover {
  transform: translateY(-6px) scale(1.035) rotate(-1.5deg);
  box-shadow: 0 8px 30px rgba(237,197,49, .22), 0 2.5px 7.5px var(--brand-shadow);
}

@media (max-width: 900px) {
  .feature-grid > div, .card, .card-container > div {
    max-width: 100%;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .feature-grid > div, .card, .card-container > div {
    min-width: unset;
    width: 100%;
    margin-bottom: 14px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(47,72,88,0.10), 0 2px 7px var(--brand-shadow);
  border-left: 8px solid var(--accent);
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px rgba(237,197,49, .18), 0 7px 18px var(--brand-shadow);
  border-color: var(--success);
}
.testimonial-card p, .testimonial-card span {
  color: #212c32;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: .98em;
  font-weight: 600;
  color: var(--primary);
}

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

/* BUTTONS ----------------------------------------------------------------- */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--brand-shadow);
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  margin-top: 2px;
  margin-bottom: 8px;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-btn:hover, .cookie-btn:focus,
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.055) rotate(-1.7deg);
}

.cookie-btn.reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b82c1b;
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
}

/* NAVBAR ------------------------------------------------------------------ */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 80;
  box-shadow: 0 3px 24px var(--brand-shadow);
  min-height: 64px;
}
.main-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
  padding: 8px 18px;
  min-height: 64px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  margin-right: 2px;
  transition: color 0.15s, background 0.14s;
  border-radius: 22px;
  padding: 4px 13px;
}
.main-nav a img { height: 42px; width: auto; margin-right: 12px; vertical-align: middle; }
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  padding: 4px 18px;
  box-shadow: none;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 102;
  transition: background 0.15s, color 0.15s, transform 0.16s;
}

/* MOBILE NAVIGATION ------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,60,80, 0.98);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.77,0,.18,1.01); /* slide effect */
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.4s cubic-bezier(0.44,0.6,.44,1.12);
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.mobile-menu-close {
  background: var(--danger);
  color: var(--white);
  border: none;
  font-size: 2.3rem;
  padding: 6px 20px;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1300;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
  transform: rotate(-12deg) scale(1.12);
}

.mobile-nav {
  width: 100vw;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.33rem;
  padding: 14px 0;
  background: none;
  border-bottom: 1.5px solid rgba(237,197,49,0.12);
  width: 100%;
  text-align: left;
  border-radius: 0;
  margin-right: 0;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: .97rem; }
}
@media (max-width: 900px) {
  .main-nav a { font-size: .91rem; }
}
@media (max-width: 820px) {
  .main-nav a { font-size: .98rem; }
}
@media (max-width: 768px) {
  .main-nav, .main-nav a { font-size: 1.01rem; }
  .main-nav { flex-wrap: wrap; gap: 10px; }
  .main-nav a img { height: 35px; }
}
@media (max-width: 700px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* FOOTER ------------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 18px 18px 18px;
  margin-top: 50px;
  box-shadow: 0 -3px 24px var(--brand-shadow);
  border-radius: 24px 24px 0 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
  justify-content: center;
    align-items: center;
}
footer nav a {
  color: var(--accent);
  background: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 3px 12px;
  transition: color 0.15s, background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
  background: var(--accent);
  outline: none;
}
.footer-contact {
  color: var(--secondary);
  font-size: 1.01rem;
  margin-top: 6px;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
  word-break: break-all;
}
.footer-contact a:hover {
  color: var(--accent);
  background: var(--primary);
}

/* GAPS BETWEEN/WITHIN SECTIONS --------------------------------------------- */
section + section, .content-wrapper + .content-wrapper {
  margin-top: 40px;
}

/* PLAYFUL DECORATIVE ACCENTS ----------------------------------------------- */
.feature-grid > div::after {
  content: "✨";
  position: absolute;
  font-size: 1.5rem;
  bottom: 10px;
  right: 16px;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
  animation: floatAccent 3.5s infinite alternate ease-in-out;
}
@keyframes floatAccent {
  0%   { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(8deg); }
}

/* GENERAL CARD STYLES ------------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 4px 18px var(--brand-shadow);
  padding: 22px 18px;
  transition: box-shadow 0.20s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 30px var(--accent);
  transform: translateY(-6px) scale(1.045);
}

/* ANIMATIONS, TRANSITIONS & HOVER STATES ----------------------------------- */
a.cta-btn {
  animation: bounceIn 0.88s cubic-bezier(.62,1,.3,1.79) 0.2s;
  animation-fill-mode: backwards;
}
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.6) translateY(80px); }
  60%  { opacity: 1; transform: scale(1.12) translateY(-9px); }
  80%  { transform: scale(0.93) translateY(5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.cta-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 2px 10px var(--brand-shadow);
}
.cta-btn::before {
  content: "";
  position: absolute;
  left: 0; top:0;  width: 100%; height: 100%;
  background: rgba(237,197,49,0.10);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.19s;
}
.cta-btn:hover::before { opacity: 1; }

/* TYPOGRAPHY SCALE --------------------------------------------------------- */
.display-title, h1 { font-size: 2.5rem; }
@media (max-width: 600px) { h1, .display-title { font-size: 1.55rem; } }
h2 { font-size: 2rem; }
@media (max-width: 600px) { h2 { font-size: 1.23rem; } }
h3 { font-size: 1.13rem; }
h4, h5, h6 { font-size: 1rem; }

/* LINKS / BUTTONS MICRO-INTERACTIONS --------------------------------------- */
a, button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.15s;
}
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
}

/* UNIVERSAL WHITE SPACE (NO OVERLAPPING) ----------------------------------- */
section, .card, .testimonial-card, .feature-grid > div, .card-container > div {
  margin-bottom: 20px;
}
.content-wrapper > * + * {
  margin-top: 16px;
}

/* RESPONSIVE LAYOUTS ------------------------------------------------------- */
@media (max-width: 900px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  section { padding: 24px 4vw; }
}
@media (max-width: 600px) {
  .container { padding: 0 3vw; }
  .content-wrapper { gap: 8px; }
  section { border-radius: 11px; }
}

/* COLORED ACCENTS & ENERGETIC FEEL ----------------------------------------- */
h1, h2, h3, h4 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
}

section {
  background: linear-gradient(128deg, #F9FAFC 85%, #EDC531 120%);
}
.feature-grid > div, .card, .testimonial-card {
  border: 2px solid var(--secondary);
}

/* FUN PLAYFUL FONTS FOR HIGHLIGHTS ----------------------------------------- */
.cta-btn, .feature-grid > div h3, .card h3, .feature-item h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.045em;
  font-weight: 800;
}
h1, .main-nav a, .footer-contact {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* COLORED ICONS ------------------------------------------------------------ */
.feature-grid img, .feature-item img, .card img {
  width: 49px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 4px #c2ced364);
}

/* LISTS & BULLETS ---------------------------------------------------------- */
ul {
  list-style: disc inside;
  font-size: 1.045rem;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 10px;
  font-size: 1.005rem;
}
.text-section ul {
  margin: 8px 0 24px 10px;
}

/* COOKIE CONSENT BANNER ---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--accent);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  font-size: 1.08rem;
  border-radius: 27px 27px 0 0;
  box-shadow: 0 -4px 18px rgba(47,72,88,0.10);
  gap: 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.65,0,.21,1.19), opacity 0.3s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  margin: 0;
  font-size: 1.04em;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-size: 1.04rem;
  margin: 0;
  box-shadow: 0 2px 6px var(--brand-shadow);
  padding: 8px 26px;
}

@media (max-width: 700px) {
  .cookie-banner, .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 8px;
    font-size: 1em;
  }
}

/* COOKIE CONSENT MODAL ----------------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 7000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(43,55,65, 0.67);
  justify-content: center;
  align-items: center;
  animation: cookieOverlayIn 0.3s cubic-bezier(.65,.03,.33,1.07);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 10px 60px var(--brand-shadow);
  padding: 36px 28px 28px 28px;
  max-width: 370px;
  width: 92vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookieModalIn 0.34s cubic-bezier(.75, .09, .43, 1.45);
}
@keyframes cookieModalIn {
  from { transform: scale(0.82) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: 1.30rem;
  color: var(--primary);
}
.cookie-category {
  background: var(--secondary);
  padding: 16px 13px;
  border-radius: 12px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 45px;
  height: 22px;
  background: var(--primary);
  border-radius: 11px;
  position: relative;
  transition: background 0.16s;
  margin-left: 18px;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  transition: left 0.16s;
}
.cookie-toggle:checked::before {
  left: 25px;
}
.cookie-modal .cookie-btn {
  margin-top: 9px;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  right: 13px; top: 11px;
  background: var(--danger);
  color: var(--white);
  font-size: 1.5em;
  border: none;
  border-radius: 50%;
  width: 33px; height: 33px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
  color: var(--primary);
}

/* FAQ & TEXT SECTION ------------------------------------------------------- */
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.text-section h3 {
  font-size: 1.07rem;
  margin: 13px 0 5px 0;
}
.text-section ul {
  margin-left: 16px;
}
.text-section p {
  font-size: 1.03rem;
}

/* SPECIAL HEADLINE EFFECTS ------------------------------------------------- */
h1, h2 {
  position: relative;
  z-index: 1;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
h1:after, h2:after {
  content: "";
  display: block;
  width: 65px;
  height: 8px;
  border-radius: 18px;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -10px;
  opacity: 0.25;
  z-index: -1;
  animation: headWiggle 2.5s infinite alternate cubic-bezier(.16,.5,.16,1);
}
@keyframes headWiggle {
  0%   { transform: translateX(0) scaleX(0.98) rotate(-1.2deg); }
  100% { transform: translateX(22px) scaleX(1.18) rotate(3.2deg); }
}

/* PLAYFUL MICRO-INTERACTIONS ----------------------------------------------- */
section:hover {
  box-shadow: 0 7px 58px 0 rgba(237,197,49, 0.10), 0 12px 40px var(--brand-shadow);
}

/* - Hide scrollbars in mobile menu overlay for better UX */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Utility classes -------------------------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding:0 !important; overflow: hidden !important; border: 0 !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

/* FONTS ---------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* SELECTION ------------------------------------ */
::selection {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner p {
  color: white;
}

/* DISABLE GRID FORBIDDEN ELEMENTS (just as doc reminder) ------------------ */
/* No display: grid or CSS columns anywhere! */

/* END OF STYLE ------------------------------------------------------------- */
