/* ========= 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; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #F8F6F3;
  color: #23312D;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 8px; }


/* ========= FONT IMPORTS ========= */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #255652;
  --primary-dark: #13302b;
  --secondary: #F1E6CE;
  --background: #F8F6F3;
  --accent: #B27433;
  --accent-dark: #895010;
  --text-main: #23312D;
  --text-light: #ffffff;
  --shadow: 0 2px 10px rgba(34,49,45,.07);
  --shadow-light: 0 2px 6px rgba(34,49,45,.03);
  --border-radius: 16px;
  --border-radius-btn: 8px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-main);
  font-size: 16px;
  min-height: 100vh;
}

/* ========= LAYOUT ========= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

@media (min-width: 900px) {
  .section {
    padding: 60px 40px;
  }
}

.text-section {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  flex: 1 1 300px;
  min-width: 250px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.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: #fff;
  color: #222;
  border-left: 5px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.testimonial-card blockquote {
  color: var(--primary-dark);
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.4;
  margin: 0 0 4px 0;
}
.testimonial-card strong {
  font-weight: 600;
  font-size: 0.98em;
}

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

/* ========= HEADER ========= */
header {
  background: var(--secondary);
  box-shadow: var(--shadow-light);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 18px 20px;
  flex-wrap: wrap;
  gap: 16px;
}
header img {
  height: 44px;
  width: auto;
}

header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  font-size: 16px;
  padding: 4px 0 2px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color var(--transition);
}
header nav a:hover, header nav a:focus {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.header .button.primary { margin-left: 20px; }
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--primary);
    cursor: pointer;
    margin-left: 12px;
    z-index: 1001;
  }
}

/* ========= MOBILE BURGER MENU ========= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,49,45,0.35);
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  transition: opacity 0.22s var(--transition), transform 0s linear 0.22s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s var(--transition), transform 0s;
}
.mobile-menu > .mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 38px;
  color: var(--primary);
  margin: 28px 28px 0 0;
  cursor: pointer;
  z-index: 10000;
}
.mobile-menu .mobile-nav {
  background: #fff;
  margin-top: 18px;
  border-radius: var(--border-radius);
  align-self: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 0;
  min-width: 85vw;
  max-width: 360px;
}
.mobile-menu .mobile-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  padding: 16px 36px;
  transition: background var(--transition), color var(--transition);
  border: none;
  border-bottom: 1px solid #ececec;
  display: block;
}
.mobile-menu .mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ========= TYPOGRAPHY ========= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
}
h1 { font-size: 2.4rem; line-height: 1.16; margin-bottom: 8px; }
h2 { font-size: 1.75rem; margin-bottom: 6px; line-height: 1.2; }
h3 { font-size: 1.22rem; margin-bottom: 4px; }
h4, h5, h6 { font-size: 1.07rem; }

p, ul li, ol li, table td {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
}
p {
  margin-bottom: 8px;
  line-height: 1.72;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: var(--primary-dark);
}

blockquote {
  font-family: var(--font-display);
  background: var(--secondary);
  border-left: 4px solid var(--accent-dark);
  margin: 18px 0;
  padding: 16px 24px;
  font-style: italic;
  color: var(--primary-dark);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 1.08em;
}

/* ========= BUTTONS ========= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  border: none;
  border-radius: var(--border-radius-btn);
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-width: 0;
}
.button.primary {
  background: var(--primary);
  color: var(--text-light);
}
.button.primary:hover, .button.primary:focus {
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  color: #fff;
  transform: translateY(-2px);
}
.button.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--primary);
  color: var(--text-light);
}
.button:active {
  transform: scale(0.97);
}

/* ========= TABLES ========= */
table {
  background: #fff;
  border-radius: var(--border-radius);
  margin-top: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}
thead {
  background: var(--secondary);
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  padding: 18px 12px;
  font-size: 1.07em;
}
td {
  color: var(--primary-dark);
  font-size: 1em;
  background: transparent;
}
tr:nth-child(even) td {
  background: #faf9f7;
}

/* ========= HERO & CTA ========= */
.hero {
  background: linear-gradient(90deg, var(--secondary) 85%, var(--accent) 120%);
  padding: 0 0 60px 0;
}
.hero .container {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 26px;
  color: var(--primary-dark);
}
.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .button.primary {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.cta .button.primary:hover, .cta .button.primary:focus {
  color: var(--accent-dark);
  background: var(--secondary);
  border-color: var(--accent-dark);
}

/* ========= ICONS/ULs ========= */
ul li img {
  display: inline-block;
  vertical-align: middle;
  height: 28px;
  width: 28px;
  margin-right: 10px;
}
ul li .price,
.service-description {
  color: var(--accent-dark);
  font-weight: 700;
  margin-left: 10px;
  font-size: 1.02em;
}
ul li .service-description {
  display: inline;
  color: var(--primary-dark);
  margin-left: 0;
  font-weight: 400;
  font-size: 1em;
}

/* ========= FAQ ACCORDION ========= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.faq-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 24px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.faq-item h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--primary-dark);
}
.faq-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ========= MAP PLACEHOLDER ========= */
.map-placeholder {
  background: var(--secondary);
  padding: 22px 24px;
  border-radius: var(--border-radius);
  color: var(--primary-dark);
  font-style: italic;
  margin-bottom: 22px;
}

/* ========= FOOTER ========= */
footer {
  background: #fff;
  border-top: 1px solid #eceae3;
  margin-top: 80px;
}
footer .container {
  padding: 30px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-weight: 600;
}
footer nav a {
  color: var(--primary-dark);
  font-size: 15px;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent-dark);
}
.footer-contact p {
  margin-bottom: 3px;
  color: #485a55;
  font-size: 0.96em;
}

@media (min-width: 950px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-end;
    gap: 48px;
  }
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .text-section {
    gap: 16px;
    padding: 0;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .card, .testimonial-card, .faq-item {
    padding: 17px 8px;
    min-width: 0;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .mobile-menu .mobile-nav {
    min-width: 98vw;
  }
}

/* ========= COOKIE CONSENT BANNER ========= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe9;
  border-top: 2px solid var(--accent-dark);
  box-shadow: 0 -1px 16px rgba(34,49,45,.07);
  z-index: 22000;
  padding: 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  animation: cookieBannerSlideIn 0.5s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.cookie-banner__text {
  color: var(--primary-dark);
  max-width: 630px;
  font-size: 1.07rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .button {
  font-size: 1.02rem;
  padding: 10px 20px;
}
.cookie-banner .button.primary {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .button.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .button.reject:hover,
.cookie-banner .button.reject:focus {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.cookie-banner .button.settings {
  background: var(--secondary);
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}
.cookie-banner .button.settings:hover,
.cookie-banner .button.settings:focus {
  background: var(--accent);
  color: #fff;
}

@keyframes cookieBannerSlideIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 8px;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* ========= COOKIE SETTINGS MODAL ========= */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,49,45,.25);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.17s cubic-bezier(0.4,0,0.2,1);
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 310px;
  max-width: 96vw;
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPop 0.36s cubic-bezier(0.57,0.23,0.16,0.93);
}
@keyframes modalPop {
  from { transform: scale(0.96) translateY(32px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--primary-dark);
  cursor: pointer;
  z-index: 11;
}
.cookie-modal__header h2 {
  font-size: 1.57em;
  margin-bottom: 2px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 17px 0 9px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--secondary);
  padding: 8px 10px;
  border-radius: 7px;
}
.cookie-modal__category input[type='checkbox'] {
  accent-color: var(--primary);
  width: 19px;
  height: 19px;
}
.cookie-modal__category label {
  font-size: 1em;
  color: var(--primary-dark);
  font-family: var(--font-body);
}
.cookie-modal__category--essential label {
  font-style: italic;
  color: #b3a38d;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .button {
  min-width: 120px;
}
@media (max-width: 550px) {
  .cookie-modal__dialog {
    padding: 16px 5vw 16px 5vw;
    min-width: 0;
  }
}

/* ========= MICRO-ANIMATIONS ========= */
a, .button, th, td, nav a, .card, .testimonial-card, .faq-item {
  transition: color 0.17s, background 0.2s, box-shadow 0.22s, border-color 0.17s, transform 0.18s cubic-bezier(.4,0,.2,1);
}

/* ========= UTILITY CLASSES ========= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.gap-24 { gap: 24px; }

/* ========= ACCESSIBILITY ========= */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #9ca89e; }
::-moz-placeholder { color: #9ca89e; }
:-ms-input-placeholder { color: #9ca89e; }
::placeholder { color: #9ca89e; }

/* ========= END CSS ========= */
