/* --- 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F9EBEA;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* --- CUSTOM PROPERTIES for BRAND --- */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #E67E22;
  --color-accent: #F9EBEA;
  --color-white: #fff;
  --color-black: #222;
  --color-success: #66CDAA;
  --color-warning: #FC5753;
  --color-neutral-100: #f9f9f9;
  --color-neutral-200: #ededed;
  --color-neutral-300: #d1d1d1;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 28px 0 rgba(230, 103, 34, 0.12),0 1.5px 6px rgba(60,40,30,0.03);
  --shadow-header: 0 2px 14px 0 rgba(44,62,80,.07);
  --shadow-pop: 0 14px 60px 0 rgba(44,62,80,0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- BASE TYPOGRAPHY --- */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background-color: var(--color-accent);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
}
h1 {
  font-size: 2.75rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  animation: popIn 1s cubic-bezier(.4,2,.6,1.2);
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h3 {
  font-size: 1.35rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
}
p, li, span {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: 0.8em;
}
p[type="subheadline"] {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-secondary);
}
strong {
  color: var(--color-secondary);
  font-weight: bold;
}
em {
  color: var(--color-secondary);
  font-style: italic;
}

/* --- GENERAL CONTAINERS & LAYOUT PATTERNS --- */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  padding: 36px 28px 28px 28px;
  position: relative;
  z-index: 1;
  animation: floatUp .6s cubic-bezier(.59,1.29,.62,1.01);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 22px 22px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s, transform 0.22s;
  min-width: 240px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(230,103,34,0.17);
  transform: translateY(-6px) scale(1.025) rotate(-2deg);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafcff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px 0 rgba(44,62,80,0.10);
  margin-bottom: 20px;
  min-width: 208px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Prevent content overlap */
h1, h2, h3, h4, p, ul, ol, li, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* --- HEADER, NAVIGATION, BRAND --- */
header {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-header);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 12px 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-accent);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.19s, color 0.22s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}
nav > a img {
  width: 130px;
  transition: transform 0.33s;
}
nav > a img:hover {
  transform: rotate(-8deg) scale(1.1);
}
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  color: var(--color-white);
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.2s;
  margin-left: 12px;
  letter-spacing: 0.04em;
  outline: none;
  position: relative;
}
.btn-primary {
  background: var(--color-secondary);
  box-shadow: 0 3px 10px 0 rgba(230, 103, 34, 0.15);
}
.btn-primary:hover, .btn-primary:focus {
  background: #fb9e56;
  color: var(--color-primary);
  transform: scale(1.039) rotate(-2deg);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: scale(1.03) rotate(2deg);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 2rem;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  z-index: 99;
  margin-left: 16px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #fb9e56;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.97);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-108vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.6,1.5,.4,1), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  color: var(--color-secondary);
  background: transparent;
  font-size: 2.2rem;
  margin: 20px 40px 0 0;
  border-radius: 16px;
  border: 2.5px solid var(--color-secondary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, border-color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 56px 0 0 0;
  width: 100vw;
  align-items: center;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-secondary);
  background: var(--color-white);
  font-size: 1.25rem;
  padding: 18px 0;
  width: 80vw;
  text-align: center;
  border-radius: var(--radius-md);
  margin-bottom: 2px;
  transition: background 0.16s, color 0.18s, transform 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: scale(1.025);
}

/* --- MAIN LAYOUT --- */
main {
  padding: 32px 0 32px 0;
  background: var(--color-accent);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
/* Decorative playful dots and accents (animated) */
section::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 24px;
  width: 28px;
  height: 28px;
  background: var(--color-secondary);
  opacity: 0.11;
  border-radius: 50%;
  animation: playfulDot 3s infinite alternate;
  z-index: 0;
}
@keyframes playfulDot {
  0% { transform: scale(0.88) translateY(0) rotate(0deg); }
  100% { transform: scale(1.23) translateY(8px) rotate(18deg); }
}
@keyframes floatUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff6ec;
  box-shadow: 0 2px 20px 0 rgba(44,62,80,0.09);
  border-left: 7px solid var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-body);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.09rem;
  line-height: 1.7;
}
.testimonial-card span {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 0.96rem;
  font-style: italic;
  opacity: 0.93;
}

/* --- FEATURES and CARDS --- */
.feature-item strong {
  font-size: 1.15rem;
}
.card em,
li em {
  font-size: 1.01em;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 32px 0 22px 0;
  margin-top: 40px;
  width: 100%;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 42px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 0.98rem;
  padding: 6px 10px 6px 0;
}
footer nav a:hover {
  color: var(--color-accent);
}
.footer-brand img {
  width: 68px;
}
.footer-info {
  font-size: 0.97rem;
  color: #F8D3A7;
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0!important; }
.text-center {
  text-align: center!important;
}
.d-flex { display: flex!important; }
.flex-column { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items: center!important; }
.gap-12 { gap: 12px!important; }
.gap-24 { gap: 24px!important; }

/* --- RESPONSIVE DESIGN: MOBILE-FIRST --- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .content-wrapper {
    padding: 22px 10px 16px 10px;
  }
  .footer-brand img { width: 48px; }
}
@media (max-width: 768px) {
  nav ul, nav, .footer-brand, footer .container {
    flex-direction: column;
    align-items: flex-start!important;
    gap: 10px;
  }
  .footer-info {
    margin-top: 18px;
    margin-bottom: 4px;
    text-align: left!important;
  }
  nav > .btn-primary {
    margin-top: 16px;
    margin-left: 0;
    width: 80vw;
  }
  .content-wrapper {
    box-shadow: 0 2px 12px 0 rgba(230,103,34,0.05);
    padding: 18px 8px;
    margin-bottom: 20px;
  }
  section {
    padding: 16px 0 16px 0;
    margin-bottom: 34px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-item { gap: 9px; }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 17px;
    font-size: 1.02rem;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 8px;
  }
}
@media (max-width: 680px) {
  h1 {
    font-size: 1.72rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  nav > a img {
    width: 90px;
  }
}
@media (max-width: 680px) {
  .container {
    padding: 0 2vw;
  }
  footer .container {
    gap: 18px;
  }
}

/* --- SHOW MOBILE NAV TOGGLE AND COLLAPSE DEFAULT NAV --- */
@media (max-width: 1022px) {
  nav ul { display: none!important; }
  nav > .btn-primary { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.card, .testimonial-card {
  transition: box-shadow 0.24s, transform 0.22s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(230,103,34,0.20);
  transform: scale(1.02) rotate(-1.5deg);
}
.btn-primary:active, .btn-secondary:active {
  filter: brightness(0.96);
  transform: scale(0.97);
}

/* --- PLAYFUL FONT STLYING FOR HEADERS --- */
h1, h2 {
  font-family: var(--font-display), cursive;
  letter-spacing: .01em;
  /* Fun shadow effect for playful feel */
  text-shadow: 1.5px 1.5px 0 #fff7ea, 2.5px 2.5px 0 #f7e7d0, 5px 6px 16px #f9ebea5c;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-secondary);
  color: var(--color-white);
  z-index: 200;
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: 0 0 24px 0 rgba(44,62,80,0.10);
  padding: 24px 8vw 18px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookieFadeIn 1s cubic-bezier(.23,1.4,.32,1);
}
@keyframes cookieFadeIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner .btn-consent {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 11px 26px;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(44,62,80,0.13);
  transition: background 0.12s, color 0.16s;
}
.cookie-banner .btn-consent.accept {
  background: var(--color-success);
  color: #22453a;
}
.cookie-banner .btn-consent.reject {
  background: var(--color-warning);
  color: #fff;
}
.cookie-banner .btn-consent.settings {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .btn-consent.settings:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .btn-consent:focus {
  outline: 2px solid var(--color-primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 19px 2vw 16px 2vw;
    gap: 10px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal {
  position: fixed;
  left: 0;top: 0;right: 0;bottom: 0;
  z-index: 900;
  background: rgba(44,62,80,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  /* animation prepared */
}
.cookie-modal.open {
  display: flex;
  animation: modalIn 0.45s cubic-bezier(.23,1.4,.54,.96);
}
@keyframes modalIn {
  0% { transform: scale(0.82); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content {
  background: #fff6ec;
  color: var(--color-primary);
  padding: 28px 22px 24px 22px;
  border-radius: 24px;
  max-width: 90vw;
  width: 410px;
  box-shadow: var(--shadow-pop);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-secondary);
  font-size: 1.16rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  font-size: 1.5rem;
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-category-label {
  flex: 1;
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.cookie-category-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 18px;
  position: relative;
  outline: none;
  margin: 0 0 0 3px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-category-toggle:checked {
  background: var(--color-success);
}
.cookie-category-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-category-toggle:checked:before {
  left: 20px;
}
.cookie-category.essential .cookie-category-toggle {
  background: #ddd;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-category-toggle:before {
  background: #bbb;
}
.cookie-modal .btn-consent {
  margin-top: 12px;
  width: 100%;
}

/* --- SCROLLBAR STYLE FOR DYNAMIC FEEL --- */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #fff7ea;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #fff7ea;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* --- SELECTION COLOR --- */
::selection {
  background: #fb9e56;
  color: var(--color-primary);
}

/* --- PLAYFUL MINI-CIRCLES ACCENT for sections --- */
.section .playful-circles {
  display: flex;
  gap: 14px;
  position: absolute;
  top: 11px;
  right: 24px;
  z-index: 1;
}
.section .playful-circles span {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: .17;
  animation: popAnim 1.8s infinite alternate;
}
.section .playful-circles span:nth-child(2) {
  background: var(--color-primary);
  opacity: .12;
  animation-delay: .35s;
}
.section .playful-circles span:nth-child(3) {
  background: var(--color-success);
  opacity: .11;
  animation-delay: .63s;
}
@keyframes popAnim {
  0% { transform: scale(1); }
  100% { transform: scale(1.25) rotate(-12deg); }
}

/* --- END OF STYLE.CSS --- */
