/* =====================
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; background: #F5F5F5; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  color: inherit;
  border-radius: 0;
}

/* ================
   BASE TYPOGRAPHY
   ================ */
:root {
  --primary: #233041;
  --secondary: #E3A130;
  --accent: #F5F5F5;
  --light-bg: #FFF9ED;
  --card-bg: #FFFFFF;
  --border-radius: 16px;
  --shadow-main: 0 4px 24px rgba(227,161,48,0.10), 0 1.5px 8px rgba(35,48,65,0.06);
  --shadow-card: 0 2px 12px rgba(35,48,65,0.07);
  --shadow-btn: 0 2px 8px rgba(227,161,48,0.18);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.16;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol{
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 0;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--secondary);
  transition: color 0.2s;
}
a:hover { color: #a97d17; }
strong, b { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  p, ul, ol { font-size: 0.98rem; }
}

/* ===================
   LAYOUT CONTAINERS
   =================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .container { padding: 0 8px; }
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,48,65,0.13);
  transform: translateY(-5px) scale(1.01);
}
.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;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  font-style: italic;
  margin-bottom: 20px;
  min-height: 88px;
}
.testimonial-card p {
  color: #233041;
  font-size: 1.05rem;
  margin: 0;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 600;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   HEADER & MAIN NAVIGATION
   ========================= */
header {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(35,48,65,0.07);
  margin-bottom: 10px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: #fff;
}
header a img {
  height: 48px;
  margin-right: 18px;
}
@media (max-width: 968px) {
  header nav {
    gap: 12px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* =============
   CTA BUTTON
   ============= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  padding: 12px 36px;
  font-size: 1.1rem;
  border-radius: 32px;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  margin-left: 28px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #e1b353;
  box-shadow: 0 6px 18px rgba(227,161,48,0.22);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}
@media (max-width: 768px) {
  .cta-btn {
    margin-left: 0;
    padding: 11px 22px;
    font-size: 1rem;
    margin-top: 10px;
  }
}

/* ================
   HERO SECTION
   ================ */
.hero {
  padding: 60px 0 40px 0;
  background: linear-gradient(98deg, #FFF9ED 0%, #fbe7c9 100%);
  position: relative;
  border-radius: var(--border-radius);
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 6px;
}
.hero p {
  font-size: 1.18rem;
  color: #423e34;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 22px 0;
    border-radius: 12px;
  }
}

/* =====================
   FEATURE GRID / BLOCKS
   ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 240px;
  background: #FFF;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 20px 22px 20px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.15s;
}
.feature:hover {
  box-shadow: 0 8px 24px rgba(35,48,65,0.13);
  transform: translateY(-3px) scale(1.015);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
}
@media (max-width: 992px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature { width: 100%; min-width: 0; }
}

/* =================
   TEAM/CONTACT LISTS
   ================= */
.team-list, .story-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.team-member, .story, .faq-item {
  flex: 1 1 250px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.team-member:hover, .story:hover, .faq-item:hover {
  box-shadow: 0 6px 18px rgba(227,161,48,0.12);
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
  .team-list, .story-list, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
}

.contact-info-snippet p, ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.cta-area {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .cta-area {
    flex-direction: column;
    gap: 12px;
  }
}

.confirmation-card {
  background: #fffbe6;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 30px 24px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============
   FOOTER AREA
   ============ */
footer {
  background: #fff6e0;
  border-top: 1.5px solid #FBEDD6;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 32px 20px 18px 20px;
  gap: 18px;
}
footer a img {
  height: 44px;
  margin-bottom: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.99rem;
  opacity: 0.78;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover { background: var(--secondary); color: #fff; opacity: 1; }
footer p {
  margin-bottom: 0;
  color: #6d6450;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px 10px 12px;
    gap: 12px;
  }
  footer nav {
    gap: 10px;
  }
}

/* ===============================
   MOBILE MENU / BURGER NAVIGATION
   =============================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1201;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #c48f22; }
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, header .cta-btn { display: none !important; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,48,65,0.97);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.88,.01,.25,.98);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 44px;
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: rgba(227,161,48,0.12); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  gap: 14px;
  padding: 0 38px;
  width: 100vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.16s, color 0.13s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  padding-left: 12px;
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
   ============================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff8e1;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -2px 16px rgba(35,48,65,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 18px 18px 0 0;
  animation: bannerAppear 0.7s cubic-bezier(.68,-0.5,.42,1.35) forwards;
}
@keyframes bannerAppear {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p,
.cookie-banner span {
  color: var(--primary);
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btns button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 26px;
  border-radius: 18px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.15s;
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-btn);
  border: none;
}
.cookie-btns .reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #dab05a;
  box-shadow: none;
}
.cookie-btns .reject:hover, .cookie-btns .reject:focus {
  background: #f5ede7; color: #e0a21b;
}
.cookie-btns .settings {
  background: transparent;
  color: #9b7a20;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  padding: 8px 13px;
}
.cookie-btns .settings:hover, .cookie-btns .settings:focus {
  color: var(--secondary);
  text-decoration: none;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(35,48,65,0.67);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  animation: modalIn 0.4s cubic-bezier(.42,.1,.68,1.08) forwards;
  opacity: 1;
}
@keyframes modalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-inner {
  background: #fffce5;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(227,161,48,0.15);
  padding: 32px 28px 24px 28px;
  max-width: 410px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: modalCard 0.32s cubic-bezier(.6,-0.5,.46,1.55) forwards;
}
@keyframes modalCard {
  0% {transform: scale(0.75); opacity: 0.3;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal-inner h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.cookie-modal-inner label {
  font-size: 1rem;
  margin: 0 0 0 8px;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal-inner .always-on {
  color: #6f6d69;
  font-size: 0.96rem;
  background: #f0ecd1;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 4px;
}
.cookie-modal-inner .cookie-btns {
  width: 100%;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* MODAL CLOSE BUTTON STYLES */
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  background: none;
  color: #a78a37;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff5e0;
}

/* =============
   MISCELLANEOUS
   ============= */
::-webkit-scrollbar {
  width: 10px;
  background: #f8f4ec;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #e4b456;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #fffbe7;
  border-radius: 8px;
}

/* Selection */
::selection {
  background: #ffe2a9;
  color: #1e283d;
}

/* Focus states */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Accessibility:
   Dark text (contrast > 7:1) on testimonial cards and review backgrounds. */
.testimonial-card, .confirmation-card {
  color: #212121;
  background: #fffbe6;
}

/* ==========
   RESPONSIVE
   ========== */
@media (max-width: 600px) {
  .container, .content-wrapper {
    padding: 0 4px;
  }
  .section {
    padding: 16px 2px;
    margin-bottom: 22px;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
  }
  .feature, .card, .team-member, .story, .faq-item {
    padding: 14px 8px; min-width: unset;
  }
  .testimonial-card {
    padding: 15px 8px;
  }
  .cookie-banner {
    padding: 20px 6px 14px 6px;
    gap: 12px;
  }
}
