/* ============================================
   Cordillera Ranch HOA — Brown/Tan Theme
   M365 / SharePoint Integration Edition
   ============================================ */

:root {
  --brown-50: #fdf8f6;
  --brown-100: #f2e8e5;
  --brown-200: #eaddd7;
  --brown-300: #c4a882;
  --brown-400: #a67c5b;
  --brown-500: #8b5e3c;
  --brown-600: #6b3a3a;
  --brown-700: #5c2e2e;
  --brown-800: #4a2323;
  --brown-900: #3b1a1a;
  --tan-300: #d4b896;
  --tan-400: #c4a882;
  --tan-500: #b8956a;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;

  --color-primary: var(--brown-700);
  --color-primary-light: var(--brown-600);
  --color-primary-dark: var(--brown-800);
  --color-primary-darker: var(--brown-900);
  --color-accent: var(--tan-400);
  --color-accent-light: var(--tan-300);
  --color-accent-dark: var(--tan-500);
  --color-bg: var(--stone-100);
  --color-card: #ffffff;
  --color-text: var(--stone-700);
  --color-text-light: var(--stone-500);
  --color-text-muted: var(--stone-400);
  --color-border: var(--stone-200);
  --color-success: #16a34a;
  --color-info: #2563eb;
  --color-warning: #d97706;
  --color-danger: #dc2626;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;

  --font-heading: Georgia, 'Times New Roman', Times, serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: 0.2s ease;
  --max-width: 1200px;
  --nav-height: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body); color: var(--color-text);
  background: var(--color-bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown-500); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--brown-800); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.75rem,4vw,2.75rem); }
h2 { font-size: clamp(1.4rem,3.5vw,2rem); }
h3 { font-size: clamp(1.15rem,2.5vw,1.5rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }

/* Utility */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.15s; }
.fade-in-delay-3 { transition-delay: 0.2s; }
.fade-in-delay-4 { transition-delay: 0.25s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1.5;
}
.btn-primary { background: var(--brown-700); color: #fff; }
.btn-primary:hover { background: var(--brown-800); color: #fff; }
.btn-secondary { background: var(--tan-400); color: var(--brown-900); }
.btn-secondary:hover { background: var(--tan-500); color: var(--brown-900); }
.btn-outline { background: transparent; color: var(--brown-700); border: 2px solid var(--brown-700); }
.btn-outline:hover { background: var(--brown-700); color: #fff; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.625rem 1.5rem; font-size: 0.95rem; }

/* Navigation */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--brown-800); border-bottom: 2px solid var(--brown-700);
  height: var(--nav-height);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.nav-brand-icon {
  width: 38px; height: 38px; background: var(--brown-700); border: 2px solid var(--tan-400);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: var(--tan-300); font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
}
.nav-brand-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.2; }
.nav-brand-text small { display: block; font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; color: var(--stone-400); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 0.125rem; }
.nav-links a {
  padding: 0.4rem 0.75rem; font-size: 0.85rem; font-weight: 500;
  color: var(--stone-300); border-radius: var(--radius-sm);
  transition: all var(--transition); border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #fff; border-bottom-color: var(--tan-400); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero { position: relative; padding: 5rem 0 3.5rem; overflow: hidden; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,var(--brown-900),var(--brown-800) 50%,var(--brown-700)); z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 0.5rem; }
.hero p { font-size: clamp(0.95rem,2vw,1.15rem); opacity: 0.85; max-width: 550px; }
.hero-home { padding: 0; min-height: 400px; display: flex; align-items: flex-end; }
.hero-home::before { display: none; }
.hero-home-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-image: url('../images/hero-entrance.png'); }
.hero-home-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top,rgba(0,0,0,0.65),rgba(0,0,0,0.2) 50%,transparent); }
.hero-home .container { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 3rem; }
.hero-home h1 { font-size: clamp(2rem,5vw,3rem); text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-home .hero-subtitle { font-size: 1.1rem; color: var(--tan-300); font-family: var(--font-heading); font-weight: 400; margin-bottom: 0.5rem; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.hero-sub { padding: 4rem 0 3rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--brown-50); }
.section-divider { height: 1px; background: linear-gradient(90deg,transparent,var(--stone-300),transparent); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--color-text-light); font-size: 1rem; max-width: 550px; margin: 0 auto; }
.section-header .accent-line { display: block; width: 40px; height: 3px; background: var(--tan-400); margin: 0.75rem auto 0; border-radius: 2px; }

/* Cards */
.card { background: var(--color-card); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-md); transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); }
.card-accent { border-left: 4px solid var(--brown-700); }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 0.75rem; flex-shrink: 0; }
.card-icon-brown { background: var(--brown-100); color: var(--brown-700); }
.card-icon-tan { background: rgba(196,168,130,0.15); color: var(--tan-500); }
.card-icon-blue { background: rgba(37,99,235,0.08); color: var(--color-info); }
.card-icon-red { background: rgba(220,38,38,0.08); color: var(--color-danger); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

/* ── Setup Card (M365 integration instructions) ── */
.setup-card {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.setup-card-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.setup-card-header .icon { font-size: 1.25rem; }
.setup-card-header h4 {
  font-size: 0.9rem; font-family: var(--font-body); font-weight: 700;
  color: #92400e; text-transform: uppercase; letter-spacing: 0.5px; margin: 0;
}
.setup-card p { font-size: 0.85rem; color: #78350f; margin-bottom: 0.5rem; }
.setup-card ol {
  padding-left: 1.5rem; margin: 0.5rem 0;
}
.setup-card ol li {
  font-size: 0.85rem; color: #78350f; padding: 0.2rem 0;
  list-style: decimal;
}
.setup-card code {
  background: rgba(245,158,11,0.12); padding: 0.1rem 0.35rem;
  border-radius: 3px; font-size: 0.8rem; color: #92400e;
}
.setup-card .setup-note {
  font-size: 0.8rem; color: #a16207; font-style: italic; margin-top: 0.5rem;
}
/* Hide setup cards once configured — add class="setup-card hidden" */
.setup-card.hidden { display: none; }

/* Quick Info Cards */
.quick-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: -2rem; position: relative; z-index: 10; }
.quick-info .card { text-align: center; border-top: 3px solid var(--tan-400); }
.quick-info .card-icon { margin: 0 auto 0.75rem; }
.quick-info .card-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); margin-bottom: 0.25rem; font-weight: 600; }
.quick-info .card-value { font-family: var(--font-heading); font-size: 1.05rem; color: var(--brown-800); font-weight: 700; }
.quick-info .card-detail { font-size: 0.8rem; color: var(--color-text-light); margin-top: 0.25rem; }

/* Info list */
.info-list { display: flex; flex-direction: column; }
.info-list-item { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--stone-200); font-size: 0.9rem; }
.info-list-item:last-child { border-bottom: none; }
.info-list-label { font-weight: 600; color: var(--brown-700); min-width: 130px; flex-shrink: 0; }

/* Announcements */
.announcement { display: flex; gap: 1rem; padding: 1.25rem; border-left: 4px solid var(--brown-700); }
.announcement-date { flex-shrink: 0; text-align: center; padding: 0.4rem 0.6rem; background: var(--brown-50); border-radius: var(--radius-sm); line-height: 1.2; }
.announcement-date .month { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brown-700); font-weight: 700; }
.announcement-date .day { display: block; font-size: 1.3rem; font-weight: 700; color: var(--brown-800); font-family: var(--font-heading); }
.announcement-content h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.announcement-content p { font-size: 0.85rem; color: var(--color-text-light); }
.announcement-tag { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 1rem; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.35rem; background: var(--stone-100); color: var(--stone-600); }

/* Quick Links */
.quick-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.quick-link-card { text-align: center; padding: 1.5rem 1rem; text-decoration: none; color: var(--color-text); }
.quick-link-card:hover { color: var(--brown-700); }
.quick-link-card .icon { font-size: 1.75rem; margin-bottom: 0.5rem; display: block; }
.quick-link-card span:last-child { font-weight: 600; font-size: 0.85rem; }

/* Board Members */
.board-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.board-card { text-align: center; padding: 1.75rem 1.25rem; }
.board-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); color: #fff; background: linear-gradient(135deg,var(--brown-700),var(--brown-600)); }
.board-card h4 { margin-bottom: 0.1rem; }
.board-card .board-title { font-size: 0.8rem; color: var(--tan-500); font-weight: 600; margin-bottom: 0.35rem; }
.board-card .board-email { font-size: 0.75rem; color: var(--color-text-muted); word-break: break-all; }

/* Amenities */
.amenities-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.amenity-card { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.25rem; }
.amenity-card .icon { font-size: 1.25rem; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--brown-100); border-radius: var(--radius-sm); }
.amenity-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.amenity-card p { font-size: 0.85rem; color: var(--color-text-light); }

/* Builders */
.builder-card { display: flex; gap: 1rem; padding: 1.5rem; border-left: 4px solid var(--brown-700); }
.builder-card.inactive { border-left-color: var(--stone-300); opacity: 0.75; }
.builder-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--brown-100); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--brown-700); }
.builder-card h4 { margin-bottom: 0.15rem; font-size: 1rem; }
.builder-type { font-size: 0.75rem; font-weight: 600; color: var(--tan-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.35rem; }
.builder-card p { font-size: 0.85rem; color: var(--color-text-light); }
.builder-contact { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.35rem; }
.builder-contact a { color: var(--brown-600); }

/* Timeline */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--stone-300); }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -1.75rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--tan-400); border: 2px solid var(--color-bg); transform: translateX(-4px); }
.timeline-year { font-family: var(--font-heading); font-weight: 700; color: var(--brown-700); margin-bottom: 0.2rem; }
.timeline-item p { color: var(--color-text-light); font-size: 0.9rem; }

/* ── Iframe Embed Container ── */
.embed-container {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.embed-container iframe {
  width: 100%;
  border: none;
  display: block;
}
.embed-fallback {
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; color: var(--color-text-muted);
  font-size: 0.9rem; text-align: center; padding: 2rem;
  background: var(--stone-50);
}
.embed-note {
  text-align: center; margin-top: 1rem;
  font-size: 0.8rem; color: var(--color-text-muted);
}

/* Calendar event dots (kept for static fallback) */
.event-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 2px; }
.event-dot-meeting { background: var(--brown-700); }
.event-dot-social { background: var(--tan-400); }
.event-dot-community { background: var(--color-success); }

/* Upcoming events (static fallback list) */
.events-list { display: flex; flex-direction: column; gap: 0.75rem; }
.event-list-item { display: flex; gap: 1rem; padding: 1.25rem; align-items: flex-start; }
.event-list-date { flex-shrink: 0; text-align: center; min-width: 50px; }
.event-list-date .label { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brown-700); font-weight: 700; }
.event-list-date .value { display: block; font-size: 0.9rem; font-weight: 700; color: var(--brown-800); font-family: var(--font-heading); }
.event-list-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.event-list-info .event-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.25rem; }
.event-list-info p { font-size: 0.85rem; color: var(--color-text-light); }

/* Documents */
.doc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.doc-card { display: flex; gap: 1rem; padding: 1.25rem; align-items: flex-start; }
.doc-card .doc-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.doc-card h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.doc-card p { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 0.5rem; }

/* CC&Rs */
.ccr-section { margin-bottom: 1.5rem; }
.ccr-section h4 { font-size: 0.95rem; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--tan-400); color: var(--brown-800); }
.ccr-list { padding-left: 1.25rem; }
.ccr-list li { position: relative; padding: 0.3rem 0; font-size: 0.85rem; color: var(--color-text-light); list-style: none; padding-left: 1rem; }
.ccr-list li::before { content: '\2022'; position: absolute; left: 0; color: var(--tan-400); font-weight: 700; }

.info-banner {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.25rem;
  background: var(--brown-50); border: 1px solid var(--brown-200);
  border-radius: var(--radius-md); margin-bottom: 1.5rem;
}
.info-banner .icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-banner h4 { margin-bottom: 0.2rem; color: var(--brown-700); font-size: 0.95rem; }
.info-banner p { font-size: 0.85rem; color: var(--color-text-light); }

/* Contact (sidebar cards, form embed) */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Emergency */
.emergency-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.emergency-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; }
.emergency-card .icon { font-size: 1.25rem; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(220,38,38,0.06); border-radius: var(--radius-sm); }
.emergency-card h4 { font-size: 0.85rem; margin-bottom: 0.1rem; }
.emergency-card .phone { font-size: 0.95rem; font-weight: 700; color: var(--brown-700); }
.emergency-card p { font-size: 0.75rem; color: var(--color-text-muted); }

/* FAQ */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--color-text); transition: color var(--transition); gap: 0.75rem; }
.faq-question:hover { color: var(--brown-700); }
.faq-question .faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--stone-100); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: transform var(--transition), background var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brown-700); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1rem; }
.faq-answer p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.65; }

/* Footer */
.footer { background: var(--brown-900); color: var(--stone-400); padding: 2.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 700; }
.footer-about p { font-size: 0.85rem; line-height: 1.6; }
.footer-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem; padding: 0.35rem 0.75rem; background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--stone-500); }
.footer-links a { display: block; color: var(--stone-400); padding: 0.2rem 0; font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--tan-300); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 0.35rem; }
.footer-contact a { color: var(--tan-300); }
.footer-contact a:hover { color: var(--tan-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--stone-500); }
.footer-social a { color: var(--stone-400); font-size: 0.85rem; transition: color var(--transition); }
.footer-social a:hover { color: var(--tan-300); }

/* Responsive */
@media (max-width:1024px) {
  .quick-links { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px) {
  :root { --nav-height: 56px; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--brown-800); flex-direction: column; align-items: stretch; padding: 4.5rem 1.25rem 1.5rem; box-shadow: var(--shadow-xl); transition: right var(--transition); gap: 0; }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 0.75rem; font-size: 0.95rem; border-bottom: none; }
  .nav-links a.active { background: rgba(255,255,255,0.08); }
  .mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; opacity: 0; visibility: hidden; transition: all var(--transition); }
  .mobile-overlay.active { opacity: 1; visibility: visible; }
  .hero-home .container { padding-top: 4rem; padding-bottom: 2rem; }
  .hero-sub { padding: 3rem 0 2rem; }
  .quick-info { grid-template-columns: 1fr; margin-top: -1.5rem; }
  .grid-2,.grid-3,.doc-grid { grid-template-columns: 1fr; }
  .amenities-grid,.contact-grid,.emergency-grid,.board-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 2.5rem 0; }
  .info-list-label { min-width: 100px; }
}
@media (max-width:480px) { .quick-links { grid-template-columns: 1fr; } }

@media print {
  .navbar,.footer,.hero,.btn,.info-banner,.setup-card,.embed-container { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .doc-grid { grid-template-columns: 1fr; }
  .section { padding: 0.75rem 0; }
}
