/*----------------------------------------
  CSS 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background: #FAF3E6;
  color: #22372e;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #B7602C;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,2,.3,1);
}
a:hover, a:focus {
  color: #335143;
}
ul, ol {
  margin: 16px 0 16px 20px;
}

/*-----------------------------------------
  VARIABLES (Fallback for older browsers)
-----------------------------------------*/
:root {
  --brand-primary: #335143;
  --brand-primary-dark: #22372e;
  --brand-secondary: #FAF3E6;
  --brand-white: #FFFFFF;
  --brand-accent: #B7602C;
  --brand-accent-light: #f3be8b;
  --shadow-playful: 0 4px 16px 0 rgba(51,81,67,0.10), 0 1.5px 4px 0 rgba(183,96,44,0.07);
  --radius-card: 22px;
  --radius-btn: 18px;
  --radius-section: 32px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition-fun: 0.24s cubic-bezier(.4,2,.3,1);
  --fun-yellow: #FFF275;
  --fun-green: #7DF7C0;
  --fun-blue: #7CC6FE;
  --fun-pink: #FF7B92;
}

/*----------------------------------------- 
  CONTAINER & SPACING UTILITIES
-----------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: var(--radius-section);
  box-shadow: 0 2px 10px 0 rgba(51,81,67,0.06);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 10px; 
    padding-right: 10px;
  }
}

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

/*-----------------------------------------  
  TYPOGRAPHY - playful_dynamic
-----------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary-dark);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 9px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
}
.subtitle {
  font-size: 1.18rem;
  color: var(--brand-accent);
  margin-bottom: 14px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 600;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
}
.text-section p {
  margin-bottom: 8px;
}
.b, b, strong {
  font-weight: bold;
}

/* playful headline accents */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: inline-block;
  width: 38px;
  height: 7px;
  background: var(--fun-yellow);
  border-radius: 6px;
  margin-left: 12px;
  vertical-align: middle;
  animation: playfulwiggle 2.5s infinite both linear alternate;
}
@keyframes playfulwiggle {
  0% { transform: rotate(-5deg) scaleX(.94); }
  50% { transform: rotate(5deg) scaleX(1.09); }
  100% { transform: rotate(-4deg) scaleX(.97); }
}

/*-----------------------------------------  
  HEADER & NAV - playful and dynamic
-----------------------------------------*/
header {
  background: var(--brand-white);
  box-shadow: 0 2px 12px 0 rgba(51,81,67,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 54px;
  width: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.03rem;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 10px 9px;
  border-radius: 12px;
  position: relative;
  transition: background var(--transition-fun), color var(--transition-fun);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun-yellow);
  color: var(--brand-accent);
}

.cta-primary {
  background: var(--brand-accent);
  color: var(--brand-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.11rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(183,96,44,.14);
  transition: background var(--transition-fun), transform var(--transition-fun), box-shadow var(--transition-fun);
  cursor: pointer;
  letter-spacing: .06em;  
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-primary);
  color: var(--fun-yellow);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 10px 20px rgba(51,81,67,0.22);
}

/* Hamburger Menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--fun-yellow);
  border: none;
  font-size: 2.2rem;
  color: var(--brand-primary);
  margin-left: 18px;
  border-radius: 50%;
  padding: 6px 14px 0px 14px;
  box-shadow: 0 2px 14px 0 rgba(183,96,44,0.07);
  cursor: pointer;
  transition: background var(--transition-fun), box-shadow var(--transition-fun);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--brand-accent-light);
  outline: 2px solid var(--brand-primary-dark);
}

/*---------------- MOBILE MENU ------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,243,230,0.96);
  z-index: 2000;
  transform: translateX(-110vw);
  transition: transform .44s cubic-bezier(.4,2,.7,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 48px;
  padding-left: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--fun-yellow);
  border: none;
  font-size: 2.3rem;
  border-radius: 50%;
  padding: 6px 15px 0px 15px;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition-fun);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brand-accent-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
  width: 100%;
}
.mobile-nav a {
  color: var(--brand-primary-dark);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--fun-green);
  border-radius: 17px;
  margin: 0 0 0 24px;
  padding: 18px 28px;
  transition: background .19s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-pink, #FF7B92);
  color: var(--brand-white);
}
@media (max-width: 970px) {
  .main-nav, .cta-primary {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ensure always visible for accessibility */
@media (max-width: 500px) {
  .mobile-menu-close {
    top: 16px;
    right: 11px;
    font-size: 2.1rem;
    padding: 6px 12px 0px 12px;
  }
  .mobile-nav a {
    font-size: 1.06rem;
    padding: 15px 15px;
    margin-left: 9px;
  }
}

/*----------------------------------------------
  HERO-AREA (playful+dynamisch)
------------------------------------------------*/
.hero {
  background: linear-gradient(90deg, var(--fun-yellow) 0%, var(--fun-pink) 82%, var(--fun-blue) 100%);
  background-size: 200% 150%;
  background-position: right bottom;
  animation: herobgmove 10s linear infinite alternate;
  border-radius: 0 0 34px 34px;
  min-height: 230px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: 0 6px 40px 0 rgba(51,81,67,0.09);
}
@keyframes herobgmove {
  0% { background-position: right bottom; }
  100% { background-position: left top; } 
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 58px;
  padding-bottom: 58px;
}
.hero .content-wrapper {
  background: rgba(255,255,255,0.94);
  border-radius: 18px;
  box-shadow: var(--shadow-playful);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero h1 {
  color: var(--brand-primary-dark);
  font-size: 2.5rem;
  text-shadow: 1px 2px 0 #FFF275;
}
.hero .cta-primary {
  margin-top: 18px;
  align-self: flex-start;
}
@media (max-width: 700px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 24px;
  }
  .hero .container {
    padding-top: 32px; padding-bottom: 32px;
  }
  .hero .content-wrapper {
    padding: 22px 11px;
  }
  .hero h1 {
    font-size: 1.61rem;
  }
}

/*----------------------------------------------
  GRID & FLEXBOX LAYOUTS (mandatory patterns)
----------------------------------------------*/
.feature-grid, .service-grid, .testimonial-list, .footer-nav, .footer-contact, .contact-info, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid {
  gap: 24px;
}
.service-grid {
  gap: 24px;
}
.testimonial-list {
  gap: 24px;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-card);
  background: var(--brand-white);
  box-shadow: var(--shadow-playful);
}
.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;
  background: var(--fun-green);
  color: #22372e;
  border-radius: 22px;
  box-shadow: 0 1.5px 10px rgba(51,81,67,0.08);
  min-width: 250px;
  max-width: 380px;
  font-size: 1.06rem;
}
.testimonial-card p {
  margin-bottom: 6px;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: var(--brand-accent);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: .97rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 28px;
}
/* Responsive GRID */
@media (max-width: 980px) {
  .feature-grid,.service-grid {
    gap: 18px; 
  }
  .testimonial-list {
    gap: 16px;
  }
}
@media (max-width: 860px) {
  .feature-grid > *, .service-grid > {}, .testimonial-list > * {
    min-width: calc(50% - 16px);
    flex: 1 1 calc(48%);
    max-width: 100%;
  }
}
@media (max-width: 690px) {
  .feature-grid, .service-grid, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 530px) {
  .feature-grid, .service-grid, .testimonial-list {
    gap: 12px;
  }
}
.text-image-section, .contact-info {
  flex-direction: row;
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section, .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/*----------------------------------------------
  CARDS, FEATURES, SERVICES, PRICING TABLES
----------------------------------------------*/
.feature {
  background: var(--brand-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-playful);
  padding: 29px 20px 23px 20px;
  min-width: 215px;
  max-width: 325px;
  flex: 1 1 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 10px;
  transition: box-shadow .22s, transform .16s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 1.5px #b8eac6);
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 26px 0 rgba(51,81,67,0.19);
  transform: scale(1.035) rotate(-1deg);
  z-index: 2;
}
.service-card {
  background: var(--fun-blue);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-playful);
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 330px;
  margin-bottom: 20px;
  padding: 28px 22px 21px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .22s, transform .15s;
  font-family: var(--font-display);
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(183,96,44,0.15), 0 1.5px 8px 0 rgba(51,81,67,0.11);
  transform: translateY(-3px) scale(1.03);
}
.service-card h3 {
  color: var(--brand-primary-dark);
  font-size: 1.17rem;
}
.service-card span {
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
}

.pricing-table {
  margin: 32px 0 32px 0;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-white);
  border-radius: 17px;
  box-shadow: var(--shadow-playful);
  font-size: 1rem;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 13px 18px;
  text-align: left;
}
.pricing-table th {
  background: var(--fun-yellow);
  color: var(--brand-primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
}
.pricing-table tr:nth-child(even) td {
  background: var(--fun-green);
}
.pricing-table tr td {
  color: var(--brand-primary-dark);
}
@media (max-width: 700px) {
  .pricing-table table, .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr {
    display: block;
    width: 100%;
  }
  .pricing-table th, .pricing-table td {
    padding: 11px 8px;
  }
}

/*----------------------------------------------
  TESTIMONIALS & RATING STARS
----------------------------------------------*/
.testimonials {
  background: var(--brand-white);
  border-radius: 28px;
  box-shadow: 0 2px 18px 0 rgba(183,96,44,0.07);
  margin-bottom: 60px;
  padding: 28px 0 28px 0;
}
.rating-stars {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
  font-size: 2.1rem;
  color: #FABB1E;
  letter-spacing: 5px;
  text-shadow: 0 1.5px 5px rgba(250,186,30,0.14);
}

/*----------------------------------------------
  FOOTER
----------------------------------------------*/
footer {
  background: var(--brand-primary-dark);
  color: var(--brand-white);
  padding: 35px 0 20px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--brand-white);
  font-family: var(--font-display);
  font-size: 0.98rem;
  opacity: 0.91;
  transition: opacity .15s;
}
.footer-nav a:hover {opacity: 1;}
.footer-contact {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-contact a {
  color: var(--fun-yellow);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
  footer {
    padding: 28px 0 11px 0; 
  }
}

/*----------------------------------------------
  COOKIES CONSENT BANNER & MODAL
----------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--fun-yellow);
  color: var(--brand-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 4000;
  padding: 22px 20px 22px 20px;
  box-shadow: 0 -2px 20px rgba(51,81,67,.08);
  font-size: 1rem;
  border-radius: 27px 27px 0 0;
  animation: slideInCookie 1.3s cubic-bezier(0.66,0,0.24,1);
}
@keyframes slideInCookie {
  0% {transform: translateY(120%);}
  90%{transform:translateY(-6%);}
  100%{transform:translateY(0);}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  margin-left: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--brand-primary-dark);
  color: var(--brand-white);
  border: none;
  border-radius: 15px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 23px;
  margin-right: 3px;
  cursor: pointer;
  transition: background .14s, color .14s, transform .13s;
}
.cookie-banner button.settings {
  background: var(--fun-blue);
  color: var(--brand-primary-dark);
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: var(--brand-accent);
  color: var(--fun-yellow);
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner button.reject {
  background: var(--fun-pink);
  color: var(--brand-primary-dark);
}
.cookie-banner button.reject:hover {
  background: #e84545;
  color: #fff;
}
.cookie-banner button.settings:hover {
  background: var(--fun-green);
  color: var(--brand-primary-dark);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-radius: 18px 18px 0 0;
    padding: 18px 10px 18px 10px;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
    gap: 11px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 4010;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,55,46,0.64);
  display: flex;
  align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s, pointer-events 0s .28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .28s;
}
.cookie-modal-content {
  background: var(--brand-white);
  color: var(--brand-primary-dark);
  border-radius: 24px;
  box-shadow: 0 8px 44px rgba(51,81,67,0.17);
  padding: 38px 26px 30px 26px;
  width: 98%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: showCookieModal 0.56s cubic-bezier(.44,2,.2,1);
  transform: translateY(32px) scale(.94);
}
@keyframes showCookieModal {
  from {opacity:0; transform: translateY(70px) scale(.8);}
  to   {opacity:1; transform: translateY(0) scale(1);}
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.cookie-category-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 28px;
}
.cookie-category-switch input[type=checkbox] {
  opacity: 0;
  width: 44px;
  height: 28px;
  margin: 0;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  cursor: pointer;
}
.cookie-category-slider {
  display: block;
  width: 44px;
  height: 28px;
  border-radius: 17px;
  background: #eee;
  transition: background .18s;
}
.cookie-category-switch input:checked + .cookie-category-slider {
  background: var(--fun-green);
}
.cookie-category-slider:before {
  content: '';
  display: block;
  position: absolute;
  left: 5px; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  transition: transform .18s;
}
.cookie-category-switch input:checked + .cookie-category-slider:before {
  transform: translateX(16px);
  background: var(--fun-blue);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal-actions button {
  padding: 10px 22px;
  border-radius: 15px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .16s;color .16s;
  background: var(--brand-primary-dark);
  color: var(--brand-white);
}
.cookie-modal-actions .close {
  background: var(--fun-yellow);
  color: var(--brand-primary-dark);
}
.cookie-modal-actions .close:hover { background: var(--fun-pink); color: #fff; }
.cookie-modal-actions .save {
  background: var(--brand-accent);
}
.cookie-modal-actions .save:hover { background: var(--brand-primary); }

/*---------------------------------------------
  FORM ELEMENTS & MAP EMBED
----------------------------------------------*/
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1.5px solid #ccd8c6;
  background: #fff;
  margin-bottom: 18px;
  outline: none;
  transition: border-color .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fun-blue);
  box-shadow: 0 1.5px 11px 0 rgba(124,198,254,0.16);
}
button {
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.map-embed {
  background: var(--fun-blue);
  color: var(--brand-primary-dark);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(124,198,254,0.07);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.06rem;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

/*---------------------------------------------
  PLAYFUL DYNAMIC INTERACTIONS
----------------------------------------------*/
.cta-primary {
  animation: playfulbtnpop 1.5s infinite alternate cubic-bezier(.57,2,.19,1.08);
}
@keyframes playfulbtnpop {
  0%   { transform: scale(1) rotate(-1.5deg); }
  40%  { transform: scale(1.03) rotate(.8deg);}
  80%  { transform: scale(1.057) rotate(-.8deg);}
  100% { transform: scale(1) rotate(-1.2deg);}
}
.feature img {
  animation: playfuliconwiggle 2.2s infinite both cubic-bezier(.66,0,0.28,1);
}
@keyframes playfuliconwiggle {
  0% {transform: rotate(-6deg) scale(1.04);}
  50%{transform: rotate(6deg) scale(1.1);}
  100%{transform: rotate(-6deg) scale(1.05);}
}

.service-card, .feature {
  transition: transform .18s cubic-bezier(.66,0,0.24,1), box-shadow .22s cubic-bezier(.78,1.7,.54,1);
}
.service-card:hover, .feature:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1.5deg);
  box-shadow: 0 4px 32px 0 rgba(183,96,44,0.13), 0 2.5px 8px 0 rgba(51,81,67,0.15);
    z-index: 2;
}

/* micro-interaction for testimonial-card */
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(124,198,254,0.10);
  transform: scale(1.036) rotate(0.4deg);
}

/*----------------------------------------------
  RESPONSIVE TYPOGRAPHY AND LAYOUT
----------------------------------------------*/
@media (max-width: 1090px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.46rem; }
}
@media (max-width: 700px) {
  .hero h1, h1 { font-size: 1.3rem; }
  h2 { font-size: 1.12rem; }
  .cta-primary { padding: 10px 16px; font-size: .97rem; }
}

/* Make sure all gaps/margins stay consistent on extra small screens */
@media (max-width: 485px) {
  .feature-grid, .service-grid, .testimonial-list { gap: 8px; }
  .section { padding: 14px 2px; }
}

/*---------------------------------------------
  ACCESSIBILITY FOCUS
----------------------------------------------*/
a:focus { outline: 2px dashed var(--brand-accent); outline-offset: 2px;}
button:focus-visible {
  outline: 2px dashed var(--fun-blue); outline-offset: 2px;
}

/*---------------------------------------------
  MISCELLANEOUS STYLES
----------------------------------------------*/
::-webkit-scrollbar {
  width: 12px;
  background: var(--fun-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-accent);
  border-radius: 9px;
}

/* playful list styles */
ul {
  list-style: disc inside;
}
li {
  margin-bottom: 7px;
}

/* Hide elements visually only but keep for screenreaders */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/*--------------------------------------------
  PRINT STYLES
---------------------------------------------*/
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}

/*--------------------------------------------
   END CSS
---------------------------------------------*/
