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

a {
  text-decoration: none;
  color: inherit;
}
ul, ol, li {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}

body {
  background: #F9E8C8;
  color: #304B42;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #CB4D00; /* Playful accent headings */
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p, ul, ol, dd, dl {
  color: #304B42;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  color: #CB4D00;
  font-weight: bold;
}

/* === PLAYFUL & DYNAMIC SPACING & SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(48,75,66,0.08); /* Playful shadow */
  transition: box-shadow 0.3s;
}
section:hover {
  box-shadow: 0 16px 48px 0 rgba(203,77,0,0.12);
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  align-items: center;
  text-align: center;
  margin-top: 8px;
}

/* === BUTTONS & INTERACTIVE === */
.btn-primary,
nav .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #CB4D00;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 14px 32px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 3px 12px 0 rgba(203,77,0,.16);
  cursor: pointer;
  margin: 12px 0 12px 0;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  outline: none;
  z-index: 2;
}
.btn-primary:focus,
.btn-primary:hover {
  background: #E87121;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 20px 0 rgba(203,77,0,0.18);
}

/* === HEADER & NAVIGATION === */
header {
  background: #304B42;
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 2px 8px rgba(48, 75, 66, 0.06);
  position: sticky;
  top: 0;
  z-index: 60;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 0 18px 0;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
header nav a:hover,
header nav a:focus {
  background: #CB4D00;
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
}
header nav a.btn-primary {
  background: #CB4D00;
  color: #fff;
  box-shadow: 0 3px 12px 0 rgba(203,77,0,0.20);
}
header nav a.btn-primary:hover {
  background: #E87121;
}
header nav img {
  height: 44px;
  width: auto;
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: -7px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,.03);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #CB4D00;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 16px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E87121;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(48,75,66,0.97);
  z-index: 900;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.82,0.12,0.44,1.12);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 30px 0 10px 20px;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 901;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E87121;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-left: 38px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: none;
  padding: 10px 34px;
  border-radius: 24px;
  margin-bottom: 10px;
  transition: background 0.15s, color 0.13s, transform 0.13s;
}
.mobile-nav a:active {
  background: #CB4D00;
  color: #fff;
  transform: scale(1.02) rotate(-1deg);
}
.mobile-nav a:hover {
  background: #CB4D00;
  color: #fff;
}

@media (max-width: 1020px) {
  header nav {
    gap: 16px;
  }
  header nav a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.97rem;
  }
  header nav img {
    height: 38px;
    margin-right: 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 10px;
  }
  header nav a {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  section {
    padding: 24px 4px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .btn-primary {
    width: 100%;
    min-width: unset;
    font-size: 1rem;
    padding: 13px 0;
  }
}

/* --- FEATURE GRID, CARDS, FLEXBOX LAYOUTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 20px 0 20px 0;
}
.feature-grid > div {
  background: #FFF4DE;
  border-radius: 20px;
  box-shadow: 0 6px 22px 0 rgba(232,113,33,0.07);
  padding: 24px 20px;
  flex: 1 1 210px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  transition: box-shadow 0.19s, transform 0.18s;
  min-width: 190px;
  min-height: 215px;
}
.feature-grid > div img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  margin-top: 0px;
  filter: drop-shadow(0 3px 10px rgba(232,113,33,0.13));
}
.feature-grid > div h3 {
  color: #304B42;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 10px;
}
.feature-grid > div p {
  color: #304B42;
  font-size: 0.99rem;
  margin-top: 7px;
  margin-bottom: 0;
}
.feature-grid > div:hover {
  box-shadow: 0 20px 45px 0 rgba(232,113,33,0.15);
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    flex: 1 1 120px;
    padding: 20px 10px;
    max-width: 100%;
    min-width: unset;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: unset;
    min-height: 150px;
    padding: 14px 6px;
  }
}

/* --- Cards, Card Container, Content Grids --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF4DE;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(232,113,33,0.13);
  padding: 22px 20px;
  flex: 1 1 260px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 12px 38px rgba(232,113,33,0.16);
  transform: scale(1.03) rotate(1deg);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px){
  .content-grid { flex-direction: column; gap: 12px; }
  .card-container { flex-direction: column; gap: 14px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* --- Testimonial Card (High contrast for readability) --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF4DE;
  border-radius: 16px;
  box-shadow: 0 3px 12px 0 rgba(48,75,66,0.15);
  margin-bottom: 24px;
  color: #232e22; /* much darker for sufficient contrast */
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card strong {
  color: #CB4D00;
  font-style: normal;
  margin-left: 24px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(203,77,0,.16);
  transform: scale(1.02) rotate(-1.5deg);
}
@media (max-width: 600px){
  .testimonial-card { flex-direction: column; font-size: 1rem; }
  .testimonial-card strong { margin-left: 0; margin-top: 6px; }
}

/* --- Footer --- */
footer {
  background: #304B42;
  color: #fff;
  padding: 38px 0 0 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: 40px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.91;
  transition: color 0.16s, text-decoration 0.16s;
}
.footer-links a:hover {
  color: #CB4D00;
  text-decoration: underline wavy #CB4D00;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
  opacity: 0.92;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
}
.footer-copy {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.74;
  margin-top: 12px;
  text-align: center;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
}
@media (max-width: 650px){
  .footer-links, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer .container { gap: 10px; }
}

/* --- Lists, Tables, Details --- */
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 0.5em;
}
ul li:before {
  content: '•';
  color: #CB4D00;
  font-weight: bold;
  margin-right: 9px;
  font-size: 1.12em;
}
table th,
table td {
  border: 2px solid #CB4D00;
  padding: 12px 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
table th {
  background: #FFF4DE;
  color: #CB4D00;
}
table tbody td {
  background: #fff;
  color: #304B42;
}
table tr:nth-child(even) td {
  background: #F9E8C8;
}
table {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 26px;
}
dl dt {
  font-weight: bold;
  color: #CB4D00;
  margin-top: 18px;
}
dl dd {
  margin-bottom: 12px;
  margin-left: 15px;
}

/* --- Service Highlights --- */
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #CB4D00;
  font-size: 1rem;
  margin-bottom: 12px;
  justify-content: center;
}
.service-highlights strong {
  color: #E87121;
}

/* --- Forms (not in provided HTML, included for completeness) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #CB4D00;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 10px;
  width: 100%;
  box-shadow: 0 1px 5px rgba(232,113,33,0.08);
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E87121;
  outline: none;
}

/* --- Animations & Playful Touches --- */
@keyframes playful-pop {
  0% { transform: scale(0.95) rotate(-1deg); }
  45% { transform: scale(1.02) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.btn-primary, .card, .testimonial-card, .feature-grid > div, section {
  animation: playful-pop 0.7s cubic-bezier(0.61,0.1,0.52,1.37) both;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: #FFF4DE;
  color: #304B42;
  border-top: 3px solid #CB4D00;
  box-shadow: 0 -4px 28px 0 rgba(48,75,66,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
  padding: 22px 17px;
  z-index: 999;
  animation: banner-slide-in 0.44s cubic-bezier(0.54,0.07,0.27,1.16) both;
}
@keyframes banner-slide-in {
  from { transform: translateY(90%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #304B42;
  margin: 0;
  font-size: 1rem;
  max-width: 350px;
  flex: 1 1 auto;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #304B42;
  color: #FFF;
  box-shadow: 0 2px 10px 0 rgba(203,77,0,0.09);
  cursor: pointer;
  margin-right: 4px;
  margin-top: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #CB4D00;
  border: 2px solid #CB4D00;
}
.cookie-banner button.cookie-settings {
  background: #E87121;
  color: #fff;
}
.cookie-banner button:active,
.cookie-banner button:focus,
.cookie-banner button:hover {
  filter: brightness(1.1) contrast(1.2);
  background: #CB4D00;
  color: #fff;
  border-color: #CB4D00;
}
.cookie-banner button.cookie-reject:active,
.cookie-banner button.cookie-reject:hover {
  background: #fff5ee;
  color: #CB4D00;
}
.cookie-banner button.cookie-settings:active,
.cookie-banner button.cookie-settings:hover {
  background: #CB4D00;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 4px;
  }
  .cookie-buttons {
    gap: 10px;
    justify-content: flex-start;
  }
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  display: flex;
  z-index: 1100;
  background: rgba(48,75,66,0.91);
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .31s cubic-bezier(.29,.74,.59,1.19) both;
}
@keyframes modal-fade-in {
  from { opacity: 0.2; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFFFF;
  box-shadow: 0 12px 32px 0 rgba(203,77,0,0.15);
  border-radius: 20px;
  padding: 34px 34px 24px 34px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal h2 {
  color: #CB4D00;
  margin-bottom: 7px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 0;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #CB4D00;
  margin-right: 8px;
}
.cookie-modal .essential-label {
  color: #304B42;
  font-weight: 700;
  opacity: 0.92;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #CB4D00;
  border: none;
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 2.2rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:focus,
.cookie-modal .cookie-modal-close:hover {
  color: #E87121;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary,
.cookie-modal button {
  min-width: 120px;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 16px 2px 16px 10px;
    min-width: 98vw;
    max-width: 99vw;
  }
}

/* --- Utility: Visually-Hidden for accessibility --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0;  padding: 0; overflow: hidden; clip: rect(0 0 0 0);}

/* --- Modern playful fun typography --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --- Responsive tweaks for playfulness & dynamic feel --- */
@media (max-width: 480px) {
  h1, h2, h3 { word-break: break-word; font-size: 1.24rem; }
  .cookie-banner { padding: 9px 2px; }
}

/* === PATTERNED SPACING: Section, Cards, Features === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === Extra: Fun hover micro-interactions on major elements === */
.card,
.btn-primary,
.feature-grid > div,
footer .footer-links a {
  transition: transform 0.17s, box-shadow 0.23s;
}
.card:active, .feature-grid > div:active, .btn-primary:active {
  transform: scale(0.98) rotate(-0.5deg);
}

/* --- FAQ details open animation --- */
dt {
  cursor: pointer;
  transition: color 0.19s;
}
dt:active, dt:focus { color: #E87121; }

/* --- Hide/Show Mobile burger based on viewport strictly --- */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
