/* =============================
   BASE 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,
main, 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 {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4EADA;
  color: #3e2c22;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #B32224;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #265D2D;
  text-decoration: underline;
}
b, strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}
li {
  margin-bottom: 8px;
}
button, input[type="button"], input[type="submit"] {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}
::selection {
  background: #ffe9d6;
}
hr {
  border: 0;
  border-top: 1px solid #e7dac7;
  margin: 32px 0;
}

/* =============================
   BRAND COLORS & FONTS
   ============================= */
:root {
  --color-primary: #265D2D;
  --color-secondary: #B32224;
  --color-accent: #F4EADA;
  --color-bg: #F4EADA;
  --color-bg-alt: #fff9f4;
  --color-text: #3e2c22;
  --color-heading: #265D2D;
  --color-link: #B32224;
  --color-link-hover: #265D2D;
  --color-shadow: rgba(39, 26, 10, 0.06);
  --rounded-base: 18px;
  --rounded-btn: 999px;
  --shadow-card: 0 2px 12px var(--color-shadow);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.text-section p {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--color-text);
}
p {
  margin-bottom: 14px;
  color: var(--color-text);
}

strong {
  color: var(--color-heading);
}

/* =============================
   BUTTONS
   ============================= */
.btn-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--rounded-btn);
  padding: 12px 34px;
  margin-top: 10px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.22s, transform 0.20s, box-shadow 0.20s;
  border: none;
  letter-spacing: 0.4px;
  cursor: pointer;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px var(--color-shadow);
}
.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--rounded-btn);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}
.btn-text {
  background: none;
  color: var(--color-link);
  padding: 0;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.15s;
}
.btn-text:hover,
.btn-text:focus {
  color: var(--color-primary);
}

/* =============================
   HEADER & NAVIGATION STYLES
   ============================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f7e5d0;
  padding: 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-left: 28px;
}
.main-nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 1.08rem;
  padding: 6px 12px;
  border-radius: var(--rounded-btn);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  background: var(--color-secondary);
}
header .btn-primary {
  margin-left: 32px;
  font-size: 1rem;
  padding: 10px 24px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: var(--rounded-btn);
  padding: 8px 16px 6px 16px;
  margin-left: 18px;
  border: none;
  transition: background 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 980px) {
  header {
    padding: 0 0 0 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .btn-primary {
    margin-left: 12px;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 4px 28px rgba(58, 39, 19, 0.13);
  z-index: 1200;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.48,.16,.08,1.06);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: var(--rounded-btn);
  margin: 18px 20px 0 0;
  padding: 2px 16px 6px 16px;
  cursor: pointer;
  z-index: 1201;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 40px;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  padding: 16px 12px;
  border-radius: var(--rounded-btn);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
  background: none;
  transition: background 0.22s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   MAIN WRAPPER & SECTIONS
   ============================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--rounded-base);
  box-shadow: 0 2px 14px var(--color-shadow);
  position: relative;
}
@media (max-width: 700px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
main > section {
  margin-bottom: 60px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  border: none;
}

/* =============================
   FEATURE/CARD/SPACING LAYOUTS
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: #fff;
  border-radius: var(--rounded-base);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  transition: box-shadow 0.23s, transform 0.19s;
  min-width: 220px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card:hover {
  box-shadow: 0 4px 24px var(--color-shadow);
  transform: translateY(-3px) scale(1.013);
}
.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;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
}
.usp-list,
.services-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.usp-list li {
  background: #F9F6F3;
  padding: 11px 22px;
  border-radius: var(--rounded-btn);
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
  box-shadow: 0 1px 7px rgba(39, 26, 10,0.07);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.services-list li, .services-list > div, .services-list > li {
  flex: 1 1 210px;
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: var(--rounded-base);
  padding: 20px 18px 17px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.services-list li:hover, .services-list > div:hover {
  box-shadow: 0 6px 22px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}
.services-list h3 span {
  color: var(--color-secondary);
  font-weight: 600;
  margin-left: 8px;
  font-size: 1.1rem;
}
.cta-section {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .services-list {
    flex-direction: column;
    gap: 14px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff9f4;
  color: #312619;
  border-radius: var(--rounded-base);
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-secondary);
  font-size: 1.07rem;
  position: relative;
}
.testimonial-card p {
  color: #3e2c22;
  margin-bottom: 0;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card strong {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1.01rem;
  font-style: normal;
}

@media (max-width: 700px) {
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
  }
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #fff;
  color: #2e2213;
  border-top: 1px solid #f5e3d1;
  margin-top: 52px;
  padding: 0 0 0 0;
  width: 100%;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 20px;
  max-width: 1120px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer .logo img {
  height: 44px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  margin-top: 6px;
}
.footer-nav a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.98rem;
  color: #726247;
  margin-top: 5px;
}
.footer-contact img {
  height: 1em;
  display: inline;
  width: 1em;
  margin-right: 4px;
  vertical-align: -2px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .footer-contact {
    margin-bottom: 14px;
  }
}

/* =============================
   CONTACT DETAILS
   ============================= */
.contact-details {
  background: #fff9f2;
  border-radius: var(--rounded-base);
  box-shadow: 0 1px 9px var(--color-shadow);
  padding: 22px 18px 18px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  color: #29522a;
  font-weight: 500;
  font-size: 1rem;
}
.contact-details img {
  height: 1.35em;
  width: 1.35em;
  margin-right: 4px;
  border-radius: 0;
}

/* =============================
   RESPONSIVE RULES
   ============================= */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper { gap: 16px; }
  .cta-section { flex-direction: column; gap: 10px; align-items: flex-start; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.13rem; }
  .footer-contact p { font-size: 0.95rem; }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff9f4;
  color: #482d1b;
  box-shadow: 0 -1px 20px var(--color-shadow);
  padding: 20px 16px 24px 16px;
  border-top-left-radius: var(--rounded-base);
  border-top-right-radius: var(--rounded-base);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.28s, transform 0.28s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #432512;
  flex: 2 1 320px;
  margin-right: 16px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  box-shadow: none;
  font-size: 0.99rem;
  padding: 10px 22px;
}
.cookie-banner .btn-settings {
  background: none;
  color: var(--color-secondary);
  border: none;
  font-size: 0.99rem;
  text-decoration: underline;
  border-radius: var(--rounded-btn);
  padding: 10px 18px;
  transition: color 0.15s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  color: var(--color-primary);
  background: var(--color-accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 4px 18px 4px;
    gap: 14px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99999;
  left: 0;  top: 0;  width: 100vw;  height: 100vh;
  background: rgba(54,28,19, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff9f4;
  color: #3e241b;
  border-radius: var(--rounded-base);
  box-shadow: 0 2px 36px var(--color-shadow);
  padding: 32px 24px 28px 24px;
  max-width: 410px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popin .35s cubic-bezier(.37,1.27,.59,.98);
}
@keyframes popin {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
  color: var(--color-heading);
}
.cookie-modal .cookie-close-btn {
  background: var(--color-secondary);
  color: #fff;
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  border-radius: var(--rounded-btn);
  font-size: 1.5rem;
  padding: 2px 12px 6px 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-close-btn:hover {
  background: var(--color-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-cat-name {
  font-weight: 600;
  flex: 1 1 70px;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 20px;
  border: none;
  border-radius: 10px;
  background: #e6dbc4;
  position: relative;
  outline: none;
  transition: background 0.17s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.17s;
}
.cookie-modal .cookie-toggle[data-enabled="true"]::after {
  left: 19px;
}
.cookie-modal .cookie-description {
  font-size: 0.97rem;
  color: #7c6752;
  margin-left: 10px;
  flex: 2;
}
.cookie-modal .cookie-cat-essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 18px 6px 14px 14px; }
}

/* =============================
   ANIMATIONS
   ============================= */
.btn-primary, .btn-secondary,
.card, .services-list li, .testimonial-card, .section {
  transition: box-shadow 0.21s, background 0.18s, transform 0.19s;
}
a, .main-nav a, .footer-nav a {
  transition: color 0.18s, background 0.21s;
}

/* =============================
   MISC ACCESSIBILITY/UTILITY
   ============================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 99999;
}
.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  background: var(--color-secondary);
  color: #fff;
  outline: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.05rem;
}
.hidden {
  display: none !important;
}

/* =============================
   SCROLLBAR
   ============================= */
body, .cookie-modal {
  scrollbar-color: #eedbc3 #fff9f4;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  background: #f5e5d9;
}
::-webkit-scrollbar-thumb {
  background: #e4b69c;
  border-radius: 6px;
}

/* =============================
   LAST: ADJUST LOGO ON MOBILE
   ============================= */
@media (max-width: 450px) {
  .logo img { height: 30px; }
}
