:root {
  --color-bg: #ffffff;
  --color-bg-soft: #ededed;
  --color-bg-section: #f5f5f5;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-primary: #2d4a5f;
  --color-primary-dark: #1e3a5f;
  --color-icon-bg: #5a7a8c;
  --color-footer-bg: #d9d3ca;
  --color-border: #e2e2e2;
  --color-star: #f5b800;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --shadow-btn: 0 6px 14px rgba(74, 102, 116, 0.35);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.10);
  --blue: #6A87A1;
  --black: #000000;
  --bg: #f4f4f4;
  --bg-outer: #B9C8D6;
  --nav-h: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAVBAR (site-wide) ============ */
.site-nav {
  height: 56px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-family: 'Vidaloka', serif;
  font-size: 35px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #484848;
  text-decoration: none;
}

.site-logo span {
  color: #6A87A1;
}

.site-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: 40px;
}

.site-nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  padding: 4px 2px;
  transition: color .2s;
}

.site-nav-links a.active,
.site-nav-links a:hover {
  color: #000;
  font-weight: 600;
}

.site-nav-links a.active {
  border-bottom: 2px solid #000;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #484848;
}

.hamburger-btn svg {
  width: 28px;
  height: 28px;
}

.site-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-signin {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-signin:hover {
  color: #000;
}

.nav-signup {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #6A87A1;
  padding: 9px 26px;
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
  transition: opacity .15s, transform .15s;
}

.nav-signup:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* logged-in nav icons */
.site-nav-right a.icon-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #484848;
  transition: color .15s;
}

.site-nav-right a.icon-link:hover {
  color: #6A87A1;
}

.site-nav-right a.icon-link svg {
  width: 22px;
  height: 22px;
}

.site-nav-right .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #d8262c;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #fff;
  line-height: 1;
  text-align: center;
}

/* ============ SEARCH BAR ============ */
.search-bar {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 24px;
  gap: 0;
}

.search-field {
  flex: 1;
  padding: 6px 18px;
  border-right: 1px solid #ececec;
  font-family: 'Poppins', sans-serif;
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #909090;
  margin-bottom: 2px;
  font-weight: 500;
}

.search-field .value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #484848;
  font-weight: 550;
}

.search-field .value svg {
  width: 16px;
  height: 16px;
  color: #55959E;
  stroke: #55959E;
  flex-shrink: 0;
}

.search-field .value .chev {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: #484848;
  stroke: #484848;
  stroke-width: 4;
}

.btn-search {
  padding: 13px 36px;
  background: #6A87A1;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: opacity .15s;
}

.btn-search:hover {
  opacity: 0.92;
}

/* ============ FLOATING ICONS ============ */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 28px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 50;
  align-items: center;
}

.floating-btn {
  width: 42px;
  height: 42px;
  background: #4D6674;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .15s;
}

.floating-btn:hover {
  transform: translateY(-2px);
}

.floating-btn.light {
  background: #4D6674;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

/* ============ FOOTER (site-wide) ============ */
.site-footer {
  background: #e2e2e2;
  padding: 40px 24px 28px;
  margin-top: auto;
  color: #3a3a3a;
}

.site-footer-inner {
  width: 100%;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer-brand {
  flex: 0 0 220px;
  padding-left: 24px;
}

.site-footer-logo {
  font-family: 'Vidaloka', serif;
  font-size: 35px;
  font-weight: 400;
  color: #484848;
  letter-spacing: 0.04em;
}

.site-footer-logo span {
  color: #6A87A1;
}

.site-footer-tagline {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

.site-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.site-footer-socials a {
  width: 32px;
  height: 32px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  transition: background .2s, color .2s;
}

.site-footer-socials a:hover {
  background: #6A87A1;
  color: #fff;
}

.footer-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(0);
}

.site-footer-socials a:hover .footer-icon-img {
  filter: grayscale(1) brightness(1) invert(1);
}

.site-footer-cols {
  flex: 0 0 auto;
  display: flex;
  gap: 48px;
  margin-left: auto;
  margin-right: 24px;
}

.site-footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.site-footer-col ul {
  list-style: none;
}

.site-footer-col ul li {
  margin-bottom: 8px;
}

.site-footer-col ul li a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

.site-footer-col ul li a:hover {
  color: #6A87A1;
}

.site-footer-bottom {
  width: 100%;
  margin: 28px 0 0;
  padding: 16px 24px 0;
  border-top: 1px solid #ccc;
  font-size: 12px;
  color: #888;
  font-family: 'Poppins', sans-serif;
}

/* ============ RESPONSIVE (Global) ============ */
@media (max-width: 768px) {
  .site-footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .site-footer-brand {
    padding-left: 0;
  }

  .site-footer-cols {
    margin: 0;
    gap: 32px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .hamburger-btn {
    display: block;
    margin-right: 12px;
  }

  .site-nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 0;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Start hidden */
    display: none;
  }

  .site-nav-links.nav-open {
    display: flex;
  }

  .site-nav-links li {
    width: 100%;
  }

  .site-nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
  }

  .site-nav-links a.active {
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
  }

  .site-nav {
    padding: 0 16px;
    position: relative;
  }

  .search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    padding: 8px 0;
  }
}