/* ==== CSS RESET & NORMALIZATION ==== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22403B;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22403B;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, ul, ol {
  margin-bottom: 1em;
}
ul, ol { padding-left: 1.25em; }
strong { color: #22403B; }
a {
  color: #0AB4C1;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus { color: #FF9F1C; }
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ==== BRANDING COLORS and FUN ACCENT COLORS ==== */
:root {
  --primary: #22403B;
  --secondary: #5E8560;
  --accent: #F4ECE3;
  --fun1: #FF9F1C;
  --fun2: #0AB4C1;
  --fun3: #FF61A6;
  --fun4: #BADA55;
  --white: #fff;
  --shadow: 0 2px 16px rgba(34,64,59,0.10);
  --radius: 18px;
}

/* ==== GENERAL LAYOUT STRUCTURE ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 14px 0;
}
.logo-link img {
  height: 48px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 4px 15px;
  border-radius: var(--radius);
  color: var(--primary);
  background: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--fun2);
  color: var(--white);
}
.cta-primary {
  display: inline-block;
  background: var(--fun1);
  color: var(--white)!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 32px;
  border: none;
  border-radius: 60px;
  box-shadow: 0 7px 20px 0 rgba(255,159,28,.13);
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.21s, transform 0.15s, color 0.2s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--fun3);
  color: var(--white)!important;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}
.cta-secondary {
  display: inline-block;
  background: var(--fun2);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 28px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 5px 15px 0 rgba(10,180,193,.12);
  cursor: pointer;
  transition: background 0.21s, transform 0.13s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--fun4);
  color: var(--primary);
  transform: scale(1.04) rotate(2deg);
}

.mobile-menu-toggle {
  display: none;
  background: var(--fun1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background 0.25s;
  z-index: 301;
  box-shadow: 0 3px 14px rgba(255,97,166,.1);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--fun3);
}

@media (max-width: 1024px) {
  header nav {
    gap: 10px;
  }
  .cta-primary {
    padding: 9px 20px;
  }
}
@media (max-width: 850px) {
  header nav, .cta-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(34, 64, 59, 0.97);
  z-index: 444;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.56,1.18,0.52,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 26px;
  background: var(--fun2);
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 450;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 60px;
  width: 100%;
  padding-left: 42px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.31rem;
  font-weight: bold;
  padding: 13px 0 13px 0;
  width: 100%;
  border-radius: 10px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun3);
  color: var(--primary);
  padding-left: 16px;
}

@media (min-width: 851px) {
  .mobile-menu { display: none !important; }
}

/* ==== HERO SECTIONS ==== */
.hero {
  background:
    radial-gradient(ellipse at 60% 15%, var(--fun2) 0.5%, transparent 60%),
    linear-gradient(80deg, var(--accent) 72%, #fff 100%);
  padding-top: 56px;
  padding-bottom: 66px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.19rem;
  color: var(--secondary);
  margin-bottom: 26px;
}
.hero .cta-primary {
  margin-top: 8px;
  box-shadow: 0 3px 12px rgba(255,159,28,0.10);
}
@media (min-width: 650px) {
  .hero .container {
    align-items: center;
    flex-direction: row;
    gap: 36px;
  }
}

/* ==== FEATURE GRID (Index) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-grid > div {
  background: var(--fun4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 310px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: transform 0.20s, box-shadow 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  transform: translateY(-7px) scale(1.04) rotate(-2deg);
  box-shadow: 0 9px 40px 0 rgba(34,64,59,.08);
}
.feature-grid img {
  width: 36px; height: 36px;
  margin-bottom: 6px;
}

/* ==== SERVICE LIST (Index) ==== */
.services .service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  margin-bottom: 32px;
  margin-top: 16px;
}
.services .service-list li {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  margin-bottom: 20px;
  border-left: 7px solid var(--fun1);
  transition: box-shadow 0.18s, transform 0.18s;
}
.services .service-list li:hover {
  box-shadow: 0 7px 32px rgba(16,188,141,.08);
  transform: translateY(-2px) scale(1.02);
}
.services .service-list h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.12rem;
  color: var(--primary);
}
.services .service-list span {
  color: var(--fun2);
  background: #fff7;
  border-radius: 18px;
  font-size: 1.04rem;
  padding: 2px 12px;
  margin-left: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==== SERVICE CARDS (Services.html) ==== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  max-width: 320px;
  min-width: 220px;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  border-top: 5px solid var(--fun1);
}
.service-card span {
  margin-top: 3px;
  color: var(--fun2);
  font-weight: bold;
  font-size: 1.13rem;
  background: #fff9;
  padding: 3px 11px;
  border-radius: 20px;
}
.service-card:hover {
  box-shadow: 0 10px 30px 0 rgba(10,180,193,.13);
  transform: translateY(-4px) scale(1.03) rotate(1deg);
}

.detailed-pricing {
  background: var(--fun2);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px 18px 22px;
  box-shadow: 0 2px 10px 0 rgba(10,180,193,.09);
  margin-bottom: 16px;
}
.detailed-pricing h3 { color: #fff; }
.detailed-pricing ul li {
  font-size: 1.04rem; margin-bottom: 0.4em;
}

/* ==== GUIDE LIST (Guides Durables) ==== */
.guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.guide-list > div {
  background: var(--fun1);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(255,97,166,.11);
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 340px;
  padding: 18px 16px 23px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: background 0.20s, box-shadow 0.19s, transform 0.18s;
}
.guide-list > div:hover {
  background: var(--fun2);
  color: var(--white);
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 10px 24px rgba(0, 193, 230, .11);
}
.guide-list a.cta-secondary {
  margin-top: 8px;
  padding: 8px 18px;
  font-size: 1rem;
}
.highlighted-resources {
  background: var(--fun4);
  border-radius: 12px;
  margin-top: 6px;
  padding: 12px 16px;
  color: var(--primary);
}
.highlighted-resources h4 {
  color: var(--secondary);
}

/* ==== TEAM BIOS (About) ==== */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 26px 0;
}
.team-bios > div {
  background: var(--accent);
  border: 2px solid var(--fun2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 18px 24px;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  transition: border-color 0.13s, transform 0.16s;
}
.team-bios > div:hover {
  border-color: var(--fun1);
  transform: scale(1.03) translateY(-2px);
}

/* ==== TESTIMONIALS ==== */
.testimonials, .testimonials-snippet {
  background: var(--fun2);
  padding: 42px 0 44px 0;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.testimonial-slider, .testimonials-snippet {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  border-radius: 15px;
  box-shadow: 0 3px 16px rgba(94,133,96,.09);
  padding: 20px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.13s;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}
.testimonial-card p {
  color: #22403B;
  font-weight: 400;
}
.testimonial-card strong {
  color: var(--fun2);
  font-weight: bold;
}
.testimonial-card:hover {
  transform: translateY(-7px) scale(1.05) rotate(-1deg);
  box-shadow: 0 9px 36px rgba(21,173,123,0.11);
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 20px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: var(--fun4);
  font-size: 1.04rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--fun1);
}
.contact-info, .social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info p, .contact-info a {
  color: var(--fun1);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.5em;
}
.social-links {
  margin-top: 7px;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.social-links a img {
  width: 28px; height: 28px;
  transition: transform 0.17s, filter 0.17s;
}
.social-links a:hover img {
  transform: scale(1.23) rotate(-9deg);
  filter: brightness(1.4) drop-shadow(0 2px 7px #ff9f1c44);
}

/* ==== ADDITIONAL RESPONSIVE RULES ==== */
@media (max-width: 1199px) {
  .container { max-width: 960px; }
}
@media (max-width: 950px) {
  .container { max-width: 800px; }
  .content-wrapper, .footer-menu, .contact-info { gap: 18px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .hero { padding-top: 38px; padding-bottom: 38px; }
  .feature-grid, .guide-list, .service-cards, .testimonial-slider { flex-direction: column; }
  .footer .container { gap: 16px; }
  .footer-menu, .contact-info, .social-links { align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { max-width: 98vw; padding: 0 10px; }
  .section { padding: 28px 5px; }
  .feature-grid > div, .guide-list > div, .service-card { min-width: 100%; max-width: 100%; }
  .team-bios > div { min-width: 100%; max-width: 100%; }
  footer .container { flex-direction: column; gap: 18px; }
}

/* ==== LAYOUT & FLEX SPACING OVERRIDES ==== */
.card-container, .service-cards, .feature-grid, .guide-list, .team-bios, .testimonial-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; }
.content-grid { 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;
    align-items: stretch;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

/* ==== FAQ / MAP / CONTACT SNIPPETS ==== */
.faq-snippet {
  background: var(--fun2);
  color: #fff;
  border-radius: 14px;
  padding: 18px 18px 12px 18px;
  margin-top: 18px;
}
.faq-snippet h3 {
  color: var(--accent);
  margin-bottom: 6px;
}
.faq-snippet p {
  color: #fff;
  margin-bottom: 7px;
}
.map {
  background: var(--accent);
  border-radius: 12px;
  padding: 18px 18px 14px 18px;
  margin: 15px 0 7px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--fun1);
  color: var(--white);
  box-shadow: 0 -2px 12px rgba(34,64,59,0.10);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.43s cubic-bezier(0.86,0,0.07,1), opacity .31s;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  gap: 15px;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: var(--white);
  font-size: 1.03rem;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-btn.accept {
  background: var(--fun4);
  color: var(--primary);
}
.cookie-btn.accept:hover {
  background: var(--white);
  color: var(--fun2);
}
.cookie-btn.reject {
  background: var(--fun2);
  color: var(--white);
}
.cookie-btn.reject:hover {
  background: var(--fun1);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.settings:hover {
  background: var(--fun3);
  color: var(--white);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,64,59,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: var(--white);
  color: var(--primary);
  padding: 30px 28px 23px 28px;
  border-radius: var(--radius);
  min-width: 310px;
  max-width: 94vw;
  box-shadow: 0 9px 42px rgba(34,64,59,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: popModal .36s cubic-bezier(.28,1.25,.27,1.17);
}
@keyframes popModal {
  from { transform: scale(0.85) translateY(50px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1;   }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 21px;
  color: var(--fun3);
  background: none;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1207;
  transition: color .19s;
}
.cookie-modal-close:hover { color: var(--fun1); }
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0 9px 0;
  border-bottom: 1px solid var(--accent);
}
.cookie-category:last-child { border-bottom: 0; }
.cookie-category label {
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: var(--fun4);
  border-radius: 12px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  display: none;
}
.cookie-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--fun2);
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--fun3);
  transform: translateX(20px);
}
.cookie-category.essential label {
  color: var(--secondary);
  font-weight: 700;
}
.cookie-category.essential .cookie-toggle,
.cookie-category.essential .cookie-toggle input + .cookie-slider {
  background: #dedede;
  pointer-events: none;
}

.cookie-actions-modal {
  display: flex;
  gap: 13px;
  margin-top: 11px;
}

@media (max-width: 500px) {
  .cookie-modal .modal-content { min-width: 90vw; padding: 14px 7px 19px 9px; }
}

/* ==== ANIMATIONS & MICROINTERACTIONS ==== */
.card, .feature-grid > div, .service-card, .testimonial-card, .guide-list > div {
  transition: box-shadow 0.2s, transform 0.18s, background 0.17s;
}
.cta-primary, .cta-secondary, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
a, .footer-menu a, .mobile-nav a {
  transition: color 0.18s, background 0.18s;
}

/* ===== FUN PLAYFUL DETAILS ===== */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
h1::after, h2::after {
  content: '';
  display: inline-block;
  margin-left: 10px;
  width: 16px;
  height: 16px;
  background: var(--fun1);
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: 0 1px 6px #FF9F1C33;
  animation: bounceDot .9s infinite alternate cubic-bezier(.57,1.23,.49,1);
}
@keyframes bounceDot {
  to { transform: translateY(-6px) scale(1.12); }
}
.cta-primary::after {
  content: '→';
  margin-left: 8px;
  font-size: 1.09em;
  vertical-align: middle;
  display: inline-block;
  animation: shakeArrow 1.2s infinite alternate cubic-bezier(.62,-0.01,.29,1.02);
}
@keyframes shakeArrow {
  to { transform: translateX(8px) scale(1.11); }
}

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