/* RESET & BASELINE ----------------------- */
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, 
main,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;
}

/* Set box-sizing globally */
*, *:before, *:after {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #22334a;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
a {
  color: #22334a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ca9443;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22334a;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

/* CONTAINER & SECTIONS ------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(34,51,74,0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #e9ece6;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 2px 8px rgba(34,51,74,0.04);
}
.subtitle {
  color: #4e5968;
  font-size: 1.13rem;
  margin-bottom: 12px;
}

/* TYPOGRAPHY SCALE ---------------------- */
body,
p,li,ul,ol {
  font-size: 1rem;
}
h1 {font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.3rem;}
h4 {font-size: 1.1rem;}

/* NAVIGATION ---------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,51,74,0.05);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  min-height: 70px;
  padding: 0 18px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1rem;
  color: #22334a;
  transition: background 0.15s, color 0.18s;
}
.main-nav > a.active,
.main-nav > a:focus,
.main-nav > a:hover {
  background: #e9ece6;
  color: #ca9443;
}
.main-nav img {
  height: 38px;
}

.cta.primary {
  background: #ca9443;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(202,148,67,0.07);
  transition: background 0.19s, box-shadow 0.18s;
  border: none;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #a7772c;
  box-shadow: 0 4px 16px rgba(202,148,67,0.11);
}

/* MOBILE NAVIGATION --------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 17px;
  z-index: 230;
  background: #fff;
  color: #22334a;
  border: 2px solid #e9ece6;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.18s, border-color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: #ca9443;
  box-shadow: 0 2px 10px rgba(34,51,74,0.09);
  background: #e9ece6;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 32px rgba(34,51,74,0.14);
  z-index: 250;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.71,.07,.6,1.73);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #e9ece6;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin: 18px 26px 12px 0;
  color: #22334a;
  font-size: 2rem;
  border: none;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ca9443;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #22334a;
  padding: 14px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #e9ece6;
  color: #ca9443;
}

@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
  }
  .main-nav {
    gap: 12px;
    font-size: 0.96rem;
  }
}
@media (max-width: 800px) {
  .main-nav > a {
    padding: 9px 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    padding-top: 7px;
  }
  .container {
    max-width: 99vw;
    padding: 0 9px;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 7px;
  }
  .content-wrapper, .text-section {
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }
  h1 {font-size: 1.7rem;}
  h2 {font-size: 1.32rem;}
  h3 {font-size: 1.12rem;}
}

/* FOOTER --------------------------------- */
footer {
  background: #e9ece6;
  color: #22334a;
  padding: 38px 0 10px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #22334a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ca9443;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 19px;
  margin-right: 5px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .footer-contact { flex-direction: column; gap: 3px; align-items: flex-start; }
  .footer-nav { gap: 10px; }
}

/* FLEX CONTAINERS -------------------------- */
.features-grid, .team-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
@media (max-width: 800px) {
  .features-grid, .team-grid, .card-container, .content-grid {
    gap: 14px;
  }
}

/* -- Section for text and image side by side -- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}

/* CARD STYLES ---------------------------- */
.feature-card, .card, .team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(34,51,74,0.06);
  padding: 28px 21px 22px 21px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  max-width: 310px;
  transition: box-shadow 0.17s, transform 0.13s;
  border: 1px solid #e9ece6;
  position: relative;
}
.feature-card:hover, .card:hover, .team-member:hover {
  box-shadow: 0 6px 20px rgba(202,148,67,0.08), 0 4px 16px rgba(34,51,74,0.12);
  transform: translateY(-3px) scale(1.015);
}
.feature-card img, .team-member img {
  height: 48px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #e9ece6;
  padding: 6px;
}
.team-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.team-member {
  align-items: center;
  text-align: center;
}
.card-container {
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

@media (max-width: 900px) {
  .feature-card, .card, .team-member {
    flex: 1 1 160px;
    min-width: 155px;
    max-width: 99vw;
    padding: 18px 10px 16px 10px;
  }
  .features-grid, .team-grid { justify-content: center; }
}

/* SERVICE LISTS & ICON LISTS -------------- */
.service-list li,
.text-section ul li,
.text-section ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.service-list img,
.text-section ul img {
  width: 26px;
  height: 26px;
  background: #e9ece6;
  border-radius: 6px;
  margin-right: 6px;
  padding: 3px;
}
.service-list strong, .text-section ol strong {
  font-weight: 600;
  color: #22334a;
}
.text-section ul { padding-left: 10px; }
.text-section ol { padding-left: 16px; }

/* TESTIMONIAL CARDS ---------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 13px;
  padding: 20px 23px;
  margin-bottom: 23px;
  box-shadow: 0 2px 12px rgba(34,51,74,0.07);
  border: 1px solid #e9ece6;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #22334a;
  margin-bottom: 2px;
  font-style: italic;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #4e5968;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 0;
}
.stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ca9443;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 8px 13px 8px;
    gap: 10px;
  }
  .testimonial-card p { font-size: 1rem; }
}

/* FORMS (for contact or future) ---------- */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid #e9ece6;
  border-radius: 7px;
  padding: 11px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 18px;
  color: #22334a;
}
input:focus, textarea:focus {
  border-color: #ca9443;
  outline: none;
}
label { display: block; margin-bottom: 5px; font-weight: 500; }

/* UTILITY CLASSES ------------------------ */
.d-flex {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/* ANIMATIONS & MICRO-INTERACTIONS -------- */
.card, .feature-card, .team-member, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:active, .feature-card:active, .team-member:active, .testimonial-card:active {
  transform: scale(0.98);
}
.cta.primary, .cta.secondary {
  transition: background 0.18s, color 0.16s, box-shadow 0.14s;
}

/* COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #e9ece6;
  color: #22334a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  box-shadow: 0 -1px 10px rgba(34,51,74,0.10);
  z-index: 9999;
  padding: 22px 18px 18px 18px;
  font-size: 1rem;
  animation: banner-drop-in 0.6s cubic-bezier(.57,1.36,.58,1.08);
}
@keyframes banner-drop-in {
  0% { transform: translateY(100%); opacity: 0; }
  85% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 70vw;
  min-width: 220px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 22px;
  border-radius: 7px;
  font-size: 1rem;
  margin: 0 3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(202,148,67,0.08);
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #ca9443;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #a7772c;
}
.cookie-banner .reject {
  background: #fff;
  color: #22334a;
  border: 1.5px solid #ca9443;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f3eadc;
  color: #ca9443;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #22334a;
  border: 1.5px solid #22334a;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #e9ece6;
  color: #ca9443;
  border-color: #ca9443;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 17px 7px 12px 7px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-message { min-width: 100px; }
}

/* COOKIE SETTINGS MODAL ------------------ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(34,51,74,0.34);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.27s cubic-bezier(.68,.16,.42,1.54);
}
@keyframes modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  padding: 30px 21px 22px 21px;
  max-width: 390px;
  width: 96vw;
  box-shadow: 0 4px 34px rgba(34,51,74,0.19);
  display: flex;
  flex-direction: column;
  animation: modal-bounce-in 0.35s cubic-bezier(.59,.41,.54,1.49);
}
@keyframes modal-bounce-in {
  0% { transform: translateY(60px) scale(0.97); opacity: 0; }
  66% { transform: translateY(-12px) scale(1.03); opacity: 1;}
  89% { transform: translateY(3px) scale(1.01);}
  100% { transform: none; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
}
.cookie-cat label {
  flex: 1 1 80%;
  margin: 0 10px 0 0;
}
.cookie-cat input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #ca9443;
  margin-right: 5px;
}
.cookie-modal .close-modal {
  align-self: flex-end;
  background: #e9ece6;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.36rem;
  color: #22334a;
  margin-bottom: 9px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #ca9443;
  color: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 8px 22px;
  border: none;
  transition: background 0.14s, color 0.12s;
  box-shadow: 0 2px 9px rgba(202,148,67,0.07);
}
.cookie-modal .modal-actions .accept {
  background: #ca9443;
  color: #fff;
}
.cookie-modal .modal-actions .accept:hover, .cookie-modal .modal-actions .accept:focus {
  background: #a7772c;
}
.cookie-modal .modal-actions .reject {
  background: #fff;
  color: #22334a;
  border: 1.5px solid #ca9443;
}
.cookie-modal .modal-actions .reject:hover, .cookie-modal .modal-actions .reject:focus {
  background: #f3eadc;
  color: #ca9443;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 13px 2vw 13px 2vw; }
  .cookie-modal h3 { font-size: 1.05rem; }
}

/* MISC ----------------- */
.opening-hours {
  margin-bottom: 12px;
  font-size: 0.97rem;
  color: #22334a;
}
.opening-hours strong { color: #22334a; font-weight: 600; }

/* Responsive Spacing for Cards */
@media (max-width: 600px) {
  .feature-card, .card, .team-member { min-width: 95vw; margin-right: 0; margin-left: 0; padding: 14px 5vw; }
  .features-grid, .team-grid, .card-container, .content-grid { flex-direction: column; gap: 13px; }
}

/* Visually distinct focus for accessibility */
:focus-visible {
  outline: 2.5px solid #ca9443;
  outline-offset: 1.5px;
}

/* Hide elements visually but not for screen readers (for accessibility, when needed) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0;
}

/* Scrollbar Styling for Clean Look */
::-webkit-scrollbar {
  width: 12px;
  background: #e9ece6;
}
::-webkit-scrollbar-thumb {
  background: #ca9443;
  border-radius: 8px;
}

/* Print/Accessibility */
@media print {
  header, .main-nav, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
