/* =========================================================
Verdant Flame: style.css
Creative Artistic Style – Mobile First Responsive
Approved Fonts: Montserrat (display), Roboto (body)
Brand colors: 
  - primary: #1C5D32 (verdant green), 
  - secondary: #E45826 (vibrant orange), 
  - accent: #F1F8E6 (fresh light)
No CSS Grid/Columns! Flexbox only!
===========================================================*/
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C1D1B;
  background: #F8FCF5;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #E45826;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B3401B;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; line-height: 1.14; margin-bottom: 20px; color: #1C5D32; }
h2 { font-size: 1.5rem; margin-bottom: 18px; color: #E45826; }
h3 { font-size: 1.2rem; margin-bottom: 12px; color: #1C5D32; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 40px; }
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.subheadline {
  color: #1C5D32;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* NAVIGATION HEADER */
header {
  background: #1C5D32;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.07);
}
nav {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}
nav > a img {
  height: 48px;
  width: auto;
  margin-right: 10px;
  margin-top: 6px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F1F8E6;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 7px;
  transition: color 0.18s, background 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
  color: #E45826;
  background: #F1F8E6;
}
nav .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #E45826;
  color: #F1F8E6;
  border: none;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 17px;
  box-shadow: 0 3px 12px 0 rgba(228,88,38,0.14);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  margin-left: 14px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
}
nav .cta:hover, nav .cta:focus {
  background: #B3401B;
  color: #F1F8E6;
  box-shadow: 0 5px 24px 0 rgba(228,88,38,0.26);
  text-decoration: none;
}
nav .cta.primary {
  border: 2px solid #F1F8E6;
}
/* Hamburger menu button (mobile only) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 14px;
  background: #E45826;
  color: #F1F8E6;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px 0 rgba(228,88,38,0.13);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #B3401B;
  outline: 2px solid #F1F8E6;
}
/* Hide nav ul+cta on mobile; show burger */
@media (max-width: 1000px) {
  nav ul, nav .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,93,50,0.95);
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.66,.22,.28,.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F1F8E6;
  border: none;
  font-size: 2.3rem;
  margin: 24px 30px 0 0;
  cursor: pointer;
  z-index: 1300;
  padding: 0 8px;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #E45826;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  padding: 26px 36px;
}
.mobile-nav a {
  color: #F1F8E6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 10px 8px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F1F8E6;
  color: #E45826;
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO, SECTION, LAYOUTS */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 7px 42px -9px rgba(28,93,50,0.08), 0 1.5px 3.5px rgba(228,88,38,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 16px;
    box-shadow: 0 3px 15px -5px rgba(28,93,50,0.07), 0 1.5px 3px rgba(228,88,38,0.05);
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(28,93,50,0.11);
  padding: 28px 20px;
  transition: box-shadow 0.21s, transform 0.2s;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 380px;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 38px 0 rgba(228,88,38,0.14);
  transform: translateY(-7px) scale(1.015) rotate(-0.8deg);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; gap: 18px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F1F8E6;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(28,93,50,0.07);
  transition: box-shadow 0.18s;
  font-size: 1.05rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 22px -4px rgba(228,88,38,0.15);
}
.testimonial-card p {
  color: #25291c;
  margin: 0 0 6px 0;
}
.testimonial-card span {
  color: #1C5D32;
  font-size: 0.97em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* CTA BUTTONS (also .cta inside content) */
.cta,
.cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  border-radius: 19px;
  padding: 13px 32px;
  color: #F1F8E6;
  background: #E45826;
  letter-spacing: 0.06em;
  margin-top: 8px;
  text-align: center;
  border: none;
  box-shadow: 0 3px 21px 0 rgba(228,88,38,0.12);
  cursor: pointer;
  position: relative;
  transition: background 0.17s, color 0.15s, box-shadow 0.17s, transform 0.15s;
}
.cta:hover, .cta:focus {
  background: #1C5D32;
  color: #F1F8E6;
  box-shadow: 0 8px 25px 0 rgba(28,93,50,0.18);
  text-decoration: none;
  transform: scale(1.04) rotate(-1.2deg);
}
.cta.secondary {
  background: #1C5D32;
  color: #E45826;
  border: 2px solid #E45826;
}

/* ICONS INSIDE LISTS */
ul li img {
  height: 26px;
  width: 26px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1.04rem;
  color: #1C5D32;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.56;
}
ul li:last-child { margin-bottom: 0; }

/* BADGES, TAGS */
.blog-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.blog-tags ul li {
  background: #F1F8E6;
  color: #E45826;
  border-radius: 6px;
  padding: 6px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: bold;
  letter-spacing: 0.04em;
}

/* FOOTER */
footer {
  background: #1C5D32;
  color: #F1F8E6;
  font-size: 1rem;
  padding: 24px 0 6px 0;
  margin-top: 0;
  width: 100%;
}
footer .container { max-width: 1180px; }
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
footer img {
  width: 52px;
  height: 52px;
  margin-bottom: 7px;
}
footer nav, footer nav a {
  color: #F1F8E6;
  font-size: 1.02rem;
}
footer nav a:hover, footer nav a:focus {
  color: #E45826;
  text-decoration: underline;
}
footer p {
  margin-top: 4px;
  font-size: 0.96em !important;
}

/* COOKIES CONSENT BANNER (fixed bottom, always visible until accepted) */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0;
  bottom: 0;
  background: #1C5D32;
  color: #F1F8E6;
  padding: 22px 24px 20px 24px;
  box-shadow: 0 -5px 24px 0 rgba(28,93,50,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-banner-in 0.7s cubic-bezier(.69,.27,.22,.94);
}
@keyframes cookie-banner-in {
  from { transform: translateY(150px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #F1F8E6;
  margin-bottom: 6px;
}
.cookie-banner .cookie-banner-text {
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  border: none;
  border-radius: 9px;
  padding: 9px 22px;
  font-size: 1.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  margin: 0 1px;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.cookie-banner .accept {
  background: #E45826;
  color: #fff;
  box-shadow: 0 3px 12px 0 rgba(228,88,38,0.15);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #B3401B;
}
.cookie-banner .reject {
  background: #F1F8E6;
  color: #E45826;
  border: 1.5px solid #E45826;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E45826;
  color: #F1F8E6;
}
.cookie-banner .settings {
  background: transparent;
  color: #F1F8E6;
  border: 1.5px solid #F1F8E6;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F1F8E6;
  color: #1C5D32;
  border-color: #1C5D32;
}
@media (max-width: 550px) {
  .cookie-banner { padding: 16px 5vw 16px 5vw; font-size: 0.98em; }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 8px; }
}

/* Cookie preferences MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,93,50,0.78);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.42s cubic-bezier(.61,.16,.34,.97);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1C1D1B;
  border-radius: 24px;
  max-width: 420px;
  width: 88vw;
  padding: 34px 25px 22px 25px;
  box-shadow: 0 8px 42px 0 rgba(28,93,50,0.26);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.29rem;
  color: #1C5D32;
  margin-bottom: 11px;
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: none; border: none;
  color: #1C5D32;
  font-size: 1.8em;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-content .modal-close:hover, .cookie-modal-content .modal-close:focus {
  color: #E45826;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 700;
  color: #E45826;
  font-size: 1.08em;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #1C5D32;
  border-radius: 5px;
}
.cookie-category.essential label {
  color: #1C5D32;
}
.cookie-category.essential .cookie-toggle {
  color: #6a736c;
  font-size: 0.98em;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  border-radius: 7px;
  font-size: 1em;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  transition: background 0.16s, color 0.16s;
  border: none;
  cursor: pointer;
}
.cookie-modal-actions .accept {
  background: #E45826; color: #fff; }
.cookie-modal-actions .accept:hover, .cookie-modal-actions .accept:focus { background: #B3401B; }
.cookie-modal-actions .cancel {
  background: #F1F8E6;
  color: #E45826;
  border: 1.5px solid #E45826;
}
.cookie-modal-actions .cancel:hover, .cookie-modal-actions .cancel:focus {
  background: #E45826; color: #F1F8E6;
}

/* FORMS & CONTACT */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 2px solid #1C5D32;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #F8FCF5;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px 0 rgba(28,93,50,0.07);
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #E45826;
  box-shadow: 0 3px 8px 0 rgba(228,88,38,0.20);
}
button:focus { outline: 2px solid #E45826; }

/* ANIMATION UTILITIES */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.7s forwards cubic-bezier(.61,.19,.17,1);
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* UNIQUE CREATIVE ARTISTIC ELEMENTS (paint splash, geometric) */
.section::before {
  content: "";
  display: block;
  position: absolute;
  left: -18px; top: -18px;
  width: 76px; height: 76px;
  border-radius: 38% 62% 60% 40%/58% 46% 54% 42%;
  background: #F1F8E6;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.section:nth-child(even)::before {
  left: unset; right: -18px;
  top: unset; bottom: -18px;
  background: #E45826;
  opacity: 0.13;
}

/* CUSTOM TYPOGRAPHY & HEADING EFFECTS */
h1, h2 { position: relative; z-index: 2; }
h1::after, h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  background: #E45826;
  border-radius: 3px;
  margin-top: 13px;
  margin-bottom: 3px;
  opacity: 0.67;
}
h2::after {
  width: 34px;
  margin-top: 9px;
  background: #1C5D32;
}

/* ===== BREAKPOINTS FOR RESPONSIVENESS ===== */
@media (max-width: 900px) {
  nav {
    gap: 14px;
    padding: 0 8px;
  }
  .container { padding: 0 8px; }
}
@media (max-width: 650px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 18px 2vw; }
  nav > a img { height: 38px; }
  .card { padding: 14px 7px; min-width: 98vw; }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .cookie-modal-content { padding: 18px 8px 13px 8px; }
}

/* COLOR CONTRAST ENFORCEMENT FOR TESTIMONIALS */
.testimonial-card { background: #F1F8E6; color: #1C5D32; }
.testimonial-card p, .testimonial-card span { color: #1C5D32; }

/* GENERAL SPACING */
section, .card, .testimonial-card,.cookie-modal-content {
  margin-bottom: 20px;
}
.section, .card, .testimonial-card, .card-container, .content-grid, .feature-item {
  margin-top: 0;
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .feature-item, .testimonial-card {
  gap: 20px;
}

/* A11Y UTILITIES */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* MISC */
::-webkit-scrollbar {
  width: 13px;
  background: #F1F8E6;
}
::-webkit-scrollbar-thumb {
  background: #E45826;
  border-radius: 8px;
}

/* ========== END OF CSS =========== */
