/* ============================== */
/*      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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #202124;
  color: #F8F9FA;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  background-color: #222;
  background-image: linear-gradient(120deg, #355C2D 0%, #242553 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #FFC857;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFF;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

/* ============================== */
/*      TYPOGRAPHY & BRAND        */
/* ============================== */
:root {
  --color-primary: #355C2D;
  --color-secondary: #FAF3E6;
  --color-accent: #FFC857;
  --color-bg-dark: #222A2C;
  --color-bg-card: #27302F;
  --color-contrast: #FAF3E6;
  --color-testimonial-bg: #FFF;
  --color-testimonial-text: #152317;
  --ff-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --ff-body: 'Roboto', Arial, sans-serif;
}
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  background-color: #202124;
  color: var(--color-contrast);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--color-accent);
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(255,200,87, .15), 0 0px 1px #202124;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.15rem;
}
p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #EFEFEF;
}
strong {
  color: var(--color-accent);
  font-weight: 700;
}
	
/* ============================== */
/*         LAYOUT & CONTAINERS    */
/* ============================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(36, 40, 57, 0.63);
  border-radius: 28px;
  box-shadow: 0 6px 28px 0 rgba(48, 66, 68, 0.09);
}

/* ============================== */
/*         HEADER & NAVIGATION    */
/* ============================== */
header {
  background: rgba(34, 42, 44, 0.95);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1080;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #FAF3E6;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 7px;
  transition: box-shadow .22s, background .20s, color .12s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: rgba(255,200,87,0.10);
  color: var(--color-accent);
  box-shadow: 0 0 12px 0 var(--color-accent);
}
header img {
  height: 48px;
}
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #0e150f;
  border: none;
  border-radius: 20px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 28px;
  margin-left: 22px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.20s,color 0.15s,box-shadow 0.15s, transform .12s;
  box-shadow:0 3px 16px rgba(255, 200, 87, 0.19);
  position: relative;
}
.btn:hover, .btn:focus {
  background: #FFD86B;
  color: #1B240E;
  box-shadow: 0 0 0 4px #FFD86B7c;
  transform: translateY(-2px) scale(1.03);
}
/* base button color on non-primary button */
.btn:not(.btn-primary) {
  background: #27302F;
  color: #FFC857;
  border: 1.5px solid #FFC857;
}
.btn:not(.btn-primary):hover, .btn:not(.btn-primary):focus {
  background: #fff7e0;
  color: #192410;
  border-color: #FFC857;
}

/* ============================== */
/*      HERO & FEATURE SECTIONS   */
/* ============================== */
.hero {
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 60px;
  background: linear-gradient(100deg,#27302F 72%, #FFC85730 100%);
  box-shadow: 0 4px 28px #19241022;
  border-radius: 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #ffc857;
  text-shadow: 0 0 16px #ffc85722;
}
.hero p {
  color: #FAF3E6;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.hero .btn {
  margin-left: 0;
  margin-top: 18px;
}

/* ============================== */
/*         FLEXBOX PATTERNS       */
/* ============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #27302F;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(48, 66, 68, 0.13);
  padding: 26px 18px 22px 18px;
  transition: box-shadow .17s, transform .15s, background .12s;
}
.card:hover, .card:focus {
  box-shadow: 0 0 18px 2px var(--color-accent), 0 4px 28px 0 rgba(48, 66, 68, 0.16);
  transform: translateY(-3px) scale(1.02);
  background: #355C2D;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 #0002;
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 510px;
  margin-left: auto;
  margin-right: auto;
  border: 1.5px solid #FFC85725;
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #1C1C1C;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #27302F;
  font-size: .95rem;
  font-weight: 500;
  font-family: var(--ff-display);
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Unique feature grid used in index main features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #27302F;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(48, 66, 68, 0.08);
  padding: 25px 17px 12px 17px;
  min-width: 200px;
  max-width: 290px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow .17s, background .12s, transform .13s;
}
.feature-grid > div img {
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 2px #FFC85744) drop-shadow(0 2px 8px #355C2D11);
}
.feature-grid > div:hover, .feature-grid > div:focus {
  background: #355C2D;
  box-shadow: 0 0 12px 2px #FFC85755, 0 6px 18px 0 #1B240E11;
  transform: scale(1.04);
}

/* ============================== */
/*        BLOG & ARTICLE TAGS     */
/* ============================== */
.tag {
  display: inline-block;
  font-size: .88rem;
  padding: 5px 15px;
  background: #FFC857;
  color: #232421;
  border-radius: 14px;
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: .03em;
  margin-top: 6px;
  margin-right: 5px;
}

/* ============================== */
/*             FOOTER             */
/* ============================== */
footer {
  background: #192410;
  border-top: 3px solid var(--color-primary);
  padding: 38px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #FAF3E6;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 2px;
  border-radius: 4px;
  transition: background 0.2s, color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
  background: #25381b;
}
footer address, footer span {
  font-size: .97rem;
  color: #bcd1c2;
  margin-bottom: 4px;
  display: block;
}
footer strong {
  font-size: 1.02rem;
  color: var(--color-accent);
}
footer img {
  height: 38px;
  margin-bottom: 10px;
}

/* ============================== */
/*         RESPONSIVE DESIGN      */
/* ============================== */
@media (max-width: 1060px) {
  .feature-grid > div {
    min-width: 180px;
    max-width: 240px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .section, .hero {
    padding: 30px 8px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-grid > div {
    min-width: 155px;
    max-width: 48%;
  }
  footer .content-wrapper {
    gap: 20px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 32px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header nav {
    display: none;
  }
  .btn, .btn-primary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.68rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .testimonial-card {
    font-size: .99rem;
  }
}
/* Responsive flexboxes */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================== */
/*       MOBILE BURGER MENU       */
/* ============================== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 920px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 1700;
    width: 48px;
    height: 48px;
    background: linear-gradient(120deg, #27302F 70%, #FFC85744 100%);
    border-radius: 18px;
    color: var(--color-accent);
    font-size: 2rem;
    border: 2px solid #FFC85755;
    box-shadow: 0 3px 18px #FFC85711;
    cursor: pointer;
    transition: background .16s, box-shadow .18s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #FFC857;
    color: #27302F;
    box-shadow: 0 0 14px #FFC85799;
  }
  header nav, header .btn, header .btn-primary {
    display: none!important;
  }
}
/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,18,28,0.98);
  z-index: 2000;
  padding-top: 24px;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.62,0,.38,1), opacity .24s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #FFC857;
  margin-right: 14px;
  margin-bottom: 18px;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.12s;
  border-radius: 10px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #26321b;
  background: #FFC857;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 28px;
  padding-right: 28px;
}
.mobile-nav a {
  width: 100%;
  display: block;
  font-size: 1.22rem;
  font-family: var(--ff-display);
  color: var(--color-accent);
  padding: 16px 6px;
  margin-bottom: 0;
  border-radius: 8px;
  text-align: left;
  background: none;
  border: none;
  transition: background 0.20s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFC857;
  color: #1B240E;
}

/* ============================== */
/*        COOKIE CONSENT BANNER   */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34,42,44, 0.98);
  color: var(--color-contrast);
  padding: 23px 8vw 18px 8vw;
  border-top: 2px solid #FFC85799;
  box-shadow: 0 -2px 16px #0f150711;
  z-index: 4000;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInBottom .6s cubic-bezier(.18, .79, .34, .99);
}
.cookie-banner p {
  font-size: 1rem;
  color: #ffc;
  flex: 2 2 320px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1 0 auto;
}
.cookie-banner .btn, .cookie-banner .btn-primary {
  margin: 0;
  min-width: 110px;
  padding: 7px 18px;
  font-size: 0.93rem;
}
.cookie-banner .btn-settings {
  background: none;
  color: #FFC857;
  border: 1.5px solid #FFC85799;
  border-radius: 17px;
  font-weight: 600;
  transition: background 0.16s, color .14s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #FFC857;
  color: #152317;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    gap: 18px;
    align-items: stretch;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    width: 100%;
    justify-content: flex-end;
  }
}
@keyframes fadeInBottom {
  0% { transform: translateY(60px); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); }
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4100;
  background: #2b231d;
  color: var(--color-contrast);
  border-radius: 16px;
  box-shadow: 0 6px 28px #1B240EBB;
  min-width: 325px;
  max-width: 97vw;
  width: 100%;
  transform: translate(-50%, 22vh) scale(0.97);
  padding: 38px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.21rem;
  margin-bottom: 11px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  color: #FFD86B;
  cursor: pointer;
  font-family: var(--ff-body);
  font-weight: 500;
}
.cookie-toggle {
  accent-color: #FFC857;
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .btn, .cookie-modal .btn-primary {
  margin: 0;
  font-size: .99rem;
}
.cookie-modal .btn-cancel {
  background: none;
  border: 1.5px solid #FFC857;
  color: #FFC857;
  border-radius: 18px;
  font-weight: 600;
  transition: background .14s, color .13s;
}
.cookie-modal .btn-cancel:hover, .cookie-modal .btn-cancel:focus {
  background: #FFC857;
  color: #192410;
}
@media (max-width:600px){
  .cookie-modal {
    min-width: 0;
    padding: 15px 9px 12px 9px;
  }
}

/* ============================== */
/*         ANIMATIONS             */
/* ============================== */
.card,.feature-grid>div,.testimonial-card,.btn,.hero,.section, .cookie-banner, .cookie-modal {
  transition: box-shadow .19s, transform .17s, background .14s, color .13s;
}
.btn, .btn-primary {
  transition: background 0.20s,color 0.15s,box-shadow 0.15s, transform .13s;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: #FFC857;
}

/* ============================== */
/*         GENERAL UTILS          */
/* ============================== */
.mr-16 { margin-right: 16px!important; }
.text-center { text-align: center!important; }
.text-left { text-align: left!important; }
.text-right { text-align: right!important; }
.neon {
  color: #FFC857;
  text-shadow: 0 0 7px #FFC85755, 0 0 16px #FFC85788, 0 0 2px #FFC857;
}
::-webkit-scrollbar {
  width: 10px;
  background: #222A2C;
}
::-webkit-scrollbar-thumb {
  background: #355C2D;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFC857;
}

/* ============================== */
/*        CUSTOM OVERRIDES        */
/* ============================== */
/* Remove bold from cookie toggles and fix hover state */
.cookie-category input[type=checkbox]:disabled + label {
  opacity: 0.62;
  color: #FFD86B99;
  cursor: not-allowed;
}

/* ============================== */
/*     SUPPLEMENTAL FORMATTING    */
/* ============================== */
section ul, section ol {
  margin-left: 18px;
  margin-bottom: 14px;
}
section li {
  list-style-type: disc;
  margin-bottom: 7px;
  color: #fdf2c5;
  font-size: 1rem;
}
address {
  font-style: normal;
  margin-bottom: 6px;
}

/* ============================== */
/*     ACCESSIBILITY FOCUSES      */
/* ============================== */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #FFC857;
  outline-offset: 2px;
  z-index: 1;
}

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