/* ====================================
   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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #F7F7F7;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  background: none;
  border: none;
}

/* ================================
   BRAND & COLOR VARIABLES (with fallback)
================================ */
:root {
  --color-primary: #23272A;
  --color-secondary: #C89B3C;
  --color-accent: #F7F7F7;
  --color-bg-warm: #FFF9F4;
  --color-card-bg: #FFFFFF;
  --color-card-warm: #FFF7EE;
  --color-shadow: rgba(50, 30, 20, 0.10);
  --color-border: #F3EEE8;
  --color-danger: #D7263D;
  --color-link-hover: #B7892A;
}

/* ====================================
   TYPOGRAPHY
==================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.7;
  background: var(--color-bg-warm, #FFF9F4);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 700; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: var(--color-primary);
}
strong { font-weight: 700; }

@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size:1.4rem; }
}

/* =======================================
   CONTAINERS & LAYOUT
======================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: transparent;
}
main { flex:1; }

/* =======================================
   HEADER & NAVIGATION
======================================= */
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 16px var(--color-shadow);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  position: relative;
  z-index: 120;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 30px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 14px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  padding: 8px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, 
header nav a.active {
  background: var(--color-secondary);
  color: #fff;
}
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1.12rem;
  margin-left: 16px;
  box-shadow: 0 4px 16px var(--color-shadow);
  background: var(--color-secondary);
  color: #fff;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-link-hover);
  color: #fff;
  box-shadow: 0 4px 24px rgba(200,155,60,0.18);
}
.cta-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 22px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  z-index: 201;
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,39,42,0.90);
  backdrop-filter: blur(4px);
  z-index: 205;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.63,.04,.29,1.12);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 32px 0 0 24px;
  font-size: 2.4rem;
  background: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 206;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  width: 100%;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0 12px 18px;
  border-radius: 18px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}
@media (max-width: 1000px) {
  header nav, .cta-primary {
    display: none !important;
  }
}


/* =========================================
   MAIN SECTIONS & FLEX LAYOUTS
========================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.feature-grid, .service-highlights, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-grid > div, .service-highlights > div, .service-grid > div {
  background: var(--color-card-bg);
  flex: 1 1 260px;
  border-radius: 22px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 26px 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  border: 1px solid var(--color-border);
  min-height: 168px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-grid > div:hover,
.service-highlights > div:hover,
.service-grid > div:hover {
  box-shadow: 0 6px 28px rgba(200,155,60,0.19);
  transform: translateY(-4px) scale(1.018);
}
.feature-grid img, .service-highlights img, .service-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  object-fit: contain;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--color-card-warm);
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--color-border);
  min-width: 220px;
  min-height: 128px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Feature Item (for lists with icon/text) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====================================
   TESTIMONIAL CARDS
==================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  background: #fffbe7;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(200,155,60,0.11);
  margin-bottom: 20px;
  border: 1.5px solid #fdeecb;
  max-width: 620px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(200,155,60,0.19);
  transform: scale(1.016) translateY(-2px);
}


/* =======================================
   MAP PLACEHOLDER
======================================= */
.map-placeholder {
  background: var(--color-bg-warm);
  border: 2px dashed var(--color-secondary);
  border-radius: 20px;
  padding: 32px 18px;
  color: var(--color-primary);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* =======================================
   FOOTER
======================================= */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 32px 0;
}
footer .container {
  flex-direction:row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
section {
    margin: 20px !important;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 12px;
  transition: background 0.17s;
}
footer nav a:hover {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.09);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact a {
  color: var(--color-secondary);
  font-weight: bold;
  text-decoration: underline;
}

/* ==========================================
   TEXT SECTIONS / GENERAL CONTENT
========================================== */
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 10px;
  line-height: 1.6;
}
li {
  margin-bottom: 6px;
  font-size: 1rem;
}
.text-section {
  margin-bottom: 28px;
  font-size: 1.05rem;
  background: transparent;
}
article {
  background: var(--color-card-warm);
  border-radius: 18px;
  margin-bottom: 24px;
  padding: 20px 18px;
  box-shadow: 0 1.2px 10px var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.16s;
}
article h3 {
  color: var(--color-secondary);
  letter-spacing: 0.01em;
}
article a {
  color: var(--color-secondary);
  transition: color 0.15s;
  font-weight: 600;
}
article a:hover {
  color: var(--color-link-hover);
}

/* Images with text */
p > img, .text-section > img {
  vertical-align: middle;
  margin-right: 8px;
  height: 24px;
  width: auto;
}

/* ===================================
   BUTTONS & MICRO-INTERACTIONS
=================================== */
button, .cta-primary, .cta-secondary {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.17s;
}
button:active, .cta-primary:active {
  transform: scale(0.97);
}

/* ===================================
   LINKS
=================================== */
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.16s;
}
a:focus, a:hover {
  color: var(--color-link-hover);
  outline: none;
}

/* ===================================
   SPACING UTILITIES
=================================== */
.mb-20 { margin-bottom: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* ===================================
   RESPONSIVE MEDIA QUERIES
=================================== */
@media (max-width: 1000px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .content-wrapper { padding: 0 2px; }
  .section { padding: 28px 4px; margin-bottom: 36px; }
  .feature-grid, .service-grid, .service-highlights { gap: 12px; }
  .feature-grid > div, .service-highlights > div, .service-grid > div {
    min-width: 170px;
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .testimonial-card { padding: 20px 10px; }
  .card-container { gap: 12px; }
  .card { padding: 14px 8px; font-size: 1rem; }
  footer {
    padding: 18px 0 14px 0;
  }
  .footer-contact {
    gap: 2px;
  }
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
============================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: var(--color-primary);
  box-shadow: 0 -3px 22px rgba(200,155,60,0.12), 0 -1px 0 #ecd793;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  gap: 32px;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerIn 0.45s cubic-bezier(.39,1.57,0.43,1.01);
}
@keyframes cookieBannerIn {
  from {transform: translateY(110%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner span {
  max-width: 520px;
  display: block;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  box-shadow: 0 0.5px 8px rgba(200,155,60,0.10);
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner button.cookie-reject:hover {
  background: #f6e7c5;
  color: var(--color-primary);
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid #e2c482;
}
.cookie-banner button.cookie-settings:hover {
  background: #ecd793;
  color: var(--color-primary);
}
.cookie-banner button:hover, 
.cookie-banner button:focus {
  background: var(--color-link-hover);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 6px;
    font-size: 1rem;
  }
  .cookie-banner .cookie-btn-group { gap: 8px; }
}

/* ---------- Cookie Modal ---------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,39,42,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.2s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fffbe7;
  min-width: 320px; max-width: 98vw;
  width: 420px;
  border-radius: 18px;
  padding: 28px 24px 22px 24px;
  position: relative;
  box-shadow: 0 8px 56px rgba(200,155,60,0.19), 0 2px 22px #fdeecb;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalSlideIn 0.25s cubic-bezier(.43,1.17,0.27,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(70px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--color-secondary);
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #fdeecb;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.35rem;
  margin-bottom: 0.3em;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(165,140,45,0.08);
  padding: 14px 10px 10px 10px;
  border: 1.2px solid #ecd793;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category .cookie-switch {
  margin-left: auto;
}
.cookie-category strong {
  color: var(--color-secondary);
  font-weight: 700;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal button {
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 1.09rem;
  font-weight: 700;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  box-shadow: 0 0.5px 8px rgba(200,155,60,0.10);
}
.cookie-modal button.cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-modal button.cookie-reject:hover {
  background: #f6e7c5;
  color: var(--color-primary);
}
.cookie-modal button.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal button:hover, 
.cookie-modal button:focus {
  background: var(--color-link-hover);
  color: #fff;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  height: 22px;
}
.cookie-switch input[type="checkbox"]{
  width: 0;
  height: 0;
  opacity: 0;
}
.cookie-switch-label {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #dfdece;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.cookie-switch-label:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #bbb;
  transition: left 0.16s, background 0.15s;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-label {
  background: var(--color-secondary);
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-label:after {
  left: 20px;
  background: #ffdfa0;
}

/* ----- Utility ----- */
.hide {display:none !important;}

/* =====================================
   END OF STYLE.CSS
====================================== */
