/* ====================================================== */
/*                  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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F5F1;
  color: #215946;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s linear;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #215946;
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; }

/* ====================================================== */
/*                 BRAND COLORS & ARTISTIC STYLE          */
/* ====================================================== */
:root {
  --color-primary: #215946;
  --color-secondary: #5EA07B;
  --color-accent: #F6F5F1;
  --color-art-orange: #FFB84B;
  --color-art-blue: #37A0FE;
  --color-art-pink: #FF61A4;
  --color-art-yellow: #E9E62E;
  --color-art-lilac: #E7C6FF; /* For background tints */
  --radius-card: 22px;
  --radius-btn: 32px;
  --shadow-main: 0 8px 32px rgba(33,89,70,0.12);
  --shadow-card: 0 6px 18px rgba(94,160,123,0.10);
  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ====================================================== */
/*              CONTAINER/LAYOUT STRUCTURE                */
/* ====================================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 28px;
  box-shadow: var(--shadow-main);
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Artistic accent blobs -- for artistic background touches */
.content-wrapper:before {
  content: '';
  position: absolute;
  left: -25px;
  top: -38px;
  width: 90px;
  height: 84px;
  background: var(--color-art-lilac);
  opacity: 0.28;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
section:nth-child(even) .content-wrapper:before {
  background: var(--color-art-orange);
  opacity: 0.15;
}

.content-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ====================================================== */
/*                    HEADER & NAV                        */
/* ====================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(33,89,70,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 18px;
}
header img {
  height: 52px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.016em;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 8px 13px;
  border-radius: 7px;
  transition: background 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--color-art-yellow);
  color: #215946;
}
.cta-btn {
  background: linear-gradient(90deg,var(--color-art-orange) 40%,var(--color-art-pink) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 40px;
  margin-left: 12px;
  box-shadow: 0 4px 18px 0 rgba(94,160,123,0.10);
  cursor: pointer;
  transition: background 0.28s, transform 0.16s, box-shadow 0.18s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-art-pink) 10%, var(--color-art-orange) 90%);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 24px rgba(33,89,70,0.16);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-art-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(55,160,254,0.15);
  z-index: 21;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-art-pink);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ====================================================== */
/*                    MOBILE MENU                        */
/* ====================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,89,70,0.98);
  color: #fff;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.45,1.48,.37,.96);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  margin: 18px 20px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover {
  color: var(--color-art-blue);
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 38px;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #fff;
  font-family: var(--font-display);
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  transition: background 0.16s, color 0.18s, transform 0.18s;
  width: 90vw;
  text-align: center;
}
.mobile-nav a:hover {
  background: var(--color-art-orange);
  color: var(--color-primary);
  transform: translateX(5px) scale(1.03);
}

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

/* ====================================================== */
/*                        FOOTER                          */
/* ====================================================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
}
footer section {
  padding: 0;
  margin-bottom: 0;
}
footer .container {
  padding: 0 18px;
}
.footer-contact {
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .01em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  color: #fff;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 8px;
  display: inline;
}
footer nav {
  color: #fff;
  gap: 16px;
  font-size: 15px;
  margin-bottom: 16px;
}
footer nav a {
  color: #E7C6FF;
  padding: 3px 5px;
  border-radius: 4px;
  transition: background 0.15s, color 0.14s;
}
footer nav a:hover {
  background: var(--color-art-pink);
  color: #fff;
}
.footer-logo {
  margin: 10px 0 0 0;
}
.footer-logo img {
  height: 44px;
}

footer .content-wrapper {
  background: none;
  box-shadow: none;
  padding: 32px 0 32px 0;
  border-radius: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ====================================================== */
/*                      MAIN LAYOUTS                      */
/* ====================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid > div, .feature-grid > li {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px 26px 22px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
  border-left: 7px solid var(--color-art-blue);
  position: relative;
}
.feature-grid > div:hover,.feature-grid > li:hover {
  box-shadow: 0 10px 32px 0 rgba(55,160,254,0.14);
  transform: translateY(-3px) rotate(-1.5deg) scale(1.02);
  border-left-color: var(--color-art-orange);
}
.feature-grid img {
  height: 48px;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 26px 22px 26px 22px;
  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;
}

/* Feature item (top offers) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 30px 0 20px 0;
}
.benefit-icons img,
.benefit-icons li img {
  height: 44px;
  width: 44px;
}

/* ====================================================== */
/*                 TESTIMONIALS/REVIEW CARDS              */
/* ====================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  color: #215946;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(255,184,75,0.10);
  position: relative;
  font-style: italic;
  border-left: 7px solid var(--color-art-orange);
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card strong {
  font-style: normal;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--color-art-blue);
  margin-left: 10px;
  font-size: 1.04rem;
}
.testimonial-card p {
  color: #222;
  font-size: 1.11rem;
  font-family: var(--font-body);
  flex: 1;
}
.testimonial-card:hover {
  box-shadow: 0 12px 28px rgba(255,97,164,0.14);
  transform: rotate(1.4deg) scale(1.01);
  border-left-color: var(--color-art-blue);
}

/* ====================================================== */
/*                        FORMS & MISC                    */
/* ====================================================== */
input, textarea, select {
  border: 2px solid var(--color-secondary);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--color-primary);
  font-size: 16px;
  margin-bottom: 18px;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-art-orange);
  outline: none;
  box-shadow: 0 0 4px 2px var(--color-art-yellow);
}
button, .button {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 32px;
  box-shadow: 0 1px 12px rgba(94, 160, 123, 0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
}
button:hover, .button:hover {
  background: var(--color-art-blue);
  color: #fff;
  transform: scale(1.05) rotate(-1deg);
}
.advice-box {
  background: var(--color-art-lilac);
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 1.03rem;
  box-shadow: 0 1px 10px rgba(110,68,201,0.06);
  margin-top: 12px;
  max-width: 380px;
  margin-bottom: 18px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline;
}
.directions-info > ul {
  margin-left: 26px;
  margin-bottom: 14px;
  color: #215946;
  font-size: 1rem;
}

/* Text with image or icon (about, team, etc) */
.team-intro, .brand-story {
  background: var(--color-art-yellow);
  border-radius: 16px;
  color: #215946;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 0px 10px rgba(233,230,46,0.09);
  font-size: 1.06rem;
}

/* ====================================================== */
/*                 COOKIE CONSENT BANNER                  */
/* ====================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(33,89,70,0.13);
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 18px 14px;
  z-index: 2000;
  gap: 16px;
  animation: cookieSlideIn 0.6s ease;
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  font-family: var(--font-body);
  color: #215946;
  font-size: 1.03rem;
  margin: 0 0 8px 0;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 16px;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 1px 7px rgba(33,89,70,0.07);
}
.cookie-accept {
  background: var(--color-art-blue);
  color: #fff;
}
.cookie-accept:hover {
  background: var(--color-art-orange);
  color: #fff;
}
.cookie-reject {
  background: #eee;
  color: #215946;
}
.cookie-reject:hover {
  background: var(--color-art-pink);
  color: #fff;
}
.cookie-settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-settings:hover {
  background: var(--color-art-lilac);
  color: var(--color-primary);
  border-color: var(--color-art-orange);
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 95%;
  max-width: 430px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 14px 64px rgba(33,89,70,0.18);
  padding: 38px 28px 28px 28px;
  z-index: 2500;
  transform: translate(-50%,-58%) scale(0.87);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.27s;
  display: flex;
  flex-direction: column;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.07rem;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  border-radius: 16px;
  background: #eee;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle.checked {
  background: var(--color-art-blue);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 1px;
  top: 1px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
}
.cookie-toggle.checked::before {
  left: 15px;
  background: var(--color-art-orange);
}
.cookie-modal .modal-btn-group {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.3em;
  color: var(--color-secondary);
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--color-art-pink)
}

/* Essential cookies always enabled */
.cookie-category.essential {
  opacity: 0.75;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  background: #b7b7b7;
}
/* Overlay for modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21,41,36,0.49);
  z-index: 2490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open ~ .cookie-modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ====================================================== */
/*                 RESPONSIVE DESIGN                      */
/* ====================================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid > div, .feature-grid > li {
    max-width: 340px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div, .feature-grid > li {
    min-width: 180px;
    flex: 1 1 220px;
    max-width: 98vw;
  }
  .content-wrapper {
    padding: 28px 10px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .section {
    margin-bottom: 42px;
    padding: 20px 6px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  /* Stack all flex layouts vertically */
  .feature-grid, .card-container, .content-grid,
  .card, .testimonial-card, .benefit-icons {
    flex-direction: column;
    gap: 14px !important;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-logo {
    margin: 22px 0 0 0;
  }
}

@media (max-width: 540px) {
  .feature-grid > div, .feature-grid > li, .card, .testimonial-card {
    padding: 14px 8px;
  }
  .footer-contact, footer nav {
    font-size: 13px;
    gap: 6px;
  }
  .footer-logo img {
    height: 30px;
  }
}

/* Prevent cards or flex items from overlapping */
.feature-grid > div, .feature-grid > li, .card, .testimonial-card {
  min-width: 0;
  max-width: 100%;
}

/* Misc spacing for lists in body */
ul, ol {
  margin-bottom: 16px;
  margin-left: 18px;
  color: #215946;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 6px;height: 6px;
  background: var(--color-art-pink);
  border-radius: 100%;
  margin-right: 8px;
  position: relative;
  top: -2px;
}
ul.benefit-icons li:before { display: none; }

/* Text sections in policies/about */
.text-section {
  font-size: 1.04rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #215946;
}
.text-section ul, .text-section ol {
  margin-bottom: 0;
}
.text-section h2 {
  margin: 18px 0 12px 0;
  color: var(--color-art-blue);
}
.text-section p {
  margin-bottom: 9px;
  color: #13402f;
}

/* ====================================================== */
/*           ARTISTIC TYPOGRAPHY & MICRO EFFECTS           */
/* ====================================================== */
h1, h2, h3 {
  letter-spacing: -1.1px;
  text-shadow: 1px 2px 0 rgba(255,184,75,0.06);
}
h1 {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg,var(--color-art-blue) 50%,var(--color-art-orange) 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  padding-bottom: 0.15em;
}
h1:after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: var(--color-art-pink);
  border-radius: 3px;
  margin-top: 6px;
  opacity: .7;
}

hr {
  border: none;
  border-bottom: 2px dashed var(--color-art-yellow);
  margin: 32px 0;
}

/* Minor smooth fade on load for sections */
body > main > section, main > section {
  opacity: 0;
  animation: fadeInSection 0.8s ease forwards;
  animation-delay: 0.05s;
}
body > main > section:nth-child(2) {animation-delay: 0.17s;}
body > main > section:nth-child(3) {animation-delay: 0.33s;}
@keyframes fadeInSection {
  from { transform: translateY(32px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ====================================================== */
/*                    TRANSITIONS & FOCUS                 */
/* ====================================================== */
a, button, .cta-btn, .cookie-btn, input, textarea {
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, border-color 0.17s, transform 0.10s;
}
a:focus, .cta-btn:focus, .cookie-btn:focus, input:focus, textarea:focus, button:focus {
  outline: 2px solid var(--color-art-blue);
  outline-offset: 1px;
}

/* ====================================================== */
/*                      Z-INDEX LAYERING                  */
/* ====================================================== */
header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
  z-index: 120;
}
.mobile-menu {
  z-index: 1000;
}
.cookie-banner, .cookie-modal, .cookie-modal-overlay {
  z-index: 2050;
}
/* Above everything when open */
.cookie-modal.open {
  z-index: 2500;
}

/* END OF CSS */
