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

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F3EDD7;
  min-height: 100%;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #29506D;
  background: #F3EDD7;
  line-height: 1.7;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Font Imports - For demo, using Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h1 { font-size: 2.7rem; font-weight: 900; margin-bottom: 24px; color: #29506D; letter-spacing: -1px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; color: #29506D; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: #29506D; }
h4, h5, h6 { font-weight: 600; color: #29506D; }
p, li, td, th, dd, dt, dl {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}

/* Fun, Playful Headings Animation */
h1, h2 { 
  animation: bounce-in 1.2s cubic-bezier(.43,1.68,.46,1) 0.1s both; 
}

@keyframes bounce-in {
  0%   { opacity: 0; transform: translateY(-40px) scale(.85); }
  60%  { opacity: 1; transform: translateY(10px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}

/* Main Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/**** HEADER STYLES ****/
header {
  background: #fff;
  box-shadow: 0 4px 18px -5px rgba(41,80,109,0.09);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
header a img {
  height: 52px;
  display: block;
  transition: transform .23s cubic-bezier(.62,1.68,.19,.58);
}
header a img:hover {
  transform: scale(1.09) rotate(-6deg);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: #29506D;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.08rem;
  position: relative;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background .14s, color .19s;
}
nav a:hover, nav a:focus {
  background: #77A07A22;
  color: #14817F;
  outline: none;
}

.cta-button {
  background: #77A07A;
  color: #fff;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  border: none;
  padding: 13px 28px;
  border-radius: 26px;
  letter-spacing: .04em;
  box-shadow: 0 2px 12px -4px #29506D26;
  cursor: pointer;
  transition: background .18s linear, transform .15s cubic-bezier(.43,1.76,.46,1);
  position: relative;
  z-index: 2;
  text-align: center;
  margin-left: 12px;
  outline: none;
  text-shadow: 0 2px 10px #3f3e2e18;
}
.cta-button:hover, .cta-button:focus {
  background: #29506D;
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
}

/**** HERO & PRIMARY SECTION ****/
.hero {
  background: #F9BC60;
  background: linear-gradient(90deg, #fceabb 0%, #F9BC60 40%, #F3EDD7 100%);
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  min-height: 350px;
  margin-bottom: 60px;
  padding: 40px 0 60px 0;
  display: flex;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero h1 {
  padding-top: 12px;
  font-size: 2.4rem;
  color: #29506D;
}
.hero p {
  color: #172839;
  font-size: 1.18rem;
  margin-bottom: 18px;
  font-weight: 500;
}
.hero .cta-button {
  margin-top: 10px;
  background: #F8615A;
  color: #fff;
  box-shadow: 0 2px 18px -3px #e25f5d33;
  animation: wigglebtn 2.2s infinite linear alternate-reverse;
}
@keyframes wigglebtn {
  0%   { transform: scale(1) rotate(-3deg); }
 20%   { transform: scale(1.08) rotate(1deg); }
 80%   { transform: scale(1.04) rotate(-1deg); }
 100% { transform: scale(1) rotate(-3deg); }
}

/**** SECTION SPACING & LAYOUTS - visible on all pages ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 24px -10px #b4c4d166;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 16px -10px #69abc330;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 275px;
  flex: 1 1 260px;
  transition: box-shadow .15s, transform .17s;
}
.card:hover { box-shadow: 0 12px 32px -6px #ffd77d44; transform: translateY(-4px) scale(1.023); }

.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: #F9BC60;
  box-shadow: 0 4px 20px -6px #f7c98082;
  border-radius: 22px;
  color: #1F321A;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .2s;
  position: relative;
  min-width: 0;
}
.testimonial-card:hover { box-shadow: 0 8px 30px -4px #e6ba003f; transform: scale(1.017); }
.testimonial-card > div { font-style: italic; color: #29506D; font-size: .99rem; font-weight: 700; }
.star-rating {
  font-size: 1.4rem;
  color: #FF8A00;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 7px;
  user-select: none;
}

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

/**** LISTS ****/
ul {
  margin-left: 20px;
  margin-bottom: 16px;
  list-style: none;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 1rem;
}
ul li:before {
  content: '\1F436'; /* Dog emoji, playful */
  font-size: 1.15em;
  position: absolute;
  left: 0;
  top: 2px;
}

/**** TABLES ****/
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 1rem;
  box-shadow: 0 1px 10px -6px #29506D22;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 16px 10px;
  border-bottom: 1px solid #f0e9cf;
  text-align: left;
}
th { background: #77A07A; color: #fff; font-weight: bold; font-size: 1.03rem; }
td { color: #29506D; }
tr:last-child td { border-bottom: none; }

/**** DL FAQ Section ****/
dl { margin-bottom: 22px; }
dt {
  margin-top: 18px;
  font-weight: 700;
  color: #29506D;
  font-size: 1.14rem;
}
dd { margin-left: 0; padding-left: 22px; margin-bottom: 13px; }

dd a { color: #F8615A; text-decoration: underline dotted; font-weight: 700; }

a { color: #29506D; transition: color .13s, background .14s; }
a:hover, a:focus { color: #77A07A; background: #f3edd799; }

/**** MISC TEXT BLOCKS & UTILITY CLASSES ****/
.text-section { padding: 13px 4px; }
.text-section h3 { margin-top: 12px; color: #14817F; }

/**** FEATURED / PROMO BANNERS ****/
.promo-banner {
  background: #77A07A;
  color: #fff;
  border-radius: 24px;
  padding: 20px 30px;
  margin-bottom: 28px;
  font-size: 1.17rem;
  text-align: center;
  letter-spacing: .01em;
  box-shadow: 0 2px 18px -6px #8cadad46;
}

/**** FOOTER ****/
footer {
  background: #29506D;
  color: #fff;
  padding: 44px 0 28px 0;
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
  box-shadow: 0 -2px 24px -10px #6989a315;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-end;
}
footer nav {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: .87;
  text-decoration: none;
  transition: opacity .18s;
}
footer nav a:hover { opacity: 1; background: #fff1; color: #FFDA5B; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  opacity: .87;
}
.footer-brand img {
  height: 32px;
  vertical-align: middle;
}

/**** BURGER MENU + MOBILE NAVIGATION ****/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 9999;
  background: #77A07A;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 18px;
  box-shadow: 0 2px 6px #314b4268;
  cursor: pointer;
  transition: background .18s, transform .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #29506D;
  color: #FFFDA5;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F9BC60ee;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.53,1.63,.61,.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0.93;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 4px 0 24px 0 #f9bc6077;
  opacity: 1;
}
.mobile-menu-close {
  margin-top: 20px;
  margin-left: 20px;
  background: #29506D;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #bba94438;
  transition: background .15s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F8615A;
  color: #fff;
}
.mobile-nav {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #29506D;
  background: #fff;
  border-radius: 16px;
  padding: 14px 24px;
  width: 100%;
  margin-bottom: 4px;
  text-decoration: none;
  box-shadow: 0 1px 8px -2px #f3edd770;
  transition: background .18s, color .14s, transform .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFDA5B;
  color: #F8615A;
  transform: translateX(4px);
}

/**** COOKIE BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fffbe2;
  color: #135056;
  border-top: 4px solid #F9BC60;
  box-shadow: 0 -4px 24px -3px #f8d97a90;
  z-index: 10500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 26px 22px 22px 22px;
  gap: 22px;
  font-size: 1rem;
  animation: slide-up-cookie .9s cubic-bezier(.55,.04,.63,.93);
}
@keyframes slide-up-cookie {
  0% { transform: translateY(120px); opacity: 0; }
  60% { transform: translateY(-10px); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 240px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  padding: 9px 21px;
  border: none;
  cursor: pointer;
  transition: background .13s, color .13s, transform .12s;
  box-shadow: 0 2px 10px -4px #ece07d21;
}
.cookie-banner .accept {
  background: #77A07A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #41d893;
  color: #206240;
  transform: scale(1.05);
}
.cookie-banner .reject {
  background: #F8615A;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e4463b;
  color: #e3d851;
  transform: scale(1.05);
}
.cookie-banner .settings {
  background: #fff;
  color: #F8615A;
  border: 2px solid #f8615a33;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F3EDD7;
  color: #29506D;
  transform: scale(1.05);
}

/**** COOKIE MODAL ****/
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92vw;
  max-width: 400px;
  background: #FFF;
  color: #29506D;
  box-shadow: 0 8px 60px 2px #e6bc6270;
  border-radius: 22px;
  transform: translate(-50%,-50%) scale(.96);
  z-index: 11000;
  padding: 36px 28px 28px 28px;
  animation: fade-cookie-modal-in .6s cubic-bezier(.45,1.3,.76,1);
}
.cookie-modal.open {
  display: block;
}
@keyframes fade-cookie-modal-in {
  0%   { opacity: 0; transform: translate(-50%,-32%) scale(.82); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.29rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal__category label {
  font-size: 1.07rem;
  font-weight: 600;
  color: #1e5647;
  flex: 1;
}
.cookie-modal__category input[type='checkbox'] {
  appearance: none;
  width: 23px; height: 23px;
  border-radius: 8px;
  border: 2px solid #77A07A;
  background: #fafafa;
  font-size: 1.2rem;
  margin-right: 5px;
  position: relative;
  cursor: pointer;
  transition: border-color .13s, background .13s;
}
.cookie-modal__category input[type='checkbox']:checked {
  background: #77A07A;
  border-color: #41d893;
}
.cookie-modal__category input[type='checkbox']:checked:after {
  content: '\2714';
  color: #fff;
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 1.18em;
}
.cookie-modal .cookie-save {
  margin-top: 18px;
  background: #29506D;
  color: #fff;
  border-radius: 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 28px;
  border: none;
  font-size: 1.07em;
  transition: background .13s, transform .13s;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #77A07A;
  color: #fff;
  transform: scale(1.06);
}
.cookie-modal .close {
  background: #F8615A;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.24rem;
  position: absolute;
  top: 16px;
  right: 18px;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 11;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #F9BC60;
  color: #29506D;
}

/**** RESPONSIVE DESIGN (MOBILE FIRST) ****/
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container { gap: 10px; }
  .section { padding: 34px 8px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 4px;
    min-height: 52px;
    gap: 18px;
  }
  nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 6px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 26px 0 38px 0;
    min-height: 180px;
    border-radius: 0 0 38px 38px;
  }
  .hero .container { padding: 0 4px; }
  .hero h1 { font-size: 1.59rem; }
  .hero .cta-button { font-size: 1rem; padding: 12px 18px; }
  .content-wrapper {
    gap: 16px;
  }
  .section { margin-bottom: 36px; padding: 22px 4px; border-radius: 20px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 13px;
  }
  .feature-item { gap: 8px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  table, th, td { font-size: 0.95rem; }
  th, td { padding: 11px 4px; }
  footer .container { gap: 10px; }
  footer { border-radius: 38px 38px 0 0; padding: 18px 0 20px 0; margin-top: 34px; }
}
@media (max-width: 500px) {
  .hero { border-radius: 0 0 14px 14px; }
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1.04rem; }
  .footer-brand img { height: 22px; }
}

/**** FORM ELEMENTS ****/
input, select, textarea {
  border: 1.8px solid #ddd;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 1rem;
  background: #fff;
  transition: border .14s, box-shadow .11s;
  font-family: 'Open Sans', Arial, sans-serif;
  outline: none;
}
input:focus, textarea:focus {
  border: 1.8px solid #77A07A;
  box-shadow: 0 1px 7px #d5f3e6ab;
}
label {
  font-weight: 600;
  color: #29506D;
  font-size: 1rem;
}

/**** SHADOWS, CORNERS, EFFECTS ****/
section, .card, .testimonial-card, .cookie-modal {
  box-shadow: 0 2px 22px -8px #f9bc602c;
}
.card, .testimonial-card, .cookie-modal {
  border-radius: 22px;
}

/**** INTERACTIVE & MICRO-ANIMATION EFFECTS ****/
.card, .cta-button, .testimonial-card, .mobile-nav a, .feature-item {
  transition: box-shadow .19s, transform .13s, background .13s, color .12s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 36px -6px #f9bc6055, 0 1.2px 2.2px 0 #32adc033;
  transform: translateY(-5px) scale(1.02) rotate(-2deg);
}
ul li:hover:before {
  filter: hue-rotate(-28deg) brightness(1.18);
  transform: scale(1.2) rotate(-13deg);
  transition: .17s;
}

/**** PLAYFUL DECOR EFFECTS ****/
@media (min-width:900px) {
  .hero .content-wrapper:after {
    content: '';
    position: absolute;
    top: 30px; right: 140px;
    width: 82px; height: 82px;
    background: url('/assets/paw-print.svg') no-repeat center/contain;
    opacity: 0.11;
    z-index: 1;
    pointer-events: none;
    animation: swing-paw 5.4s infinite alternate cubic-bezier(.28,.66,.86,1);
  }
  @keyframes swing-paw {
    0% { transform: rotate(-10deg) scale(.96); }
    100% { transform: rotate(8deg) scale(1.07); }
  }
}

/**** ERROR & SUCCESS ****/
.success-message { background: #daffe4; color: #1e7a36; border-radius: 14px; padding: 12px 20px; border: 1.5px solid #d0f5e0; display: block; margin: 22px 0; }
.error-message { background: #ffeaea; color: #de1c1c; border-radius: 14px; padding: 12px 20px; border: 1.5px solid #ffd0d0; display: block; margin: 22px 0; }

/**** Z-INDEX UTILITY CLASSES ****/
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-1000 { z-index: 1000; }

/**** UTILITY MARGINS + GAPS (NEVER USE ABSOLUTE FOR CONTENT) ****/
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/**** PRINT ****/
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { box-shadow: none !important; border-radius: 0 !important; }
}
