/* ============ WefieHome — main stylesheet ============
   Brand colour: #A4F4F7 (Master Profile v1.1)
   ====================================================== */
:root {
  --brand: #a4f4f7;       /* WefieHome brand colour */
  --brand-soft: #e3fbfc;
  --brand-mid: #7fe3e8;
  --deep: #345351;        /* logo dark teal — text on brand, buttons, footer */
  --deep-2: #2d6662;
  --ink: #2b2f30;          /* dark charcoal body text */
  --muted: #646b6d;        /* medium grey secondary text */
  --line: #d8eaec;
  --bg: #ffffff;
  --alt: #f6f7f7;          /* very light grey */
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(14, 58, 65, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--deep-2); }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .55em; color: var(--deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }

/* Language switching */
html[data-lang="en"] .zh,
html[data-lang="zh"] .en { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { padding: 88px 0; }
@media (max-width: 760px) { .section { padding: 56px 0; } }
.section.alt { background: var(--alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--deep-2); margin-bottom: .7em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--deep); color: var(--white); }
.btn-primary:hover { background: var(--deep-2); }
.btn-brand { background: var(--brand); color: var(--deep); }
.btn-brand:hover { background: var(--brand-mid); }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.4rem; text-decoration: none; color: var(--deep); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: inline-block; box-shadow: inset 0 0 0 2px var(--deep); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--deep-2); text-decoration: underline; text-decoration-color: var(--brand-mid); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-links .btn { padding: 9px 18px; font-size: .9rem; }
.nav-links a.btn:hover { text-decoration: none; }
.lang-btn { border: 1.5px solid var(--deep); background: none; color: var(--deep); border-radius: 999px; padding: 5px 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.lang-btn:hover { background: var(--deep); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--deep); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .btn, .lang-btn { margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-soft) 55%, var(--white) 100%); }
.hero .lead { color: var(--ink); opacity: .85; }
.page-hero { padding: 72px 0 56px; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-soft) 70%); }
.page-hero .lead { color: var(--ink); opacity: .85; }
.tagline { font-weight: 800; letter-spacing: .2em; color: var(--deep); font-size: .85rem; }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: var(--muted); }
.breadcrumb a { color: var(--deep-2); }

/* Route cards on homepage */
.routes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 36px; max-width: 900px; }
.route { background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .2s; }
.route:hover { border-color: var(--deep); }
.route .label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-2); }
.route h3 { margin: 6px 0 6px; }
.route p { margin: 0; color: var(--muted); font-size: .96rem; }
.route .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--deep); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--deep); line-height: 1.1; }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: 4px; }
.pill { display: inline-block; background: var(--brand-soft); color: var(--deep); border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700; }

.stay-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stay-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: .88rem; opacity: .9; }
.stay-img img { width: 100%; height: 100%; object-fit: cover; }
.stay-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.stay-body .area { color: var(--deep-2); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.stay-body .meta { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.stay-body .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.stay-body .btn { padding: 10px 18px; font-size: .92rem; }

/* Property list (homepage) */
.prop-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.prop-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 16px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-left: 5px solid var(--brand); }
.prop-list a:hover { border-left-color: var(--deep); }
.prop-list strong { color: var(--deep); }
.prop-list span.u { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding-left: 60px; min-height: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--deep); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--brand-soft); color: var(--deep); font-weight: 700; width: 38%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* Notes */
.todo { background: #fff6dc; border: 1px dashed #d4a531; color: #6d5210; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.note { background: var(--brand-soft); border-left: 4px solid var(--deep-2); padding: 12px 16px; border-radius: 8px; font-size: .95rem; color: var(--ink); }

/* FAQ */
details { background: var(--white); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { font-weight: 700; cursor: pointer; color: var(--deep); }
details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--deep); color: var(--white); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 640px; margin-left: auto; margin-right: auto; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--deep); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .8); padding: 52px 0 28px; font-size: .94rem; }
.site-footer a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .logo { color: var(--white); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: var(--brand); margin: 0 0 12px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 34px; padding-top: 18px; font-size: .84rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Social media links ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.social-link svg { width: 24px; height: 24px; flex: none; }
.site-footer .social-link.fb span { color: #6aa8ff; }
.site-footer .social-link.ig span { color: #ff6b9a; }
.site-footer .social-link:hover span { color: var(--white); }
.social.on-light .social-link.fb span { color: #1877f2; }
.social.on-light .social-link.ig span { color: #d6249f; }
.social.on-light { margin-top: 4px; }

/* ---------- Airbnb listing cards ---------- */
.area { color: var(--deep-2); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jump a { background: var(--brand-soft); color: var(--deep); text-decoration: none; font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; }
.jump a:hover { background: var(--brand); }
.building-block { padding: 8px 0 44px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.building-block:last-child { border-bottom: 0; margin-bottom: 0; }
.building-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 20px; }
.building-head h2 { margin: 4px 0 2px; }
.building-head p { margin: 0; }
.listing-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.listing { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.listing:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(14, 58, 65, .14); }
.listing-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); }
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.listing-body strong { color: var(--deep); }
.listing-body span { color: var(--muted); font-size: .93rem; }
.listing-body .go { color: var(--deep-2); font-weight: 700; margin-top: 8px; }

/* ---------- Homepage photo hero (slideshow) ---------- */
.hero-photo { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--deep); color: var(--white); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 18s infinite; }
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.04); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 40, 39, .35) 0%, rgba(22, 40, 39, .55) 55%, rgba(22, 40, 39, .7) 100%); }
.hero-content { position: relative; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.hero-content .tagline { color: var(--brand); }
.hero-content h1 { color: var(--white); max-width: 900px; margin: 14px auto 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-sub { font-size: 1.2rem; color: rgba(255, 255, 255, .92); max-width: 640px; margin: 0 auto; }
.hero-btns { justify-content: center; }
.btn-ghost { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: var(--white); color: var(--deep); }
.intro .routes { margin-top: 26px; }

/* ---------- Logo ---------- */
.logo-img { height: 40px; width: auto; display: block; }
.site-header .logo { gap: 10px; }
.site-footer .logo-img { height: 36px; }

/* ---------- Maxim Risen owner-acquisition section ---------- */
.owner-feature { background: linear-gradient(180deg, var(--white) 0%, var(--brand-soft) 100%); scroll-margin-top: 70px; }
.mr-panel { display: grid; gap: 36px; grid-template-columns: 1.15fr 1fr; align-items: start; }
.mr-copy p { color: var(--ink); }
.mr-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.mr-points li { background: var(--white); border-left: 4px solid var(--brand); border-radius: 10px; padding: 14px 18px; box-shadow: var(--shadow); }
.mr-points strong { display: block; color: var(--deep); margin-bottom: 2px; }
.mr-points span { color: var(--muted); font-size: .95rem; }
.mr-media { margin: 0; position: sticky; top: 90px; }
.mr-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.mr-media figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.mr-close { margin-top: 40px; background: var(--deep); color: var(--white); border-radius: var(--radius); padding: 30px 32px; }
.mr-close h3 { color: var(--brand); font-size: 1.4rem; margin-bottom: 8px; }
.mr-close p { color: rgba(255, 255, 255, .88); margin: 0; }
.mr-close .btn-primary { background: var(--brand); color: var(--deep); }
.mr-close .btn-primary:hover { background: var(--brand-mid); }
.mr-close .btn-outline { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.mr-close .btn-outline:hover { background: var(--white); color: var(--deep); }
.mr-faq { margin-top: 40px; max-width: 820px; }
@media (max-width: 860px) {
  .mr-panel { grid-template-columns: 1fr; gap: 24px; }
  .mr-media { position: static; order: -1; }
  .mr-close { padding: 24px 20px; }
  .mr-close .btn { width: 100%; text-align: center; }
}

/* ---------- Listing ratings ---------- */
.listing-body .rating { color: var(--ink); font-weight: 700; font-size: .92rem; margin-top: 4px; }
.listing-body .rating .star { color: #e0a100; }
.listing-body .rating .rv { color: var(--muted); font-weight: 400; }
.listing-body .rating.new { color: var(--deep-2); }
.listing-body .fav { font-style: normal; font-size: .75rem; background: var(--brand-soft); color: var(--deep); padding: 2px 8px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }

/* ---------- Footer plain text ---------- */
.site-footer .plain { color: rgba(255, 255, 255, .92); }

/* ---------- Airbnb Management page ---------- */
.model-line { display: inline-block; background: var(--white); color: var(--deep); font-weight: 800; padding: 10px 18px; border-radius: 10px; box-shadow: var(--shadow); margin: 6px 0 0; }
.model-line span span, .model-line > span > span { color: var(--brand-mid); padding: 0 6px; }
.perf-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; margin-top: 52px; }
.perf-panel.reverse .perf-text { order: 2; }
.perf-text h3 { font-size: 1.55rem; }
.perf-big { margin: 6px 0 4px; }
.perf-big strong { display: block; font-size: 3rem; line-height: 1; color: var(--deep); letter-spacing: -.02em; }
.perf-big span { font-weight: 700; color: var(--ink); }
.perf-period { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.perf-img { position: relative; display: block; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.perf-img img { width: 100%; height: auto; border-radius: 8px; }
.zoom-hint { position: absolute; right: 18px; bottom: 18px; background: rgba(43, 47, 48, .78); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.method-note { margin-top: 44px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; max-width: 900px; }
.card.why { border-top: 4px solid var(--brand); }
.two-col { columns: 2; column-gap: 28px; }
.prop-list a > span:first-child .u { white-space: normal; }
@media (max-width: 860px) {
  .perf-panel { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .perf-panel.reverse .perf-text { order: 0; }
  .perf-big strong { font-size: 2.4rem; }
  .two-col { columns: 1; }
  .model-line { display: block; }
}

/* ---------- Image lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 25, .88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; background: #fff; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

/* Portfolio list: allow wrapping on narrow screens */
.prop-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.prop-list span.u { white-space: normal; text-align: right; }
@media (max-width: 560px) {
  .prop-list a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .prop-list span.u { text-align: left; }
}

/* ---------- Blurred photo section backgrounds ---------- */
.photo-bg { position: relative; background: var(--bg) center / cover no-repeat, var(--alt); isolation: isolate; }
.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .28)); }
.photo-bg .stat, .photo-bg .card, .photo-bg table { background: rgba(255, 255, 255, .96); }
.photo-bg .small { color: var(--ink); }

/* =====================================================
   Design review update (Oct 2026)
   ===================================================== */

/* 1. Photo banners for inner pages */
.photo-hero { position: relative; color: var(--white); background: linear-gradient(180deg, rgba(22, 40, 39, .55), rgba(22, 40, 39, .72)), var(--hero) center / cover no-repeat, var(--deep); padding: 104px 0 88px; }
@media (max-width: 760px) { .photo-hero { background-image: linear-gradient(180deg, rgba(22, 40, 39, .55), rgba(22, 40, 39, .75)), var(--hero-sm); padding: 72px 0 60px; } }
.photo-hero h1, .photo-hero h2 { color: var(--white); text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.photo-hero .lead, .photo-hero p { color: rgba(255, 255, 255, .9); }
.photo-hero .breadcrumb, .photo-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.photo-hero .tagline { color: var(--brand); }
.photo-hero .pill { background: rgba(255, 255, 255, .92); }
.photo-hero .small a { color: var(--brand); }
.photo-hero .btn-primary { background: var(--brand); color: var(--deep); }
.photo-hero .btn-primary:hover { background: var(--brand-mid); }

/* Building pages: text + building photo */
.building-hero { background: var(--deep); color: var(--white); padding: 72px 0; }
.building-hero h1 { color: var(--white); }
.building-hero .lead { color: rgba(255, 255, 255, .88); }
.building-hero .breadcrumb, .building-hero .breadcrumb a { color: rgba(255, 255, 255, .8); }
.building-hero .btn-primary { background: var(--brand); color: var(--deep); }
.building-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.building-photo { margin: 0; }
.building-photo img { width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }
@media (max-width: 860px) { .building-hero-grid { grid-template-columns: 1fr; gap: 28px; } .building-hero { padding: 48px 0 56px; } .building-photo img { max-height: 320px; } }

/* 2. Stat tiles fit "Superhost" */
.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat .num { font-size: clamp(1.3rem, 1.7vw, 1.45rem); white-space: nowrap; }

/* 3. FAQ plus / minus */
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--deep); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
details[open] summary::after { content: "−"; background: var(--brand); }

/* 4. Equal full-width buttons on phones */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* 5. WhatsApp button + bottom space on phones */
@media (max-width: 760px) {
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
  .site-footer { padding-bottom: 84px; }
}

/* 6. Footer two columns on phones */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* 7. Homepage intro: text left, cards right */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.intro-grid .lead { max-width: none; margin-bottom: 0; }
.intro-grid .routes { margin-top: 0; grid-template-columns: 1fr; max-width: none; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 26px; } }

/* 8. Hero subtitle on one line */
.hero-sub { max-width: 760px; }

/* 10. Management: model line as two ticks */
.model-line { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.model-line > span { white-space: nowrap; }
@media (max-width: 560px) { .model-line { display: flex; flex-direction: column; } .model-line > span { white-space: normal; } }

/* 11. Fee table stacked on phones */
@media (max-width: 600px) {
  table, tbody, tr, th, td { display: block; width: 100%; }
  th { border-bottom: 0; padding: 14px 18px 2px; width: 100%; }
  td { padding: 0 18px 14px; background: var(--white); }
  tr { border-bottom: 1px solid var(--line); background: var(--brand-soft); }
  tr:last-child { border-bottom: 0; }
}

/* 12. Three-column cards */
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cols-3 { grid-template-columns: 1fr; } }

/* 13. Portfolio cards: details under the name */
.prop-list a .stack { display: flex; flex-direction: column; gap: 2px; }
.prop-list a .stack .u, .prop-list a .stack .u2 { font-size: .9rem; text-align: left; white-space: normal; color: var(--muted); }
.prop-list a .stack .u2 { color: var(--ink); }
.prop-list a .arrow { color: var(--deep-2); font-weight: 700; }

/* 14/16/17. Stay page */
.jump { position: sticky; top: 68px; z-index: 20; background: var(--white); padding: 10px 0; margin-top: -10px; }
.text-link { font-weight: 700; color: var(--deep-2); text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 10px 20px; scrollbar-width: none; box-shadow: 0 6px 12px -10px rgba(0, 0, 0, .2); }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; }
  .building-head { align-items: baseline; }
}
@media (max-width: 560px) {
  .listing-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .listing-body { padding: 10px 12px 14px; }
  .listing-body strong { font-size: .95rem; }
  .listing-body .rating { font-size: .82rem; }
  .listing-body .rating .rv { display: block; }
  .listing-body .fav { margin-left: 0; display: inline-block; margin-top: 4px; }
  .listing-body .go { font-size: .85rem; margin-top: 6px; }
}

/* 18. Coming soon text */
.soon { color: var(--muted); font-style: italic; margin: 0; }

/* 19. About text aligned with other sections */
.prose > * { max-width: 820px; }

/* 20. Contact cards */
.contact-cards { margin-top: 24px; }
.contact-cards .contact-list li:first-child { padding-top: 4px; }
.contact-cards .contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Fixes after visual check */
.photo-hero .model-line, .photo-hero .model-line * { color: var(--deep); }
.model-line > span > span { padding: 0; color: inherit; }
.building-photo { display: flex; justify-content: center; }
.building-photo img { width: auto; max-width: 100%; max-height: 460px; object-fit: contain; }
@media (max-width: 560px) {
  .prop-list a .arrow { display: none; }
  .listing-body .rating .rv { font-size: .8rem; }
}
.photo-hero { background-position: center, var(--hero-pos, center); }

/* ---------- How it works: image + steps ---------- */
.hiw-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.hiw-media { margin: 0; position: sticky; top: 96px; }
.hiw-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.hiw-grid .steps { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .hiw-grid { grid-template-columns: 1fr; gap: 28px; }
  .hiw-media { position: static; }
}

/* ---------- Justified English paragraphs ---------- */
html[data-lang="en"] main p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* keep these as they were */
html[data-lang="en"] main .center p,
html[data-lang="en"] main .cta-band p,
html[data-lang="en"] main .hero-content p,
html[data-lang="en"] main .mr-close p,
html[data-lang="en"] main .card p,
html[data-lang="en"] main .route p,
html[data-lang="en"] main p.model-line,
html[data-lang="en"] main p.perf-big,
html[data-lang="en"] main p.perf-period,
html[data-lang="en"] main p.soon,
html[data-lang="en"] main p.tagline,
html[data-lang="en"] main .photo-hero p.small,
html[data-lang="en"] main p:has(> .pill),
html[data-lang="en"] main p:has(> a:only-child) { text-align: inherit; -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 560px) {
  .steps li { padding-left: 50px; }
  .steps li::before { width: 36px; height: 36px; font-size: .95rem; }
}

/* ---------- Service cards with icons ---------- */
.svc-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.svc-text { flex: 1; min-width: 0; }
.svc-icon { flex: none; width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ic-bg); transition: transform var(--m-fast, .2s) cubic-bezier(.45,0,.25,1); }
.svc-icon svg { width: 68px; height: 68px; }
.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.04); }
.tone-teal  { --ic: #2d6662; --ic-2: #1fb5bd; --ic-soft: #c9f7f9; --ic-bg: #e3fbfc; }
.tone-coral { --ic: #c8553d; --ic-2: #e8795e; --ic-soft: #ffe1d8; --ic-bg: #fff1ec; }
.tone-amber { --ic: #b07a12; --ic-2: #e3a21a; --ic-soft: #fde9b8; --ic-bg: #fff6e0; }
.tone-green { --ic: #2f7d4f; --ic-2: #3fae6a; --ic-soft: #cdeedb; --ic-bg: #eaf8ef; }
@media (max-width: 600px) {
  .svc-card { position: relative; display: block; }
  .svc-icon { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; }
  .svc-icon svg { width: 34px; height: 34px; }
  .svc-card h3 { padding-right: 64px; min-height: 40px; display: flex; align-items: center; }
}
.svc-icon svg { width: 84px; height: 84px; }
@media (max-width: 600px) { .svc-icon svg { width: 44px; height: 44px; } }
