/* =============================================================
   RESET & BASE STYLES (normalize, reset spacing & box model)
============================================================= */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #223349;
  background: #F7F7F9;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.4s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #C1A465;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #223349;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}

/* ===============================
   TYPOGRAPHY
=============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  color: #223349;
  margin-bottom: 20px;
  text-shadow: 1px 4px 12px rgba(193,164,101,0.10);
}
h2 {
  font-size: 2rem;
  color: #C1A465;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: #223349;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #223349;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #223349;
}
.text-section p, .text-section ul, .text-section ol {
  font-size: 1.05rem;
  color: #2a4266;
}

/* Artistic accent underline below h2 */
h2::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin: 10px 0 0 0;
  border-radius: 2px;
  background: #C1A465;
  opacity: 0.7;
}

/* ===============================
   BRAND COLORS & UTILITY CLASSES
=============================== */
:root {
  --primary: #223349;
  --secondary: #E5E5E5;
  --accent: #C1A465;
  --neutral-bg: #F7F7F9;
  --white: #fff;
  --shadow1: 0 4px 24px 0 rgba(34,51,73,0.08);
  --shadow2: 0 2px 8px 0 rgba(193,164,101,0.14);
  --radius: 18px;
}
.text-accent  { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-accent  { background: var(--accent); }
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }

/* ===============================
    LAYOUT STRUCTURE
=============================== */
.container {
  width: 100%;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 28px 22px;
  transition: box-shadow 0.22s, transform 0.22s;
  min-width: 280px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .blog-teaser:hover {
  box-shadow: 0 8px 36px 0 rgba(193,164,101,0.19), var(--shadow1);
  transform: translateY(-2px) scale(1.019);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 200px;
  padding: 26px 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.21s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 18px 0 rgba(193,164,101,0.22), var(--shadow1);
  transform: translateY(-1px) scale(1.02) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: #223349;
  box-shadow: 0 4px 16px rgba(34,51,73,0.08);
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  min-width: 240px;
}
.testimonial-card p {
  font-style: italic;
  color: #223349;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 0.95rem;
  color: #C1A465;
}

.map-location {
  margin-top: 16px;
  background: var(--secondary);
  padding: 18px 16px;
  border-radius: 12px;
  color: #223349;
  box-shadow: 0 2px 8px rgba(34,51,73,0.06);
}

.blog-teaser {
  background: #fffceb;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 18px 22px 18px 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s, transform 0.19s;
}

/* =====================================
   HEADER & MAIN NAVIGATION
===================================== */
header {
  background: var(--white);
  box-shadow: 0 2px 16px 0 rgba(193,164,101,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  z-index: 12;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 6px 9px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  position: relative;
  z-index: 12;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 2.1rem;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e2be75;
  color: var(--primary);
}

/* ===============================
    FOOTER
=============================== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 38px 0 28px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--accent);
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff6e5;
}
footer address {
  font-style: normal;
  font-size: 0.99rem;
  color: var(--secondary);
}
footer address a {
  color: #fff6e5;
  text-decoration: underline;
}

/* =============================
    BUTTONS & INTERACTIVE
============================= */
.btn, a.btn {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  background: var(--accent);
  border: none;
  padding: 13px 30px;
  border-radius: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 10px;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px 0 rgba(193,164,101,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.16s, box-shadow 0.14s;
  display: inline-block;
}
.btn.primary {
  background: var(--primary);
  color: var(--accent);
}
.btn:hover, .btn:focus {
  background: #e2be75;
  color: var(--primary);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 5px 18px 0 rgba(193,164,101,0.18);
}
.btn:active {
  background: var(--accent);
  color: var(--white);
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: #fff;
  border-top: 2px solid #C1A465;
  box-shadow: 0 -2px 16px 0 rgba(193,164,101,0.17);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 22px 24px 22px;
  max-width: 100vw;
  min-height: 58px;
  animation: cookie-slide-in 0.6s cubic-bezier(0.58,0.07,0.32,1.09);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: var(--primary);
  flex: 2 2 250px;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#cookie-accept, #cookie-decline, #cookie-settings {
  font-family: 'Montserrat', sans-serif;
  border-radius: 11px;
  border: none;
  padding: 11px 22px;
  font-size: 1rem;
  font-weight: 600;
}
#cookie-accept {
  background: var(--primary);
  color: var(--accent);
}
#cookie-accept:hover, #cookie-accept:focus {
  background: var(--accent);
  color: var(--primary);
}
#cookie-decline {
  background: #e7e7ec;
  color: var(--primary);
}
#cookie-decline:hover, #cookie-decline:focus {
  background: #C1A465;
  color: #fff;
}
#cookie-settings {
  background: transparent;
  color: #223349;
  border: 1.7px solid #C1A465;
}
#cookie-settings:hover, #cookie-settings:focus {
  background: #fff6e1;
}
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,51,73,0.44);
  align-items: center;
  justify-content: center;
  animation: fade-in 0.5s cubic-bezier(0.4,0,0.2,1);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fade-in {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #223349;
  padding: 36px 30px 30px 30px;
  border-radius: 18px;
  min-width: 314px; max-width: 98vw;
  box-shadow: 0 10px 44px rgba(34,51,73,0.12), var(--shadow2);
  animation: modal-pop 0.37s cubic-bezier(0.51,1.09,0.12,1.02);
}
@keyframes modal-pop {
  0% { transform: scale(0.84); opacity:0; }
  100% { transform: scale(1.0); opacity:1; }
}
.cookie-modal h2 {
  color: #C1A465;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-modal form {
  margin-bottom: 22px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: #4666a9;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #C1A465;
  width: 20px;
  height: 20px;
}
.modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.cookie-modal .btn {
  margin-top: 0;
}

/* ===============================
   MOBILE MAIN NAVIGATION
=============================== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,51,73,0.96);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.47s cubic-bezier(0.56,1.09,0.43,1.01);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0.98;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.7rem;
  position: absolute;
  top: 36px; right: 36px;
  cursor: pointer;
  z-index: 250;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C1A465;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  gap: 27px;
  padding-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.045em;
  padding: 5px 0 5px 6px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C1A465;
  color: #223349;
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 1060px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section {
    padding: 29px 8px 32px 8px;
    margin-bottom: 40px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    min-height: 67px;
    gap: 13px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    font-size: 1rem;
  }
  .mobile-nav {
    gap: 19px;
    padding-left: 26px;
  }
  .mobile-menu-close {
    top: 18px; right: 17px;
    font-size: 2.2rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
    gap: 13px;
  }
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 16px 8px 18px 8px;
    min-width: unset;
    max-width: 99vw;
  }
  .mobile-nav a {
    font-size: 1.03rem;
    min-width: 120px;
  }
}

/* ==============================
    ARTISTIC DECORATIVE DETAILS
============================== */
.feature-grid > div::before {
  content: '';
  width: 56px; height: 5px;
  display: block;
  background: #C1A465;
  border-radius: 8px;
  margin: 0 auto 10px auto;
  opacity: 0.22;
}
/* Artistic lines on hover */
.feature-grid > div:hover::before {
  opacity: 0.68;
}

/* Artistic underline for blog teasers */
.blog-teaser h3 {
  display: inline-block;
  border-bottom: 2.5px solid #C1A465;
  padding-bottom: 2.5px;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #223349;
}

/* List items with creative markers */
ul li::marker {
  color: #C1A465;
  font-size: 1.2em;
}

/* Artistic dropcap for first paragraph in .text-section (desktop) */
@media (min-width: 769px) {
  .text-section p:first-of-type::first-letter {
    font-family: 'Montserrat', cursive;
    color: #C1A465;
    font-size: 2.3em;
    float: left;
    line-height: 1;
    padding-right: 0.09em;
    font-weight: 700;
  }
}

/* ===============================
   FORMS (if any in the future)
=============================== */
input, textarea, select {
  font-family: inherit;
  border: 1.5px solid #C1A465;
  border-radius: 7px;
  padding: 9px 13px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 13px;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #223349;
  outline: none;
}

/* ==============================
   MISC
============================== */
hr {
  border: none;
  height: 2px;
  background: #C1A465;
  border-radius: 2px;
  margin: 32px 0;
  opacity: 0.15;
}

/* Hide visually but accessible for screen readers */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Spacing for sections, cards, etc. */
.card, .testimonial-card, .blog-teaser, .feature-grid > div, .section, .text-image-section, .content-wrapper, .footer .container {
  margin-bottom: 20px;
}

/* Prevent content overlapping by spacing */
.card:not(:last-child), .testimonial-card:not(:last-child), .blog-teaser:not(:last-child), .feature-grid > div:not(:last-child) {
  margin-bottom: 24px;
}

/* Prevent absolute positioning for content cards (only decorative elements) */

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