/*--------------------------------------------------------------
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer img {
  width: 150px;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #17403B;
  background: #F6F8F4;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #17403B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDBD5A;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/*--------------------------------------------------------------
TYPOGRAPHY
--------------------------------------------------------------*/
h1, .hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #17403B;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #17403B;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #17403B;
  margin-bottom: 12px;
}
.headline, .tagline {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #BD8728;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1rem;
  color: #485955;
  margin-bottom: 20px;
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #17403B;
}
strong { font-weight: bold; }
em { font-style: italic; }
blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  color: #216b63;
  background: #FDEDC3;
  border-left: 6px solid #FDBD5A;
  margin: 0 0 12px 0;
  padding: 18px 24px;
  border-radius: 16px 20px 20px 16px;
  box-shadow: 0 2px 8px rgba(253,189,90,0.09);
}

/*--------------------------------------------------------------
CONTAINERS & LAYOUT
--------------------------------------------------------------*/
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* breathing room */
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(23,64,59,0.07);
  /* Soft appearance for sections */
}
.features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #FFF8ED;
  padding: 24px 18px 20px 18px;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(253,189,90,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.18s;
}
.feature-grid > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 22px 0 rgba(253,189,90,0.14);
}
.team-bios {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF8ED;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(253,189,90,0.09);
  padding: 28px 20px;
  flex: 1 1 250px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(253,189,90,0.17);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF8ED;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(253,189,90,0.13);
  max-width: 500px;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px rgba(253,189,90,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.brand-bar {
  margin: 30px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------------------------------------
HEADER & NAVIGATION
--------------------------------------------------------------*/
header {
  background: #FFF8ED;
  box-shadow: 0 1px 12px 0 rgba(23,64,59,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.logo img {
  height: 46px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #17403B;
  background: none;
  border-radius: 10px;
  padding: 8px 14px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FDBD5A;
  color: #17403B;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  border: none;
  color: #17403B;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 50%;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FDBD5A;
  color: #17403B;
}

/*--------------------------------------------------------------
MOBILE NAVIGATION
--------------------------------------------------------------*/
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,64,59,0.92);
  transition: transform 0.36s cubic-bezier(.47,1.64,.41,.8);
  transform: translateX(100%);
  padding: 0;
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFF8ED;
  border: none;
  color: #17403B;
  font-size: 2.2rem;
  padding: 8px 18px;
  border-radius: 50%;
  align-self: flex-end;
  margin: 24px 28px 12px 0;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FDBD5A;
  color: #17403B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF8ED;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDBD5A;
}
/* Hide main nav and show burger button on mobile */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 1020px) {
  .mobile-menu { display: flex; }
}
/*----------------------*/

/*--------------------------------------------------------------
HERO SECTION
--------------------------------------------------------------*/
.hero {
  background: linear-gradient(115deg, #FFFDF6 70%, #FDBD5A 100%);
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  box-shadow: 0 8px 64px 0 rgba(253,189,90,0.12);
}
.hero .container {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
}

.cta {
  font-family: 'Open Sans', sans-serif;
  background: #FDBD5A;
  color: #17403B;
  border: none;
  border-radius: 999px;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 14px 40px 14px 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 3px 17px 0 rgba(253,189,90,0.19);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.19s, transform 0.14s;
  letter-spacing: 0.02em;
  outline: none;
}
.cta.primary {
  background: #17403B;
  color: #FFF8ED;
}
.cta:hover, .cta:focus {
  background: #17403B;
  color: #FDBD5A;
  box-shadow: 0 8px 32px rgba(23,64,59,0.18);
  transform: translateY(-2px) scale(1.03);
}
.cta.primary:hover, .cta.primary:focus {
  background: #FDBD5A;
  color: #17403B;
  box-shadow: 0 8px 36px rgba(253,189,90,0.18);
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
footer {
  background: #FFF8ED;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -3px 26px 0 rgba(23,64,59,0.04);
  margin-top: 60px;
  padding: 36px 0 22px 0;
  font-size: 0.98rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #17403B;
  background: none;
  border-radius: 12px;
  padding: 4px 12px;
  transition: background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FDBD5A;
}
footer p {
  text-align: center;
  color: #616161;
  margin: 14px 0 0 0;
}

/*--------------------------------------------------------------
LISTS, ICONS, DETAILS
--------------------------------------------------------------*/
ul li,
ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
ul li img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/*--------------------------------------------------------------
COOKIE CONSENT BANNER
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  z-index: 3100;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF8ED;
  color: #17403B;
  box-shadow: 0 -4px 44px rgba(23,64,59,0.09);
  padding: 28px 18px 18px 18px;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: appearBanner 0.5s cubic-bezier(.19,1,.22,1) both;
  font-size: 1rem;
}
@keyframes appearBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-banner button {
  font-size: 1rem;
  border: none;
  border-radius: 15px;
  padding: 10px 24px;
  cursor: pointer;
  color: #17403B;
  background: #FDBD5A;
  font-weight: 600;
  margin: 0 3px;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(253,189,90,0.11);
}
.cookie-banner button.settings {
  background: #17403B;
  color: #FDBD5A;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #17403B;
  color: #FDBD5A;
  box-shadow: 0 8px 26px rgba(23,64,59,0.12);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #FDBD5A;
  color: #17403B;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3110;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,49,57,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appearModalBg 0.34s cubic-bezier(.19,1,.22,1) both;
}
@keyframes appearModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF8ED;
  color: #17403B;
  border-radius: 23px;
  padding: 34px 26px 28px 26px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 8px 64px 0 rgba(23,64,59,0.10);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: appearModal 0.36s cubic-bezier(.28,1,.22,1) both;
}
@keyframes appearModal {
  from { transform: translateY(65px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  font-family: 'Merriweather', serif;
  color: #17403B;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 10px 0;
}
.cookie-modal .cookie-category {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(23,64,59,0.07);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .cookie-category span {
  flex-grow: 1;
  color: #2d6b5c;
  font-size: 1rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #FDBD5A;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .2s;
}
.cookie-modal .toggle:checked {
  background: #17403B;
}
.cookie-modal .toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #FFF8ED;
  border-radius: 50%;
  transition: left .2s, background .18s;
}
.cookie-modal .toggle:checked::before {
  left: 21px;
  background: #FDBD5A;
}
.cookie-modal .btn-bar {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .btn-bar button {
  padding: 8px 22px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #FDBD5A;
  color: #17403B;
  transition: background 0.14s, color 0.14s;
  margin-left: 3px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(253,189,90,0.11);
}
.cookie-modal .btn-bar button:hover, .cookie-modal .btn-bar button:focus {
  background: #17403B;
  color: #FDBD5A;
}

/*--------------------------------------------------------------
RESPONSIVE DESIGN
--------------------------------------------------------------*/
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .footer-nav {
    gap: 14px;
  }
  .main-nav {
    gap: 15px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .section, main > section {
    padding: 28px 9px;
    margin-bottom: 36px;
    border-radius: 20px;
  }
  .hero .container {
    min-height: 210px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    box-shadow: 0 1px 7px 0 rgba(253,189,90,0.09);
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    margin-bottom: 16px;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
  h1, .hero h1 { font-size: 1.2rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1rem; }
    ul li {
      flex-direction: column;
    }
}
@media (max-width: 540px) {
  .hero .content-wrapper {
    margin-top: 14px;
    margin-bottom: 16px;
  }
  .cookie-modal { padding: 16px 6vw 14px 6vw; }
}
@media (max-width: 420px) {
  .footer-nav { gap: 5px; }
  .cookie-modal { min-width: 0; }
}

/*--------------------------------------------------------------
ACCESSIBILITY & UTILITY CLASSES
--------------------------------------------------------------*/
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/*--------------------------------------------------------------
OVERRIDES AND MICRO-INTERACTIONS
--------------------------------------------------------------*/
button, a.button, .cta, input[type="submit"] {
  outline: none;
  transition: box-shadow 0.17s, background 0.14s, color 0.11s, transform 0.13s;
}
button:focus, .cta:focus, .cta:active, .cta.active, .cookie-modal button:focus {
  box-shadow: 0 0 0 4px #FDBD5A99;
  outline: none;
}

/*--------------------------------------------------------------
VISUAL HIERARCHY (CONSISTENT SPACING)
--------------------------------------------------------------*/
h1:not(:first-child), h2:not(:first-child), h3:not(:first-child) {
  margin-top: 18px;
}
.section h2,
.section .headline,
.section .tagline {
  margin-bottom: 10px;
}
.text-section p:not(:last-child) {
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
CUSTOM SCROLLBAR FOR BRAND PERSONALITY
--------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #FFF8ED;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #FDBD5A;
  border-radius: 14px;
  border: 3px solid #FFF8ED;
}

/*--------------------------------------------------------------
END
--------------------------------------------------------------*/
