/* 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 {
  scroll-behavior: smooth;
}
body {
  background: #FAF7F2;
  color: #22344C;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22344C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9AC7D;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
}
:focus {
  outline: 2px solid #D9AC7D;
  outline-offset: 2px;
}

/* BRAND COLORS */
:root {
  --color-primary: #22344C;
  --color-secondary: #D9AC7D;
  --color-accent: #FAF7F2;
  --color-dark: #22344C;
  --color-light: #FAF7F2;
  --color-white: #ffffff;
  --color-shadow: rgba(34,52,76,0.10);
  --transition: 0.22s cubic-bezier(.6,.4,0,1);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #22344C;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #22344C;
  margin-bottom: 24px;
  letter-spacing: -0.15px;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-block;
  background: #22344C;
  color: #FAF7F2;
  font-size: 1.11rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 40px;
  border: none;
  text-align: center;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 3px 18px var(--color-shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: #D9AC7D;
  color: #22344C;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(34,52,76,0.16);
}

/* HEADER */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 0;
  margin-bottom: 0px;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 52px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
}
.main-nav a {
  color: #22344C;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: #D9AC7D;
  text-decoration: underline;
}
header .cta-primary {
  margin-left: 32px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #22344C;
  cursor: pointer;
  padding: 8px 16px;
  z-index: 70;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #D9AC7D;
  transform: scale(1.1);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22344C;
  color: #FAF7F2;
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.41,1.1,.52,.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 40px;
  padding-left: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FAF7F2;
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  z-index: 150;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D9AC7D;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 80px 0 0 32px;
  font-size: 1.4rem;
  font-weight: 700;
  width: 80vw;
}
.mobile-nav a {
  color: #FAF7F2;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D9AC7D;
  color: #22344C;
}

/* MAIN LAYOUT & SPACING */
main {
  margin: 0;
  padding-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  max-width: 830px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FLEX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 32px 20px 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 32px rgba(34,52,76,0.16);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #ffffff;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 24px 20px 24px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(34,52,76,0.15);
  transform: translateY(-2px) scale(1.018);
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  color: #22344C;
  padding: 20px 28px;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  min-width: 260px;
  max-width: 540px;
  font-size: 1.09rem;
  font-style: italic;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-meta {
  color: #22344C;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  font-style: normal;
  width: 100%;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(34,52,76,0.12);
  transform: scale(1.024);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-details {
  background: #22344C;
  padding: 24px 20px;
  color: #FAF7F2;
  border-radius: 20px;
  margin: 24px 0;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.contact-details a {
  color: #D9AC7D;
  text-decoration: underline;
  font-weight: 700;
}

.map-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.map-section img {
  width: 56px;
  height: 56px;
}

/* FOOTER */
footer {
  background: #22344C;
  color: #FAF7F2;
  padding: 0;
  position: relative;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 20px 30px 20px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 24px;
  font-size: 1rem;
}
.footer-menu a {
  color: #D9AC7D;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FAF7F2;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact img {
  width: 45px;
  height: auto;
  margin-bottom: 4px;
}
.footer-contact address {
  font-style: normal;
  font-size: 0.95rem;
  color: #FAF7F2;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: none;
  transition: filter 0.16s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(130%) drop-shadow(0 0 8px #D9AC7D);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #22344C;
  color: #FAF7F2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1100;
  padding: 20px 24px;
  gap: 18px;
  box-shadow: 0 -4px 24px rgba(34,52,76,0.20);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.35s cubic-bezier(.41,1.1,.52,.92);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.cookie-accept {
  background: #D9AC7D;
  color: #22344C;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #FAF7F2;
  color: #22344C;
  transform: scale(1.07);
}
.cookie-reject {
  background: #ffffff;
  color: #22344C;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #D9AC7D;
  color: #22344C;
  transform: scale(1.07);
}
.cookie-settings {
  background: none;
  border: 2px solid #D9AC7D;
  color: #D9AC7D;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #D9AC7D;
  color: #22344C;
  transform: scale(1.07);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,52,76,0.42);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FAF7F2;
  color: #22344C;
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(34,52,76,0.24);
  padding: 38px 32px 32px 32px;
  min-width: 300px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookieModalIn 0.4s cubic-bezier(.2,1.25,.5,1) both;
}
@keyframes cookieModalIn {
  from {
    opacity: 0;
    transform: translateY(60px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #22344C;
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, Serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.07rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #D9AC7D;
  margin-left: 8px;
}
.cookie-essential {
  opacity: 0.6;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #22344C;
  position: absolute;
  top: 14px;
  right: 20px;
  cursor: pointer;
  z-index: 10;
  transition: color var(--transition), transform var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #D9AC7D;
  transform: scale(1.08);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
}
/* Utility: Hide element */
.hide {
  display: none !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid {
    gap: 18px;
  }
  .footer-menu {
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  .feature-grid > div {
    min-width: 170px;
    padding: 26px 12px 22px 12px;
  }
}
@media (max-width: 800px) {
  header .container {
    flex-direction: row;
    gap: 18px;
  }
  .footer-menu {
    font-size: 0.98rem;
    gap: 7px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 13px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-primary {
    display: none;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-contact {
    margin-top: 12px;
  }
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    padding: 18px 10px 14px 14px;
    font-size: 1rem;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 10px 14px 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .map-section {
    flex-direction: column;
    gap: 12px;
  }
  .footer-social {
    margin-top: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.97rem;
    padding: 16px 8px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.51rem;
  }
  .cookie-modal {
    padding: 18px 8px 14px 10px;
    border-radius: 18px;
    min-width: 0;
    font-size: 0.98rem;
  }
}

/* MICRO-INTERACTIONS & MODERN/BOLD EFFECTS */
.section, .card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 12px var(--color-shadow);
}
.section:not(:last-child) {
  border-bottom: 1.5px solid #E3DED8;
}
.feature-grid > div, .card, .testimonial-card {
  border: 2.5px solid transparent;
}
.feature-grid > div:focus-within, .card:focus-within, .testimonial-card:focus-within {
  border-color: #D9AC7D;
}
.cta-primary:active, .cookie-reject:active, .cookie-accept:active, .cookie-settings:active {
  transform: scale(0.98);
}

/* GEOMETRIC VISUAL ACCENTS */
.feature-grid > div, .testimonial-card, .card {
  border-radius: 24px;
}
.section, .contact-details, .cookie-modal {
  border-radius: 24px;
}

/* BOLD GEOMETRIC DIVIDER */
hr {
  height: 3px;
  background: #D9AC7D;
  border: none;
  border-radius: 2px;
  margin: 40px 0 32px 0;
}

/* SELECTION COLOR */
::selection {
  background: #D9AC7D;
  color: #22344C;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 12px;
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #D9AC7D;
  border-radius: 20px;
}

/* Hide elements utility */
[hidden] {
  display: none !important;
}
