/* ═══════════════════════════════════════════════════════
   Microtel Inn & Suites by Wyndham — Williston, ND
   extended-stay.css  |  EXTENDED STAY PAGE STYLES
═══════════════════════════════════════════════════════ */

/* Hero background */
.ext-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=2200&q=90');
}

/* ── PAGE LAYOUT — full-width, centered ── */
.ext-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 6vw;
}

/* Narrow sections (prose + grids) */
.ext-section { margin-bottom: 4rem; }
.ext-section:last-child { margin-bottom: 0; }
.ext-section--narrow { max-width: 960px; margin-left: auto; margin-right: auto; }
.ext-section p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.88; color: var(--ink-m); margin-bottom: 0.7rem;
}

/* ── FLOATING CTA PANEL ── */
.ext-fab-panel {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 600;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 16px 0 0 16px;
  box-shadow: -4px 0 32px rgba(14,30,42,0.10);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.ext-fab-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  gap: 3px; cursor: pointer;
  transition: background 0.2s;
  min-width: 96px;
}
.ext-fab-item:last-of-type { border-bottom: none; }
.ext-fab-item:hover { background: var(--teal-xpale); }
.ext-fab-item--primary { background: var(--teal); }
.ext-fab-item--primary:hover { background: var(--teal-l); }
.ext-fab-item--primary .ext-fab-icon svg { stroke: #fff; }
.ext-fab-item--primary .ext-fab-label { color: #fff; }
.ext-fab-item--primary .ext-fab-sub { color: rgba(255,255,255,0.7); }

.ext-fab-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.ext-fab-icon svg { width: 20px; height: 20px; stroke: var(--teal); }
.ext-fab-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
}
.ext-fab-sub {
  font-size: 0.54rem; font-weight: 300; color: var(--ink-l); text-align: center;
}
.ext-fab-info {
  padding: 0.8rem 0.9rem;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border);
}
.ext-fab-info-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding: 4px 0;
  font-size: 0.6rem;
}
.ext-fab-info-row span { color: var(--ink-l); font-weight: 300; white-space: nowrap; }
.ext-fab-info-row strong { color: var(--ink); font-weight: 500; text-align: right; }

/* ── RATE GRID ── */
.ext-rate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.8rem;
}
.ext-rate-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem; position: relative; transition: box-shadow 0.25s;
}
.ext-rate-card:hover { box-shadow: 0 8px 32px rgba(13,127,110,0.10); }
.ext-rate-card--mid { border-top: 3px solid var(--teal-l); }
.ext-rate-card--best { border: 2px solid var(--teal); }
.erc-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--teal); color: #fff; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.erc-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }
.erc-title {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem;
}
.erc-from {
  font-size: 0.8rem; color: var(--ink-m); margin-bottom: 0.8rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.erc-from strong { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.erc-from span { font-size: 0.68rem; color: var(--ink-l); margin-left: 2px; }
.erc-desc { font-size: 0.78rem; font-weight: 300; line-height: 1.65; color: var(--ink-m); margin-bottom: 1rem; }
.erc-list {
  list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 1.4rem;
}
.erc-list li {
  font-size: 0.74rem; font-weight: 300; color: var(--ink-m);
  padding: 7px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.erc-list li:last-child { border-bottom: none; }
.erc-list li::before { content: '✓'; color: var(--teal); font-size: 0.7rem; flex-shrink: 0; }
.erc-btn {
  display: block; text-align: center; width: 100%;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px; border-radius: 8px; background: var(--ink); color: #fff;
  border: none; transition: background 0.22s, transform 0.18s;
}
.erc-btn:hover { background: var(--ink-m); transform: translateY(-1px); }
.erc-btn--teal { background: var(--teal); }
.erc-btn--teal:hover { background: var(--teal-l); }

/* ── WHAT'S INCLUDED ── */
.ext-included-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem;
}
.ext-inc-group {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem;
}
.ext-inc-group h3 {
  font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.9rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--teal-pale);
}
.ext-inc-group ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.ext-inc-group li {
  font-size: 0.76rem; font-weight: 300; color: var(--ink-m);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.ext-inc-group li:last-child { border-bottom: none; }
.ext-inc-group li::before { content: '✦'; color: var(--teal-l); font-size: 0.45rem; flex-shrink: 0; }

/* ── LOANER ITEMS ── */
.ext-loaner { background: var(--teal-xpale); border-radius: 16px; padding: 2rem 2rem 2.4rem; }
.ext-loaner-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.2rem;
}
.ext-loaner-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  background: var(--white); border-radius: 12px; padding: 1.2rem 0.8rem;
  border: 1px solid var(--border);
}
.ext-loaner-item span { font-size: 1.6rem; }
.ext-loaner-item strong { font-size: 0.74rem; font-weight: 600; color: var(--ink); }
.ext-loaner-item p { font-size: 0.66rem; font-weight: 300; color: var(--ink-m); line-height: 1.5; margin: 0; }

/* ══════════════════════════════════════════════════════
   WHO WE SERVE — Full-width breakout section
══════════════════════════════════════════════════════ */
.ext-who-section {
  background: linear-gradient(160deg, var(--slate-d) 0%, var(--slate-m) 100%);
  margin: 0 -6vw 4rem;
  padding: 5rem 6vw;
  position: relative;
  overflow: hidden;
}
.ext-who-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(13,127,110,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.ext-who-inner { max-width: 1160px; margin: 0 auto; position: relative; }

.ext-who-header { text-align: center; margin-bottom: 3.5rem; }
.ext-who-header .d-eyebrow { color: var(--teal-l); justify-content: center; display: block; }
.ext-who-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #fff; line-height: 1.2; margin: 0.5rem 0 1rem;
}
.ext-who-sub {
  font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.5);
  max-width: 580px; margin: 0 auto; line-height: 1.75;
}

/* Cards grid */
.ext-audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}

.ext-audience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.ext-audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(13,127,110,0.3);
}

/* Floating icon area */
.eac-icon-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 2.2rem auto 0;
  flex-shrink: 0;
  position: relative;
}
.eac-icon-wrap svg { width: 36px; height: 36px; }

.eac-icon-wrap--oil {
  background: linear-gradient(135deg, #1a3a2a 0%, #0d2a1e 100%);
  box-shadow: 0 8px 32px rgba(13,127,110,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(58,170,150,0.3);
}
.eac-icon-wrap--oil svg { stroke: var(--teal-l); }

.eac-icon-wrap--medical {
  background: linear-gradient(135deg, #1a2a3d 0%, #0d1e2e 100%);
  box-shadow: 0 8px 32px rgba(58,100,180,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(100,150,220,0.3);
}
.eac-icon-wrap--medical svg { stroke: #6ea8ff; }

.eac-icon-wrap--business {
  background: linear-gradient(135deg, #2a1e0d 0%, #1e1508 100%);
  box-shadow: 0 8px 32px rgba(200,150,50,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(220,170,80,0.3);
}
.eac-icon-wrap--business svg { stroke: #e8c060; }

.eac-body {
  padding: 1.4rem 1.8rem 1.8rem;
  display: flex; flex-direction: column; flex-grow: 1;
}

.eac-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: #fff; margin-bottom: 0.7rem; line-height: 1.25;
}
.eac-desc {
  font-size: 0.8rem; font-weight: 300; line-height: 1.72;
  color: rgba(255,255,255,0.48); margin-bottom: 1.4rem;
}

/* 2-col feature grid */
.eac-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 14px; margin-bottom: 1.6rem; flex-grow: 1;
}
.eac-feature {
  font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.6);
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.45;
}
.eac-check {
  color: var(--teal-l); font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

.eac-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: auto;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 16px; border-radius: 10px;
  background: rgba(13,127,110,0.18); color: var(--teal-l);
  border: 1px solid rgba(13,127,110,0.35);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.eac-btn svg { width: 13px; height: 13px; stroke: currentColor; flex-shrink: 0; }
.eac-btn:hover {
  background: var(--teal); color: #fff; border-color: var(--teal);
}

/* ── LOCATION LIST ── */
.ext-loc-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.2rem;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.ext-loc-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 10px 14px; background: var(--white);
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
}
.ext-loc-item:nth-child(even) { border-right: none; }
.ext-loc-item strong { font-size: 0.74rem; font-weight: 600; color: var(--ink); }
.ext-loc-item span { font-size: 0.72rem; font-weight: 300; color: var(--ink-m); text-align: right; }

/* ── FAQ ACCORDION & BOTTOM CTA BANNER ──
   Styles moved to style.css (shared) so all pages load them. */

/* ── ANCHOR NAV ── */
.ext-anchor-nav {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 68px; z-index: 100;
  box-shadow: 0 2px 16px rgba(14,30,42,0.06);
}
.ext-anchor-inner {
  display: flex; align-items: center; gap: 0; overflow-x: auto;
  scrollbar-width: none; max-width: 1280px; margin: 0 auto; padding: 0 5vw;
}
.ext-anchor-inner::-webkit-scrollbar { display: none; }
.ext-anchor-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-l); padding: 14px 16px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.ext-anchor-link svg { width: 14px; height: 14px; }
.ext-anchor-link:hover { color: var(--teal-d); border-bottom-color: var(--teal); }
.ext-anchor-link.active { color: var(--teal-d); border-bottom-color: var(--teal); font-weight: 600; }

/* ═══════════════════════════════════════
   RESPONSIVE — EXTENDED STAY PAGE
═══════════════════════════════════════ */

/* Floating panel hidden on mobile */
@media (max-width: 1200px) {
  .ext-fab-panel { display: none; }
}

@media (max-width: 1100px) {
  .ext-audience-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .ext-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ext-rate-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .ext-who-section { margin: 0 -6vw 3rem; padding: 4rem 6vw; }
}

@media (max-width: 768px) {
  .ext-page { padding: 56px 5vw; }
  .ext-rate-grid { grid-template-columns: 1fr; }
  .ext-included-grid { grid-template-columns: 1fr; }
  .ext-audience-grid { grid-template-columns: 1fr; }
  .ext-loaner-grid { grid-template-columns: repeat(2, 1fr); }
  .ext-loc-list { grid-template-columns: 1fr; }
  .ext-loc-item { border-right: none; }
  .ext-who-section { margin: 0 -5vw 3rem; padding: 3.5rem 5vw; }
  .eac-features { grid-template-columns: 1fr; }
  .ext-cta-banner { margin: 3rem -5vw 0; padding: 3rem 5vw; }
  .ext-cta-perks { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ext-loaner-grid { grid-template-columns: 1fr; }
  .eac-body { padding: 1.2rem 1.4rem 1.6rem; }
}

/* ─────────────────────────────────────────────
   PRICE ANCHORS
───────────────────────────────────────────── */

/* Snippet 3 — Rate card price display */
.erc-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.45rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
  background: var(--teal-xpale);
  border-radius: 6px;
  margin: 0 0 0.85rem;
}
.erc-price-from {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-l);
}
.erc-price-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate);
  line-height: 1;
}
.erc-price-period {
  font-size: 0.82rem;
  color: var(--ink-m);
}
.ext-rate-card--best .erc-price { background: rgba(13,127,110,0.08); }
.ext-rate-card--best .erc-price-num { color: var(--teal-d); }

/* Snippet 5 — Seasonal price range banner */
.ext-seasonal-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(90deg, var(--teal-xpale) 0%, var(--cream) 100%);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  margin: 0 0 2rem;
  font-family: var(--sans);
}
.esb-icon { font-size: 1.6rem; flex-shrink: 0; }
.esb-content { flex: 1; }
.esb-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.15rem;
}
.esb-text {
  font-size: 0.8rem;
  color: var(--ink-m);
  line-height: 1.5;
}
.esb-text strong { color: var(--teal-d); font-weight: 700; }
.esb-text a { color: var(--slate); font-weight: 600; }
.esb-cta {
  padding: 0.55rem 1rem;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.esb-cta:hover { background: var(--teal-d); }
@media (max-width: 640px) {
  .ext-seasonal-banner { flex-direction: column; align-items: flex-start; }
  .esb-cta { width: 100%; text-align: center; }
}

/* ── RATE SECTION ADDITIONS ── */
.ext-rates-intro {
  font-size: 0.85rem; color: var(--ink-m); line-height: 1.7;
  text-align: center; max-width: 580px; margin: 1rem auto 0;
}
.erc-badge--book {
  background: var(--teal-pale); color: var(--teal-d);
}
.erc-badge--popular {
  background: var(--slate); color: #fff;
}
.erc-price-avg {
  flex-basis: 100%; text-align: center;
  font-size: 0.62rem; color: var(--ink-l); font-style: italic;
  letter-spacing: 0.02em; padding-top: 0.15rem;
}
.ext-rates-disclaimer {
  font-size: 0.68rem; color: var(--ink-l); line-height: 1.75;
  text-align: center; font-style: italic; margin-top: 1.4rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
