@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&display=swap');

/* ============================================================================
   AIG REDESIGN
   Visual language follows the CPM floor plan theme (white surfaces, 12px cards,
   pill filters, orange rule under the header) using UF blue + orange.
   ============================================================================ */

/* ===== TOKENS ===== */
:root {
  --paper:       #FFFFFF;   /* page background: plain white, no cream */
  --paper-deep:  #F4F5F7;   /* neutral cool grey for alternate bands / placeholders */
  --surface:     #FFFFFF;
  --ink:         #1A1A1A;
  --ink-soft:    #4A4A4A;
  --ink-quiet:   #6B6B6B;
  --rule:        #E3E5E9;
  --rule-strong: #CDD1D8;

  --blue:        #0021A5;   /* UF blue */
  --blue-deep:   #001A80;
  --blue-night:  #0A1A4F;
  --blue-tint:   #E9EDF9;

  --accent:      #D2400E;   /* deep UF-style orange (white text 4.7:1) */
  --accent-deep: #A9330B;
  --accent-tint: #FBEAE3;

  --gold:        #FFF3EE;   /* legacy token: specials now use a light orange wash */
  --green:       #2E7D4F;

  --sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", var(--sans);
  --serif:   var(--display); /* legacy token used inline by older templates */

  --radius-sm: 6px;
  --radius:    12px;
  --shadow:    0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 28px rgba(0,0,0,.10);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
}

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; top: -100px; left: var(--gutter); padding: 12px 20px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; border-radius: var(--radius-sm); z-index: 9999; transition: top 150ms; white-space: nowrap; }
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; color: #fff; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Headline accents: older templates wrap a word in <em>. Keep it upright and in
   the heading color so the redesign doesn't lean on italic accent words. */
h1 em, h2 em, h3 em, .page-hero__title em, .aig-section__title em, .c-section-title em,
.entry__title em, .editorial__title em, .cta-strip__text em, .contact-card__title em,
.header-brand em, .footer-brand em, .mobile-nav a em { font-style: normal; color: inherit; }

/* ===== LAYOUT ===== */
.aig-container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); display: inline-block; position: relative; padding-bottom: 10px; }
.eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 2000; background: var(--surface); border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; height: 72px; gap: var(--s6); padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.header-brand { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--blue); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-brand:hover { color: var(--blue-deep); }
.header-brand__mark { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 5px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.02em; box-shadow: inset 0 -3px 0 var(--accent); }
.header-nav { display: flex; align-items: center; gap: 2px; margin-left: var(--s4); }
.header-nav > a, .nav-drop__btn { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #333; padding: 10px 14px; border-radius: var(--radius-sm); transition: color 150ms, background 150ms; }
.header-nav > a:hover, .nav-drop__btn:hover, .nav-drop.open .nav-drop__btn { background: var(--accent-tint); color: var(--accent-deep); }
.header-nav > a.active { color: var(--blue); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 11px 18px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); white-space: nowrap; transition: background 150ms, transform 150ms; }
.header-cta:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--blue); border-radius: 1px; transition: all 250ms; }
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .header-cta { display: none; }
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--surface); z-index: 2500; flex-direction: column; padding: var(--s8) var(--gutter) var(--s6); overflow-y: auto; border-top: 4px solid var(--accent); }
.mobile-nav.open { display: flex; }
.mobile-nav > a { font-family: var(--display); font-size: 24px; font-weight: 700; padding: var(--s4) 0; border-bottom: 1px solid var(--rule); color: var(--blue); }
.mobile-nav__close { position: absolute; top: 18px; right: var(--gutter); font-size: 26px; line-height: 1; color: var(--ink); }

/* ===== DROPDOWN NAV ===== */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop__btn { display: flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.nav-drop__caret { font-size: 7px; display: inline-block; transition: transform 150ms; line-height: 1; }
.nav-drop.open .nav-drop__caret { transform: rotate(180deg); }
.nav-drop__menu { position: absolute; top: calc(100% + 10px); left: 0; transform: translateY(-6px); background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px 0; opacity: 0; pointer-events: none; transition: opacity 130ms, transform 130ms; z-index: 500; }
.nav-drop.open .nav-drop__menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-drop__menu a { display: block; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: background 80ms, color 80ms; border: none !important; }
.nav-drop__menu a:hover { background: var(--accent-tint); color: var(--accent-deep); }
.nav-drop__divider { height: 1px; background: var(--rule); margin: 4px 0; }

/* ===== MOBILE NAV ACCORDION ===== */
.mob-acc { border-bottom: 1px solid var(--rule); }
.mob-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--blue); padding: var(--s4) 0; text-align: left; cursor: pointer; }
.mob-acc__caret { font-size: 12px; transition: transform 200ms; flex-shrink: 0; margin-left: var(--s3); color: var(--accent); }
.mob-acc.open .mob-acc__caret { transform: rotate(180deg); }
.mob-acc__body { display: none; padding: 0 0 var(--s4) var(--s4); border-left: 2px solid var(--accent); margin-bottom: var(--s4); }
.mob-acc.open .mob-acc__body { display: block; }
.mob-acc__body a { display: block; font-size: 16px; font-weight: 500; color: var(--ink-soft); padding: var(--s2) 0; border: none !important; }
.mob-acc__body a:hover { color: var(--accent-deep); }
.mobile-nav > a.mobile-nav__cta { margin-top: var(--s6); justify-content: center; font-family: var(--sans); font-size: 16px; color: #fff; padding: 14px 22px; border-bottom: none; }

/* ===== LEAFLET MARKERS & POPUPS ===== */
.mkr { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.3); font-family: var(--sans); text-transform: uppercase; background: var(--blue); cursor: pointer; }
.mkr.student { background: var(--accent); }
.mkr.hi { transform: scale(1.35); z-index: 999 !important; }
.aig-popup { min-width: 200px; font-family: var(--sans); }
.aig-popup__img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; display: block; background: #eee; }
.aig-popup__name { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.aig-popup__addr { font-size: 11px; color: #666; margin-bottom: 6px; }
.aig-popup__price { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.aig-popup__link { display: inline-block; padding: 6px 12px; background: var(--accent); color: #fff !important; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; text-decoration: none; }

/* ===== MAP MOBILE TOGGLE ===== */
.map-view-toggle { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1500; background: var(--blue); color: #fff; border-radius: 999px; padding: 12px 26px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.25); white-space: nowrap; cursor: pointer; }
@media (max-width: 680px) {
  .map-view-toggle { display: block; }
  .map-sidebar { display: none; width: 100%; }
  .map-sidebar.mob-list { display: flex; position: fixed; top: 75px; left: 0; right: 0; bottom: 56px; width: 100%; z-index: 100; overflow: hidden; }
  #aigMap { height: 100%; }
  #aigMap.mob-hidden { display: none; }
}

/* ===== NEIGHBORHOOD PAGE ===== */
.nbhd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; margin-bottom: var(--s8); }
.nbhd-copy p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--s5); }
.nbhd-copy p:last-child { margin-bottom: 0; }
.nbhd-copy a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0,33,165,.3); text-underline-offset: 3px; transition: color 150ms, text-decoration-color 150ms; }
.nbhd-copy a:not(.btn):hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.nbhd-map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow); }
#nbhdMap { height: 420px; }
@media (max-width: 760px) {
  .nbhd-layout { grid-template-columns: 1fr; gap: var(--s6); }
  #nbhdMap { height: 260px; }
}

/* ===== CONTACT PAGE ===== */
.contact-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
@media (max-width: 760px) { .contact-page-layout { grid-template-columns: 1fr; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background 150ms, color 150ms, border-color 150ms, transform 150ms; gap: var(--s2); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--primary       { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--blue          { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--blue:hover    { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn--white         { background: #fff; border-color: #fff; color: var(--blue); }
.btn--white:hover   { background: var(--blue-tint); border-color: var(--blue-tint); color: var(--blue-deep); }
.btn--outline       { border-color: var(--rule-strong); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--outline-white       { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

/* ===== PILLS (shared) ===== */
.aig-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 8px 16px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; transition: all 150ms; }
.aig-pill:hover { border-color: var(--accent); color: var(--accent-deep); }
.aig-pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== HERO ===== */
.hero { position: relative; min-height: clamp(560px, 78vh, 760px); overflow: hidden; background: var(--blue-night); display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s ease; }
.hero__slide.active img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,22,96,.92) 0%, rgba(0,22,96,.78) 38%, rgba(0,22,96,.25) 72%, rgba(0,22,96,.10) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: var(--s8) var(--gutter) var(--s9); }
.hero__copy { max-width: 620px; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin-bottom: var(--s5); }
.hero__headline { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.025em; color: #fff; margin-bottom: var(--s4); }
.hero__sub { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 50ch; margin-bottom: var(--s6); }

.hero-search { background: var(--surface); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,10,50,.35); padding: var(--s5); max-width: 620px; display: grid; gap: var(--s4); }
.hero-search__row { display: grid; gap: var(--s2); }
.hero-search__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-quiet); }
.hero-search__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-search__split { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); }
.hero-search select { width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); padding: 12px 40px 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230021A5' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.hero-search select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.hero-search__foot { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: 14px; }
.hero-search__foot a { color: var(--blue); font-weight: 600; }
.hero-search__foot a:hover { color: var(--accent-deep); }

.hero__controls { position: absolute; z-index: 3; right: var(--gutter); bottom: var(--s5); display: flex; align-items: center; gap: var(--s4); }
.hero__caption { font-size: 13px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 999px; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__caption a { color: #fff; font-weight: 600; }
.hero__caption a:hover { color: #FFB59A; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.45); transition: background 200ms, width 200ms; cursor: pointer; }
.hero__dot.active { background: var(--accent); width: 22px; }
.hero__arrows { display: flex; gap: 6px; }
.hero__arrow { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.45) !important; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: rgba(0,0,0,.25); transition: background 150ms; }
.hero__arrow:hover { background: var(--accent); border-color: var(--accent) !important; }
@media (max-width: 760px) {
  .hero { min-height: 0; align-items: stretch; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(0,22,96,.80) 0%, rgba(0,22,96,.88) 100%); }
  .hero__content { padding: var(--s7) var(--gutter) 88px; }
  .hero-search { padding: var(--s4); }
  .hero-search__split { grid-template-columns: 1fr; }
  .hero__controls { left: var(--gutter); right: var(--gutter); justify-content: space-between; }
  .hero__caption { display: none; }
}

/* ===== STATS BAR ===== */
.stats-bar { background: var(--surface); border-bottom: 1px solid var(--rule); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; align-items: center; gap: var(--s3); padding: var(--s5) var(--s4); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) { .stat { border-bottom: none; } .stat:last-child { border-right: none; } }
@media (max-width: 859px) { .stat:nth-child(2n) { border-right: none; } .stat:nth-child(n+3) { border-bottom: none; } }
.stat__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.stat__num { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.stat__label { font-size: 13px; color: var(--ink-quiet); margin-top: 3px; line-height: 1.3; }
.stat { color: inherit; transition: background 150ms; }
.stat:hover { background: var(--accent-tint); color: inherit; }
.stat:hover .stat__icon { background: var(--accent); color: #fff; }
.stat:hover .stat__label { color: var(--accent-deep); }
.stat__icon { transition: background 150ms, color 150ms; }

/* ===== WAYS TO SEARCH ===== */
.ways { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.way { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); transition: transform 150ms, box-shadow 150ms, border-color 150ms; }
.way:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(210,64,14,.4); }
.way__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: var(--s2); }
.way--orange .way__icon { background: var(--accent); }
.way__title { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.way__desc { font-size: 15px; color: var(--ink-soft); flex: 1; }
.way__link { font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s2); }
.way__link .fa { transition: transform 150ms; }
.way:hover .way__link { color: var(--accent-deep); }
.way:hover .way__link .fa { transform: translateX(4px); }

/* ===== ENTRY POINTS (legacy home markup) ===== */
.entries { background: var(--paper); padding: var(--s7) var(--gutter); }
.entries__grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); max-width: var(--container); margin: 0 auto; }
@media (min-width: 700px) { .entries__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.entry { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); cursor: pointer; transition: transform 150ms, box-shadow 150ms, border-color 150ms; }
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(210,64,14,.4); }
.entry__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.entry__title { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.entry__desc { font-size: 15px; color: var(--ink-soft); flex: 1; }
.entry__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.entry__pill { font-size: 13px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink); transition: all 140ms; }
.entry__pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.entry__cta { font-size: 14px; font-weight: 700; color: var(--blue); margin-top: var(--s2); display: inline-flex; align-items: center; gap: var(--s2); }
.entry__cta-arrow { transition: transform 200ms; display: inline-block; }
.entry:hover .entry__cta-arrow { transform: translateX(4px); }

/* ===== SECTION ===== */
.aig-section { padding: clamp(56px, 7vw, 96px) 0; }
.aig-section--white { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.aig-section--deep { background: var(--paper); }
.aig-section__head { margin-bottom: var(--s7); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: flex-end; justify-content: space-between; }
.aig-section__head > div { max-width: 640px; }
.aig-section__title { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-top: var(--s4); }
.aig-section__intro { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 56ch; margin-top: var(--s3); }
.aig-section__link { font-size: 15px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.aig-section__link:hover { color: var(--accent-deep); }

/* ===== COMMUNITY CARDS ===== */
.aig-cards { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 640px)  { .aig-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aig-cards { grid-template-columns: repeat(3, 1fr); } }
.aig-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; color: inherit; cursor: pointer; transition: transform 150ms, box-shadow 150ms, border-color 150ms; }
.aig-card:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(210,64,14,.4); }
.aig-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-deep); margin-bottom: var(--s4); }
.aig-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.aig-card:hover .aig-card__media img { transform: scale(1.04); }
.aig-card__badges { position: absolute; top: var(--s3); left: var(--s3); right: var(--s3); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.aig-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; line-height: 1.2; }
.aig-badge--accent { background: var(--accent); color: #fff; }
.aig-badge--ink    { background: var(--blue);   color: #fff; }
.aig-badge--gold   { background: #fff; color: var(--accent-deep); box-shadow: inset 3px 0 0 var(--accent); text-transform: none; letter-spacing: 0; font-size: 12px; max-width: 220px; }
.aig-card__neighborhood, .aig-card__name, .aig-card__blurb, .aig-card__specs { padding-left: var(--s5); padding-right: var(--s5); }
.aig-card__neighborhood { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.aig-card__neighborhood .fa { color: var(--accent); }
.aig-card__name  { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin-bottom: var(--s2); }
.aig-card__blurb { font-size: 14px; line-height: 1.5; color: var(--ink-soft); flex: 1; margin-bottom: var(--s4); }
.aig-card__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-quiet); margin-bottom: var(--s4); flex: 1; align-content: flex-start; }
.aig-card__specs .fa { color: var(--accent); margin-right: 5px; }
.aig-card__meta  { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); padding: var(--s4) var(--s5) var(--s5); border-top: 1px solid var(--rule); margin-top: auto; }
.aig-card__price      { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.aig-card__price-from { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-quiet); display: block; margin-bottom: 3px; }
.aig-card__beds  { font-size: 13px; color: var(--ink-soft); text-align: right; }
.aig-card__go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; transition: background 150ms; }
.aig-card:hover .aig-card__go { background: var(--accent); }

/* ===== FILTER BAR ===== */
.aig-filter-bar { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); padding: var(--s4); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); align-items: center; }
.aig-chip { font-size: 14px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); color: var(--ink); transition: all 150ms; cursor: pointer; }
.aig-chip:hover  { border-color: var(--accent); color: var(--accent-deep); }
.aig-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.aig-filter-count { margin-left: auto; font-size: 14px; color: var(--ink-quiet); }

/* ===== NEIGHBORHOOD BAND (home) ===== */
.nbhd-band { background: var(--blue); color: #fff; padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.nbhd-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.nbhd-band__inner { display: grid; grid-template-columns: 1fr; gap: var(--s7); }
@media (min-width: 960px) { .nbhd-band__inner { grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: start; } }
.nbhd-band .eyebrow { color: #FFB59A; }
.nbhd-band__title { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: var(--s4) 0 var(--s5); }
.nbhd-band__body { display: grid; gap: var(--s4); font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.86); max-width: 52ch; }
.nbhd-band__body + .btn { margin-top: var(--s6); }
.nbhd-tiles { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 560px) { .nbhd-tiles { grid-template-columns: 1fr 1fr; } }
.nbhd-tile { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-left: 4px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); color: #fff; transition: background 150ms, border-color 150ms; }
.nbhd-tile:hover { background: rgba(255,255,255,.14); border-left-color: var(--accent); color: #fff; }
.nbhd-tile__name { font-family: var(--display); font-size: 18px; font-weight: 700; display: block; }
.nbhd-tile__meta { font-size: 13px; color: rgba(255,255,255,.72); display: block; margin-top: 2px; }
.nbhd-tile .fa { color: #FFB59A; transition: transform 150ms; }
.nbhd-tile:hover .fa { transform: translateX(4px); color: #fff; }

/* ===== EDITORIAL (legacy home markup) ===== */
.editorial { background: var(--blue); color: #fff; padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.editorial__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--s7); }
@media (min-width: 900px) { .editorial__inner { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; } }
.editorial .eyebrow { color: #FFB59A; }
.editorial__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: var(--s4) 0 var(--s5); }
.editorial__body { display: flex; flex-direction: column; gap: var(--s4); font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.86); max-width: 54ch; }
.editorial__list { display: grid; gap: var(--s3); }
.editorial__list li a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); color: inherit; transition: background 150ms; }
.editorial__list li a:hover { background: rgba(255,255,255,.14); }
.ed-num   { font-size: 13px; font-weight: 700; color: #FFB59A; }
.ed-title { font-family: var(--display); font-size: 18px; font-weight: 700; color: #fff; }
.ed-meta  { font-size: 13px; color: rgba(255,255,255,.72); }

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--accent); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); }
.cta-strip__text { font-family: var(--display); font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; max-width: 30ch; }
.cta-strip__sub { font-size: 16px; color: rgba(255,255,255,.9); margin-top: var(--s2); }
.cta-btns { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ===== FOOTER ===== */
.site-footer { background: var(--blue-night); color: rgba(255,255,255,.8); padding: var(--s8) 0 var(--s5); border-top: 4px solid var(--accent); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: var(--s5); }
@media (min-width: 700px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s7); } }
.footer-brand { font-family: var(--display); font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.65); margin-top: var(--s2); max-width: 32ch; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); font-size: 14px; font-weight: 600; color: #fff; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; transition: background 150ms, border-color 150ms; }
.footer-social:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.footer-social .fa { font-size: 16px; }
.footer-col-title { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: 0; color: #FFB59A; margin-bottom: var(--s4); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: var(--s3); }

/* ===== PAGE HERO (bedroom / neighborhood / student / contact pages) ===== */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); background: var(--surface); border-bottom: 1px solid var(--rule); }
.page-hero__eyebrow { margin-bottom: var(--s4); }
.page-hero__title { font-family: var(--display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; color: var(--ink); margin-bottom: var(--s4); }
.page-hero__sub { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.bed-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); padding: var(--s4); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.bed-tab { font-size: 14px; font-weight: 600; padding: 8px 18px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); color: var(--ink); transition: all 150ms; cursor: pointer; }
.bed-tab:hover { border-color: var(--accent); color: var(--accent-deep); }
.bed-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.aig-no-results { font-size: 16px; color: var(--ink-quiet); text-align: center; padding: var(--s8) var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: none; }

/* ===== COMMUNITY PAGE ===== */
.c-hero { position: relative; height: clamp(380px, 55vh, 640px); overflow: hidden; background: var(--blue-night); }
.c-slides { position: absolute; inset: 0; }
.c-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.c-slide.active { opacity: 1; }
.c-slide img { width: 100%; height: 100%; object-fit: cover; }
.c-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,22,96,0) 40%, rgba(0,22,96,.75) 100%); }
.c-hero__bar { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s5) var(--gutter); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.c-hero__name { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.c-hero__nbhd { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FFB59A; margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.c-slide-controls { display: none; }
.c-slide-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.45); border: none; cursor: pointer; transition: background 180ms, width 180ms; }
.c-slide-dot.active { background: var(--accent); width: 20px; }
.c-slide-arrows { display: flex; gap: 6px; }
.c-slide-arrow { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.45); color: #fff; border-radius: var(--radius-sm); font-size: 14px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); transition: background 140ms; cursor: pointer; }
.c-slide-arrow:hover { background: var(--accent); border-color: var(--accent); }

@media (max-width: 799px) {
  .c-hero { height: 75vw; max-height: 420px; }
}

/* Desktop: photo grid */
@media (min-width: 800px) {
  .c-hero { height: auto; overflow: visible; background: none; max-width: var(--container); margin: var(--s5) auto 0; padding: 0 var(--gutter); }
  .c-slides { position: static; display: grid; grid-template-columns: 3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 6px; overflow: hidden; border-radius: var(--radius); }
  .c-slide { position: static; opacity: 1 !important; transition: none; cursor: pointer; }
  .c-slide:first-child { grid-column: 1; grid-row: 1 / 3; }
  .c-slide:nth-child(n+6) { display: none !important; }
  .c-slide::after { display: none; }
  .c-hero__bar { position: static; padding: var(--s5) 0 0; background: none; }
  .c-hero__name { color: var(--ink); }
  .c-hero__nbhd { color: var(--blue); }
  .c-slide-controls, .c-slide-arrows { display: none !important; }
}

.c-breadcrumb { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-quiet); background: var(--surface); }
.c-breadcrumb a { color: var(--blue); }
.c-breadcrumb a:hover { color: var(--accent-deep); }
.c-breadcrumb span { margin: 0 6px; }

.c-layout { display: grid; grid-template-columns: 1fr; gap: var(--s7); padding: var(--s7) 0 var(--s9); }
@media (min-width: 960px) { .c-layout { grid-template-columns: 1fr 340px; align-items: start; } }
.c-main { min-width: 0; }
.c-sidebar { display: flex; flex-direction: column; gap: var(--s5); }

.c-badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.c-section { margin-bottom: var(--s7); padding: var(--s6); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.c-section-title { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 2px solid var(--accent); display: inline-block; }
.c-about { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 70ch; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s3); margin-top: var(--s4); }
.amenity-item { display: flex; align-items: flex-start; gap: var(--s2); font-size: 14px; color: var(--ink-soft); }
.amenity-item::before { content: '✓'; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

.fp-filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s4); }
@media (max-width: 600px) { .c-section { padding: var(--s5) var(--s4); } }
.fp-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: transform 150ms, box-shadow 150ms, border-color 150ms; display: flex; flex-direction: column; }
.fp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(210,64,14,.4); }
.fp-card[style*="display:none"] { display: none !important; }
.fp-img-wrap { aspect-ratio: 4/3; background: var(--paper); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; position: relative; }
.fp-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.fp-img-wrap::after { content: '⤢'; position: absolute; bottom: 8px; right: 10px; font-size: 14px; color: #fff; background: rgba(0,22,96,.6); border-radius: 4px; padding: 2px 7px; line-height: 1.4; pointer-events: none; opacity: 0; transition: opacity 150ms; }
.fp-img-wrap:hover::after { opacity: 1; }
.fp-img-placeholder ~ *::after, .fp-img-wrap:has(.fp-img-placeholder)::after { display: none; }

/* Floor plan lightbox */
.fp-lightbox { display: none; position: fixed; inset: 0; background: rgba(5,12,40,.92); z-index: 3000; align-items: center; justify-content: center; padding: var(--s6); cursor: zoom-out; }
.fp-lightbox.open { display: flex; }
.fp-lightbox__inner { position: relative; max-width: 860px; width: 100%; cursor: default; }
.fp-lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: none; color: rgba(255,255,255,.7); font-size: 34px; line-height: 1; cursor: pointer; transition: color 150ms; padding: 4px 8px; }
.fp-lightbox__close:hover { color: #fff; }
.fp-lightbox__img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); background: #fff; display: block; }
.fp-lightbox__caption { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.75); text-align: center; margin-top: var(--s3); }

/* Community photo gallery lightbox */
.gallery-lb { display: none; position: fixed; inset: 0; background: rgba(5,12,40,.95); z-index: 4000; align-items: center; justify-content: center; }
.gallery-lb.open { display: flex; }
.gallery-lb__img { max-width: 90vw; max-height: 88vh; object-fit: contain; display: block; border-radius: var(--radius-sm); }
.gallery-lb__close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,.75); font-size: 34px; line-height: 1; cursor: pointer; padding: 4px 10px; transition: color 120ms; }
.gallery-lb__close:hover { color: #fff; }
.gallery-lb__prev, .gallery-lb__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 18px; width: 46px; height: 46px; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 140ms; }
.gallery-lb__prev { left: 20px; }
.gallery-lb__next { right: 20px; }
.gallery-lb__prev:hover, .gallery-lb__next:hover { background: var(--accent); border-color: var(--accent); }
.gallery-lb__counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: 13px; letter-spacing: .04em; white-space: nowrap; }

/* Floorplan availability modal (matches CPM contact modal) */
#floorplanModal .modal-content { border-radius: var(--radius); border: none; font-family: var(--sans); background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; }
#floorplanModal .modal-body { padding: 0 var(--s6) var(--s6); }
#floorplanModal .modal-header { font-family: var(--display); font-size: 19px; font-weight: 700; color: #fff; background: var(--blue); padding: 18px var(--s6); margin: 0 calc(var(--s6) * -1) var(--s5); border: none; display: block; }
#floorplanModal .close { float: right; color: #fff; opacity: .8; text-shadow: none; font-size: 22px; line-height: 1.2; margin: -2px -4px 0 0; padding: 2px 8px; transition: opacity 150ms; }
#floorplanModal .close:hover { opacity: 1; color: #fff; }
#floorplanModal input[type="text"], #floorplanModal textarea { display: block; width: 100%; margin-bottom: var(--s3); padding: 11px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); font-family: var(--sans); font-size: 15px; color: var(--ink); background: #fff; transition: border-color 150ms, box-shadow 150ms; }
#floorplanModal input[type="text"]:focus, #floorplanModal textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(210,64,14,.15); }
#floorplanModal textarea { resize: vertical; min-height: 100px; }
/* Sit above the sticky header (z-index 2000); Bootstrap defaults are 1040/1050 */
.modal-backdrop { z-index: 2990 !important; }
.modal { z-index: 3000 !important; }
#floorplanModal input[type="text"], #floorplanModal textarea { font-size: 16px; } /* < 16px makes iOS zoom on focus */
@media (max-width: 600px) {
  #floorplanModal .modal-dialog { margin: 12px; }
  #floorplanModal .modal-content { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #floorplanModal .modal-body { padding: 0 var(--s4) var(--s4); }
  #floorplanModal .modal-header { font-size: 17px; padding: 14px var(--s4); margin: 0 calc(var(--s4) * -1) var(--s4); }
  #floorplanModal input[type="text"], #floorplanModal textarea { padding: 10px 12px; margin-bottom: var(--s2); }
  #floorplanModal textarea { min-height: 72px; }
  .modal-btn-row { margin-top: var(--s3); }
  .modal-btn-row .modal-btn { flex: 1; justify-content: center; }
}
.modal-btn-row { display: flex; align-items: center; gap: var(--s3); justify-content: flex-end; margin-top: var(--s5); }
.modal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-family: var(--sans); font-size: 14px; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; transition: background 150ms, color 150ms, border-color 150ms; text-decoration: none; border: 1px solid var(--rule-strong); color: var(--ink); background: #fff; }
.modal-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
div.modal-btn.submitFloorplanModal { background: var(--accent); color: #fff; border-color: var(--accent); }
div.modal-btn.submitFloorplanModal:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* Location card map */
.info-card__map { height: 170px; overflow: hidden; border-bottom: 1px solid var(--rule); }
.info-card__map iframe { display: block !important; width: 100% !important; height: 170px !important; border: none !important; }
.location-address { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--s2); }
.location-directions { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); margin-top: var(--s1); }
.location-directions:hover { color: var(--accent-deep); }
.fp-img-placeholder { font-size: 15px; font-weight: 600; color: var(--ink-quiet); text-align: center; padding: var(--s5); }
.fp-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; }
.fp-name { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: var(--s2); }
.fp-meta { display: flex; gap: var(--s3); font-size: 13px; color: var(--ink-quiet); margin-bottom: var(--s3); flex-wrap: wrap; }
.fp-price { font-family: var(--display); font-size: 20px; font-weight: 800; margin: auto 0 var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.fp-cta { display: block; text-align: center; padding: 10px; background: var(--accent); color: #fff !important; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: background 150ms; cursor: pointer; }
.fp-cta:hover { background: var(--accent-deep); }

.contact-card { background: var(--blue); color: #fff; padding: var(--s6); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); }
.contact-card__title { font-family: var(--display); font-size: 21px; font-weight: 800; margin-bottom: var(--s4); }
.contact-card-confirm { font-size: 15px; text-align: center; padding: var(--s5) 0; display: none; }
.c-contact-form input, .c-contact-form textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; background: #fff; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--ink); margin-bottom: var(--s3); outline: none; transition: box-shadow 150ms; box-sizing: border-box; }
.c-contact-form input::placeholder, .c-contact-form textarea::placeholder { color: #8a8a8a; }
.c-contact-form input:focus, .c-contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(210,64,14,.55); }
.c-contact-form textarea { resize: vertical; min-height: 90px; }
.c-contact-errors { font-size: 13px; color: #FFD2C2; margin-bottom: var(--s3); }
.contact-submit-btn { width: 100%; padding: 13px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; transition: background 150ms; text-align: center; cursor: pointer; display: block; }
.contact-submit-btn:hover { background: var(--accent-deep); color: #fff; }
.contact-extra { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.contact-extra a { font-size: 14px; color: rgba(255,255,255,.85); }
.contact-extra a:hover { color: #fff; text-decoration: underline; }

.info-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.info-card__head { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); box-shadow: inset 4px 0 0 var(--accent); }
.info-card__body { padding: var(--s5); }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.hours-row:last-child { border: none; }
.hours-day { font-weight: 600; color: var(--ink); min-width: 110px; }
.hours-time { color: var(--ink-soft); }
.info-card .embed-container { margin: 0; }
.info-card .embed-container iframe { display: block; width: 100%; }

/* Specials: CPM-style callout (white, orange left rule) */
.specials-banner { background: #fff; border: 1px solid rgba(210,64,14,.3); border-left: 4px solid var(--accent); padding: var(--s4) var(--s5); border-radius: var(--radius-sm); margin-bottom: var(--s5); }
.specials-banner__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: var(--s2); }
.specials-banner__body { font-size: 15px; color: var(--ink-soft); margin-bottom: var(--s3); }
.specials-email-form { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); display: none; }
.specials-email-form input { width: 100%; padding: 10px 12px; margin-bottom: var(--s2); font: inherit; font-size: 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: #fff; box-sizing: border-box; }
.specials-submit-btn { display: inline-block; padding: 9px 20px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; }
.specials-submit-btn:hover { background: var(--accent-deep); }

.nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-bottom: var(--s5); }
.nearby-card { display: flex; flex-direction: column; gap: var(--s2); }
.nearby-card__img { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-deep); }
.nearby-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.nearby-card:hover .nearby-card__img img { transform: scale(1.05); }
.nearby-card__name { font-family: var(--display); font-size: 15px; font-weight: 700; }
.nearby-card:hover .nearby-card__name { color: var(--accent-deep); }
.nearby-card__meta { font-size: 13px; color: var(--ink-quiet); }
