/* 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: #FFFCEB;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A202C;
}
ul, ol {
  list-style: none;
}
a { 
  color: #1A202C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #F7C948;
  outline: none;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* VARIABLES / FALLBACKS */
:root {
  --color-primary: #1A202C;
  --color-secondary: #F7C948;
  --color-accent: #FFFFFF;
  --color-bg: #FFFCEB;
  --color-link: #1A202C;
  --color-link-hover: #F7C948;
  --shadow-card: 0 2px 16px 0 rgba(26,32,44,0.11);
  --shadow-hover: 0 4px 24px 0 rgba(26,32,44,0.18);
  --radius-main: 32px;
  --radius-small: 18px;
  --transition-fast: 180ms cubic-bezier(0.76,.01,.65,1.02);
  --transition-mid: 300ms cubic-bezier(0.78,0.01,0.64,1.1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: #1A202C;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.16;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 800;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
h4,h5,h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.subheadline {
  font-size: 1.25rem;
  color: #F7C948;
  margin-bottom: 28px;
  font-weight: bold;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}
strong {
  font-weight: 700;
}
.text-section p,
.text-section ul,
.text-section li {
  font-size: 1.05rem;
}

/* SPACING & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  min-height: 60vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: var(--radius-small);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #FFFAE0;
  border-left: 6px solid #F7C948;
  border-radius: var(--radius-small);
  box-shadow: 0 2px 18px rgba(247, 201, 72,0.09);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #232323;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-style: italic;
  color: #333;
}
.testimonial-card strong {
  color: #1A202C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Ensure all content cards/sections have spacing */
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-left: 0;
  margin-top: 20px;
}

.section + .section {
  margin-top: 40px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 6px 24px 0 rgba(31, 44, 92, 0.058);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 9px;
  transition: background .18s, color .18s, box-shadow .18s;
}
header nav a:not(.btn-primary):focus, header nav a:not(.btn-primary):hover {
  background: #F7C948;
  color: #1A202C;
}

.btn-primary {
  background: #F7C948;
  color: #1A202C !important;
  border-radius: 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 11px 28px;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px 0 rgba(247,201,72,0.13);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  position: relative;
  outline: none;
}
.btn-primary:focus, .btn-primary:hover {
  background: #FFD83A;
  color: #1A202C !important;
  box-shadow: 0 4px 24px 0 rgba(247,201,72,0.22);
  transform: translateY(-2px) scale(1.04) rotate(-0.5deg);
}

.btn-secondary {
  background: #232746;
  color: #FFF !important;
  border-radius: 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 2px 10px 0 rgba(26,32,44,0.13);
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  outline: none;
}
.btn-secondary:focus, .btn-secondary:hover {
  background: #F7C948;
  color: #1A202C !important;
  box-shadow: 0 6px 28px 0 rgba(247,201,72,0.22);
}

/* BURGER MENU - MOBILE */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #F7C948;
  color: #1A202C;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 10px 0 rgba(247,201,72,0.13);
  position: relative;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD83A;
  color: #1A202C;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #FFFDE3;
  z-index: 99999;
  box-shadow: -2px 0 60px 0 rgba(40,34,15,0.06);
  overflow-y: auto;
  transition: left 0.38s cubic-bezier(0.62,0.01,0.43,1.11);
}
.mobile-menu.open {
  left: 0;
  transition: left 0.34s cubic-bezier(0.62,0.01,0.43,1.11);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #232323;
  background: none;
  margin: 18px 22px 0 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7C948;
  color: #1A202C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 30px 32px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232323;
  padding: 14px 0px 14px 4px;
  border-radius: 10px;
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F7C948;
  color: #1A202C;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232746;
  color: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 111111;
  box-shadow: 0 -3px 28px 0 rgba(26,32,44,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 340ms ease, transform 340ms cubic-bezier(0.68,0.01,0.43,1.09);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
  padding: 10px 20px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
  box-shadow: 0 2px 8px 0 rgba(247,201,72,0.13);
  border: none;
  transition: background .17s, color .17s, transform .14s;
}
.cookie-banner .btn-accept {
  background: #F7C948;
  color: #1A202C;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #FFD83A;
}
.cookie-banner .btn-reject {
  background: #FF7675;
  color: #FFF;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #FF6B6B;
}
.cookie-banner .btn-settings {
  background: #FFFFFF;
  color: #232746;
  border: 2px solid #F7C948;
  margin-right: 0;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #F7C948;
  color: #1A202C;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,32,44,0.43);
  z-index: 200000;
  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;
  border-radius: 24px;
  box-shadow: 0 8px 44px 0 rgba(26,32,44,0.16);
  padding: 48px 28px 32px 28px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
  transform: translateY(60px);
  opacity: 0;
  transition: opacity .21s, transform .21s;
}
.cookie-modal-overlay.open .cookie-modal {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 2px;
  color: #1A202C;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F7C948;
  color: #232323;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 34px;
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  transition: background .16s;
  border: none;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #FFD83A;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #332B15;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 46px;
  height: 26px;
  background: #F7C948;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .toggle-switch:checked {
  background: #1A202C;
}
.cookie-modal .toggle-switch::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: left .17s;
}
.cookie-modal .toggle-switch:checked::before {
  left: 23px;
}
.cookie-modal .cookie-category.essential label {
  opacity: 0.5;
}
.cookie-modal .cookie-category.essential .toggle-switch {
  background: #C0C0C0;
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn-save {
  background: #F7C948;
  color: #232323;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-family: "Montserrat", Arial, sans-serif;
  border: none;
  transition: background .16s;
}
.cookie-modal .btn-save:hover, .cookie-modal .btn-save:focus {
  background: #FFD83A;
}

/* FOOTER */
footer {
  background: #1A202C;
  color: #FFD83A;
  padding: 32px 0 12px 0;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #FFD83A;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  padding: 7px 12px;
  border-radius: 8px;
}
footer nav a:hover, footer nav a:focus {
  background: #FFD83A;
  color: #1A202C;
}
footer img {
  height: 55px;
}
footer .text-section {
  color: #FFD83A;
  font-size: 0.99rem;
  line-height: 1.7;
}

/* GENERAL ELEMENTS + PLAYFUL_DYNAMIC ACCENTS */
ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #232323;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F7C948;
  box-shadow: 0 2px 8px rgba(247,201,72,0.13), 0 0 0 #f7c94866;
  position: absolute;
  left: 2px;
  top: 7px;
  animation: playful-pop 2.2s infinite cubic-bezier(0.76,.01,.45,1.08) alternate;
}
@keyframes playful-pop {
  0% { transform: scale(1);}
  36% { transform: scale(1.18); }
  58% { transform: scale(0.85); }
  100% { transform: scale(1);}
}

.content-wrapper h2 + ul, .content-wrapper h1 + ul {
  margin-top: 6px;
  margin-bottom: 8px;
}

.text-section ul li {
  padding-left: 25px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.text-section ul li:before {
  background: #FFD83A;
  width: 11px;
  height: 11px;
  left: 3px;
  top: 8px;
  animation: playful-pop 1.88s infinite cubic-bezier(.59,.11,.42,1.03) alternate;
}

/* ICONS IN CONTACT PAGE */
.text-section ul li img {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
  margin-top: -2px;
}

/* ANIMATIONS / EFFECTS */
.btn-primary, .btn-secondary {
  transition: box-shadow .18s, background .16s, color .16s, transform .15s;
  will-change: box-shadow, transform;
}
.section, .card, .testimonial-card {
  transition: box-shadow .22s, background .15s, transform .22s;
}
section:hover, .card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.016);
}

/* UTILITY */
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 920px; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .section { padding: 28px 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .content-grid, .card-container, .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .features,
  .section, 
  .card, 
  .testimonial-card, 
  .feature-item, 
  .card-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .card { padding: 18px 9px; }
  .section { padding: 26px 6px; }
  .card-container, .content-grid, .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary, .btn-secondary, .cookie-banner .btn-accept, .cookie-banner .btn-settings, .cookie-banner .btn-reject {
    font-size: 0.99rem;
    padding: 9px 13px;
  }
  .cookie-modal {
    width: 99vw;
    padding: 24px 8px 18px 8px;
  }
}

/* FOCUS VISIBILITY & ACCESSIBILITY */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 3px solid #F7C948;
  outline-offset: 2px;
}

/* ===== DYNAMIC, PLAYFUL MICRO-INTERACTIONS ===== */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary:after, .btn-secondary:after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,204,0.15);
  border-radius: 50%;
  transition: width .23s, height .23s, top .23s, left .23s;
  pointer-events: none;
  z-index: 0;
}
.btn-primary:active:after, .btn-secondary:active:after {
  width: 130%; height: 210%;
  top: -50%; left: -15%;
  transition: none;
}

/* Make sure content and white space never overlap */
.section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* --- End CSS --- */
