@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* =========================================================
   HEIM — Common & Shared Design System
   ========================================================= */

:root {
  --ivory: #F7F4EE;
  --stone: #EAE3D6;
  --stone-deep: #DCD2BE;
  --green: #161616;
  --green-deep: #1B221C;
  --gold: #A8874F;
  --line: rgba(32, 36, 31, 0.12);
  --line-strong: rgba(32, 36, 31, 0.24);
  --ink: #20241F;
  --ink-soft: #565B52;
  --ink-muted: #737A74;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 3px;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow-plain {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-solid {
  background: var(--green);
  color: var(--ivory);
}

.btn-solid:hover {
  background: var(--green-deep);
  color: #FFFFFF;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(32, 36, 31, 0.04);
}

/* =========================================================
   Unified Site Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.85rem 0;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(32, 36, 31, 0.05);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(32, 36, 31, 0.05);
  border-bottom: 1px solid var(--line);
}

/* Header in full-screen cover hero mode */
.site-header.is-cover-mode {
  padding: 1.45rem 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid transparent;
}

.site-header.is-cover-mode .brand-name {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.is-cover-mode .brand-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-cover-mode .brand-emblem-wrap {
  border-color: rgba(168, 135, 79, 0.75);
  box-shadow: 0 0 16px rgba(168, 135, 79, 0.3), 0 3px 10px rgba(0, 0, 0, 0.5);
}

.site-header.is-cover-mode .nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.site-header.is-cover-mode .nav-link:hover,
.site-header.is-cover-mode .nav-link.is-active {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.site-header.is-cover-mode .header-cta {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.site-header.is-cover-mode .header-cta:hover {
  background: #FFFFFF;
  color: var(--green-deep);
  border-color: #FFFFFF;
}

.site-header.is-cover-mode .nav-toggle span {
  background: #FFFFFF;
}

/* Scroll reading progress bar */
.header-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #d8c29d 100%);
  transition: width 0.08s linear;
  z-index: 10;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.95;
}

.brand:hover .brand-emblem-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(168, 135, 79, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(216, 194, 157, 0.95);
}

.brand-emblem-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000000;
  border: 2px solid rgba(168, 135, 79, 0.65);
  box-shadow: 0 2px 10px rgba(32, 36, 31, 0.15), 0 0 10px rgba(168, 135, 79, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform: scale(1.18);
  transform-origin: center;
  image-rendering: -webkit-optimize-contrast;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  transition: color 0.3s ease;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1;
  margin-top: 4px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--green-deep);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 22, 22, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Contact Section
   ========================================================= */
.contact {
  background: var(--stone);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.contact-list {
  margin: 1.75rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}

.ci-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-list a,
.contact-list span:not(.ci-label) {
  color: var(--ink);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold) !important;
}

.contact-list a:hover .fab,
.contact-list a:hover .fas,
.contact-list a:hover .fa-whatsapp {
  color: var(--gold) !important;
}

.contact-list .fab.fa-whatsapp,
.contact-list .fa-whatsapp {
  color: #25D366;
  font-size: 1.15rem;
}

.contact-list .fa-phone,
.contact-list .fa-envelope,
.contact-list .fa-location-dot {
  color: var(--gold);
  font-size: 0.95rem;
}

.contact-card {
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* =========================================================
   Footer Section
   ========================================================= */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   Floating WhatsApp Concierge Widget
   ========================================================= */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.floating-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.floating-wa-tooltip {
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.floating-wa:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   Responsive Additions
   ========================================================= */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem clamp(1.5rem, 8vw, 3rem);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -12px 0 40px rgba(32, 36, 31, 0.15);
    z-index: 1000;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.3rem;
    color: var(--ink) !important;
    text-shadow: none !important;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.is-open span {
    background: var(--ink) !important;
  }

  .contact-list li {
    grid-template-columns: 90px 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .floating-wa-tooltip {
    display: none;
  }

  .floating-wa {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-wa-btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}