/* ========================== CSS RESET & NORMALIZATION ======================= */
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;
  scroll-behavior: smooth;
  font-size: 16px;
  background: #FAF9F7;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Georgia, 'Times New Roman', Times, serif;
  color: #2F4257;
  background: #FAF9F7;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
a {
  color: #A16035;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C28562;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #2F4257;
  margin-bottom: 0.8em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 0.6em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.38rem;
}
h4 {
  font-size: 1.125rem;
}
h5, h6 {
  font-size: 1rem;
}
strong {
  color: #2F4257;
  font-weight: 600;
  font-family: 'Montserrat', serif;
}

/* ======= SHARED CONTAINERS & UTILITIES ======= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(47,66,87,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(47,66,87,0.16);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}
.services-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(165,96,53,0.07);
  padding: 24px 16px;
  min-width: 230px;
  margin-bottom: 20px;
}
@media (max-width: 900px){
  .services-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    gap: 18px;
  }
  .services-grid > div {
    min-width: 0;
    padding: 18px 12px;
  }
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.services-list > div {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(165,96,53,0.06);
  padding: 20px 18px 16px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.services-list > div:hover {
  box-shadow: 0 6px 24px rgba(193,133,98,0.20);
}
.services-list span {
  display: block;
  margin-top: 12px;
  color: #A16035;
  font-weight: bold;
  font-family: 'Montserrat', serif;
  font-size: 1.1em;
}
@media (max-width: 900px) {
  .services-list {
    flex-direction: column;
    gap: 14px;
  }
  .services-list > div {
    min-width: 0;
    padding: 16px 12px;
  }
}

.cta-section {
  background: #F9E2CE;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(193,133,98,0.10);
  padding: 48px 20px;
  margin-bottom: 60px;
  text-align: center;
}

.cta-section .btn-primary {
  margin-top: 18px;
}

.cta-contact, .cta-services {
  margin-top: 24px;
}

.testimonials-preview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(193,133,98,0.07);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(47,66,87,0.09);
  padding: 20px;
  margin-bottom: 20px;
  color: #2F4257;
  min-width: 0;
  font-size: 1.07rem;
}
.testimonial-card .stars {
  color: #A16035;
  font-size: 1.18em;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #A16035;
  font-family: 'Montserrat', serif;
  font-size: 0.96em;
  font-style: italic;
}
@media (max-width: 768px) {
  .testimonial-card {
    font-size: 1em;
    padding: 15px;
  }
}

/* ====================== HEADER & NAVIGATION MENU ======================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(47,66,87,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 78px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1em;
  color: #2F4257;
  letter-spacing: 0.02em;
  padding: 5px 0;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #A16035;
}
.btn-primary, .btn-secondary {
  padding: 11px 28px;
  border-radius: 26px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1.025em;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 8px rgba(193,133,98,0.07);
}
.btn-primary {
  background: #A16035;
  color: #fff;
  border: 2px solid #A16035;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C28562;
  border-color: #C28562;
  color: #fff;
  box-shadow: 0 6px 16px rgba(165,96,53,0.17);
}
.btn-secondary {
  background: transparent;
  color: #A16035;
  border: 2px solid #A16035;
  margin-left: 12px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A16035;
  color: #fff;
}
@media (max-width: 1050px) {
  header nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}

/* =================== MOBILE BURGER MENU =================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #2F4257;
  border: none;
  font-size: 2.15rem;
  cursor: pointer;
  padding: 7px 9px;
  border-radius: 5px;
  z-index: 101;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F9E2CE;
  color: #A16035;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(47,66,87, 0.13);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.3rem;
  background: transparent;
  border: none;
  color: #2F4257;
  cursor: pointer;
  z-index: 2005;
  transition: color 0.17s, background 0.2s;
  padding: 3px 7px;
  border-radius: 3px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A16035;
  background: #F9E2CE;
}
.mobile-nav {
  background: #fff;
  width: 85vw;
  max-width: 360px;
  height: 100vh;
  padding: 80px 34px 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -8px 0 22px rgba(47,66,87,0.09);
  z-index: 2003;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.17em;
  color: #2F4257;
  padding: 14px 0 13px 0;
  border-bottom: 1px solid #eee;
  transition: color .2s;
  width: 100%;
  display: block;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A16035;
  background-color: #F9E2CE;
  border-radius: 6px;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============= HERO & PAGE TOP SECTIONS ============= */
.hero-section, .section.hero {
  padding: 62px 0 54px 0;
  margin-bottom: 0px;
  background: #F9E2CE;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 36px rgba(165,96,53,0.05);
}
.hero-section h1 {
  font-size: 2.6rem;
  color: #2F4257;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
}
.hero-section .btn-primary {
  margin-top: 32px;
}
.hero-section p {
  font-size: 1.18rem;
  margin-bottom: 14px;
  color: #755D48;
}
@media (max-width: 850px) {
  .hero-section, .section.hero {
    padding: 35px 0 28px 0;
    border-radius: 0 0 30px 30px;
  }
  .hero-section h1 {
    font-size: 2.05rem;
  }
}

.features-section {
  background: #fff;
  margin-bottom: 60px;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(47,66,87,0.05);
  padding: 34px 0;
}
.features-section h2 {
  font-size: 2rem;
}
.features-section ul {
  font-size: 1.09rem;
  margin-top: 18px;
}
.features-section li {
  margin-bottom: 10px;
}

/* =================== TABLES & MISC STYLES =================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(47,66,87,0.06);
  border-radius: 8px;
  overflow: hidden;
}
thead th {
  background: #F9E2CE;
  color: #2F4257;
  font-family: 'Montserrat', serif;
  text-align: left;
  font-weight: 700;
  font-size: 1.08em;
  padding: 14px 12px;
  border-bottom: 2px solid #F5D1B5;
}
tbody td {
  font-size: 1em;
  color: #2F4257;
  padding: 13px 12px;
  border-bottom: 1px solid #f1e8dc;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #FFF4EA;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  tbody td {
    padding: 10px 6px;
    border-bottom: 1px solid #f1e8dc;
    text-align: left;
  }
  tbody tr {
    margin-bottom: 13px;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(47,66,87,0.07);
    background: #fff;
  }
}

/* ================== FOOTER ================== */
footer {
  background: #2F4257;
  color: #fff;
  padding: 44px 0 16px 0;
  margin-top: 60px;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-size: 1em;
  font-family: 'Montserrat', serif;
  opacity: 0.85;
  transition: color .2s, opacity .2s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: #F9E2CE;
}
footer div:last-child {
  font-size: 0.98em;
  font-family: 'Open Sans', serif;
}
@media (max-width:700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =================== COOKIE CONSENT BANNER & MODAL =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3010;
  background: #fffdfa;
  color: #2F4257;
  box-shadow: 0 -6px 32px rgba(47,66,87,0.09);
  padding: 24px 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  font-size: 1.02rem;
  border-top: 2px solid #F9E2CE;
  transition: transform 0.4s cubic-bezier(.79,.14,.15,.86), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 200px;
  max-width: 620px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', serif;
  font-size: 1em;
  border: 2px solid #A16035;
  background: #fff;
  color: #A16035;
  margin-left: 0;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #A16035;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #C28562;
  border-color: #C28562;
}
.cookie-banner .reject {
  background: #fff;
  color: #A16035;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFEAD8;
}
.cookie-banner .settings {
  background: #F9E2CE;
  color: #A16035;
  border: 2px solid #F9E2CE;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #FFF4EA;
  color: #8a5935;
  border-color: #A16035;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner .cookie-banner-text {
    max-width: 100%;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(47,66,87, 0.18);
  z-index: 3015;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffdfa;
  color: #2F4257;
  min-width: 280px;
  max-width: 90vw;
  width: 430px;
  border-radius: 12px;
  box-shadow: 0 8px 44px rgba(47,66,87,0.18);
  padding: 34px 30px 24px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.06em;
  font-family: 'Open Sans', serif;
  animation: fadeInModal 0.44s cubic-bezier(.79,.14,.15,.86);
}
@keyframes fadeInModal {
  0% { transform: scale(0.98) translateY(25px); opacity: 0; }
  75% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 19px;
  font-size: 1.68rem;
  background: none;
  border: none;
  color: #2F4257;
  cursor: pointer;
  border-radius: 4px;
  padding: 1px 7px;
  transition: color 0.15s, background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFEAD8;
  color: #A16035;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 14px 0;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  font-family: 'Montserrat', serif;
}
.cookie-category label {
  font-weight: 600;
}
.category-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1em;
}
.toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 13px;
  background: #F5D1B5;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 7px;
  position: relative;
  transition: background .25s;
}
.toggle-switch input {
  display: none;
}
.toggle-switch .slider {
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left 0.17s;
  border: 1.5px solid #A16035;
  box-shadow: 0 1px 5px rgba(47,66,87,0.10);
}
.toggle-switch input:checked + .slider {
  left: 15px;
  background: #A16035;
  border-color: #A16035;
}
.toggle-switch input:checked ~ .slider {
  background: #A16035;
}
.toggle-switch[data-disabled], .toggle-switch[data-disabled='true'] {
  background: #EADDDD;
  cursor: not-allowed;
}
.toggle-switch[data-disabled] .slider {
  border-color: #B6ADA9;
  background: #F3ECE9;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 23px;
}
.cookie-modal-actions button {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', serif;
  font-size: 1em;
  border: 2px solid #A16035;
  background: #fff;
  color: #A16035;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.cookie-modal-actions .accept {
  background: #A16035;
  color: #fff;
}
.cookie-modal-actions .accept:hover, .cookie-modal-actions .accept:focus {
  background: #C28562;
  border-color: #C28562;
}
.cookie-modal-actions .reject {
  background: #fff;
  color: #A16035;
}
.cookie-modal-actions .reject:hover, .cookie-modal-actions .reject:focus {
  background: #FFEAD8;
}

@media (max-width:600px) {
  .cookie-modal-content {
    min-width: 0;
    width: 97vw !important;
    padding: 16px 7vw 16px 7vw;
  }
}

/* ================== GLOBAL ANIMATIONS ================== */
.fade-in {
  animation: fadein 0.75s;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ================== RESPONSIVE LAYOUTS & TYPOGRAPHY ================== */
@media (max-width: 1100px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width:900px) {
  .container {
    max-width: 98vw;
  }
  .cta-section {
    padding: 32px 7px;
  }
}
@media (max-width:640px) {
  .container { padding-left:7px; padding-right:7px; }
  .section { padding-left:4px; padding-right:4px; }
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.1rem; }
}

/* ========================= MICRO-INTERACTIONS ========================= */
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

.card, .services-list > div, .services-grid > div, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:active, .services-list > div:active, .services-grid > div:active {
  transform: scale(0.99);
  box-shadow: 0 2px 10px rgba(47,66,87,0.10);
}

/* =========================== OTHER =========================== */
::-webkit-scrollbar { width: 10px; background: #F9E2CE; }
::-webkit-scrollbar-thumb {
  background: #E1D2C3; border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C28562;
}

/* =================== FORMS (if added) ==================== */
input, select, textarea {
  font-family: 'Open Sans', serif;
  font-size: 1em;
  padding: 8px 11px;
  border: 1.5px solid #F9E2CE;
  border-radius: 5px;
  transition: border-color .19s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #A16035;
  box-shadow: 0 1px 6px #F9E2CE40;
}

/* ========== ERROR/INFO STATES (if used) =========== */
.alert, .info, .error {
  border-radius: 6px;
  padding: 16px 18px;
  margin: 25px 0;
  font-size: 1.07em;
}
.alert { background: #FFF4EA; color: #A16035; border: 1.5px solid #F9E2CE; }
.error { background: #F9E2CE; color: #A16035; border: 2px solid #C28562; }

/* ================= Use brand fonts =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

