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

:root {
  --blue: #0875e8;
  --blue-2: #005bd9;
  --sky: #eaf5ff;
  --orange: #ff9f1c;
  --navy: #071b45;
  --text: #1e2b46;
  --muted: #65738c;
  --line: #dce8f8;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 27, 69, .11);
  --soft-shadow: 0 16px 40px rgba(7, 27, 69, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,232,248,.75);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  opacity: .82;
  transition: .2s;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  opacity: 1;
}

.nav-demo {
  color: var(--white) !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(8,117,232,.18);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--sky);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 99px;
}

.flash-wrap {
  padding-top: 18px;
}

.flash {
  background: #e8fff1;
  color: #0b6b36;
  border: 1px solid #b9f1ce;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(8,117,232,.08), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
  padding: 76px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #e9f3ff;
  color: var(--blue);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin: 24px 0 22px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 800;
}

h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.24;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions.centered {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 14px;
  padding: 16px 24px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 18px 35px rgba(8,117,232,.22);
}

.btn.primary.light {
  background: #fff;
  color: var(--blue);
}

.btn.secondary {
  background: white;
  color: var(--blue);
  border-color: rgba(8,117,232,.45);
}

.btn.full {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-badges span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

/* Visuals */
.hero-visual,
.guest-visual,
.dashboard-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
}

.orb.blue {
  width: 420px;
  height: 420px;
  background: #dceeff;
  right: 80px;
  bottom: 50px;
}

.orb.orange {
  width: 360px;
  height: 360px;
  background: var(--orange);
  right: -90px;
  bottom: 30px;
  opacity: .9;
}

.phone {
  width: 300px;
  height: 610px;
  border-radius: 46px;
  background: #101216;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(7,27,69,.22);
  position: relative;
  z-index: 2;
}

.phone-large {
  width: 320px;
  height: 650px;
  transform: rotate(7deg);
}

.phone-small {
  width: 220px;
  height: 455px;
}

.phone.straight {
  transform: none;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  background: #f8fbff;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.2);
}

.phone-head {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  min-height: 132px;
  padding: 48px 22px 22px;
  font-size: 22px;
  font-weight: 850;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.bell {
  font-size: 12px;
  opacity: .9;
}

.resort-card {
  margin: -32px 22px 18px;
  min-height: 142px;
  border-radius: 22px;
  padding: 20px;
  color: white;
  background:
    linear-gradient(to top, rgba(7,27,69,.82), rgba(7,27,69,.12)),
    linear-gradient(135deg, #6ebc70, #77c5ff);
  box-shadow: var(--soft-shadow);
  position: relative;
  z-index: 2;
}

.resort-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.resort-card small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.8);
}

.resort-card a {
  display: inline-flex;
  background: white;
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  margin-top: 16px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 0 22px 18px;
}

.quick-grid.two {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.quick-grid span {
  min-height: 62px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.phone-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin: 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.phone-list b {
  display: block;
  color: var(--navy);
  margin-bottom: 10px;
}

.phone-list div {
  background: #f5f9ff;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
}

.phone-list.compact div {
  padding: 8px;
}

.qr-card {
  position: absolute;
  right: 20px;
  top: 150px;
  z-index: 4;
  width: 210px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-card span,
.qr-card small {
  display: block;
}

.qr-card span {
  color: var(--navy);
  font-weight: 850;
}

.qr-card small {
  color: var(--muted);
}

.qr-mini,
.qr-large {
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
    #fff;
  border: 10px solid white;
  outline: 2px solid #111;
}

.qr-mini {
  width: 126px;
  height: 126px;
  margin: 16px auto;
}

.qr-large {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
}

.section {
  padding: 94px 0;
}

.section-title {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 0;
}

.split-entry {
  padding: 92px 0;
  background: white;
}

.entry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entry-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.entry-card.business {
  background:
    radial-gradient(circle at 90% 8%, rgba(8,117,232,.14), transparent 24%),
    #fff;
}

.entry-card.guest {
  background:
    radial-gradient(circle at 90% 8%, rgba(255,159,28,.18), transparent 24%),
    #fff;
}

.entry-label {
  color: var(--blue);
  background: #e9f3ff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.entry-card h3 {
  margin: 22px 0 14px;
  font-size: 32px;
}

.entry-card p,
.entry-card li {
  color: var(--muted);
  line-height: 1.65;
}

.entry-card ul {
  padding-left: 20px;
  margin: 22px 0 30px;
}

.proof-strip {
  padding: 56px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-grid div,
.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
}

.proof-grid b,
.result-card span {
  display: block;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
}

.proof-grid span,
.result-card p {
  color: var(--muted);
  line-height: 1.5;
}

.result-section {
  padding: 34px 0 78px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.result-card {
  min-height: 154px;
}

.feature-grid,
.guest-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.guest-feature-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--soft-shadow);
}

.icon,
.guest-feature-grid article span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 900;
}

.feature-card p,
.guest-feature-grid article p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.benefit-section,
.start-section,
.screens-section {
  background: white;
  padding: 100px 0;
}

.two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 62px;
  align-items: center;
}

.benefit-visual {
  min-height: 520px;
}

.hotel-card {
  height: 520px;
  border-radius: 34px;
  background:
    linear-gradient(to right, rgba(255,255,255,.06), rgba(255,255,255,.72)),
    linear-gradient(135deg, #dbefff, #c7e6ff 45%, #a9d072 46%, #90c95d);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hotel-card::before {
  content: "";
  position: absolute;
  inset: 140px 80px 0;
  border-radius: 28px 28px 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 46px, rgba(230,236,244,.85) 46px 52px),
    #f6e5c9;
  box-shadow: 0 0 0 6px rgba(255,255,255,.4);
}

.stat-window {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.stat-window.top {
  left: 42px;
  top: 44px;
  width: 220px;
}

.stat-window.bottom {
  left: 150px;
  bottom: 54px;
  width: 330px;
}

.stat-window b {
  color: var(--blue);
  display: block;
  font-size: 34px;
}

.stat-window span {
  color: var(--muted);
}

.check-list {
  margin-top: 34px;
}

.check-list div {
  position: relative;
  padding-left: 46px;
  margin: 26px 0;
}

.check-list div::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 900;
}

.check-list b {
  color: var(--navy);
  font-size: 18px;
}

.check-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.workflow-grid article {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--soft-shadow);
}

.step {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 28px;
}

.workflow-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.integration-grid div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.integration-grid b {
  display: block;
  color: var(--blue);
  font-size: 26px;
  margin-bottom: 10px;
}

.integration-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cta-panel {
  padding: 90px 0;
}

.cta-box {
  border-radius: 34px;
  padding: 54px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 28px 70px rgba(8,117,232,.25);
}

.cta-box h2,
.cta-box p {
  color: white;
}

.cta-box p {
  max-width: 660px;
  margin-bottom: 0;
  opacity: .82;
}

/* Dashboard */
.dashboard-visual {
  min-height: 610px;
}

.desktop-panel {
  width: 560px;
  height: 380px;
  border-radius: 30px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
}

.desktop-sidebar {
  background: #f0f7ff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.desktop-sidebar b {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 10px;
}

.desktop-content {
  padding: 30px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metrics div {
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.metrics small {
  color: var(--muted);
}

.metrics b {
  display: block;
  color: var(--navy);
  font-size: 22px;
  margin-top: 8px;
}

.table-line {
  height: 44px;
  border-radius: 14px;
  background: #f4f8ff;
  margin-top: 16px;
}

.table-line.short {
  width: 80%;
}

.service-row {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.service-row b {
  color: var(--blue);
}

.analytics-card {
  position: absolute;
  left: 0;
  top: 86px;
  z-index: 3;
  width: 220px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.analytics-card small,
.analytics-card span {
  color: var(--muted);
}

.analytics-card strong {
  display: block;
  color: var(--blue);
  font-size: 48px;
  margin: 12px 0 4px;
}

.analytics-card span {
  color: #14a35b;
  font-weight: 850;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 62px;
  margin-top: 18px;
}

.bars i {
  display: block;
  width: 18px;
  border-radius: 8px 8px 0 0;
  background: #87bfff;
}

.bars i:nth-child(1) { height: 20%; }
.bars i:nth-child(2) { height: 32%; }
.bars i:nth-child(3) { height: 45%; }
.bars i:nth-child(4) { height: 64%; }
.bars i:nth-child(5) { height: 50%; }
.bars i:nth-child(6) { height: 80%; }

.floating {
  position: absolute;
  right: 10px;
  bottom: 20px;
  transform: rotate(3deg);
}

/* Guest */
.guest-wallpaper {
  height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  background:
    linear-gradient(to top, rgba(7,27,69,.86), rgba(7,27,69,.2)),
    linear-gradient(135deg, #45a8ff, #043f7c);
  padding-top: 70px;
}

.app-logo-mark {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue) 0 52%, white 52% 58%, var(--orange) 58% 100%);
  margin-bottom: 16px;
}

.guest-wallpaper strong {
  font-size: 30px;
}

.guest-wallpaper span {
  font-size: 14px;
  opacity: .82;
}

.login-box {
  padding: 26px;
  display: grid;
  gap: 14px;
}

.login-box button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.login-box button.ghost {
  background: #e9f3ff;
  color: var(--blue);
}

.guest-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.start-steps {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.start-steps div {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.start-steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
}

.start-steps span {
  font-weight: 750;
  color: var(--navy);
}

.qr-demo {
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 54px;
  text-align: center;
  box-shadow: var(--shadow);
}

.qr-demo p {
  color: var(--muted);
}

.screens-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.screen-shot {
  text-align: center;
}

.screen-shot > div {
  height: 350px;
  border: 10px solid #101216;
  border-radius: 34px;
  background:
    linear-gradient(180deg, var(--blue) 0 24%, transparent 24%),
    repeating-linear-gradient(180deg, white 0 52px, #f3f8ff 52px 54px);
  box-shadow: var(--soft-shadow);
}

.screen-shot h3 {
  margin: 18px 0 8px;
}

.screen-shot p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: var(--soft-shadow);
}

summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--navy);
}

details p {
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.6;
}

/* Forms */
.form-page {
  padding: 90px 0;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: start;
}

.form-benefits {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.form-benefits div {
  display: flex;
  gap: 14px;
  color: var(--navy);
  font-weight: 800;
}

.form-benefits span {
  color: var(--blue);
}

.lead-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.lead-form h2 {
  font-size: 34px;
  margin-bottom: 24px;
}

.lead-form label {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin: 16px 0;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--text);
  margin-top: 8px;
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8,117,232,.08);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 16px 0 0;
}

.thanks-page {
  padding: 100px 0;
}

.thanks-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 70px;
  text-align: center;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 54px;
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
}

.site-footer p,
.site-footer span {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer h4 {
  color: var(--navy);
  margin-bottom: 18px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin: 10px 0;
}

.site-footer a:hover {
  color: var(--blue);
}

.text-link {
  color: var(--blue) !important;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .nav {
    gap: 16px;
  }

  .hero-grid,
  .two-col,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .guest-visual,
  .dashboard-visual {
    min-height: 620px;
  }

  .phone-large {
    transform: none;
  }

  .feature-grid,
  .guest-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-grid,
  .proof-grid,
  .integration-grid,
  .screens-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    height: 70px;
  }

  .brand-logo {
    height: 46px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 70px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  body.menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .hero-grid {
    min-height: auto;
    padding: 46px 0 70px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .cta-box {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-visual,
  .guest-visual,
  .dashboard-visual {
    min-height: 540px;
    overflow: hidden;
  }

  .phone,
  .phone-large {
    width: 270px;
    height: 550px;
  }

  .qr-card,
  .analytics-card,
  .floating {
    display: none;
  }

  .desktop-panel {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
  }

  .desktop-sidebar {
    display: none;
  }

  .entry-cards,
  .feature-grid,
  .guest-feature-grid,
  .workflow-grid,
  .result-grid,
  .proof-grid,
  .integration-grid,
  .screens-row {
    grid-template-columns: 1fr;
  }

  .entry-card,
  .cta-box,
  .lead-form,
  .thanks-card {
    padding: 28px;
  }

  .section,
  .benefit-section,
  .start-section,
  .screens-section {
    padding: 70px 0;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    gap: 8px;
  }

  .screen-shot > div {
    height: 320px;
  }
}
/* ===== QR-коды для скачивания приложения ===== */

.download-qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.download-qr-card h3 {
  margin: 18px 0 12px;
  font-size: 28px;
}

.download-qr-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.download-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-qr-item {
  display: grid;
  justify-items: center;
  gap: 12px;

  padding: 18px 14px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 22px;

  text-align: center;
  transition: 0.2s ease;
}

.download-qr-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--soft-shadow);
}

.download-qr-item img {
  width: 128px;
  height: 128px;
  object-fit: contain;

  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.download-qr-item span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

/* Адаптация QR-блока */

@media (max-width: 1060px) {
  .download-qr-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .download-qr-card {
    padding: 28px;
    border-radius: 28px;
  }

  .download-qr-card h3 {
    font-size: 24px;
  }

  .download-qr-grid {
    grid-template-columns: 1fr;
  }

  .download-qr-item {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .download-qr-item img {
    width: 92px;
    height: 92px;
  }
}
/* ===== Красивые иконки карточек ===== */

.icon,
.guest-feature-grid article .icon {
  position: relative;
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  margin-bottom: 22px;

  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 117, 232, 0.12), rgba(255, 159, 28, 0.12)),
    #ffffff;

  border: 1px solid rgba(8, 117, 232, 0.16);
  box-shadow: 0 14px 30px rgba(7, 27, 69, 0.08);

  color: var(--blue);
  font-size: 0;
}

.icon::before {
  content: "";
  width: 28px;
  height: 28px;

  background-color: var(--blue);

  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.icon-calendar::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1Zm13 8H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-9ZM5 6a1 1 0 0 0-1 1v1h16V7a1 1 0 0 0-1-1H5Z'/%3E%3C/svg%3E");
}

.icon-qr::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h8v8H3V3Zm2 2v4h4V5H5Zm8-2h8v8h-8V3Zm2 2v4h4V5h-4ZM3 13h8v8H3v-8Zm2 2v4h4v-4H5Zm10-2h2v2h-2v-2Zm4 0h2v4h-2v-4Zm-6 4h2v4h-2v-4Zm4 2h4v2h-4v-2Zm0-4h2v2h-2v-2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h8v8H3V3Zm2 2v4h4V5H5Zm8-2h8v8h-8V3Zm2 2v4h4V5h-4ZM3 13h8v8H3v-8Zm2 2v4h4v-4H5Zm10-2h2v2h-2v-2Zm4 0h2v4h-2v-4Zm-6 4h2v4h-2v-4Zm4 2h4v2h-4v-2Zm0-4h2v2h-2v-2Z'/%3E%3C/svg%3E");
}

.icon-wallet::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h15a2 2 0 0 1 2 2v2h-5a4 4 0 1 0 0 8h5v2a2 2 0 0 1-2 2H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3Zm0 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h15v-2h-3a6 6 0 0 1 0-12h3V7H4Zm12 4h6v4h-6a2 2 0 1 1 0-4Zm0 2a.4.4 0 1 0 0 .8.4.4 0 0 0 0-.8Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h15a2 2 0 0 1 2 2v2h-5a4 4 0 1 0 0 8h5v2a2 2 0 0 1-2 2H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3Zm0 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h15v-2h-3a6 6 0 0 1 0-12h3V7H4Zm12 4h6v4h-6a2 2 0 1 1 0-4Zm0 2a.4.4 0 1 0 0 .8.4.4 0 0 0 0-.8Z'/%3E%3C/svg%3E");
}

.icon-shop::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4a5 5 0 0 1 10 0h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2Zm2 0h6a3 3 0 0 0-6 0ZM5 6v14h14V6h-2v2a1 1 0 1 1-2 0V6H9v2a1 1 0 1 1-2 0V6H5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4a5 5 0 0 1 10 0h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2Zm2 0h6a3 3 0 0 0-6 0ZM5 6v14h14V6h-2v2a1 1 0 1 1-2 0V6H9v2a1 1 0 1 1-2 0V6H5Z'/%3E%3C/svg%3E");
}

.icon-bell::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a6 6 0 0 0-6 6v3.3L4.3 15A2 2 0 0 0 6.1 18h11.8a2 2 0 0 0 1.8-3L18 11.3V8a6 6 0 0 0-6-6Zm0 2a4 4 0 0 1 4 4v3.8c0 .2.1.4.2.6L18 16H6l1.8-3.6c.1-.2.2-.4.2-.6V8a4 4 0 0 1 4-4Zm-2 16h4a2 2 0 0 1-4 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a6 6 0 0 0-6 6v3.3L4.3 15A2 2 0 0 0 6.1 18h11.8a2 2 0 0 0 1.8-3L18 11.3V8a6 6 0 0 0-6-6Zm0 2a4 4 0 0 1 4 4v3.8c0 .2.1.4.2.6L18 16H6l1.8-3.6c.1-.2.2-.4.2-.6V8a4 4 0 0 1 4-4Zm-2 16h4a2 2 0 0 1-4 0Z'/%3E%3C/svg%3E");
}

.icon-user::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0-2a3 3 0 1 1 3-3 3 3 0 0 1-3 3Zm0 3c-4.4 0-8 2.4-8 5.4V21h16v-2.6c0-3-3.6-5.4-8-5.4Zm-6 6v-.6c0-1.7 2.7-3.4 6-3.4s6 1.7 6 3.4v.6H6Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0-2a3 3 0 1 1 3-3 3 3 0 0 1-3 3Zm0 3c-4.4 0-8 2.4-8 5.4V21h16v-2.6c0-3-3.6-5.4-8-5.4Zm-6 6v-.6c0-1.7 2.7-3.4 6-3.4s6 1.7 6 3.4v.6H6Z'/%3E%3C/svg%3E");
}

.icon-food::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v7a3 3 0 0 1-2 2.83V21a1 1 0 1 1-2 0v-8.17A3 3 0 0 1 2 10V3a1 1 0 0 1 2 0v7a1 1 0 0 0 2 0V3a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v18a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm7 0c2.2 0 4 2.5 4 5.5S20.2 13 18 13h-.5v8a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1H18Zm-.5 2v7h.5c1 0 2-1.4 2-3.5S19 4 18 4h-.5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v7a3 3 0 0 1-2 2.83V21a1 1 0 1 1-2 0v-8.17A3 3 0 0 1 2 10V3a1 1 0 0 1 2 0v7a1 1 0 0 0 2 0V3a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v18a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm7 0c2.2 0 4 2.5 4 5.5S20.2 13 18 13h-.5v8a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1H18Zm-.5 2v7h.5c1 0 2-1.4 2-3.5S19 4 18 4h-.5Z'/%3E%3C/svg%3E");
}

.icon-location::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 17c-2-2.5-5-7-5-10a5 5 0 0 1 10 0c0 3-3 7.5-5 10Zm0-7a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 17c-2-2.5-5-7-5-10a5 5 0 0 1 10 0c0 3-3 7.5-5 10Zm0-7a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z'/%3E%3C/svg%3E");
}
/* ===== Картинка внутри экрана телефона на главной ===== */

.phone-screen-image {
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.phone-screen-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;

  object-fit: cover !important;
  object-position: center top !important;
}

/* Чтобы QR-карточка красиво оставалась рядом с телефоном */
.hero-home .qr-card {
  right: 10px;
  top: 155px;
}

/* ==================================================
   ОДНОСТРАНИЧНИК: финальные правки навигации
   ================================================== */

#top,
#features,
#benefits,
#integrations {
  scroll-margin-top: 96px;
}

/* Меню теперь состоит только из якорей внутри одной страницы */
.nav a[href^="#"] {
  white-space: nowrap;
}

/* Логотип ведёт наверх страницы */
.brand {
  cursor: pointer;
}

/* Аккуратный футер для одностраничника: теперь 3 колонки вместо 4 */
.site-footer .footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Телефон на первом экране страницы санатория ===== */

.b2b-hero .dashboard-visual {
  position: relative !important;
  min-height: 620px !important;
}

.b2b-hero .b2b-phone {
  position: absolute !important;
  top: 80px !important;
  right: 80px !important;
  z-index: 4 !important;

  width: 280px !important;
  height: 560px !important;

  transform: rotate(7deg) !important;
}
/* ===== Новый фон в блоке преимуществ ===== */

.hotel-card {
  position: relative !important;
  overflow: hidden !important;

  height: 520px !important;
  border-radius: 34px !important;

    background: url("/static/img/benefit-sanatorium.png") center / cover no-repeat !important;

  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;

  box-shadow: var(--shadow) !important;
}

/* Убираем старое CSS-здание, чтобы оно не накладывалось на новую картинку */
.hotel-card::before {
  display: none !important;
}

/* Показатели поверх картинки */
.hotel-card .stat-window {
  z-index: 3 !important;
}

/* Верхняя карточка */
.hotel-card .stat-window.top {
  left: 42px !important;
  top: 44px !important;
}

/* Нижняя карточка */
.hotel-card .stat-window.bottom {
  left: 120px !important;
  bottom: 48px !important;
}
@media (max-width: 760px) {
  .hotel-card {
    height: 420px !important;
    background-position: center !important;
  }

  .hotel-card .stat-window.top {
    left: 20px !important;
    top: 24px !important;
  }

  .hotel-card .stat-window.bottom {
    left: 20px !important;
    right: 20px !important;
    bottom: 24px !important;
    width: auto !important;
  }
}
/* ==================================================
   АДАПТАЦИЯ: ПЛАНШЕТЫ И МОБИЛЬНЫЕ
   ================================================== */


/* ---------- Планшеты: до 1100px ---------- */

@media (max-width: 1100px) {
  .container {
    width: min(100% - 40px, 920px);
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
    min-height: auto !important;
    padding: 70px 0 80px !important;
  }

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .dashboard-visual {
    min-height: 560px !important;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .desktop-panel {
    width: 100% !important;
    max-width: 620px;
  }

  .analytics-card {
    left: 20px !important;
    top: 70px !important;
  }

  .b2b-phone {
    position: absolute !important;
    right: 40px !important;
    top: 180px !important;
    width: 260px !important;
    height: 530px !important;
    transform: rotate(5deg) !important;
  }

  .result-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .benefit-visual {
    order: 2;
  }

  .two-col > div:last-child {
    order: 1;
  }

  .integration-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .site-footer .footer-grid,
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr !important;
    gap: 36px !important;
  }
}


/* ---------- Мобильные: до 760px ---------- */

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 28px) !important;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    height: 68px !important;
  }

  .brand-logo {
    height: 42px !important;
  }

  .nav {
    inset: 74px 14px auto 14px !important;
  }

  .hero {
    background:
      radial-gradient(circle at 80% 10%, rgba(8,117,232,.08), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 46px 0 56px !important;
  }

  .hero-content {
    text-align: left !important;
    margin: 0 !important;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
  }

  h2 {
    font-size: clamp(30px, 8vw, 38px) !important;
    line-height: 1.12 !important;
  }

  .lead {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .dashboard-visual {
    min-height: 520px !important;
    overflow: hidden !important;
    margin-top: 8px;
  }

  /* На телефоне desktop-панель лучше оставить фоном, но упростить */
  .desktop-panel {
    width: 100% !important;
    height: 300px !important;
    opacity: 0.65;
    transform: scale(0.96);
    transform-origin: center top;
  }

  .desktop-sidebar {
    display: none !important;
  }

  .desktop-panel {
    grid-template-columns: 1fr !important;
  }

  .desktop-content {
    padding: 22px !important;
  }

  .metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .metrics div {
    padding: 14px !important;
  }

  .metrics b {
    font-size: 18px !important;
  }

  .service-row {
    display: block !important;
    font-size: 13px;
  }

  .analytics-card {
    display: none !important;
  }

  .b2b-phone {
    position: absolute !important;
    right: 50% !important;
    top: 150px !important;
    width: 230px !important;
    height: 470px !important;
    transform: translateX(50%) rotate(4deg) !important;
    z-index: 4 !important;
  }

  .result-section {
    padding: 44px 0 58px !important;
  }

  .result-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .result-card {
    min-height: auto !important;
    padding: 24px !important;
  }

  .result-card span {
    font-size: 30px !important;
  }

  .section,
  .benefit-section,
  .integrations-section {
    padding: 64px 0 !important;
  }

  .section-title {
    text-align: left !important;
    margin-bottom: 34px !important;
  }

  .section-title p {
    font-size: 16px !important;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .feature-card {
    padding: 24px !important;
    border-radius: 24px !important;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .benefit-visual {
    min-height: auto !important;
  }

  .hotel-card {
    height: 420px !important;
    border-radius: 28px !important;
    background-position: center !important;
  }

  .stat-window {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .stat-window.top {
    left: 18px !important;
    top: 18px !important;
    width: 180px !important;
  }

  .stat-window.bottom {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    width: auto !important;
  }

  .stat-window b {
    font-size: 28px !important;
  }

  .check-list {
    margin-top: 26px !important;
  }

  .check-list div {
    padding-left: 38px !important;
    margin: 22px 0 !important;
  }

  .check-list div::before {
    width: 26px !important;
    height: 26px !important;
  }

  .integration-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .integration-grid div {
    padding: 24px !important;
  }

  .site-footer {
    padding: 46px 0 24px !important;
  }

  .site-footer .footer-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    text-align: left !important;
  }
}


/* ---------- Маленькие телефоны: до 420px ---------- */

@media (max-width: 420px) {
  .container {
    width: calc(100% - 22px) !important;
  }

  h1 {
    font-size: 32px !important;
  }

  .lead {
    font-size: 15px !important;
  }

  .dashboard-visual {
    min-height: 480px !important;
  }

  .desktop-panel {
    height: 270px !important;
  }

  .b2b-phone {
    top: 138px !important;
    width: 210px !important;
    height: 430px !important;
  }

  .hotel-card {
    height: 380px !important;
  }

  .feature-card,
  .result-card,
  .integration-grid div {
    padding: 22px !important;
  }
}
/* Первый экран страницы «Карта гостя» */
.guest-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(44px, 5vw, 76px);
}

.guest-card-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.guest-card-copy .lead {
  max-width: 540px;
  margin: 0;
}

.guest-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.guest-card-details {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Телефон на первом экране */
.guest-card-device {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 270px);
  box-sizing: border-box;
  padding: 7px;
  border: 1px solid #707b8b;
  border-radius: 36px;
  background: linear-gradient(135deg, #596474 0%, #252c36 22%, #141922 75%);

  /* Короткие тени справа формируют толщину корпуса */
  box-shadow:
    2px 1px 0 #76808d,
    4px 2px 0 #515b68,
    6px 3px 0 #323b47,
    8px 4px 0 #242c37,
    16px 20px 28px -12px rgba(24, 42, 70, 0.28),
    24px 40px 54px -24px rgba(24, 42, 70, 0.30);

  transform: perspective(1100px) rotateY(-10deg) rotateZ(3deg);
}

/* Боковая кнопка на правой грани */
.guest-card-device::after {
  content: "";
  position: absolute;
  top: 29%;
  right: -7px;
  width: 3px;
  height: 42px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8792a0, #414b58);
  pointer-events: none;
}

.guest-card-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
}

@media (max-width: 760px) {
  .guest-card-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 36px 44px;
  }

  .guest-card-copy h1 {
    margin-bottom: 16px;
  }

  .guest-card-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 22px;
  }

  .guest-card-device {
    width: min(100%, 216px);
    transform: none;
  }
}
#lead-form {
  scroll-margin-top: 95px;
}

#lead-form .guest-card-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

#lead-form .guest-card-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
}

#lead-form [role="alert"] {
  color: #a52828;
}
.guest-card-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.guest-card-nav a {
  padding-block: 6px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.guest-card-nav a:hover,
.guest-card-nav a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

#features,
#benefits {
  scroll-margin-top: 95px;
}

@media (max-width: 760px) {
  .guest-card-nav {
    display: none;
  }
}
.guest-screens {
  background: #f5f9fd;
}

.guest-screens h2 {
  margin: 0 0 24px;
}

.guest-screens-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.guest-screens-picker legend {
  margin-bottom: 20px;
  padding: 0;
  color: var(--muted);
}

.guest-screens-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  grid-template-rows: repeat(4, max-content) 1fr;
  gap: 10px clamp(32px, 7vw, 100px);
  align-items: start;
}

.guest-screen-choice {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.guest-screen-label {
  grid-column: 1;
  grid-row: var(--screen-row);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.guest-screen-label:hover {
  border-color: var(--blue);
}

.guest-screen-choice:checked + .guest-screen-label {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.guest-screen-choice:focus-visible + .guest-screen-label {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.guest-screen-preview {
  display: none;
  grid-column: 2;
  grid-row: 1 / 6;
  justify-items: center;
  gap: 16px;
  margin: 0;
}

.guest-screen-choice:checked + .guest-screen-label + .guest-screen-preview {
  display: grid;
}

.guest-screen-preview .guest-card-device {
  width: min(100%, 300px);
  margin: 12px 0 20px;
}

@media (max-width: 760px) {
  .guest-screen-preview .guest-card-device {
    width: min(100%, 270px);
  }
}

.guest-screen-preview figcaption {
  max-width: 440px;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .guest-screens-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 8px;
  }

  .guest-screen-label {
    grid-column: auto;
    grid-row: auto;
    padding: 12px 8px;
    text-align: center;
  }

  .guest-screen-preview {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 14px;
  }
}
/* Сохраняем размер телефона при смене скриншотов */
#hero-phone-screen {
  aspect-ratio: 995 / 2000;
  object-fit: contain;
  background: #eff2f8;
}

.hero-phone-toggle {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.hero-phone-toggle:hover,
.hero-phone-toggle:focus-visible {
  text-decoration: underline;
}
/* Логотип и название в шапке */
.site-header .brand {
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header .brand-logo {
  width: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.site-header .brand-name {
  color: var(--navy);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

/* Главный заголовок и заголовки разделов */
.guest-card-copy h1 {
  letter-spacing: normal !important;
}

main h2 {
  letter-spacing: normal;
}

/* Надписи на кнопках */
main .btn {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.site-footer img[alt="Кинт"] {
  border-radius: 8px;
}
.benefit-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-areas:
    "scene heading"
    "scene options";
  align-items: center;
  gap: 24px clamp(28px, 5vw, 64px);
}

.benefit-demo h2 {
  grid-area: heading;
  align-self: end;
  margin: 0;
}

.benefit-demo-scene {
  grid-area: scene;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px 18px;
  border-radius: 30px;
  background-color: #eaf3fa;
  background-image:
    linear-gradient(120deg, rgb(255 255 255 / 10%), rgb(235 245 253 / 40%)),
    url("../img/benefit-sanatorium.png");
  background-size: cover, 330% auto;
  background-position: center, left center;
  background-repeat: no-repeat;
}

.benefit-demo-scene .guest-card-device {
  width: min(100%, 230px);
}

#benefit-screen {
  aspect-ratio: 995 / 2000;
  object-fit: contain;
  background: #eff2f8;
}

.benefit-demo-options {
  grid-area: options;
  align-self: start;
  display: grid;
  gap: 10px;
}

.benefit-demo-option {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.benefit-demo-option strong,
.benefit-demo-option span {
  display: block;
}

.benefit-demo-option span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.benefit-demo-option:hover,
.benefit-demo-option:focus-visible {
  border-color: var(--blue);
}

.benefit-demo-option[aria-pressed="true"] {
  border-color: var(--blue);
  background: #f2f8ff;
  box-shadow: inset 3px 0 var(--blue);
}

@media (max-width: 760px) {
  .benefit-demo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "options" "scene";
    gap: 18px;
  }
}