/* Midlothian Suites — site styles. Brand: black, white, off-white, rare gold accent (#FAE488, never gold text on white).
   Fonts: Poppins (web stand-in for Now) for headings and wordmark; Open Sans for body. */
:root {
  --black: #000;
  --ink: #111;
  --white: #fff;
  --page: #fafafa;
  --grey: #5c5c5c;
  --line: #e4e4e4;
  --gold: #fae488;
  --max: 1160px;
  --head: "Poppins", "Century Gothic", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--head); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; display: block; }
.dark .eyebrow, .hero .eyebrow { color: #c9c9c9; }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 18px 0 22px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--grey); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.dark .lead, .hero .lead { color: #dcdcdc; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 500; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 15px 28px; border: 2px solid var(--black); background: var(--black); color: var(--white); transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--black); }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover, .btn.light:focus-visible { background: transparent; color: var(--white); }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.btn.ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost-light:hover { background: var(--white); color: var(--black); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .btns { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 34px; height: 34px; }
.wordmark { font-family: var(--head); font-size: 1rem; letter-spacing: .28em; line-height: 1.1; }
.wordmark b { font-weight: 600; }
.wordmark span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; text-decoration: none; font-family: var(--head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #e8e8e8; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); box-shadow: 0 2px 0 var(--gold); }
.nav .btn { padding: 10px 18px; font-size: .78rem; color: var(--black); }
.nav .btn:hover { color: var(--white); box-shadow: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; padding: 6px; }
@media (max-width: 1320px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 24px; display: none; border-top: 1px solid #222; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid #1d1d1d; }
  .nav .btn { margin-top: 16px; width: auto; text-align: center; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; }
.hero h1 { max-width: 820px; }
.hero .lead { font-size: 1.2rem; }
.hero.small .wrap { padding-top: 90px; padding-bottom: 80px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: .9rem; color: #d6d6d6; list-style: none; padding: 0; }
.trust li::before { content: "◆ "; color: var(--gold); font-size: .7em; vertical-align: 2px; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--page); }
.dark { background: var(--black); color: var(--white); }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 68px 0; } .hero .wrap { padding-top: 80px; padding-bottom: 80px; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.card { background: var(--white); border: 1px solid var(--line); padding: 34px 30px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--grey); }
.card .more { margin-top: auto; font-family: var(--head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-top: 10px; }
.card .more::after { content: " →"; }
.card.featured { background: var(--black); color: var(--white); border-color: var(--black); }
.card.featured p { color: #d0d0d0; }
.tag { display: inline-block; align-self: flex-start; font-family: var(--head); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; background: var(--gold); color: var(--black); padding: 4px 10px; margin-bottom: 16px; }
.icon { width: 46px; height: 46px; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--head); font-size: 2rem; font-weight: 600; }
.dark .step::before { color: var(--gold); }
.step p { color: var(--grey); }
.dark .step p { color: #cfcfcf; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); font-size: .98rem; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--black); color: var(--white); font-family: var(--head); font-weight: 500; letter-spacing: .06em; }
.compare tbody th { font-weight: 600; width: 30%; }
.table-wrap { overflow-x: auto; }

/* Quotes */
.quote { background: var(--white); border-left: 3px solid var(--black); padding: 28px 30px; margin: 0; }
.quote p { font-size: 1.05rem; }
.quote footer { font-family: var(--head); font-size: .85rem; letter-spacing: .06em; color: var(--grey); }
.quote footer b { color: var(--ink); display: block; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 500; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--grey); }

/* Market tiles */
.market { position: relative; display: block; color: var(--white); text-decoration: none; background: var(--black); min-height: 340px; overflow: hidden; }
.market img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: transform .5s, opacity .3s; }
.market:hover img { transform: scale(1.04); opacity: .45; }
.market .txt { position: relative; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
.market h3 { font-size: 1.7rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.market .rule { margin: 12px 0; }
.market .tile-blank { position: absolute; inset: 0; background: linear-gradient(160deg, #2a2a2a, #000); }

/* Team */
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); margin-bottom: 18px; }
.person h3 { margin-bottom: 2px; letter-spacing: .06em; }
.person .role { color: var(--grey); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--black); color: var(--white); text-align: center; }
.cta-band .lead { color: #d4d4d4; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list b { font-family: var(--head); display: block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); font-weight: 500; }

/* Footer */
.site-footer { background: var(--black); color: #bdbdbd; font-size: .92rem; padding: 72px 0 36px; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.social { display: flex; gap: 16px; margin-top: 18px; }
.legal { border-top: 1px solid #222; margin-top: 48px; padding-top: 24px; font-size: .8rem; color: #8f8f8f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.legal p { margin: 0; }
.seal img { max-width: 120px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* City tiles */
.market.city, .market.city .txt { min-height: 200px; }
.market.city .txt { padding: 24px; }
.market.city h3 { font-size: 1.15rem; letter-spacing: .1em; }

.card .price { color: var(--ink); font-family: var(--head); }
.card .ticks { color: var(--grey); font-size: .95rem; }

.wordmark { white-space: nowrap; }
.site-header .wrap { max-width: 1400px; }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .g5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g5 { grid-template-columns: 1fr; } }
[id] { scroll-margin-top: 90px; }

/* Service rates */
.rates .code { font-family: var(--head); font-weight: 600; white-space: nowrap; }
.rates .num { white-space: nowrap; font-weight: 600; }
.rates tbody th { width: 45%; }
.rates small { display: block; color: var(--grey); font-weight: 400; font-size: .85rem; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.jump a { border: 1px solid var(--line); padding: 8px 14px; text-decoration: none; font-size: .9rem; }
.jump a:hover { border-color: var(--black); }
.nav { gap: 18px; }
.nav a { letter-spacing: .08em; }
@media (max-width: 1320px) { .nav { gap: 0; } }
@media (max-width: 640px) { .rates { font-size: .88rem; } .rates th, .rates td { padding: 10px 8px !important; } .rates tbody th { width: auto; } }

.rates small.munit { display: none; }
@media (max-width: 640px) { .rates .unit { display: none; } .rates small.munit { display: block; } .rates thead th, .rates td, .rates tbody th { padding: 10px 5px !important; overflow-wrap: anywhere; } .rates td, .rates thead th { overflow-wrap: normal; } }

.notice { border: 1px solid var(--black); border-left: 6px solid var(--gold); background: var(--page); padding: 18px 22px; margin: 28px 0; }
.rate-note { color: var(--grey); font-size: .88rem; margin: 12px 0 0; }

/* City photo heroes */
.hero .bg { opacity: 1; background-position: center 45%; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.45) 48%, rgba(0,0,0,0) 80%); }
@media (max-width: 860px) { .hero .bg::after { background: rgba(0,0,0,.55); } }

/* City tile photos: keep names readable */
.market.city .txt { z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 75%); }
.market.city, .market.city .txt { min-height: 240px; }

/* Home video */
.hero .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video .wrap { padding-top: 160px; padding-bottom: 160px; }
.video-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; border: 1px solid #fff; padding: 8px 16px; font: 600 .75rem var(--head); cursor: pointer; }
.video-toggle[hidden] { display: none; }
@media (max-width: 860px) { .hero-video .wrap { padding-top: 90px; padding-bottom: 90px; } }
.market.city img { opacity: .9; }
.market.city:hover img { opacity: .7; }
