:root {
  --ink: #17211f;
  --muted: #66736f;
  --cream: #fbf7ef;
  --paper: #fffdfa;
  --white: #fff;
  --teal: #0b766f;
  --teal-dark: #075852;
  --teal-soft: #dff1ed;
  --coral: #df6a47;
  --coral-dark: #b94d2f;
  --gold: #e7b65d;
  --line: #dfe6e2;
  --danger: #bd3f3f;
  --warning: #9a6515;
  --success: #247653;
  --shadow-sm: 0 8px 24px rgba(27, 48, 43, .08);
  --shadow-md: 0 18px 55px rgba(21, 43, 37, .13);
  --shadow-lg: 0 32px 90px rgba(15, 35, 30, .2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --max: 1220px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
#app { min-width: 0; overflow: clip; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }

:focus-visible {
  outline: 3px solid rgba(223, 106, 71, .5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.noscript { padding: 20px; background: #fff3cd; text-align: center; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: var(--coral);
}
.display-title {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.section-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.section-copy {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.section-head .section-copy { margin-bottom: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 850;
  letter-spacing: -.02em;
}
.brand img { width: 40px; height: 40px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .btn-ghost {
  color: var(--white);
}
.site-header:not(.scrolled) .menu-toggle {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.14);
  color: var(--white);
  backdrop-filter: blur(12px);
}
.site-header.scrolled {
  border-color: rgba(223, 230, 226, .8);
  background: rgba(251, 247, 239, .9);
  box-shadow: 0 8px 30px rgba(23, 33, 31, .05);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-wrap > * { min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: #33413d;
  font-size: .91rem;
  font-weight: 700;
}
.nav-links a:hover { color: var(--teal); }
.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.mobile-menu, .mobile-menu-backdrop { display: none; }

.btn {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 9px 24px rgba(11, 118, 111, .2); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 9px 24px rgba(223, 106, 71, .24); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-secondary:hover { border-color: #bacac5; background: #f9fcfb; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-danger { border-color: #f1cccc; background: #fff5f5; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 8px 13px; font-size: .82rem; }
.btn-lg { min-height: 54px; padding: 13px 23px; }
.btn-square { width: 44px; padding: 0; border-radius: 14px; }
.btn.menu-toggle { display: none; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 132px 0 80px;
  overflow: hidden;
  background: #1b211f url("assets/hero-enna-student-home.jpg") center/cover no-repeat;
  color: var(--white);
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(19, 24, 23, .92) 0%, rgba(19, 24, 23, .72) 38%, rgba(19, 24, 23, .12) 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { width: min(610px, 58%); padding-top: 45px; }
.free-forever-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 30px rgba(16,38,32,.14);
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 900;
}
.free-forever-badge svg { width: 17px; height: 17px; }
.hero .eyebrow { color: #9ce4dc; }
.hero h1 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
}
.hero h1 em { color: #f4c777; font-style: normal; }
.hero-copy > p {
  max-width: 550px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.79);
  font-size: 1.12rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-secondary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: var(--white); backdrop-filter: blur(10px); }
.hero-note { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 28px; color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 650; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { width: 7px; height: 7px; border-radius: 50%; background: #8dd9bd; content: ""; }
.hero-search {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 55px;
  width: min(480px, 38vw);
  padding: 21px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  backdrop-filter: blur(20px);
}
.hero-search strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.35rem; }
.hero-search p { margin-bottom: 16px; color: var(--muted); font-size: .84rem; }
.quick-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.quick-search > *, .rooms-grid > *, .trust-grid > *, .steps-grid > *, .footer-grid > * { min-width: 0; }
.quick-search .field { margin: 0; }
.quick-search .field-label { display: none; }
.quick-search select { min-height: 46px; }
.quick-search .btn { grid-column: 1 / -1; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 31px 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; }
.trust-item span { color: var(--muted); font-size: .82rem; }
.free-promise { padding: 34px 0; border-bottom: 1px solid #efdfc9; background: #fff6ea; }
.free-promise-inner { display: grid; align-items: center; gap: 22px; grid-template-columns: auto 1fr; }
.free-promise-icon { display: grid; width: 70px; height: 70px; border-radius: 22px; background: var(--coral); color: var(--white); place-items: center; transform: rotate(-4deg); }
.free-promise-icon svg { width: 32px; height: 32px; }
.free-promise h2 { margin: 2px 0 7px; font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; }
.free-promise p { max-width: 950px; margin: 0; color: #5d605e; line-height: 1.65; }

.mobile-app-promo {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 82% 40%, rgba(156,228,220,.18), transparent 28%),
    #102d29;
  color: var(--white);
}
.mobile-app-promo::before {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -280px;
  left: -180px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.app-promo-shell {
  position: relative;
  display: grid;
  min-height: 540px;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
}
.app-promo-copy { position: relative; z-index: 2; }
.app-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #9ce4dc;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.app-promo-kicker .icon { width: 18px; height: 18px; }
.app-promo-copy h2 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .94;
}
.app-promo-copy h2 em { color: #f4c777; font-style: normal; }
.app-promo-copy > p {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.75;
}
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: flex;
  min-width: 205px;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
}
.store-badge > span:last-child { min-width: 0; }
.store-badge small, .store-badge strong { display: block; }
.store-badge small { margin-bottom: 3px; color: rgba(255,255,255,.6); font-size: .67rem; letter-spacing: .04em; }
.store-badge strong { font-size: 1.06rem; }
.store-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  place-items: center;
}
.store-symbol-play { background: linear-gradient(145deg, #9ce4dc, #f4c777); color: #0b4f4a; }
.store-symbol-play .icon { width: 18px; height: 18px; }
.app-promo-copy .store-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.57);
  font-size: .76rem;
  font-weight: 700;
}
.store-status span { width: 7px; height: 7px; border-radius: 50%; background: #f4c777; box-shadow: 0 0 0 5px rgba(244,199,119,.1); }
.app-preview { position: relative; min-height: 520px; }
.app-preview-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: rgba(11,118,111,.68);
  filter: blur(12px);
  transform: translate(-50%, -50%);
}
.phone-card {
  position: absolute;
  width: 235px;
  height: 475px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 38px;
  background: #e9efec;
  box-shadow: 0 35px 70px rgba(0,0,0,.28);
}
.phone-card-back { top: 34px; left: 7%; opacity: .75; transform: rotate(-9deg); }
.phone-card-front { z-index: 2; top: 2px; right: 6%; transform: rotate(6deg); }
.phone-speaker { position: absolute; z-index: 3; width: 72px; height: 19px; top: 15px; left: 50%; border-radius: 0 0 12px 12px; background: #162421; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 35px 17px 15px; overflow: hidden; border-radius: 31px; background: #f7faf8; color: var(--ink); }
.mini-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 29px; font-size: .67rem; font-weight: 850; }
.mini-brand img { width: 24px; height: 24px; }
.phone-screen > small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .57rem; }
.phone-screen > strong { display: block; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.04; }
.mini-stats { display: grid; gap: 7px; margin: 21px 0 14px; grid-template-columns: 1fr 1fr; }
.mini-stats span { padding: 10px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); font-size: .53rem; line-height: 1.45; }
.mini-stats b { font-family: var(--font-display); font-size: 1.15rem; }
.mini-card { display: grid; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); grid-template-columns: 55px 1fr; }
.mini-card i { height: 58px; border-radius: 9px; background: linear-gradient(135deg, #8fcac3, #f4c777); }
.mini-card b { align-self: center; font-family: var(--font-display); font-size: .69rem; line-height: 1.25; }
.mini-nav { position: absolute; right: 20px; bottom: 21px; left: 20px; display: flex; justify-content: space-around; padding: 11px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); color: var(--muted); }
.mini-nav .icon { width: 14px; height: 14px; }
.phone-screen-search { background: var(--teal-dark); color: var(--white); }
.phone-screen-search .mini-brand { margin-bottom: 48px; }
.phone-screen-search > strong { font-size: 1.45rem; }
.mini-search { display: flex; align-items: center; gap: 6px; margin-top: 20px; padding: 11px; border-radius: 11px; background: var(--white); color: var(--ink); font-size: .58rem; font-weight: 700; }
.mini-search .icon { width: 13px; height: 13px; }
.mini-room { display: block; height: 115px; margin-top: 20px; border-radius: 14px; background: linear-gradient(145deg, #f4c777, #9ce4dc); }
.mini-room-copy { display: block; width: 78%; height: 9px; margin-top: 13px; border-radius: 9px; background: rgba(255,255,255,.65); box-shadow: 0 17px 0 rgba(255,255,255,.25); }

.section { padding: 110px 0; }
.section-paper { background: var(--paper); }
.section-teal { background: var(--teal-dark); color: var(--white); }
.section-teal .section-copy, .section-teal .muted { color: rgba(255,255,255,.7); }

.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.room-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.room-card:hover { transform: translateY(-5px); border-color: #c3d3ce; box-shadow: var(--shadow-md); }
.room-image { position: relative; height: 230px; overflow: hidden; background: linear-gradient(135deg, #d5e8e3, #f7ddc4); }
.room-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .room-image img { transform: scale(1.035); }
.room-image-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(11,118,111,.65); }
.room-image-fallback svg { width: 58px; height: 58px; }
.room-badges { position: absolute; top: 13px; left: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: .71rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}
.badge-verified { background: var(--teal); color: var(--white); }
.badge-pending { background: #fff2cc; color: #79520f; }
.badge-rejected, .badge-suspended { background: #ffe4e4; color: #963636; }
.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.91);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(8px);
}
.favorite-btn.active { color: var(--coral); }
.favorite-btn.active svg { fill: currentColor; }
.room-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 20px; }
.room-location {
  margin-bottom: 8px;
  overflow: hidden;
  color: var(--teal);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.room-title {
  display: -webkit-box;
  min-height: 2.26em;
  margin-bottom: 12px;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.13;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.room-meta { display: flex; min-height: 48px; align-content: flex-start; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .79rem; }
.room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.room-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.room-price strong { font-size: 1.34rem; }
.room-price span { color: var(--muted); font-size: .75rem; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: #845b12; font-size: .78rem; font-weight: 800; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; counter-reset: steps; }
.step-card {
  position: relative;
  min-height: 310px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
}
.step-card::before {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 54px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #f4c777;
  content: "0" counter(steps);
  counter-increment: steps;
  font-family: var(--font-display);
  font-size: 1.3rem;
  place-items: center;
}
.step-card h3 { margin-bottom: 12px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; }
.step-card p { color: rgba(255,255,255,.67); line-height: 1.7; }
.step-card .big-icon { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.14); }
.step-card .big-icon svg { width: 86px; height: 86px; stroke-width: 1; }

.benefits { display: grid; grid-template-columns: .92fr 1.08fr; gap: 75px; align-items: center; }
.benefits-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(11,118,111,.12), rgba(223,106,71,.11)),
    var(--white);
  box-shadow: var(--shadow-md);
}
.visual-orbit { position: absolute; width: 420px; height: 420px; top: 78px; left: 50%; border: 1px dashed rgba(11,118,111,.35); border-radius: 50%; transform: translateX(-50%); }
.visual-center {
  position: absolute;
  top: 180px;
  left: 50%;
  display: grid;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 30px 60px rgba(11,118,111,.3);
  color: var(--white);
  text-align: center;
  transform: translateX(-50%);
  place-items: center;
}
.visual-center strong { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; }
.visual-chip {
  position: absolute;
  display: flex;
  max-width: 185px;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  box-shadow: var(--shadow-sm);
  font-size: .77rem;
  font-weight: 800;
}
.visual-chip span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: var(--teal-soft); color: var(--teal); place-items: center; }
.chip-a { top: 62px; left: 36px; }
.chip-b { top: 112px; right: 30px; }
.chip-c { right: 35px; bottom: 66px; }
.chip-d { bottom: 46px; left: 34px; }
.benefit-list { display: grid; gap: 10px; margin-top: 35px; }
.benefit-item { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.benefit-item span { display: grid; width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); place-items: center; }
.benefit-item h3 { margin-bottom: 5px; font-size: 1rem; }
.benefit-item p { margin-bottom: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }

.cta {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border-radius: 38px;
  background: var(--coral);
  color: var(--white);
}
.cta::before, .cta::after { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.cta::before { width: 320px; height: 320px; top: -170px; right: -50px; }
.cta::after { width: 210px; height: 210px; right: 120px; bottom: -150px; }
.cta-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 650px; margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cta .btn { flex: 0 0 auto; background: var(--white); color: var(--ink); }

.site-footer { padding: 70px 0 28px; background: #162421; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 55px; padding-bottom: 55px; }
.footer-about { max-width: 330px; margin-top: 20px; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-title { margin-bottom: 18px; color: rgba(255,255,255,.44); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.77); font-size: .89rem; }
.footer-links a:hover { color: var(--white); }
.footer-links .btn {
  min-height: auto;
  justify-content: flex-start;
  padding: 0;
  color: rgba(255,255,255,.77);
  font-size: .89rem;
  text-align: left;
}
.creator-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.84);
}
.creator-note > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(156,228,220,.13);
  color: #9ce4dc;
  place-items: center;
}
.creator-note p { margin: 0; font-size: .88rem; font-weight: 700; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .77rem; }

/* SEO public pages */
.seo-page { background: var(--cream); }
.seo-main { padding-top: 78px; }
.seo-header { position: fixed; }
.seo-hero,
.seo-detail-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(251,247,239,.98), rgba(255,253,250,.88)),
    url("assets/hero-enna-student-home.jpg") center/cover no-repeat;
}
.seo-hero-inner { max-width: 840px; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seo-room-card { color: inherit; text-decoration: none; }
.seo-room-card .room-image-fallback { background: linear-gradient(135deg, #d5e8e3, #f7ddc4); }
.seo-local-links { background: var(--cream); }
.seo-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seo-link-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--teal-dark);
  font-weight: 850;
  line-height: 1.35;
}
.seo-link-card:hover { border-color: #bacac5; transform: translateY(-1px); }
.seo-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.seo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.seo-gallery-item { min-width: 0; height: 320px; margin: 0; overflow: hidden; border-radius: 18px; background: var(--teal-soft); box-shadow: var(--shadow-sm); }
.seo-gallery-item:first-child { grid-column: 1 / -1; height: 460px; }
.seo-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.seo-description { margin-bottom: 18px; }
.seo-description h2 { margin-bottom: 12px; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; letter-spacing: -.025em; }
.seo-description p { margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.seo-feature-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.seo-feature-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.seo-feature-list li:last-child { border-bottom: 0; }
.seo-feature-list strong { font-size: .88rem; }
.seo-feature-list span { color: var(--muted); font-size: .86rem; text-align: right; }
.seo-side { top: 96px; background: var(--white); }
.seo-side .detail-facts { grid-template-columns: 1fr; }

/* App shell */
.app-layout { display: grid; min-height: 100vh; grid-template-columns: 260px minmax(0, 1fr); background: #f5f7f5; }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  padding: 25px 18px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.sidebar .brand { padding: 0 10px 25px; }
.side-nav { display: grid; gap: 5px; margin-top: 12px; }
.side-nav button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #4d5a56;
  cursor: pointer;
  font-weight: 730;
  text-align: left;
}
.side-nav button:hover { background: #eef4f2; color: var(--teal); }
.side-nav button.active { background: var(--teal-soft); color: var(--teal-dark); }
.side-nav .nav-badge { min-width: 23px; margin-left: auto; padding: 3px 6px; border-radius: 999px; background: var(--coral); color: var(--white); font-size: .67rem; text-align: center; }
.sidebar-bottom { min-width: 0; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.user-mini { display: grid; min-width: 0; grid-template-columns: 42px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 10px; }
.user-mini-copy { min-width: 0; }
.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 850;
  place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-mini strong, .user-mini small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-mini strong { font-size: .84rem; }
.user-mini small { margin-top: 3px; color: var(--muted); font-size: .69rem; }

.app-main { min-width: 0; }
.app-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(245,247,245,.9);
  backdrop-filter: blur(15px);
}
.app-topbar h1 { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.app-topbar-title { display: flex; min-width: 0; align-items: center; gap: 11px; }
.app-topbar-title h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-topbar-actions { display: flex; align-items: center; gap: 10px; }
.mobile-app-menu { display: none; }
.sidebar-backdrop { display: none; }
.app-content { width: min(100%, 1450px); padding: 32px; margin-inline: auto; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.view-head h2 { margin-bottom: 5px; font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; letter-spacing: -.035em; }
.view-head p { margin: 0; color: var(--muted); }

.dashboard-hero {
  position: relative;
  display: grid;
  min-height: 280px;
  margin-bottom: 27px;
  padding: 38px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--teal-dark);
  color: var(--white);
  grid-template-columns: 1fr .6fr;
}
.dashboard-hero::after {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -120px;
  right: -50px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}
.dashboard-hero h2 { max-width: 580px; margin-bottom: 13px; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.dashboard-hero p { max-width: 540px; color: rgba(255,255,255,.7); line-height: 1.7; }
.dashboard-hero .hero-actions { align-self: end; margin-top: 24px; }
.dashboard-metric { position: relative; z-index: 1; display: grid; align-content: center; justify-items: end; }
.dashboard-metric strong { font-family: var(--font-display); font-size: 5rem; font-weight: 500; line-height: 1; }
.dashboard-metric span { color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.stat-card span { display: grid; width: 39px; height: 39px; margin-bottom: 25px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); place-items: center; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 2rem; }
.stat-card small { color: var(--muted); }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 4px 14px rgba(23,33,31,.025); }
.panel-pad { padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.filters-panel { margin-bottom: 25px; padding: 20px; }
.view-head-actions { display: flex; align-items: center; gap: 12px; }
.filters-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr) auto; gap: 11px; align-items: end; }
.filters-extra { display: none; grid-template-columns: repeat(5, 1fr); gap: 11px; margin-top: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.filters-extra.open { display: grid; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field-label { color: #47534f; font-size: .73rem; font-weight: 800; }
.field-help { margin-top: -3px; color: var(--muted); font-size: .71rem; line-height: 1.45; }
.input, input, select, textarea {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d6dfdb;
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,118,111,.1); }
.check {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #d6dfdb;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: .81rem;
  font-weight: 700;
}
.check input { width: 17px; min-height: auto; height: 17px; accent-color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.inline-error { padding: 11px 13px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: .8rem; line-height: 1.45; }

.empty-state { display: grid; min-height: 280px; padding: 40px; text-align: center; place-items: center; }
.empty-icon { display: grid; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; background: var(--teal-soft); color: var(--teal); place-items: center; }
.empty-icon svg { width: 34px; height: 34px; }
.empty-state h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.65rem; }
.empty-state p { max-width: 450px; margin: 0 auto 19px; color: var(--muted); line-height: 1.6; }
.loading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skeleton { overflow: hidden; border-radius: var(--radius); background: #e6ebe8; }
.skeleton::after { display: block; height: 430px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); content: ""; animation: shimmer 1.3s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }

.list { display: grid; gap: 12px; }
.list-item {
  display: grid;
  align-items: center;
  gap: 17px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  grid-template-columns: 86px minmax(0, 1fr) auto;
}
.list-thumb { width: 86px; height: 72px; overflow: hidden; border-radius: 12px; background: var(--teal-soft); }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-main { min-width: 0; }
.list-main h3 { margin: 0 0 6px; overflow: hidden; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.list-main p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.listing-stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.listing-stats span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #dce7e3;
  border-radius: 999px;
  background: #f7faf8;
  color: #43514d;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
}
.listing-stats .icon { width: 15px; height: 15px; color: var(--teal); }
.listing-stats strong { color: var(--ink); font-size: .82rem; }
.list-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2f0;
  color: #4d5a56;
  font-size: .68rem;
  font-weight: 850;
}
.status-accepted, .status-active, .status-approved { background: #ddf4e8; color: #246646; }
.status-sent, .status-in_review, .status-pending { background: #fff1cf; color: #7c5715; }
.status-rejected, .status-cancelled, .status-suspended { background: #fee3e3; color: #963939; }

.tabs { display: flex; gap: 5px; margin-bottom: 20px; padding: 5px; border-radius: 13px; background: #e9efec; }
.tabs button { flex: 1; min-height: 39px; padding: 8px 13px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 800; }
.tabs button.active { background: var(--white); box-shadow: 0 3px 10px rgba(23,33,31,.08); color: var(--teal); }

.chat-layout { display: grid; height: calc(100dvh - 140px); min-height: 560px; overflow: hidden; grid-template-columns: 330px 1fr; }
.chat-list { overflow-y: auto; border-right: 1px solid var(--line); }
.chat-list-head { position: sticky; z-index: 2; top: 0; padding: 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.thread-item { display: grid; width: 100%; grid-template-columns: 45px 1fr auto; gap: 11px; padding: 15px 18px; border: 0; border-bottom: 1px solid #edf0ee; background: var(--white); cursor: pointer; text-align: left; }
.thread-item:hover, .thread-item.active { background: #eff7f5; }
.thread-item .avatar { width: 43px; height: 43px; }
.thread-copy { min-width: 0; }
.thread-meta { display: flex; flex-direction: column; align-items: flex-end; }
.thread-item strong, .thread-item small, .thread-item p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-item strong { display: block; margin-bottom: 3px; font-size: .82rem; }
.thread-item small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .66rem; font-weight: 800; }
.thread-item p { margin: 0; color: var(--muted); font-size: .72rem; }
.thread-item time { color: var(--muted); font-size: .63rem; }
.unread-dot { display: grid; min-width: 20px; height: 20px; margin: 8px 0 0 auto; padding: 0 5px; border-radius: 999px; background: var(--coral); color: var(--white); font-size: .65rem; font-weight: 800; place-items: center; }
.chat-window { display: grid; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.chat-head { display: flex; min-height: 72px; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-head > div { min-width: 0; }
.thread-head-copy small { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head strong {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.chat-messages { display: flex; min-height: 0; overflow-y: auto; flex-direction: column; gap: 9px; padding: 22px; background: #f5f8f6; }
.bubble { max-width: min(76%, 580px); padding: 11px 14px; border: 1px solid var(--line); border-radius: 5px 17px 17px; background: var(--white); box-shadow: 0 3px 10px rgba(23,33,31,.04); }
.bubble.mine { align-self: flex-end; border-color: var(--teal); border-radius: 17px 5px 17px 17px; background: var(--teal); color: var(--white); }
.bubble p { margin: 0; white-space: pre-wrap; line-height: 1.5; }
.bubble img { max-height: 330px; margin-bottom: 7px; border-radius: 11px; object-fit: cover; }
.bubble time { display: block; margin-top: 6px; color: inherit; font-size: .62rem; opacity: .62; text-align: right; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 14px; border-top: 1px solid var(--line); background: var(--white); }
.chat-compose input { min-width: 0; margin: 0; }

.profile-grid { display: grid; grid-template-columns: 310px 1fr; gap: 22px; }
.profile-card { min-width: 0; overflow: hidden; padding: 28px; text-align: center; }
.profile-card .avatar { width: 100px; height: 100px; margin: 0 auto 16px; font-size: 1.8rem; }
.profile-card h2 { margin-bottom: 4px; overflow-wrap: anywhere; font-family: var(--font-display); font-size: 1.8rem; }
.profile-card p { overflow-wrap: anywhere; color: var(--muted); font-size: .8rem; }
.profile-card .status { margin-bottom: 20px; }
.profile-actions { display: grid; gap: 8px; margin-top: 20px; }
.settings-stack { display: grid; gap: 20px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  overflow-y: auto;
  background: rgba(13, 24, 21, .68);
  backdrop-filter: blur(8px);
  place-items: center;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative;
  width: min(100%, 570px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 25px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  animation: rise .22s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(15px) scale(.98); } }
.modal-lg { width: min(100%, 910px); }
.modal-xl { width: min(100%, 1120px); }
.modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  cursor: pointer;
  place-items: center;
}
.modal-head { padding: 31px 31px 0; }
.modal-head h2 { margin-bottom: 7px; font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.modal-head p { color: var(--muted); line-height: 1.55; }
.modal-body { padding: 25px 31px 31px; }
.auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 29px; }
.auth-brand img { width: 44px; height: 44px; }
.social-auth { display: grid; gap: 10px; margin-top: 21px; }
.social-config-note { margin: 0; padding: 10px 12px; border: 1px solid rgba(13, 148, 136, .2); border-radius: 12px; background: rgba(13, 148, 136, .07); color: var(--teal-dark); font-size: .72rem; font-weight: 800; line-height: 1.45; text-align: center; }
.social-legal-copy { margin: 3px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; text-align: center; }
.social-legal-copy a, .legal-check a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.legal-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 17px; color: var(--muted); cursor: pointer; font-size: .76rem; line-height: 1.5; }
.legal-check input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex: 0 0 18px; }
.social-auth-btn {
  display: grid;
  min-height: 50px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #cfd9d5;
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .83rem;
  font-weight: 800;
  grid-template-columns: 28px 1fr 28px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.social-auth-btn:hover { border-color: var(--teal); box-shadow: 0 7px 20px rgba(13, 44, 39, .09); transform: translateY(-1px); }
.social-auth-btn:disabled { cursor: wait; opacity: .65; transform: none; }
.social-auth-btn > span:last-child { grid-column: 2; }
.social-auth-icon {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f2f5f4;
  color: #2868c7;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  place-items: center;
}
.social-apple { border-color: #151817; background: #151817; color: var(--white); }
.social-apple:hover { border-color: #151817; box-shadow: 0 8px 20px rgba(15, 18, 17, .2); }
.social-apple .social-auth-icon { background: var(--white); color: #151817; font-size: .63rem; }
.auth-divider { display: flex; align-items: center; gap: 11px; margin: 19px 0; color: var(--muted); font-size: .69rem; text-align: center; }
.auth-divider::before, .auth-divider::after { height: 1px; background: var(--line); content: ""; flex: 1; }
.auth-divider span { flex: 0 1 auto; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.auth-switch button { padding: 0; border: 0; background: transparent; color: var(--teal); cursor: pointer; font-weight: 800; }

.map-modal-head { padding-right: 76px; }
.map-modal-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.map-modal-body { padding-top: 18px; }
.map-search-shell {
  display: grid;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  grid-template-columns: 330px minmax(0, 1fr);
}
.map-results-panel { min-width: 0; max-height: 610px; overflow-y: auto; border-right: 1px solid var(--line); }
.map-results-head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.map-results-head span { display: grid; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: .72rem; font-weight: 900; place-items: center; }
.map-room-list { display: grid; }
.map-room-item {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid #e9eeeb;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  grid-template-columns: 90px minmax(0, 1fr);
  text-align: left;
}
.map-room-item:hover, .map-room-item:focus-visible { outline: 0; background: #f0f7f5; }
.map-room-thumb { width: 90px; height: 82px; overflow: hidden; border-radius: 12px; background: var(--teal-soft); }
.map-room-thumb img, .map-room-thumb .room-image-fallback { width: 100%; height: 100%; object-fit: cover; }
.map-room-copy { min-width: 0; align-self: center; }
.map-room-copy > small { display: block; margin-bottom: 5px; overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.map-room-copy > strong { display: -webkit-box; overflow: hidden; margin-bottom: 8px; font-family: var(--font-display); font-size: 1rem; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.map-room-copy > span { color: var(--teal-dark); font-size: .9rem; font-weight: 900; }
.map-room-copy > span small { font-weight: 650; }
.map-empty { padding: 24px; color: var(--muted); line-height: 1.6; }
.map-stage { position: relative; min-width: 0; min-height: 610px; overflow: hidden; background: #dfe9e5; }
.room-search-map { position: absolute; z-index: 1; inset: 0; }
.map-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 30px;
  background: linear-gradient(145deg, #e8f2ef, #f4eee3);
  color: var(--teal-dark);
  text-align: center;
}
.map-loading span:first-child { width: 38px; height: 38px; border: 4px solid rgba(11,118,111,.18); border-top-color: var(--teal); border-radius: 50%; animation: mapSpin .8s linear infinite; }
@keyframes mapSpin { to { transform: rotate(360deg); } }
.map-provider-note { display: flex; align-items: flex-start; gap: 8px; margin: 13px 3px 0; color: var(--muted); font-size: .69rem; line-height: 1.55; }
.map-provider-note .icon { flex: 0 0 16px; margin-top: 2px; }
.map-provider-note a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.map-price-marker-wrap { background: none; border: 0; }
.map-price-marker {
  display: grid;
  min-width: 76px;
  min-height: 32px;
  padding: 6px 9px;
  border: 2px solid var(--white);
  border-radius: 999px 999px 999px 5px;
  background: var(--teal-dark);
  box-shadow: 0 7px 16px rgba(16,52,47,.28);
  color: var(--white);
  font-size: .7rem;
  font-weight: 900;
  place-items: center;
}
.map-campus-marker-wrap { background: none; border: 0; }
.map-campus-marker {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  margin: 4px 0 0 6px;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 6px;
  background: #2f80ed;
  box-shadow: 0 8px 18px rgba(32,72,124,.32);
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}
.map-campus-marker::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}
.map-popup { display: grid; min-width: 190px; gap: 7px; color: var(--ink); }
.map-popup strong { font-family: var(--font-display); font-size: 1rem; }
.map-popup span { color: var(--muted); font-size: .72rem; }
.map-popup button { padding: 8px 10px; border: 0; border-radius: 9px; background: var(--teal); color: var(--white); cursor: pointer; font-weight: 800; }
.map-campus-popup strong { color: #1d5fa8; }

.detail-gallery { display: grid; gap: 10px; padding: 7px; }
.detail-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; }
.detail-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82%, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 0 4px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.detail-gallery-track::-webkit-scrollbar { height: 10px; }
.detail-gallery-track::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(23,36,45,.18); }
.detail-gallery-slide {
  position: relative;
  display: block;
  height: 440px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--teal-soft);
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  scroll-snap-align: start;
}
.detail-gallery-slide:not(button) { cursor: default; }
.detail-gallery-slide:focus-visible { outline: 3px solid rgba(11,118,111,.35); outline-offset: 3px; }
.detail-gallery img,
.detail-gallery-slide .room-image-fallback {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.detail-gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(12, 26, 24, .62);
  color: var(--white);
  opacity: .92;
  place-items: center;
  transition: transform .16s ease, opacity .16s ease, background .16s ease;
}
.detail-gallery-slide:hover .detail-gallery-zoom,
.detail-gallery-slide:focus-visible .detail-gallery-zoom {
  background: rgba(11,118,111,.9);
  opacity: 1;
  transform: scale(1.05);
}
.image-lightbox {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  overflow: hidden;
  background: rgba(6, 13, 12, .92);
  color: var(--white);
  animation: fade .18s ease;
}
.image-lightbox-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.image-lightbox-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}
.image-lightbox-track::-webkit-scrollbar { display: none; }
.image-lightbox-track:focus-visible { outline: 0; }
.image-lightbox-slide {
  display: grid;
  min-width: 0;
  height: 100dvh;
  margin: 0;
  padding: 74px 92px 86px;
  place-items: center;
  scroll-snap-align: center;
}
.image-lightbox-slide img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 170px);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
  object-fit: contain;
}
.image-lightbox-close,
.image-lightbox-control,
.image-lightbox-dots button {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.image-lightbox-close,
.image-lightbox-control {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  place-items: center;
}
.image-lightbox-close { top: 18px; right: 18px; }
.image-lightbox-control { top: 50%; transform: translateY(-50%); }
.image-lightbox-prev { left: 22px; }
.image-lightbox-prev .icon { transform: rotate(180deg); }
.image-lightbox-next { right: 22px; }
.image-lightbox-close:hover,
.image-lightbox-control:hover,
.image-lightbox-dots button:hover,
.image-lightbox-close:focus-visible,
.image-lightbox-control:focus-visible,
.image-lightbox-dots button:focus-visible {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.24);
  outline: 0;
}
.image-lightbox-control:hover { transform: translateY(-50%) scale(1.05); }
.image-lightbox-footer {
  position: absolute;
  z-index: 3;
  bottom: 19px;
  left: 50%;
  display: flex;
  max-width: calc(100vw - 180px);
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(10, 19, 18, .62);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 850;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}
.image-lightbox-dots {
  display: flex;
  max-width: min(360px, 42vw);
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.image-lightbox-dots::-webkit-scrollbar { display: none; }
.image-lightbox-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 9px;
}
.image-lightbox-dots button.active {
  background: var(--white);
  transform: scale(1.22);
}
.detail-main { display: grid; gap: 35px; padding: 32px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); }
.detail-title { margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.detail-title, .detail-lead, .fact strong, .landlord-row strong { overflow-wrap: anywhere; }
.detail-lead { color: var(--muted); line-height: 1.75; white-space: pre-wrap; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 27px 0; }
.fact { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fafcfb; }
.fact small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.fact strong { font-size: .86rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: .78rem; font-weight: 800; }
.detail-side-card { position: sticky; top: 0; align-self: start; padding: 23px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.detail-price { margin-bottom: 20px; }
.detail-price strong { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; }
.landlord-row { display: grid; align-items: center; gap: 11px; margin: 20px 0; padding: 16px 0; border-block: 1px solid var(--line); grid-template-columns: 46px 1fr; }
.landlord-row strong, .landlord-row small { display: block; }
.landlord-row small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.detail-side-actions { display: grid; gap: 9px; }
.detail-report { display: block; width: 100%; margin-top: 13px; padding: 7px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .72rem; text-decoration: underline; }

.upload-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 10px; }
.upload-preview img { width: 100%; aspect-ratio: 1; border-radius: 11px; object-fit: cover; }

.toast-stack { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; width: min(390px, calc(100vw - 40px)); gap: 10px; }
.toast { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow-md); animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }
.toast-icon { display: grid; width: 31px; height: 31px; border-radius: 9px; background: var(--teal-soft); color: var(--teal); place-items: center; }
.toast.error .toast-icon { background: #fee3e3; color: var(--danger); }
.toast.warning .toast-icon { background: #fff1cf; color: var(--warning); }
.toast strong { display: block; margin-bottom: 3px; font-size: .82rem; }
.toast p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.toast button { padding: 1px; border: 0; background: none; color: var(--muted); cursor: pointer; }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .btn.menu-toggle { display: inline-grid; }
  .mobile-menu-backdrop {
    position: fixed;
    z-index: 48;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(12, 24, 21, .34);
    cursor: default;
    backdrop-filter: blur(3px);
  }
  .mobile-menu {
    position: fixed;
    z-index: 51;
    top: 86px;
    right: max(20px, calc((100vw - var(--max)) / 2));
    display: block;
    width: min(390px, calc(100vw - 40px));
    max-height: calc(100dvh - 106px);
    padding: 18px;
    overflow-y: auto;
    border: 1px solid rgba(223, 230, 226, .95);
    border-radius: 22px;
    background: rgba(255, 253, 250, .98);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    animation: menuIn .18s ease;
  }
  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
  }
  .mobile-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 2px 16px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu-head span,
  .mobile-menu-head small { display: block; }
  .mobile-menu-head span {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 650;
  }
  .mobile-menu-head small { color: var(--muted); font-size: .72rem; line-height: 1.4; }
  .mobile-menu-head .btn { flex: 0 0 auto; }
  .mobile-menu-links { display: grid; gap: 5px; padding: 12px 0; }
  .mobile-menu-links > button {
    display: grid;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    text-align: left;
  }
  .mobile-menu-links > button:hover { background: var(--teal-soft); color: var(--teal-dark); }
  .mobile-menu-links > button > span:first-child {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--teal-soft);
    color: var(--teal);
    place-items: center;
  }
  .mobile-menu-links strong,
  .mobile-menu-links small { display: block; }
  .mobile-menu-links strong { margin-bottom: 3px; font-size: .86rem; }
  .mobile-menu-links small { color: var(--muted); font-size: .68rem; line-height: 1.35; }
  .mobile-menu-actions {
    display: grid;
    gap: 9px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr 1fr;
  }
  .mobile-menu-actions > :only-child { grid-column: 1 / -1; }
  .hero { min-height: 860px; }
  .hero-copy { width: min(680px, 80%); }
  .hero-search { right: 20px; bottom: 36px; left: 20px; width: auto; }
  .rooms-grid, .loading-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .benefits-visual { order: 2; }
  .app-promo-shell { gap: 30px; grid-template-columns: 1fr 390px; }
  .filters-grid { grid-template-columns: repeat(3, 1fr); }
  .filters-extra, .filters-extra.open { grid-template-columns: repeat(3, 1fr); }
  .map-search-shell { grid-template-columns: 285px minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-layout { grid-template-columns: 220px minmax(0,1fr); }
  .detail-main { grid-template-columns: 1fr; }
  .detail-side-card { position: static; }
  .seo-detail-layout { grid-template-columns: 1fr; }
  .seo-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 790px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 72px; gap: 12px; }
  .brand { gap: 8px; font-size: .92rem; }
  .brand img { width: 38px; height: 38px; }
  .nav-actions .btn-ghost { display: none; }
  .mobile-menu {
    top: 82px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 96px);
    padding: 16px;
    border-radius: 20px;
  }
  .hero {
    display: flow-root;
    min-height: 0;
    padding: 104px 0 28px;
    background-position: 62% center;
  }
  .hero::after { background: linear-gradient(180deg, rgba(19,24,23,.9), rgba(19,24,23,.66) 58%, rgba(19,24,23,.88)); }
  .hero-copy { width: 100%; padding-top: 20px; }
  .hero h1 {
    max-width: 680px;
    font-size: clamp(3.1rem, 13vw, 4.7rem);
    line-height: .91;
  }
  .hero-copy > p { max-width: 620px; }
  .hero-search {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(calc(100% - 28px), var(--max));
    margin: 34px auto 0;
    padding: 17px;
  }
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search .btn { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 80px 0; }
  .mobile-app-promo { padding: 76px 0 50px; }
  .app-promo-shell { grid-template-columns: 1fr; }
  .app-preview { width: min(100%, 480px); min-height: 500px; margin: 10px auto 0; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 16px; }
  .rooms-grid, .loading-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { gap: 14px; }
  .step-card { min-height: 260px; }
  .benefits-visual { min-height: 500px; }
  .cta { padding: 42px 27px; }
  .cta-content { display: block; }
  .cta .btn { margin-top: 25px; }
  .footer-grid { gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .app-layout { display: block; }
  .sidebar-backdrop {
    position: fixed;
    z-index: 59;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(12,24,21,.42);
    backdrop-filter: blur(3px);
  }
  .sidebar {
    position: fixed;
    z-index: 60;
    width: min(300px, 86vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-app-menu { display: inline-grid; }
  .app-topbar { padding: 12px 16px; }
  .app-topbar-title { flex: 1 1 auto; }
  .app-topbar-actions { flex: 0 0 auto; }
  .app-content { padding: 20px 14px 90px; }
  .view-head { align-items: start; flex-direction: column; }
  .view-head-actions { width: 100%; justify-content: space-between; }
  .dashboard-hero { grid-template-columns: 1fr; padding: 27px; }
  .dashboard-metric { display: none; }
  .filters-grid, .filters-extra, .filters-extra.open { grid-template-columns: 1fr 1fr; }
  .filters-grid .btn { width: 100%; }
  .two-col, .three-col, .profile-grid { grid-template-columns: 1fr; }
  .chat-layout { height: calc(100dvh - 120px); min-height: 460px; grid-template-columns: 1fr; }
  .chat-layout.thread-open .chat-list { display: none; }
  .chat-window { display: none; }
  .chat-layout.thread-open .chat-window { display: grid; }
  .chat-back { display: inline-grid !important; }
  .detail-gallery-track { grid-auto-columns: 100%; }
  .detail-gallery-slide { height: 320px; }
  .image-lightbox-slide { padding: 68px 18px 116px; }
  .image-lightbox-slide img { max-height: calc(100dvh - 190px); }
  .image-lightbox-control { top: auto; bottom: 28px; transform: none; }
  .image-lightbox-control:hover { transform: scale(1.05); }
  .image-lightbox-prev { left: 18px; }
  .image-lightbox-next { right: 18px; }
  .image-lightbox-footer { bottom: 33px; max-width: calc(100vw - 142px); }
  .image-lightbox-dots { display: none; }
  .detail-main { padding: 23px 18px; }
  .modal-head { padding: 27px 22px 0; }
  .modal-body { padding: 21px 22px 25px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .list-item { grid-template-columns: 70px 1fr; }
  .list-thumb { width: 70px; height: 66px; }
  .list-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .map-modal-body { padding-inline: 14px; }
  .map-search-shell { min-height: 0; grid-template-columns: 1fr; }
  .map-stage { min-height: 56dvh; grid-row: 1; }
  .map-results-panel { max-height: 260px; border-top: 1px solid var(--line); border-right: 0; grid-row: 2; }
  .map-room-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .map-room-item { min-width: min(320px, 86vw); border-right: 1px solid var(--line); border-bottom: 0; scroll-snap-align: start; }
  .seo-main { padding-top: 72px; }
  .seo-hero, .seo-detail-hero { padding: 70px 0 52px; }
  .seo-gallery { grid-template-columns: 1fr; }
  .seo-gallery-item,
  .seo-gallery-item:first-child { grid-column: auto; height: 310px; }
}

@media (max-width: 520px) {
  .nav-wrap { gap: 8px; }
  .nav-actions { gap: 7px; }
  .nav-actions .btn-primary { min-height: 39px; padding: 8px 12px; font-size: .76rem; }
  .menu-toggle { width: 40px; min-height: 40px; }
  .hero { padding-top: 92px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .hero-copy > p { font-size: .97rem; }
  .hero-actions .btn { width: 100%; }
  .hero-note { gap: 9px 14px; }
  .quick-search, .trust-grid, .rooms-grid, .stats-grid, .filters-grid, .filters-extra, .filters-extra.open { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .free-promise-inner { grid-template-columns: 1fr; }
  .free-promise-icon { width: 56px; height: 56px; border-radius: 18px; }
  .seo-link-grid { grid-template-columns: 1fr; }
  .seo-actions .btn { width: 100%; }
  .seo-feature-list li { align-items: flex-start; flex-direction: column; gap: 5px; }
  .seo-feature-list span { text-align: left; }
  .room-image { height: 215px; }
  .benefits-visual { display: none; }
  .mobile-app-promo { padding: 62px 0 35px; }
  .app-promo-copy h2 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .app-promo-copy > p { font-size: .94rem; }
  .store-badges { display: grid; }
  .store-badge { width: 100%; min-width: 0; }
  .app-preview { min-height: 410px; transform: scale(.82); transform-origin: top center; margin-bottom: -70px; }
  .app-topbar { gap: 8px; padding-inline: 12px; }
  .app-topbar h1 { max-width: 47vw; font-size: 1.24rem; }
  .app-topbar-actions .btn span { display: none; }
  .app-topbar-actions { gap: 6px; }
  .app-topbar-actions .btn-square,
  .mobile-app-menu { width: 40px; min-height: 40px; }
  .dashboard-hero { padding: 23px 20px; }
  .dashboard-hero h2 { font-size: 2.15rem; }
  .dashboard-hero .hero-actions .btn { width: 100%; }
  .panel-pad { padding: 18px; }
  .empty-state { min-height: 230px; padding: 28px 18px; }
  .list-item { padding: 13px; }
  .list-main h3 {
    display: -webkit-box;
    font-size: 1.08rem;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .panel-head { align-items: flex-start; flex-wrap: wrap; }
  .chat-compose { grid-template-columns: minmax(0, 1fr) 40px; padding: 10px; }
  .chat-compose .btn-square { width: 40px; min-height: 40px; }
  .chat-head { gap: 9px; padding: 11px 12px; }
  .chat-head .avatar { width: 40px; height: 40px; flex: 0 0 40px; }
  .bubble { max-width: 88%; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .modal-backdrop { padding: 0; place-items: end center; }
  .modal { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .modal-xl, .modal-lg { width: 100%; }
  .map-modal-head { padding-right: 62px; }
  .map-modal-body { padding: 14px 10px 18px; }
  .map-search-shell { border-radius: 16px; }
  .map-stage { min-height: 52dvh; }
  .upload-preview { grid-template-columns: repeat(3, 1fr); }
  .creator-note { align-items: flex-start; padding: 16px; }
}

@media (max-width: 380px) {
  .brand span { display: none; }
  .nav-actions .btn-primary { padding-inline: 10px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-note { font-size: .72rem; }
  .mobile-menu-actions { grid-template-columns: 1fr; }
  .detail-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
