/* ═══════════════════════════════════════════════════
   bestnursinghouse — SHARED STYLES
   ═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Roboto", sans-serif; background: #fff; color: #000; overflow-x: hidden; }

:root {
  --gold: #DAA464;
  --dark: #3E2C23;
  --white: #ffffff;
  --black: #000000;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── TYPOGRAPHY UTILITIES ── */
.heading { font-family: "Bebas Neue", sans-serif; }
.gold { color: var(--gold); }
.white { color: #fff; }


/* ══════════════════════════════════════════
   NAVBAR (shared sticky top header)
══════════════════════════════════════════ */
#top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: #fff; height: 64px;
  display: flex; align-items: center; padding: 0 50px;
  justify-content: space-between;
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
  transition: background .35s;
}
#top-nav.dark { background: var(--dark); }
.nav-logo {
  font-family: "Bebas Neue", sans-serif; font-size: 1.5rem;
  letter-spacing: 3px; color: var(--dark); text-decoration: none;
}
#top-nav.dark .nav-logo { color: var(--gold); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: #000; text-decoration: none;
  transition: color .2s;
}
#top-nav.dark .nav-links a { color: rgba(255,255,255,.75); }
.nav-links a:hover,
.nav-links a.active { color: var(--gold) !important; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.quote-btn {
  background: #000; color: #fff; border: none; padding: 11px 26px;
  font-family: "Roboto", sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  text-decoration: none; transition: background .25s, color .25s;
  display: inline-block;
}
.quote-btn:hover { background: var(--gold); color: #000; }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; z-index: 1100; background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: #000;
  transition: all .3s ease; transform-origin: center;
}
#top-nav.dark .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 1050;
  background: rgba(0,0,0,.97); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: "Bebas Neue", sans-serif; font-size: 2.6rem;
  color: #fff; text-decoration: none; letter-spacing: 3px; transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mq-btn {
  background: var(--gold); color: #000; padding: 14px 42px;
  font-size: 1.1rem; border: none; cursor: pointer;
  font-family: "Bebas Neue", sans-serif; letter-spacing: 2px;
  text-decoration: none; margin-top: 8px;
}

/* ── PAGE HERO BANNER (inner pages) ── */
.page-banner {
  height: 52vh; min-height: 360px;
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
  padding: 0 80px 60px;
  margin-top: 64px;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.7) 100%);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 {
  font-family: "Bebas Neue", sans-serif; font-size: 5.5rem;
  color: #fff; letter-spacing: 6px; line-height: .95;
}
.page-banner .sub {
  color: var(--gold); font-size: .82rem; letter-spacing: 4px;
  text-transform: uppercase; margin-top: 10px; font-weight: 300;
}

/* ── SECTION PADDING ── */
.section-pad { padding: 100px 80px; }
.section-pad-sm { padding: 70px 80px; }

/* ── GOLD DIVIDER ── */
.gold-bar { width: 60px; height: 2px; background: var(--gold); margin: 22px 0; }
.gold-bar.center { margin: 22px auto; }

/* ── FADE UP ── */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .75s ease, transform .75s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .15s; }
.fade-up.delay-2 { transition-delay: .3s; }
.fade-up.delay-3 { transition-delay: .45s; }

/* ── CUT SHAPES ── */
.cut-down { width: 100%; overflow: hidden; line-height: 0; position: relative; z-index: 5; }
.cut-down svg { display: block; width: 100%; }
.cut-up { width: 100%; overflow: hidden; line-height: 0; position: relative; z-index: 5; }
.cut-up svg { display: block; width: 100%; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark); color: #fff;
  padding: 16px 36px; display: flex; align-items: center;
  gap: 24px; justify-content: space-between; flex-wrap: wrap;
  border-top: 2px solid var(--gold); font-size: .82rem;
}
#cookie-banner a { color: var(--gold); text-decoration: underline; cursor: pointer; }
.cb-btn {
  background: var(--gold); color: #000; border: none; padding: 10px 26px;
  font-family: "Bebas Neue", sans-serif; font-size: .95rem;
  letter-spacing: 1px; cursor: pointer; white-space: nowrap;
}

/* ── MODALS ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.82); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; max-width: 800px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 54px;
  position: relative;
}
.modal-box h2 {
  font-family: "Bebas Neue", sans-serif; font-size: 2.8rem;
  letter-spacing: 3px; color: #000; margin-bottom: 22px;
  border-bottom: 2px solid var(--gold); padding-bottom: 14px;
}
.modal-box h3 {
  font-family: "Bebas Neue", sans-serif; font-size: 1.35rem;
  color: var(--dark); letter-spacing: 2px; margin: 26px 0 8px;
}
.modal-box p { font-size: .87rem; line-height: 1.9; color: #444; margin-bottom: 12px; font-weight: 300; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 1.8rem;
  cursor: pointer; color: #000; line-height: 1;
}
.modal-close:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: #fff; padding: 90px 80px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.8fr;
  gap: 50px; margin-bottom: 60px;
}
.f-logo-text {
  font-family: "Bebas Neue", sans-serif; font-size: 2rem;
  color: var(--gold); letter-spacing: 3px; display: block; margin-bottom: 14px;
}
.footer-brand p { font-size: .83rem; line-height: 1.85; color: rgba(255,255,255,.6); font-weight: 300; }
.footer-col h4 {
  font-family: "Bebas Neue", sans-serif; font-size: 1rem;
  color: var(--gold); letter-spacing: 3px; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6); text-decoration: none;
  font-size: .82rem; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 9px; line-height: 1.6; }
.newsletter-form input {
  width: 100%; background: rgba(255,255,255,.07);
  border: 1px solid rgba(218,164,100,.4);
  color: #fff; padding: 12px 14px; font-size: .82rem;
  margin-bottom: 9px; outline: none; font-family: "Roboto", sans-serif;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
  width: 100%; background: var(--gold); color: #000; border: none;
  padding: 12px; font-family: "Bebas Neue", sans-serif;
  font-size: .95rem; letter-spacing: 2px; cursor: pointer;
}
.social-icons { display: flex; gap: 12px; margin-top: 18px; }
.social-icons a {
  width: 34px; height: 34px; border: 1px solid rgba(218,164,100,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none; font-size: .78rem;
  transition: all .2s;
}
.social-icons a:hover { background: var(--gold); color: #000; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p, .footer-bottom a {
  font-size: .75rem; color: rgba(255,255,255,.38); text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold); }
.f-legal { display: flex; gap: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .quote-btn.desk { display: none; }
  .hamburger { display: flex; }
  #top-nav { padding: 0 24px; }
  .section-pad { padding: 70px 28px; }
  .section-pad-sm { padding: 50px 28px; }
  .page-banner { padding: 0 28px 40px; }
  .page-banner h1 { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 60px 28px 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 2.6rem; }
}
</style>
