/* -------------------------------------------------------------
   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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F5F5F2;
}
body {
  background: #F5F5F2;
  color: #232326;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* -------------------------------------------------------------
   Brand Typography
------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #4B2E15;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.17;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, label {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #232326;
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
}
a {
  color: #4B2E15;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B4976C;
}

/* -------------------------------------------------------------
   Layout Containers & Utility Classes
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(75,46,21,0.06);
  padding: 24px 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f8fa;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(34,44,64,0.07);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: #222f3e;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #4B2E15;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------------------------------------------------
   Navigation
------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 9px 0 rgba(75,46,21,0.05);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
  color: #4B2E15;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, color 0.2s;
}
.main-nav a.cta-primary {
  background: #4B2E15;
  color: #fff;
  border-radius: 28px;
  padding: 7px 20px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 7px 0 rgba(75,46,21,0.10);
  transition: background 0.18s, color 0.2s, transform 0.1s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #B4976C;
  color: #232326;
  transform: translateY(-2px) scale(1.06);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F5F2;
  color: #B4976C;
}
.main-nav img {
  height: 34px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #4B2E15;
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 32;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B4976C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 12px 60px rgba(34,44,64,.10);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.76,.06,.24,.94);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #4B2E15;
  font-size: 2rem;
  padding: 8px 18px;
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  z-index: 50;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B4976C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 48px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #4B2E15;
  font-weight: 600;
  padding: 12px 0;
  text-decoration: none;
  border-radius: 4px;
  display: block;
  min-width: 160px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f6f6f4;
  color: #B4976C;
}

/* SHOW MOBILE MENU BUTTON */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------------------------------
   Hero, CTA & Feature Sections
------------------------------------------------------------- */
.hero-section, .about-hero-section, .blog-hero-section, .contact-hero-section, .thank-you-section {
  background: linear-gradient(120deg, #F5F5F2 80%, #B4976C 120%);
  padding: 60px 0 40px 0;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}
.features-section, .services-section, .story-section, .about-section, .about-short-section, .policy-section, .brand-values-section, .testimonials-section, .blog-list-section, .newsletter-section, .cta-section, .contact-form-section, .contact-details-section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,44,64,0.05);
  padding: 28px 22px 22px 22px;
  width: 260px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 25px rgba(75,46,21,0.07);
  transform: translateY(-5px) scale(1.025);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}

.cta-section .cta-primary,
.hero-section .cta-primary {
  display: inline-block;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  background: #4B2E15;
  color: #fff;
  border-radius: 28px;
  padding: 14px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  box-shadow: 0 1px 7px 0 rgba(75,46,21,0.10);
  transition: background 0.18s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  text-decoration: none;
  margin-top: 12px;
  cursor: pointer;
}
.cta-section .cta-primary:hover,
.hero-section .cta-primary:hover,
.cta-section .cta-primary:focus,
.hero-section .cta-primary:focus {
  background: #B4976C;
  color: #232326;
  box-shadow: 0 3px 17px 0 rgba(75,46,21,0.12);
  transform: translateY(-2px) scale(1.055);
}

/* Card demo styles for blog teasers */
.blog-teaser {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(75,46,21,0.04);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.blog-teaser:hover, .blog-teaser:focus-within {
  box-shadow: 0 7px 24px 0 rgba(75,46,21,0.10);
  transform: translateY(-4px) scale(1.018);
}
.blog-teaser a {
  color: #4B2E15;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.18s;
}
.blog-teaser a:hover { color: #B4976C; }

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
footer {
  background: #232326;
  color: #fff;
  padding: 42px 0 24px 0;
  margin-top: auto;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #B4976C;
}
.footer-brand img {
  width: 32px;
  height: auto;
}
.footer-address {
  font-size: 1rem;
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #B4976C;
  font-size: 0.97rem;
}
.footer-links a {
  color: #B4976C;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.97rem;
  color: #fff;
  align-items: center;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact a:hover {
  color: #B4976C;
}

/* -------------------------------------------------------------
   Forms
------------------------------------------------------------- */
input,
select,
textarea {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 11px;
  border: 1px solid #C8C4BA;
  border-radius: 6px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
  color: #232326;
  width: 100%;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #4B2E15;
  box-shadow: 0 0 3px #B4976C33;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #4B2E15;
}
button[type="submit"],
button:not(.mobile-menu-toggle):not(.mobile-menu-close):not(.cookie-btn) {
  background: #4B2E15;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  margin-top: 7px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(75,46,21,0.07);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: #B4976C;
  color: #232326;
  transform: translateY(-2px) scale(1.045);
}

/* -------------------------------------------------------------
   Tables (Services)
------------------------------------------------------------- */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 10px 0 rgba(75,46,21,0.08);
  font-size: 1rem;
}
.services-table th,
.services-table td {
  padding: 16px 12px;
  text-align: left;
}
.services-table thead th {
  background: #B4976C;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.services-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #E6E3DB;
  transition: background 0.18s;
}
.services-table tbody tr:hover {
  background: #f7f7f4;
}
.services-table td {
  color: #232326;
}

/* -------------------------------------------------------------
   Policy/Legal Markup
------------------------------------------------------------- */
.policy-section {
  background: #fff;
  border-radius: 10px;
  padding: 32px 20px;
  box-shadow: 0 1px 9px 0 rgba(75,46,21,0.06);
}
.policy-section h1 {
  font-size: 2rem;
}
.policy-section ul {
  margin-left: 22px;
  margin-bottom: 18px;
}
.policy-section li {
  padding-left: 1px;
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
   Miscellaneous Styles & Blocks
------------------------------------------------------------- */
blockquote {
  border-left: 3px solid #B4976C;
  margin: 18px 0;
  padding: 10px 0 10px 22px;
  font-style: italic;
  color: #4B2E15;
  background: #f7f6f4;
  border-radius: 7px;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
ul ul, li ul, ol ul {
  margin-bottom: 0;
}
li {
  margin-bottom: 6px;
}

/* -------------------------------------------------------------
   Cookie Consent Banner (Banner + Modal)
------------------------------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #232326;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(75,46,21,0.14);
  width: 100vw;
  padding: 18px 12px 18px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.55,.02,.42,1);
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner span {
  flex: 1 1 210px;
  min-width: 180px;
}
.cookie-btn {
  margin-left: 9px;
  border: none;
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 1rem;
  background: #B4976C;
  color: #232326;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 1px 5px 0 rgba(75,46,21,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4B2E15;
  color: #fff;
}
.cookie-btn--reject {
  background: #fff;
  color: #B4976C;
  border: 1.2px solid #B4976C;
}
.cookie-btn--reject:hover {
  background: #B4976C;
  color: #232326;
}
.cookie-btn--settings {
  background: #F5F5F2;
  color: #4B2E15;
  border: 1.2px solid #B4976C;
}
.cookie-btn--settings:hover {
  background: #fff;
  color: #B4976C;
}

#cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,38,44,.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.545,0,0,1);
}
#cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal {
  background: #fff;
  color: #222f3e;
  border-radius: 16px;
  box-shadow: 0 12px 42px 0 rgba(75,46,21,0.16);
  max-width: 420px;
  width: 92vw;
  padding: 26px 22px 18px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.35s cubic-bezier(.36,.42,.19,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.89) translateY(80px); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h3 {
  margin-bottom: 8px;
  color: #4B2E15;
  font-size: 1.22rem;
}
#cookie-modal label {
  font-size: 1rem;
  font-weight: 600;
}
#cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 13px;
}
#cookie-modal li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: #E3DDD0;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  border: 1px solid #C7C6C2;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  box-shadow: 0 1px 2px rgba(75,46,21,0.1);
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input[type='checkbox']:checked + .slider {
  left: 18px;
  background: #B4976C;
}
.cookie-toggle input[type='checkbox']:checked ~ .cookie-toggle {
  background: #B4976C;
}
.cookie-category-desc {
  font-size: 0.96rem;
  color: #4B2E15;
  margin-left: 14px;
}
#cookie-modal .cookie-btn {
  margin-right: 8px;
  margin-bottom: 0;
}
#cookie-modal .close-cookie-modal {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  border: none;
  color: #B4976C;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color .15s;
  border-radius: 2px;
}
#cookie-modal .close-cookie-modal:hover, #cookie-modal .close-cookie-modal:focus {
  color: #4B2E15;
}

/* -------------------------------------------------------------
   Responsive Adjustments
------------------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .features-grid {
    gap: 20px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero-section, .about-hero-section, .contact-hero-section, .thank-you-section, .blog-hero-section {
    padding: 42px 0 27px 0;
    margin-bottom: 18px;
  }
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
  }
  .section, .features-section, .services-section, .about-short-section, .about-section, .story-section, .brand-values-section, .testimonials-section, .newsletter-section, .policy-section, .blog-list-section, .contact-form-section, .contact-details-section {
    padding: 26px 0 22px 0;
    margin-bottom: 40px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .footer-brand {
    font-size: 1.12rem;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.52rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .container {
    padding: 0 5px;
  }
  .feature {
    padding: 18px 10px 16px 10px;
  }
  .services-table thead th, .services-table td {
    font-size: 0.97rem;
    padding: 8px 6px;
  }
  .cta-section .cta-primary, .hero-section .cta-primary {
    padding: 9px 19px;
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------
   Animations & Microinteractions
------------------------------------------------------------- */
.card, .feature, .testimonial-card, .blog-teaser {
  transition: transform 0.16s cubic-bezier(.45,0,.65,1), box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(34,44,64,0.11);
  transform: translateY(-2px) scale(1.015);
}

/* -------------------------------------------------------------
   Accessibility
------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #B4976C;
  outline-offset: 2px;
}

/* HIDE/SHOW UTILITY */
.hide { display: none !important; }
.show { display: block !important; }

/* -------------------------------------------------------------
   Print Adjustments
------------------------------------------------------------- */
@media print {
  * { color: #222 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, #cookie-banner, #cookie-modal-overlay, .mobile-menu { display: none !important; }
}
