/* =========================
   CSS Reset & Normalize
===========================*/
html, body, div, section, main, nav, header, footer, ul, li, h1, h2, h3, h4, h5, h6, p, a, img, button, input, textarea {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
  color: #251709;
  min-height: 100vh;
  min-width: 0;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
:focus {
  outline: 2px solid #7C9C66;
  outline-offset: 2px;
}

/* =========================
   Brand Color Palette
===========================*/
:root {
  --primary: #4B2E18;
  --primary-rgb: 75,46,24;
  --secondary: #7C9C66;
  --secondary-rgb: 124,156,102;
  --accent: #F5EAE1;
  --electric-blue: #01cfff;   /* vibrancy */
  --vivid-orange: #F3683C;    /* vibrancy */
  --vivid-pink: #fe3396;      /* vibrancy */
  --electric-yellow: #ffde08; /* vibrancy */
  --surface-light: #fff;
  --surface-dark: #2a1810;
  --card-bg: #fff;
  --border-color: #ece5d9;
  --shadow: 0 4px 16px rgba(75,46,24,0.13);
}

/* =========================
   Typography
===========================*/
h1, .hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 20px;
}
h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vivid-orange);
  margin-bottom: 16px;
}
h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
p, ul, li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}
.italic, em {
  font-style: italic;
}
strong {
  color: var(--vivid-pink);
  font-weight: 700;
}
.cta-button {
  font-family: 'Cinzel', serif;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 999px;
  background: var(--vivid-pink);
  color: #fff;
  border: none;
  box-shadow: 0 5px 18px rgba(254, 51, 150, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s, transform 0.12s, box-shadow 0.18s;
  display: inline-block;
  margin: 16px 0 0 0;
}
.cta-button:hover, .cta-button:focus {
  background: var(--vivid-orange);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 7px 24px rgba(243,104,60,0.18);
}

/* =========================
   Layout, Containers & Spacing
===========================*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* Custom spacing for text blocks */
.text-section {
  max-width: 700px;
}

/* =========================
   Header & Navigation
===========================*/
header {
  background: var(--surface-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 0 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 29;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header > a > img {
  height: 48px;
  margin-right: 18px;
  transition: transform .19s;
}
header > a:hover img {
  transform: scale(1.07) rotate(-4deg);
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 7px 0;
  color: var(--primary);
  border-bottom: 2.5px solid transparent;
  opacity: 0.94;
  transition: color .14s, border-color .16s, opacity .16s;
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  color: var(--vivid-pink);
  border-bottom: 2.5px solid var(--vivid-pink);
  opacity: 1;
}
header nav .cta-button {
  margin-left: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--electric-blue);
  color: #fff;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 5px 17px 5px 10px;
  margin-left: 20px;
  transition: background .18s, color .15s, box-shadow .19s;
  box-shadow: 0 4px 14px rgba(1,207,255,0.11);
  z-index: 99;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--vivid-orange);
  color: #fff;
}

/* =========================
   Mobile Menu Overlay
===========================*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,20,12, 0.98);
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.8,-0.01,.16,1.03);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.7rem;
  background: transparent;
  border: none;
  margin: 22px 28px 0 0;
  padding: 0 7px;
  cursor: pointer;
  transition: color .17s;
  z-index: 102;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  margin: 90px 55px 0 0;
  z-index: 101;
}
.mobile-nav a {
  font-size: 1.26rem;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 14px 0;
  width: 100%;
  text-align: right;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.17s, scale 0.11s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--electric-yellow);
  border-bottom: 2px solid var(--electric-yellow);
  scale: 1.04;
}

/* Hide desktop nav/show burger on mobile */
@media (max-width: 900px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}

/* =========================
   Hero Banner
===========================*/
.hero {
  background: linear-gradient(90deg, var(--accent) 55%, var(--electric-blue) 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  border-bottom: 5px solid var(--electric-yellow);
  margin-bottom: 55px;
  position: relative;
  width: 100%;
  box-shadow: 0 10px 40px rgba(1,207,255,0.04);
}
.hero .container {
  width: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 8px;
  padding: 20px 0 12px 0;
}
.hero h1 {
  color: var(--vivid-pink);
  font-size: 2.45rem;
  margin-bottom: 13px;
  letter-spacing: 0.05em;
  text-shadow: 0 7px 27px rgba(1,207,255,0.09), 0 1px 0 #f5eae173;
}
.hero p {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0px;
  font-weight: 600;
}

/* =========================
   Features & Cards
===========================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  margin-top: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  background: var(--surface-light);
  border-radius: 22px;
  box-shadow: 0 4px 17px rgba(243,104,60,0.07);
  padding: 23px 23px 19px 23px;
  border: 2px solid var(--electric-blue);
  min-width: 270px;
  max-width: 340px;
  transition: box-shadow 0.17s, border-color .15s, transform .18s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 27px rgba(1,207,255,0.13);
  border-color: var(--vivid-pink);
  transform: translateY(-4px) scale(1.03);
}
.feature-item img {
  width: 54px;
  height: 54px;
  margin-bottom: 0;
  border-radius: 12px;
  background: var(--electric-yellow);
  display: block;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface-light);
  border-radius: 20px;
  box-shadow: 0 4px 17px rgba(1,207,255,0.08);
  margin-bottom: 20px;
  padding: 24px 16px;
  position: relative;
  transition: box-shadow 0.18s, border .13s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(243,104,60,0.13), 0 2px 33px rgba(246,234,225,0.11);
  border: 2px solid var(--vivid-pink);
}

/* =========================
   Testimonials
===========================*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffde7;
  border-radius: 17px;
  margin-bottom: 20px;
  border: 2px solid var(--electric-yellow);
  box-shadow: 0 4px 20px rgba(255,222,8,0.10);
  position: relative;
  transition: box-shadow 0.16s, border-color .17s, transform .13s;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #181818;
  margin-bottom: 4px;
}
.testimonial-card .testimonial-meta {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.94;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--electric-blue);
  box-shadow: 0 11px 38px rgba(1,207,255,0.17);
  transform: scale(1.018);
}

/* =========================
   Utility Flex
===========================*/
.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;
}

/* =========================
   Footer
===========================*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 22px 0;
  margin-top: 45px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-right: 12px;
  font-size: 1rem;
  transition: color 0.15s, border-color 0.18s;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 10px 0;
}
footer a:hover, footer a:focus {
  color: var(--electric-blue);
}
.footer-contact {
  margin: 12px 0 0 0;
  font-size: 0.97rem;
  color: #fffbe9;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-bottom: -2px;
}

/* =========================
   Contact Details rows
===========================*/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.contact-row a {
  color: var(--vivid-pink);
  font-weight: 700;
  transition: color .12s;
}
.contact-row a:hover {
  color: var(--electric-yellow);
}

/* =========================
   Lists (UL/OL)
===========================*/
ul {
  margin-left: 0;
  margin-bottom: 12px;
  padding-left: 1.3em;
}
ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 0.4em;
  color: var(--primary);
  font-size: 1rem;
}
ul li::before {
  content: '•';
  color: var(--vivid-orange);
  font-size: 1.3em;
  font-weight: bold;
  position: absolute;
  left: -1.1em;
  top: 2px;
}

/* =========================
   Cookie Consent Banner
===========================*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff9e7;
  color: var(--primary);
  z-index: 150;
  box-shadow: 0 -3px 14px rgba(1,207,255,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  padding: 24px 18px;
  font-size: 1.05rem;
  animation: slideInBottom 0.57s;
}
@keyframes slideInBottom {
  from { transform: translateY(120%); }
  to   { transform: translateY(0); }
}
.cookie-consent-text {
  flex: 1 1 0;
  margin-right: 18px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 9px 24px;
  margin: 0;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.14s, box-shadow .12s;
}
.cookie-accept {
  background: var(--electric-blue);
  color: #fff;
  box-shadow: 0 2px 13px rgba(1,207,255,0.08);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--vivid-orange);
}
.cookie-reject {
  background: var(--electric-yellow);
  color: var(--primary);
  box-shadow: 0 2px 13px rgba(255,222,8,0.13);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--vivid-pink);
  color: #fff;
}
.cookie-settings {
  background: #fff;
  color: var(--electric-blue);
  border: 2px solid var(--electric-blue);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--electric-blue);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 160;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(43,21,28,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 4px 38px rgba(1,207,255,0.16);
  padding: 40px 28px 22px 28px;
  width: 96%;
  max-width: 410px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeInModal 0.42s;
  position: relative;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(70px) scale(.93); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: var(--vivid-pink);
  font-size: 1.3rem;
  margin-bottom: 3px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin: 10px 0 6px 0;
}
.cookie-modal label {
  font-size: 1.08rem;
  color: var(--primary);
}
.cookie-modal .toggle {
  appearance: none;
  outline: none;
  width: 46px;
  height: 24px;
  background: var(--electric-blue);
  border-radius: 12px;
  position: relative;
  transition: background .17s;
  margin-right: 7px;
}
.cookie-modal .toggle:checked {
  background: var(--vivid-pink);
}
.cookie-modal .toggle:before {
  content: '';
  width: 20px;
  height: 20px;
  background: #fff;
  position: absolute;
  top: 2px; left: 3px;
  border-radius: 10px;
  box-shadow: 0 1px 6px #f5eae1b2;
  transition: left .15s, background .15s;
}
.cookie-modal .toggle:checked:before {
  left: 22px;
  background: var(--electric-yellow);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 13px;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--vivid-pink);
  z-index: 201;
  transition: color .13s;
}
.cookie-modal .cookie-close-modal:hover { color: var(--electric-blue); }

/* =========================
   Responsive Design
===========================*/
@media (max-width: 1100px) {
  .hero .content-wrapper, .content-wrapper, .text-section {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid {
    gap: 16px;
  }
  footer .container {
    gap: 12px;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 7px;
  }
  .section, main > section {
    padding: 24px 5px;
    margin-bottom: 32px;
  }
  .hero h1 { font-size: 1.28rem; }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .feature-item {
    max-width: 100%;
    min-width: 0;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px 9px;
  }
  .footer-contact { gap: 3px; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.99rem;
    padding: 16px 8px;
  }
}
@media (max-width: 540px) {
  h1, .hero h1 { font-size: 1.07rem; }
  h2 { font-size: 1.01rem; }
  .hero { min-height: 84px; }
  .cookie-consent-banner { font-size: 0.96rem; }
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 24px 4px 19px 4px;
    max-width: 99vw;
  }
  .feature-item {padding: 17px 7px;}
}

/* =========================
   Animations & Microinteractions
===========================*/
.cta-button, .feature-item, .card {
  transition: box-shadow .17s, border .14s, color .14s, background .16s, transform .15s, scale .13s;
}
.cta-button:active {
  scale: 0.96;
}
.mobile-menu,
.mobile-menu-close,
.mobile-menu-toggle {
  transition: background .15s, color .13s, box-shadow .18s;
}

/* =========================
   Miscellaneous: Typography Scale
===========================*/
@media (min-width: 1200px) {  h1 { font-size: 2.9rem; } }

/* =========================
   Accessibility & Focus States
===========================*/
.cta-button:focus, .cookie-consent-banner button:focus {
  outline: 2.5px solid var(--electric-blue);
  outline-offset: 2px;
}

/* =========================
   Utility Classes
===========================*/
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.mt-24 {margin-top:24px !important;}
.mb-24 {margin-bottom:24px !important;}

/* =========================
   Thank-you Page and Special Blocks
===========================*/
.text-section a.cta-button {
  margin-top: 28px;
}

/* =========================
   Hide unwanted content (JS can apply display:none as needed)
===========================*/
.mobile-menu {display: flex;}
.mobile-menu:not(.open) { pointer-events: none; opacity: 0; transform: translateX(-100%); }
.mobile-menu.open { pointer-events: auto; opacity: 1; transform: translateX(0%); }

/* End vibrantly energetic, flexbox-only, accessible, responsive CSS for Vigne Svelate */
