/* ==========================
   CSS RESET & NORMALIZE
=========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #FFFFFF;
  color: #3c2c19;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.25em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #634B34;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
p, .text-section {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #4c3924;
}
strong {
  font-weight: 700;
}

/* ==========================
    CONTAINER & GRID BASICS
========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(99,75,52,0.06);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
    border-radius: 16px;
  }
}

/* ==========================
       HEADER & NAV
========================== */
header {
  background: #fff;
  border-bottom: 3px solid #F9D69C;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}
header img {
  height: 38px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #634B34;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  padding: 8px 6px;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  border-bottom: 2px solid #C44112;
  background: #F9D69C;
  color: #C44112;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #C44112;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(99,75,52,0.09);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-left: 16px;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #924019;
  box-shadow: 0 4px 18px rgba(196,65,18,0.14);
  transform: translateY(-1px) scale(1.025);
}

@media (max-width: 1024px) {
  header nav {
    gap: 18px;
  }
  header .cta-button {
    padding: 10px 18px;
    font-size: 0.98rem;
    margin-left: 8px;
  }
}
@media (max-width: 840px) {
  header .container {
    padding: 0 8px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header nav, header .cta-button {
    display: none;
  }
  header img {
    height: 32px;
  }
  header .container {
    min-height: 64px;
  }
}

/* ==========================
        MOBILE NAV MENU
========================== */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 101;
  background: #634B34;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99,75,52,0.14);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu-toggle:active {
  background: #C44112;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(99,75,52,0.22);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.52,.01,.26,1.08);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(.52,.01,.26,1.08);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #634B34;
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 18px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C44112;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  color: #634B34;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 10px;
  padding: 10px 8px;
  border-bottom: 2px solid transparent;
  transition: background 0.16s, color 0.16s, border-bottom 0.14s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9D69C;
  color: #C44112;
  border-bottom: 2px solid #C44112;
}

@media (max-width: 480px) {
  .mobile-nav {
    margin-left: 10px;
    gap: 15px;
  }
  .mobile-nav a {
    font-size: 1.09rem;
    padding: 8px 6px;
  }
}


/* ==========================
        FOOTER STYLES
========================== */
footer {
  background: #634B34;
  color: #fff;
  border-top: 3px solid #F9D69C;
  padding: 36px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #F9D69C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.17s;
}
footer nav a:hover,footer nav a:focus {
  color: #fff;
}
footer img {
  height: 36px;
  margin-bottom: 8px;
}
footer .text-section {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #F9D69C;
}
@media (max-width: 960px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ==========================
      HERO SECTIONS
========================== */
.hero {
  background: #F9D69C;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 52px 0 40px 0;
  box-shadow: 0 2px 16px rgba(99,75,52,0.08);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  color: #634B34;
  text-shadow: 0 2px 0 rgba(100,75,52,0.04);
  font-size: 2.3rem;
  margin-bottom: 8px;
  text-transform: none;
}
.hero p {
  color: #634B34;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}
.hero .cta-button {
  margin-top: 8px;
  margin-left: 0;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 16px;
    padding: 30px 0 20px 0;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero p {
    font-size: 1.02rem;
  }
}

/* ==========================
      FEATURES / LISTS
========================== */
.features {
  margin-bottom: 60px;
}
.features .container {
  display: flex;
  flex-direction: column;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features h2 {
  margin-bottom: 8px;
  color: #634B34;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 16px;
  padding-left: 0;
  list-style: none;
}
.features ul li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(99,75,52,0.07);
  color: #634B34;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  min-width: 220px;
  max-width: 350px;
  min-height: 70px;
  flex: 1 1 220px;
  box-sizing: border-box;
  border: 2.5px solid #F9D69C;
  transition: box-shadow 0.18s, border-color 0.17s;
}
.features ul li img {
  width: 34px;
  height: 34px;
  display: inline-block;
}
.features ul li:hover {
  box-shadow: 0 6px 20px rgba(99,75,52,0.19);
  border-color: #C44112;
}
@media (max-width: 900px) {
  .features ul {
    flex-direction: column;
    gap: 16px;
  }
  .features ul li {
    max-width: 100%;
    min-width: 0;
    padding: 17px 14px;
  }
}

/* ==========================
      CARDS & SERVICES
========================== */
.services .container,
.card-container {
  display: flex;
  flex-direction: column;
}
.card-container {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #fff;
  border: 2px solid #F9D69C;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(99,75,52, 0.09);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  min-width: 240px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 32px rgba(196,65,18, 0.09);
  border-color: #C44112;
}
.services ul, .services table {
  margin-bottom: 20px;
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding-left: 0;
}
.services ul li {
  display: flex;
  flex-direction: column;
  background: #fff7ec;
  color: #634B34;
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(99,75,52,0.06);
  min-width: 200px;
  max-width: 340px;
  gap: 10px;
  font-weight: 500;
  border: 1.5px solid #F9D69C;
  margin-bottom: 0;
}
.services ul li span {
  color: #C44112;
  font-weight: 700;
  font-size: 1.09rem;
}
.services table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff9f4;
  border-radius: 10px;
  overflow: hidden;
}
.services table caption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: #634B34;
  font-size: 1.15rem;
}
.services table th, .services table td {
  border: 1px solid #F9D69C;
  padding: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
  font-size: 0.99rem;
}
.services table th {
  background: #F9D69C;
  color: #634B34;
  font-family: 'Montserrat', Arial, sans-serif;
}
.services table tr:nth-child(even) td {
  background: #fff7ec;
}
@media (max-width: 900px) {
  .services ul {
    flex-direction: column;
    gap: 14px;
  }
  .services ul li {
    max-width: 100%;
    min-width: 0;
  }
}

/* ==========================
       TESTIMONIALS
========================== */
.testimonials {
  background: #F9D69C;
  border-radius: 22px;
}
.testimonials .container {
  display: flex;
  flex-direction: column;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(99,75,52,0.09);
  color: #373737;
  font-size: 1.08rem;
  margin-bottom: 20px;
  border-left: 5px solid #C44112;
  border-right: 4px solid #634B34;
  min-height: 82px;
}
.testimonial-card p {
  flex: 1;
  font-size: 1.09rem;
  color: #373737;
  line-height: 1.52;
}
.testimonial-card span {
  color: #634B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  padding-left: 10px;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 9px;
    min-height: 0;
  }
  .testimonials {
    border-radius: 12px;
  }
}

/* ==========================
      ABOUT, CONTACT, ETC
========================== */
.about .text-section, .contact .text-section {
  background: #fff7ec;
  border-radius: 13px;
  padding: 22px 18px;
  color: #4c3924;
  box-shadow: 0 3px 12px rgba(99,75,52,0.05);
  font-size: 1.09rem;
}
.text-section address {
  font-style: normal;
  margin-bottom: 6px;
}
.text-section a {
  color: #C44112;
  text-decoration: underline;
  font-weight: 600;
  word-break: break-all;
}
.text-section a:hover, .text-section a:focus {
  color: #924019;
  text-decoration: underline wavy #C44112 2px;
}

.location-map {
  height: 220px;
  width: 100%;
  background: repeating-linear-gradient(135deg, #F9D69C, #fff 18px, #F9D69C 36px);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #634B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  opacity: 0.5;
  margin-top: 14px;
}

/* ==========================
      FLEXBOX/MANDATORY CLASSES
========================== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================
      BUTTONS & INTERACTIVE
========================== */
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.18s, box-shadow 0.16s, color 0.11s, transform 0.16s;
}
button:focus, .cta-button:focus {
  outline: 2px solid #C44112;
  outline-offset: 2px;
}

/* ==========================
      TABLES
========================== */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 14px;
}
th, td {
  padding: 12px;
  border: 1.5px solid #F9D69C;
  font-size: 1rem;
}
th {
  background: #F9D69C;
  color: #634B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
td {
  background: #fff;
  color: #634B34;
}
tr:nth-child(even) td {
  background: #fff7ec;
}

/* ==========================
      FORMS (if present)
========================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 2px solid #F9D69C;
  border-radius: 8px;
  padding: 12px 10px;
  margin-bottom: 14px;
  width: 100%;
  background: #fff7ec;
  color: #634B34;
  font-size: 1rem;
  transition: border-color 0.20s;
}
input:focus, textarea:focus, select:focus {
  border-color: #C44112;
  outline: none;
}
button[type="submit"] {
  background: #C44112;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 6px;
  box-shadow: 0 2px 10px rgba(99,75,52,0.07);
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: #924019;
}

/* ==========================
     UTILITIES / GEOMETRIC DECOR
========================== */
.geometric-shape {
  display: block;
  background: #C44112;
  width: 42px;
  height: 42px;
  clip-path: polygon(50% 0%,100% 38%,81% 100%,19% 100%,0 38%);
  margin-right: 18px;
}

/* ==========================
     COOKIE CONSENT BANNER
========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 210;
  background: #fff9f4;
  border-top: 3px solid #F9D69C;
  box-shadow: 0 -5px 26px rgba(99,75,52, 0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  gap: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  color: #634B34;
  transition: transform 0.25s cubic-bezier(.65,.05,.36,1),opacity 0.18s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-message {
  flex: 2 1 400px;
  color: #634B34;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-btn {
  background: #C44112;
  border-radius: 8px;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.cookie-btn.secondary {
  background: #F9D69C;
  color: #634B34;
}
.cookie-btn.settings {
  background: #634B34;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #924019;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #C44112;
  color: #fff;
}
@media (max-width:700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 8px;
    gap: 12px;
    font-size: 0.95rem;
  }
  .cookie-consent-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 220;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(99,75,52,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 8px 40px rgba(99,75,52,0.15);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #634B34;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.07rem;
  padding: 10px 0;
}
.cookie-switch-label {
  font-weight: 600;
  color: #634B34;
}
.cookie-switch-input {
  width: 42px;
  height: 22px;
  appearance: none;
  background: #F9D69C;
  border-radius: 12px;
  outline: none;
  transition: background 0.17s;
  position: relative;
  cursor: pointer;
  margin-right: 0;
}
.cookie-switch-input:checked {
  background: #C44112;
}
.cookie-switch-input::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: left 0.17s;
}
.cookie-switch-input:checked::before {
  left: 21px;
}
.cookie-modal-close {
  background: none;
  color: #C44112;
  border: none;
  position: absolute;
  top: 17px; right: 20px;
  font-size: 1.35rem;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 500px) {
  .cookie-modal-dialog {
    padding: 18px 7vw;
    font-size: 0.98rem;
  }
}

/* ==========================
      RESPONSIVE TYPO & SPACING
========================== */
@media (max-width: 1080px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  body { font-size: 0.97rem; }
  .container { padding: 0 8px; }
}
@media (max-width:480px) {
  .section { padding: 18px 4px; }
  h2 { font-size: 1.04rem; }
}

/* ==========================
        GEOMETRIC_DECOR
========================== */
:root {
  --brand-primary: #634B34;
  --brand-accent: #C44112;
  --brand-secondary: #F9D69C;
  --bg-section: #fff7ec;
}
/* Example geometric lines/borders (can be used via additional HTML if desired) */
.geometric-divider {
  width: 92px;
  height: 12px;
  background: #C44112;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
  margin: 16px 0;
}

/* ==========================
      MISC
========================== */
::-webkit-input-placeholder { color: #a18f7e; }
::-moz-placeholder { color: #a18f7e; }
:-ms-input-placeholder { color: #a18f7e; }
::placeholder { color: #a18f7e; }

::-webkit-scrollbar {
  width: 10px;
  background: #fff7ec;
}
::-webkit-scrollbar-thumb {
  background: #F9D69C;
  border-radius: 10px;
}

[tabindex]:focus-visible {
  outline: 2px solid #C44112;
  outline-offset: 1px;
}

/* ==========================
      PRINT OPTIMIZATION
========================== */
@media print {
  header, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal, footer { display: none !important; }
  .section, .hero, .services, .features { box-shadow:none !important; background: #fff !important; border: none !important; }
}
