/* ============================================================
   NORTHERN LIGHTS HOSPITALITY GROUP — Main Stylesheet
   File: css/styles.css
   Images live in:  ../img/
   JavaScript in:   ../js/main.js
============================================================ */

:root {
  --accent:        #22c55e;
  --accent-bright: #4ade80;
  --accent-glow:   rgba(34, 197, 94, 0.35);
  --accent-soft:   rgba(34, 197, 94, 0.12);
  --accent-border: rgba(34, 197, 94, 0.30);
  --bg-deep:    #050d09;
  --bg-dark:    #0a1510;
  --bg-card:    #0f1f15;
  --bg-nav:     rgba(5, 13, 9, 0.92);
  --text-primary:   #f0fdf4;
  --text-secondary: #bbf7d0;
  --text-muted:     #6b7280;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; background-color: var(--bg-deep); color: var(--text-primary); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Cinzel', serif; letter-spacing: 0.04em; }
::selection { background: var(--accent-glow); color: var(--accent-bright); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-nav); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--accent-border);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-bright); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.aurora-icon { display: inline-block; width: 28px; height: 28px; background: conic-gradient(from 200deg, var(--accent), transparent 40%, var(--accent-bright) 70%, transparent 90%); border-radius: 50%; box-shadow: 0 0 12px var(--accent-glow); flex-shrink: 0; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { position: relative; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; padding: 0.25rem 0; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 100%; height: 1px; background: var(--accent); transition: right 0.3s ease; }
.nav-link:hover { color: var(--accent-bright); }
.nav-link:hover::after { right: 0; }
.nav-controls { display: flex; align-items: center; gap: 0.6rem; }
.hamburger { background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 4px; padding: 6px 8px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.hamburger span { display: block; height: 2px; background: var(--accent-bright); border-radius: 1px; }
.hamburger span:nth-child(1), .hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 14px; }
#mobile-menu { display: none; background: var(--bg-nav); backdrop-filter: blur(16px); border-top: 1px solid var(--accent-border); padding: 1rem 1.5rem 1.5rem; }
#mobile-menu.open { display: block; }
#mobile-menu .nav-link-group { display: flex; flex-direction: column; gap: 1rem; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.08);
  transition: transform 0.1s linear;
}

/* Video fills the full hero background */
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,13,9,0.45) 0%, rgba(5,13,9,0.20) 30%, rgba(5,13,9,0.55) 70%, rgba(5,13,9,0.95) 100%); }
.hero-aurora-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 10%, var(--accent-glow), transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1.5rem; max-width: 900px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px; padding: 6px 18px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 1.5rem; animation: fadeInDown 0.8s ease both; }
.hero-title { font-family: 'Cinzel', serif; font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 900; line-height: 1.05; letter-spacing: 0.04em; color: #fff; text-shadow: 0 0 40px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.6); animation: fadeInUp 1s ease 0.2s both; margin-bottom: 0.75rem; }
.hero-title .shimmer-text { color: var(--accent-bright); text-shadow: 0 0 30px var(--accent), 0 0 60px var(--accent-glow); }
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.35rem); font-weight: 300; font-style: italic; color: rgba(255,255,255,0.88); letter-spacing: 0.06em; animation: fadeInUp 1s ease 0.4s both; margin-bottom: 0.75rem; }
.hero-tagline { font-size: clamp(0.7rem, 1.5vw, 0.85rem); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); animation: fadeInUp 1s ease 0.6s both; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 0.8s both; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; animation: fadeIn 1.5s ease 1.5s both; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2s ease infinite; }
.scroll-text { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--bg-deep); font-family: 'Raleway', sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.85rem 2rem; border-radius: 4px; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-family: 'Raleway', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.85rem 2rem; border-radius: 4px; text-decoration: none; border: 1px solid rgba(255,255,255,0.45); cursor: pointer; transition: all 0.3s ease; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-soft); transform: translateY(-2px); }
.btn-sm { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); border: 1px solid var(--accent-border); border-radius: 3px; padding: 0.45rem 1rem; text-decoration: none; transition: all 0.3s; background: var(--accent-soft); cursor: pointer; }
.btn-sm:hover { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }

/* ── SHARED ── */
.section-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.section-label::before { display: none; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--accent-border); max-width: 60px; }
.section-title { font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: var(--text-primary); line-height: 1.15; }
.accent-line { width: 60px; height: 3px; background: linear-gradient(to right, var(--accent), var(--accent-bright)); border-radius: 2px; margin-top: 1rem; box-shadow: 0 0 10px var(--accent-glow); }
.aurora-divider { height: 2px; background: linear-gradient(to right, transparent, var(--accent), var(--accent-bright), var(--accent), transparent); opacity: 0.5; box-shadow: 0 0 8px var(--accent-glow); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.shimmer-text { background: linear-gradient(90deg, var(--accent-bright) 0%, #fff 40%, var(--accent-bright) 60%, var(--accent) 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 4s linear infinite; }

/* ── STATS BAR ── */
.stats-bar { background: var(--bg-card); border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--accent-border); }
.stats-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--accent-border); }
.stat-item { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid var(--accent-border); }
.stat-number { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 900; color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); line-height: 1; }
.stat-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.3rem; }

/* ── ABOUT ── */
#about { background: var(--bg-dark); padding: 7rem 1.5rem; position: relative; overflow: hidden; }
#about::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%); pointer-events: none; }
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-wrap { position: relative; border-radius: 6px; overflow: hidden; }
.about-image-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 6px; padding: 1rem 1.25rem; backdrop-filter: blur(10px); }
.since-year { font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1; text-shadow: 0 0 20px var(--accent-glow); }
.since-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.about-pillars { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pillar-card { padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 6px; }
.pillar-title { font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-bottom: 0.4rem; }
.pillar-body { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; }

/* ── PROPERTIES ── */
#properties { background: var(--bg-deep); padding: 7rem 1.5rem; }
.properties-header { text-align: center; margin-bottom: 4rem; }
.properties-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.property-card { background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 8px; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow); border-color: var(--accent); }
.property-img { width: 100%; height: 220px; background: var(--bg-dark); position: relative; overflow: hidden; }
.property-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-card:hover .property-img img { transform: scale(1.06); }
.property-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,13,9,0.55) 0%, transparent 60%); pointer-events: none; z-index: 1; }
.property-type-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px; padding: 3px 10px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-bright); z-index: 2; backdrop-filter: blur(4px); }
.property-content { padding: 1.25rem; }
.property-name { font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.4rem; line-height: 1.3; }
.property-location { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 4px; }
.property-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }

/* ── EXPERIENCE ── */
#experience { padding: 7rem 1.5rem; position: relative; background: var(--bg-dark); overflow: hidden; }
.exp-bg { position: absolute; inset: 0; background-image: url('../img/hero.webp'); background-size: cover; background-position: center; opacity: 0.18; }
.exp-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.exp-header { text-align: center; margin-bottom: 4rem; }
.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.exp-card { background: rgba(10, 21, 16, 0.75); backdrop-filter: blur(12px); border: 1px solid var(--accent-border); border-radius: 8px; padding: 2rem 1.5rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 15px var(--accent-glow); }
.exp-icon { width: 56px; height: 56px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; box-shadow: 0 0 16px var(--accent-glow); }
.exp-card-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; }
.exp-card-body { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

/* ── WHY ── */
#why { background: var(--bg-deep); padding: 7rem 1.5rem; }
#owners { background: var(--bg-deep); padding: 7rem 1.5rem; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-header { text-align: center; margin-bottom: 4rem; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.why-card { border-left: 3px solid var(--accent); background: var(--bg-card); border-radius: 0 8px 8px 0; padding: 1.75rem 1.5rem; transition: transform 0.3s, box-shadow 0.3s; }
.why-card:hover { transform: translateX(4px); box-shadow: -3px 0 20px var(--accent-glow), 4px 8px 20px rgba(0,0,0,0.3); }
.why-num { font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 900; color: var(--accent-border); line-height: 1; margin-bottom: 0.5rem; transition: color 0.3s; }
.why-card:hover .why-num { color: var(--accent-glow); }
.why-card-title { font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.why-card-body { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

/* ── CONTACT ── */
#contact { background: var(--bg-dark); padding: 7rem 1.5rem; }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form-title { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.contact-input { width: 100%; background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 4px; padding: 0.8rem 1rem; color: var(--text-primary); font-family: 'Raleway', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.contact-input::placeholder { color: var(--text-muted); }
.contact-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-success { display: none; margin-top: 1rem; padding: 1rem; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 6px; color: var(--accent-bright); font-size: 0.85rem; text-align: center; }
.locations-title { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.location-card { background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 8px; padding: 1.5rem; transition: border-color 0.3s; }
.location-card:hover { border-color: var(--accent); }
.location-name { font-family: 'Cinzel', serif; font-size: 0.85rem; font-weight: 600; color: var(--accent-bright); margin-bottom: 0.3rem; }
.location-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; }
.map-placeholder { background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: 8px; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.1em; }
.map-sub { font-size: 0.65rem; color: var(--text-muted); }

/* ── FAQ PAGE ── */
.subpage-shell { min-height: 100vh; background:
  radial-gradient(circle at top, rgba(34, 197, 94, 0.16), transparent 34%),
  linear-gradient(180deg, rgba(10, 21, 16, 0.96) 0%, rgba(5, 13, 9, 1) 100%);
}
.subpage-hero { padding: 8.5rem 1.5rem 3rem; }
.subpage-inner { max-width: 1180px; margin: 0 auto; }
.subpage-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.subpage-panel { background: rgba(10, 21, 16, 0.72); border: 1px solid var(--accent-border); border-radius: 16px; padding: 2rem; box-shadow: 0 18px 45px rgba(0,0,0,0.25); backdrop-filter: blur(14px); }
.subpage-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--accent-border); background: var(--accent-soft); color: var(--accent-bright); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.subpage-title { font-family: 'Cinzel', serif; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.08; margin-bottom: 1rem; color: var(--text-primary); }
.subpage-copy { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }
.subpage-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.subpage-chip { padding: 0.5rem 0.85rem; border: 1px solid var(--accent-border); border-radius: 999px; background: rgba(15, 31, 21, 0.92); color: var(--text-secondary); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.subpage-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.faq-section { padding: 0 1.5rem 7rem; }
.faq-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.faq-sidebar { position: sticky; top: 92px; }
.faq-sidebar .subpage-panel { padding: 1.5rem; }
.faq-sidebar-title { font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.faq-sidebar-copy { color: var(--text-muted); line-height: 1.75; font-size: 0.82rem; }
.faq-quicklinks { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.25rem; }
.faq-card { background: rgba(15, 31, 21, 0.9); border: 1px solid var(--accent-border); border-radius: 14px; padding: 1.45rem 1.35rem; margin-bottom: 1rem; box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.faq-question { font-family: 'Cinzel', serif; color: var(--text-primary); font-size: 1rem; line-height: 1.35; margin-bottom: 0.7rem; }
.faq-answer { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.8; }
.faq-answer a { color: var(--accent-bright); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }
.faq-note { margin-top: 1rem; color: var(--text-muted); font-size: 0.78rem; line-height: 1.7; }

/* ── FOOTER ── */
#footer { background: var(--bg-deep); border-top: 1px solid var(--accent-border); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--accent-border); }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: var(--accent-bright); text-shadow: 0 0 20px var(--accent-glow); }
.footer-tagline { font-size: 0.78rem; color: var(--text-muted); line-height: 1.8; max-width: 300px; }
.footer-col-title { font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: var(--accent-bright); }
.footer-bottom { padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.7rem; color: var(--text-muted); }
.footer-love { font-size: 0.7rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── ANIMATIONS ── */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(25px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.4; transform: scaleY(0.7); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: default; position: relative; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; padding: 0.25rem 0; transition: color 0.3s; }
.nav-dropdown-trigger::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 100%; height: 1px; background: var(--accent); transition: right 0.3s ease; }
.nav-dropdown:hover .nav-dropdown-trigger, .nav-dropdown:focus-within .nav-dropdown-trigger { color: var(--accent-bright); }
.nav-dropdown:hover .nav-dropdown-trigger::after, .nav-dropdown:focus-within .nav-dropdown-trigger::after { right: 0; }
.nav-chevron { font-size: 0.55rem; transition: transform 0.25s; display: inline-block; opacity: 0.7; }
.nav-dropdown:hover .nav-chevron, .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 16px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-nav);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 0.4rem;
  min-width: 190px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px var(--accent-border);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; animation: fadeInDown 0.18s ease; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.dropdown-item:hover { background: var(--accent-soft); color: var(--accent-bright); }
.dropdown-item-icon { font-size: 0.85rem; opacity: 0.8; }
/* Mobile sub-items */
.mobile-sub-items { display: none; padding-left: 1.25rem; }
.mobile-sub-items.open { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.mobile-sub-item { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; padding: 0.3rem 0; transition: color 0.3s; }
.mobile-sub-item:hover { color: var(--accent-bright); }
.mobile-dropdown-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.mobile-chevron { font-size: 0.6rem; transition: transform 0.25s; }

/* ── PROPERTY CATEGORIES ── */
.business-directory { align-items: stretch; }
.business-directory .property-card { display: flex; flex-direction: column; }
.business-directory .property-content { display: flex; flex: 1; flex-direction: column; }
.business-directory .property-links { margin-top: auto; }
.subway-logo-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3.95rem 3rem;
  background: #fff;
}
.property-img:has(.subway-logo-card)::after {
  background: linear-gradient(to top, rgba(5,13,9,0.12) 0%, transparent 42%);
}

/* ── PROPERTY CARD ENHANCEMENTS ── */
.property-links { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.75rem; flex-wrap: wrap; }
.prop-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid var(--accent-border);
  border-radius: 3px;
  padding: 0.42rem 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--accent-soft);
}
.prop-visit-btn:hover { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
.property-brand-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; flex-wrap: wrap; }

/* ── PLACEHOLDER / COMING SOON ── */
.property-card.placeholder { border-style: dashed; }
.property-card.placeholder .property-img { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%); }
.coming-soon-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; z-index: 3; }
.coming-soon-icon { font-size: 2rem; opacity: 0.4; }
.coming-soon-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 700; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 999px; padding: 3px 12px; }

/* ── SUBWAY BRANDING ── */
.subway-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  font-size: 0;
  flex-shrink: 0;
}
.subway-badge-inner {
  background: #009900;
  color: #ffc425;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  line-height: 1;
}

/* ── HOME HARDWARE BRANDING ── */
.hh-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(188, 28, 28, 0.12);
  border: 1px solid rgba(188, 28, 28, 0.35);
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f87171;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
.hh-badge-icon { font-size: 0.75rem; }

/* ══════════════════════════════════════════════════════════
   GLOBAL OVERFLOW HARDENING
   Belt-and-suspenders approach: html AND body clip x-scroll,
   every image is constrained, tagline text wraps safely.
   ══════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; }

/* Hero tagline: wide letter-spacing + &nbsp; separators can push
   the page wide on small screens — force wrapping and allow breaks */
.hero-tagline {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Safe auto-fill grids: min() prevents a column's minimum from
   ever exceeding the viewport, which is the #1 cause of x-scroll
   on auto-fill layouts. */
.properties-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.why-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.exp-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
}
/* Covers about.html + management-support.html owner-cta-grid */
.owner-cta-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

/* ══════════════════════════════════════════════════════════
   ≤ 768 px  — tablets & phones
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Navbar ── */
  .desktop-nav  { display: none; }
  .nav-controls { gap: 0.4rem; }
  .nav-logo img { height: 44px !important; }

  /* ── Stats bar: override any inline repeat(N,1fr) ── */
  .stats-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* ── Hero ── */
  .hero-content { padding: 0 1rem; max-width: 100%; }
  .hero-tagline { font-size: 0.62rem; letter-spacing: 0.06em; }
  .hero-ctas    { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-outline  { padding: 0.75rem 1.25rem; font-size: 0.72rem; }

  /* ── About (index.html) ── */
  #about::before { display: none; }   /* kill 500px decorative blob */
  .about-grid    { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-image-wrap img { height: auto; }

  /* ── Properties (index.html) ── */
  .properties-grid     { grid-template-columns: 1fr !important; }
  .property-type-badge { white-space: normal; line-height: 1.4; max-width: calc(100% - 1.5rem); }
  .hh-badge            { white-space: normal; }

  /* ── Experience / Why / Owners (index.html) ── */
  .exp-grid { grid-template-columns: 1fr !important; }
  .why-grid { grid-template-columns: 1fr !important; }

  /* ── Contact (index.html) ── */
  .contact-grid   { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .locations-grid { grid-template-columns: 1fr !important; }

  /* ── Section padding — index.html ── */
  #about, #experience, #properties,
  #why, #owners, #contact { padding: 4rem 1rem; }

  /* ── Section padding — subpages ── */
  .subpage-hero  { padding: 6.5rem 1rem 2rem; }
  .faq-section   { padding: 0 1rem 4rem; }
  #footer        { padding: 3rem 1rem 1.5rem; }

  /* ── Subpage panels (about / faq / management) ── */
  .subpage-panel { padding: 1.25rem !important; }
  .subpage-grid  { grid-template-columns: 1fr !important; }
  .faq-layout    { grid-template-columns: 1fr !important; }
  .faq-sidebar   { position: static; }

  /* ── about.html hero card ── */
  .about-hero-card   { padding: 1.25rem !important; }
  .about-hero-body   { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .about-image-panel { min-height: auto !important; aspect-ratio: 16 / 9; }

  /* ── about.html: commercial section — kill left:-120px blob ── */
  #commercial-spotlight { overflow: hidden; }
  #commercial-spotlight::before { display: none; }
  .commercial-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* ── about.html: owner CTA — kill card ::before blobs ── */
  .owner-cta-grid         { grid-template-columns: 1fr !important; }
  .owner-cta-card::before { display: none; }
  #owner-cta              { padding: 3.5rem 1rem; }

  /* ── about.html: stakeholder snapshot ── */
  #snapshot             { padding: 3.5rem 1rem; }
  .snapshot-card        { padding: 1.5rem 1rem !important; }
  .snapshot-top         { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .snapshot-contact-block { text-align: left; }
  .snapshot-body        { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  .snapshot-footer      { flex-direction: column; gap: 0.75rem; }

  /* ── about.html: our-properties section ── */
  #our-properties { padding: 3.5rem 1rem; overflow: hidden; }

  /* ── management-support.html ── */
  .management-hero  { padding: 8rem 1rem 3rem !important; }
  .process-strip    { padding: 3rem 1rem; }
  .process-grid     { grid-template-columns: 1fr !important; }

  /* ── Footer ── */
  .footer-grid   { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ══════════════════════════════════════════════════════════
   ≤ 480 px  — small phones
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Stats: 2 columns */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr !important; }

  /* Hero tagline: even tighter at very small sizes */
  .hero-tagline { font-size: 0.55rem; letter-spacing: 0.03em; }

  /* Snapshot: minimal padding */
  .snapshot-card { padding: 1rem 0.75rem !important; }

  /* Buttons: stack vertically and go full width */
  .subpage-actions,
  .owner-cta-actions { flex-direction: column; }
  .owner-cta-actions .btn-primary,
  .owner-cta-actions .btn-outline { width: 100%; justify-content: center; }

  /* faq.html CTA grid (has its own 640px breakpoint in <style>) */
  .faq-cta-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   SOLD PROPERTY CARDS
   ══════════════════════════════════════════════════════════ */
.property-card.sold {
  position: relative;
  opacity: 0.82;
}
.property-card.sold .property-img {
  position: relative;
}
.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.sold-badge {
  background: #dc2626;
  color: #fff;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.35rem 1.1rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  box-shadow: 0 2px 16px rgba(220,38,38,0.45);
  transform: rotate(-3deg);
  border: 2px solid rgba(255,255,255,0.25);
}
.sold-sub {
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body, 'Raleway', sans-serif);
}
.property-card.sold .property-content {
  position: relative;
}
.property-card.sold .prop-sold-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.35);
  color: #fca5a5;
  cursor: default;
  font-family: var(--font-body, 'Raleway', sans-serif);
}

/* ══════════════════════════════════════════════════════════
   ≥ 769 px  — desktop: hide mobile-only elements
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .hamburger   { display: none !important; }
  #mobile-menu { display: none !important; }
}
