/* --- 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, menu, 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, main, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFD;
  color: #232a35;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: #2D3C4C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #ECA400;
  text-decoration: underline;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
button, .cta-btn {
  font-family: inherit;
  outline: none;
  border: none;
  cursor: pointer;
  background: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}

/* --- BRAND & DESIGN SYSTEM --- */
:root {
  --color-primary: #2D3C4C;
  --color-secondary: #F2F2F2;
  --color-accent: #ECA400;
  --color-white: #fff;
  --color-bg-alt: #FFF7E0;
  --color-success: #41e36a;
  --color-error: #ee4a5b;
  --shadow-card: 0 4px 24px 0 rgba(236,164,0,0.10), 0 1.5px 6px rgba(45,60,76,0.07);
  --shadow-btn: 0 2px 8px 0 rgba(236,164,0,0.14);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.16;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1.08rem;
}
strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* --- CONTAINER & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
@media (max-width: 992px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 8px;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 32px;
    padding: 18px 2px;
    gap: 14px;
  }
  .container {
    padding: 0 6px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 270px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s cubic-bezier(0.33,1,0.68,1), box-shadow 0.22s;
  border: 2.5px solid transparent;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.03) rotate(-0.7deg);
  box-shadow: 0 6px 32px 0 rgba(236,164,0,0.16);
  border: 2.5px solid var(--color-accent);
  z-index: 2;
}

.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: calc(var(--radius) * 0.8);
  box-shadow: 0 2.5px 14px rgba(45,60,76,0.06);
  margin-bottom: 20px;
  min-width: 215px;
  max-width: 440px;
  word-break: break-word;
  color: #232a35;
  font-size: 1.08rem;
  font-weight: 500;
  transition: transform 0.18s, box-shadow 0.2s;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card span {
  color: var(--color-accent);
  font-size: 1.15em;
  margin-left: 8px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 0 36px rgba(236,164,0,0.12);
  transform: rotate(2deg) scale(1.03);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  padding: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}
header img {
  max-height: 51px;
  margin-right: 16px;
  border-radius: 12px;
  background: #fff3df;
  transition: box-shadow 0.18s;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 7px 8px;
  line-height: 1.6;
  border-radius: 12px;
  transition: background 0.19s, color 0.26s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  border-radius: 25px;
  padding: 10px 28px;
  margin-left: 18px;
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.5px;
  text-shadow: none;
  border: 2.5px solid var(--color-accent);
  position: relative;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #fff;
  color: var(--color-accent);
  border: 2.5px solid var(--color-primary);
  box-shadow: 0 6px 18px #eca40026;
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 10px;
  padding: 6px 12px;
  margin-left: 18px;
  border: 2px solid transparent;
  box-shadow: 0 2px 14px #eca40015;
  transition: background 0.15s, color 0.19s, border 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  outline: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  z-index: 140;
  transform: translateX(102vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.86,0,0.07,1), opacity 0.22s;
}
.mobile-menu.mobile-menu--open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2.3rem;
  margin: 13px 28px 0 0;
  border-radius: 8px;
  padding: 4px 18px 4px 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-white);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin: 32px 42px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.21rem;
  font-family: var(--font-display);
  padding: 10px 12px 10px 0;
  border-radius: 8px;
  transition: background 0.19s, color 0.16s;
  width: 100%;
  margin-bottom: 3px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .mobile-nav {
    margin: 24px 18px;
  }
}

/* --- HERO BANNER --- */
.hero {
  background: linear-gradient(90deg, #FFF7E0 60%, #F2F2F2 100%);
  padding: 68px 0 44px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--color-accent);
  filter: drop-shadow(0px 3px 6px #eca4001a);
  text-shadow: 1px 2px 0 #fff3df;
}
.hero p {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.22rem;
}
.hero .cta-btn {
  margin-top: 16px;
  font-size: 1.08rem;
  animation: jumpBtn 1.4s cubic-bezier(0.3,0.7,0.5,1) infinite alternate;
}
@keyframes jumpBtn {
  0% { transform: translateY(0) scale(1); }
  90% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-9px) scale(1.04); }
}
@media (max-width: 700px) {
  .hero { padding: 33px 0 22px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.06rem; }
}

/* --- TABLE --- */
table {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 7px rgba(236,164,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
}
th {
  background: var(--color-bg-alt);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}
td {
  color: #273348;
  font-family: var(--font-body);
  font-size: 1.01rem;
}
tr:nth-child(even) td {
  background: #f6ead4;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 30px 0 16px 0;
  margin-top: 55px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-meta {
  font-family: var(--font-body);
  color: #e8d478;
  font-size: 0.9rem;
  margin-top: 14px;
}
footer img {
  max-height: 34px;
  margin-bottom: 12px;
  background: #fff3df;
  border-radius: 10px;
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
  user-select: none;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* --- FORMS (used on thank-you contact etc) --- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.5px solid #c5d1e0;
  border-radius: 9px;
  margin-bottom: 12px;
  background: #fff;
  resize: vertical;
  transition: border 0.13s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-accent);
  outline: none;
}

/* --- LIST STYLES --- */
ul {
  list-style: none;
  margin-bottom: 6px;
  padding-left: 0;
}
ul li {
  margin-bottom: 14px;
  padding-left: 26px;
  position: relative;
  line-height: 1.55;
  font-size: 1.09rem;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ECA400 60%, #2D3C4C 100%);
  box-shadow: 0 1.5px 4px #eca40044;
  margin-right: 10px;
  position: absolute;
  left: 0px;
  top: 2.5px;
  animation: playfulDot 1.2s ease-in-out infinite alternate;
}
@keyframes playfulDot {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px) scale(1.12); }
}

ol {
  list-style: none;
  counter-reset: playfulList;
  margin-bottom: 9px;
  padding-left: 0;
}
ol li {
  counter-increment: playfulList;
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
  font-size: 1.09rem;
}
ol li:before {
  content: counter(playfulList) '.';
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 800;
  background: #fff3df;
  border-radius: 5px;
  display: inline-block;
  width: 20px;
  text-align: right;
  margin-right: 9px;
  position: absolute;
  left: 0;
  top: 0.3em;
}

/* --- ANIMATED DECORATIVE ELEMENTS --- */
.section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px; right: 17px;
  width: 44px; height: 44px;
  border-radius: 70% 30% 80% 25% / 40% 80% 26% 55%;
  background: #FFD44C;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.2) rotate(-12deg);
  animation: accentWave 3s cubic-bezier(0.45,0,0.55,1) infinite alternate;
}
@keyframes accentWave {
  0% { opacity: 0.14; transform: scale(1.15) rotate(-12deg); }
  100% { opacity: 0.28; transform: scale(1.34) rotate(12deg); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 800px) {
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.98rem;
  }
}
@media (max-width: 700px) {
  th, td {
    padding: 9px 5px;
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.07rem; }
  .hero h1 { font-size: 1.29rem; }
  .footer-nav {
    flex-direction: column;
    gap: 3px;
  }
  .testimonial-card { padding: 12px 7px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 290;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 0 20px #2d3c4c26;
  font-size: 1.03rem;
  animation: cookieBannerDrop 0.67s cubic-bezier(0.39,1.4,0.6,1.08);
}
@keyframes cookieBannerDrop {
  from { transform: translateY(100%); opacity: 0.15; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 22px;
  padding: 8px 20px;
  margin: 0 2px;
  box-shadow: 0 2px 7px #eca40017;
  border: 2px solid var(--color-accent);
  transition: background 0.19s, color 0.12s, border 0.13s, transform 0.1s;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid var(--color-primary);
}
.cookie-btn.cookie-btn--reject {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #c1c3c6;
}
.cookie-btn.cookie-btn--reject:hover, .cookie-btn.cookie-btn--reject:focus {
  background: #f6ead4;
  color: #c48901;
  border: 2px solid var(--color-error);
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,42,61,0.41);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.cookie-modal-overlay--open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 10px 40px #2d3c4c30;
  min-width: 310px;
  max-width: 430px;
  width: 98vw;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalJump 0.53s cubic-bezier(0.37, 0.96, 0.48, 1.19);
}
@keyframes cookieModalJump {
  from { transform: scale(0.5) translateY(60px); opacity: 0.12; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--color-accent);
}
.cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 0;
  font-size: 1.01rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category--essential label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal .cookie-category--essential input[type="checkbox"] {
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 7px 18px;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn-close {
  margin-right: auto;
  background: #fff;
  color: var(--color-error);
  font-size: 1.14rem;
  border: none;
  padding: 5px 16px;
  border-radius: 15px;
  transition: background 0.16s,color 0.16s;
}
.cookie-modal .cookie-btn-close:hover,
.cookie-modal .cookie-btn-close:focus {
  background: #f7e6e6;
  color: #a42e2e;
}

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

body, p, li, td, th, input, textarea, select {
  font-family: var(--font-body);
}
h1, h2, h3, .cta-btn, .main-nav a, .footer-nav a {
  font-family: var(--font-display);
}

/* --- PLAYFUL MICRO-ANIMATIONS --- */
.card, .testimonial-card, .cta-btn, .hero .cta-btn {
  transition: box-shadow 0.19s, transform 0.18s, border 0.17s, color 0.13s;
  will-change: transform, box-shadow;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98) rotate(-0.7deg);
}

/* --- UTILS & EXTRAS --- */
.hide {
  display: none !important;
}
.mt-4 { margin-top: 24px; }
.mt-8 { margin-top: 48px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- Accessibility: focus visible --- */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- PRINT --- */
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .hero, .card, .testimonial-card { box-shadow: none !important; }
  body { background: #fff; }
}
