/* Shared stylesheet for Nitin PG static pages. */
:root {
  --navy: #17385f;
  --navy-dark: #102744;
  --blue: #1f5f94;
  --green: #25d366;
  --black: #111827;
  --text: #243244;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
  --font: "Plus Jakarta Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
iframe {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container,
#rooms > h2,
#rooms > .rooms-intro,
#rooms > .rooms-grid,
#reviews > h2,
#reviews > .reviews-intro,
.reviews-shell,
.seo-trust-inner,
.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

#navbar,
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

#navbar {
  position: fixed;
  inset: 0 0 auto;
}

#navbar.scrolled,
.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.nav-inner {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo,
.logo {
  flex: 0 0 auto;
}

.nav-logo img,
.logo img {
  width: 140px;
  height: 48px;
  object-fit: contain;
}

.nav-menu,
.nav-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  transform: translateX(-50%);
}

.nav-menu a,
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-links a:hover,
.nav-menu a.active,
.nav-links a.active {
  background: rgba(23, 56, 95, 0.08);
  color: var(--navy);
}

.nav-call,
.call-btn,
.hero-call,
.primary-btn,
.card-btn,
.room-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-call,
.call-btn {
  min-width: 128px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: 0 10px 22px rgba(23, 56, 95, 0.18);
  font-size: 0.9rem;
}

.nav-call:hover,
.call-btn:hover,
.primary-btn:hover,
.card-btn:hover,
.room-call:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(23, 56, 95, 0.24);
}

.nav-call svg,
.call-btn svg,
.hero-call svg,
.floating-call svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.call-icon {
  animation: callRing 1.25s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes callRing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(15deg);
  }
  24% {
    transform: rotate(-13deg);
  }
  36% {
    transform: rotate(11deg);
  }
  48% {
    transform: rotate(-8deg);
  }
  60% {
    transform: rotate(5deg);
  }
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--navy);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#home {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 570px) 64px minmax(360px, 546px) minmax(24px, 1fr);
  grid-template-rows: auto auto auto auto;
  align-content: center;
  overflow: hidden;
  padding: 136px 0 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 56, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 56, 95, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-circle,
.hero-dots {
  display: none;
}

#home > .hero-title,
#home > .hero-text,
#home > .hero-actions,
#home > .hero-points,
#home > .hero-gallery {
  position: relative;
  z-index: 1;
}

.hero-title {
  grid-column: 2;
  grid-row: 1;
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-text {
  grid-column: 2;
  grid-row: 2;
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.hero-actions {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-call {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--green);
}

.hero-outline,
.outline-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-outline:hover,
.secondary-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.outline-btn {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

.hero-points,
.hero-tags,
.features,
.room-features,
.legacy-points,
.seo-trust-points,
.trust-list,
.service-card ul {
  list-style: none;
}

.hero-points {
  grid-column: 2;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li,
.hero-tags li,
.legacy-points li {
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-points li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.hero-gallery {
  grid-column: 4;
  grid-row: 1 / 5;
  align-self: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
  box-shadow: var(--shadow);
}

.gallery-track,
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-track figure,
.slides img {
  min-width: 100%;
}

.gallery-track figure {
  height: 100%;
}

.gallery-track img,
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn,
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-btn:hover,
.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.gallery-btn.prev,
.slider-btn.prev {
  left: 14px;
}

.gallery-btn.next,
.slider-btn.next {
  right: 14px;
}

.gallery-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
}

.gallery-dots,
.dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 2;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.gallery-dots button,
.dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.gallery-dots button.active,
.dots button.active {
  width: 22px;
  background: var(--white);
}

.hero {
  display: grid;
  min-height: 430px;
  align-items: center;
  padding: 78px 0 64px;
  background:
    linear-gradient(90deg, rgba(16, 39, 68, 0.93), rgba(23, 56, 95, 0.68)),
    url("images/Nitin PG & Boys Hostel Aliganj Lucknow.png") center / cover no-repeat;
  color: var(--white);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li,
.legacy-points li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

#rooms,
.rooms-section,
.services,
.locations,
.about {
  padding: 84px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf5ff 52%, #ffffff 100%);
}

#rooms > h2,
#reviews > h2,
.section-head h2 {
  color: var(--black);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
}

#rooms > h2,
.section-head h2 {
  margin-bottom: 12px;
}

.rooms-intro,
.reviews-intro,
.section-head p {
  max-width: 760px;
  color: var(--muted);
  text-align: center;
}

.rooms-intro,
.reviews-intro {
  margin-bottom: 34px;
}

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

.rooms-grid,
.service-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.room-card,
.service-card,
.location-card,
.panel,
.seo-box,
.trust-box,
.seo-trust-copy,
.seo-trust-points {
  border: 1px solid rgba(23, 56, 95, 0.1);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.07);
}

.room-card,
.location-card {
  overflow: hidden;
}

.room-card,
.service-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.room-card:hover,
.service-card:hover,
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.11);
}

.room-card figure {
  height: 190px;
  background: #e8edf4;
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-body,
.room-card > h3,
.room-card > p,
.room-card > ul,
.room-card > .room-call {
  margin-left: 18px;
  margin-right: 18px;
}

.room-body {
  margin-top: 18px;
  margin-bottom: 18px;
}

.room-card h3,
.service-card h3,
.card-body h3 {
  color: var(--black);
  font-size: 1.14rem;
  line-height: 1.3;
}

.room-card > h3 {
  margin-top: 18px;
}

.room-price,
.price {
  color: var(--navy);
  font-weight: 800;
}

.room-price,
.room-body .price {
  margin-top: 8px;
  font-size: 1.45rem;
}

.price {
  margin: 12px 0;
  font-size: 2rem;
  line-height: 1;
}

.room-price small,
.price small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.room-detail,
.room-card p,
.service-card p,
.card-body p,
.panel p,
.seo-box p,
.trust-box p,
.seo-trust p {
  color: var(--muted);
  line-height: 1.72;
}

.room-card p {
  margin-top: 8px;
  font-size: 0.93rem;
}

.features,
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.features li,
.room-features li,
.service-card li,
.seo-trust-points li,
.trust-list li {
  border-radius: 9px;
  background: rgba(23, 56, 95, 0.07);
  color: var(--navy);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.room-call,
.card-btn,
.primary-btn {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.room-card > .room-call {
  display: flex;
  margin-top: 18px;
  margin-bottom: 18px;
}

.room-body .room-call,
.card-btn {
  width: 100%;
  margin-top: 18px;
}

#legacy {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

#legacy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/Nitin PG & Boys Hostel Aliganj Lucknow.png") center / cover no-repeat;
  transform: scale(1.02);
}

#legacy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 39, 68, 0.9), rgba(23, 56, 95, 0.68), rgba(23, 56, 95, 0.22));
}

.legacy-content {
  width: min(1180px, calc(100% - 48px));
  max-width: 720px;
  margin: 0 auto;
  padding: 78px 0;
}

#legacy h2 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.13;
}

#legacy p {
  max-width: 640px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.78;
}

.legacy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#reviews {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

#reviews > h2 {
  margin-bottom: 12px;
}

.reviews-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 56, 95, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.96)),
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.13), transparent 34%);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.11);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.review-stars::after {
  content: "rating";
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-top > span,
.badge,
.location-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(23, 56, 95, 0.08);
  color: var(--navy);
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 800;
}

.review-card blockquote {
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.72;
}

.review-person {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-person strong {
  color: var(--black);
  font-size: 1rem;
}

.review-person span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.seo-trust,
.trust-band,
.seo-section,
.local-seo,
.faq-section,
.nearby-section {
  padding: 56px 0;
  background: var(--white);
}

.seo-trust-inner,
.trust-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.seo-trust-copy,
.seo-trust-points,
.trust-box,
.seo-box,
.panel {
  padding: 26px;
}

.seo-trust h2,
.trust-box h2,
.seo-box h2,
.panel h2,
.local-seo h2,
.faq-section h2,
.nearby-section h2 {
  margin-bottom: 12px;
  color: var(--black);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.2;
}

.seo-trust-points,
.trust-list,
.service-card ul,
.local-list,
.faq-list,
.nearby-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.local-grid,
.faq-grid,
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.local-card,
.faq-item,
.nearby-card {
  border: 1px solid rgba(23, 56, 95, 0.1);
  border-radius: 12px;
  background: #fbfdff;
  padding: 22px;
}

.local-card h3,
.faq-item h3,
.nearby-card h3 {
  margin-bottom: 8px;
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1.3;
}

.local-card p,
.faq-item p,
.nearby-card p {
  color: var(--muted);
  line-height: 1.72;
}

.local-list li,
.nearby-list li {
  border-radius: 9px;
  background: rgba(23, 56, 95, 0.07);
  color: var(--navy);
  padding: 10px 12px;
  font-weight: 800;
}

.service-card {
  padding: 24px;
}

.service-card.featured,
.room-card.view-all {
  background: linear-gradient(135deg, #ffffff 0%, #edf6ff 100%);
  border-color: rgba(23, 56, 95, 0.18);
}

.slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8edf4;
}

.slider-btn {
  font-size: 1.5rem;
  font-weight: 800;
}

.card-body {
  padding: 22px;
}

.card-body h3,
.location-label {
  margin-bottom: 10px;
}

.card-actions,
.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  padding: 18px;
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-card a,
.contact-card strong {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.map-section {
  padding: 0 0 68px;
  background: var(--white);
}

.map-wrap,
.map-box,
.footer-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.map-wrap {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.map-box iframe,
.footer-map iframe {
  display: block;
  width: 100%;
  height: 140px;
  border: 0;
}

.site-footer,
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 38px 0 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img,
.footer img {
  width: 148px;
  height: 52px;
  object-fit: contain;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 14px;
}

.footer-brand p,
.footer p,
.footer a,
.footer-links a,
.footer-contact p,
.footer-bottom,
.copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-title,
.footer h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-weight: 650;
}

.footer-links a:hover,
.footer a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-map,
.map-box {
  margin-top: 12px;
}

.footer-bottom,
.copy {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.28);
}

@media (max-width: 1040px) {
  .nav-menu,
  .nav-links {
    position: static;
    flex-wrap: wrap;
    transform: none;
  }

  .nav-inner {
    justify-content: flex-start;
  }

  .nav-call,
  .call-btn {
    margin-left: auto;
  }

  #home {
    grid-template-columns: minmax(24px, 1fr) minmax(0, 1fr) minmax(24px, 1fr);
    gap: 26px;
    padding-top: 118px;
    padding-bottom: 70px;
    align-content: start;
  }

  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-points,
  .hero-gallery {
    grid-column: 2;
  }

  .hero-gallery {
    grid-row: 5;
    width: min(100%, 680px);
    justify-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 900px) {
  .rooms-grid,
  .service-grid,
  .reviews-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-trust-inner,
  .trust-grid,
  .about-grid,
  .footer-inner,
  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  #rooms > h2,
  #rooms > .rooms-intro,
  #rooms > .rooms-grid,
  #reviews > h2,
  #reviews > .reviews-intro,
  .reviews-shell,
  .seo-trust-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 32px, 1180px);
  }

  .nav-inner {
    min-height: 66px;
    gap: 10px;
  }

  .nav-logo img,
  .logo img {
    width: 122px;
    height: 42px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(17, 24, 39, 0.08);
    transform: none;
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    width: auto;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(17, 24, 39, 0.08);
    transform: none;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-call,
  .nav-inner > .call-btn {
    display: none;
  }

  #home {
    min-height: auto;
    grid-template-columns: 16px minmax(0, 1fr) 16px;
    gap: 0;
    padding: 94px 0 48px;
    background:
      linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.98)),
      linear-gradient(135deg, rgba(23, 56, 95, 0.08), rgba(37, 211, 102, 0.08));
  }

  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-points,
  .hero-gallery {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  .hero-gallery {
    grid-row: 1;
    margin-top: 0;
    margin-bottom: 24px;
  }

  .hero-title {
    grid-row: 2;
  }

  .hero-text {
    grid-row: 3;
  }

  .hero-actions {
    grid-row: 4;
  }

  .hero-points {
    grid-row: 5;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.08;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 22px;
    font-size: 0.98rem;
    line-height: 1.7;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-call,
  .hero-outline {
    width: min(100%, 360px);
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-points li {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
    text-align: center;
  }

  .hero-gallery {
    aspect-ratio: 16 / 11;
    border: 1px solid rgba(23, 56, 95, 0.1);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.13);
  }

  .hero,
  #rooms,
  .rooms-section,
  .services,
  .locations,
  .about,
  #reviews {
    padding: 56px 0;
  }

  .rooms-grid,
  .service-grid,
  .reviews-shell,
  .local-grid,
  .faq-grid,
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    border-radius: 12px;
  }

  .review-card {
    min-height: 0;
  }

  .card-actions a,
  .hero-actions a {
    width: 100%;
  }

  .map-wrap iframe {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .container,
  #rooms > h2,
  #rooms > .rooms-intro,
  #rooms > .rooms-grid,
  #reviews > h2,
  #reviews > .reviews-intro,
  .reviews-shell,
  .seo-trust-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  #home {
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    padding-top: 86px;
    padding-bottom: 42px;
  }

  .hero-title {
    font-size: clamp(1.84rem, 10vw, 2.35rem);
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    aspect-ratio: 1 / 0.82;
  }

  .gallery-btn {
    width: 34px;
    height: 34px;
  }

  #rooms,
  #reviews,
  .local-seo,
  .faq-section,
  .seo-trust {
    padding: 46px 0;
  }

  #rooms > h2,
  #reviews > h2,
  .section-head h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .rooms-intro,
  .reviews-intro,
  .section-head p {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .room-card figure {
    height: 180px;
  }

  .review-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 22px;
  }

  .floating-call {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 380px) {
  .hero-call,
  .hero-outline {
    width: 100%;
  }

  .hero-title {
    font-size: 1.72rem;
  }

  .hero-gallery {
    aspect-ratio: 1 / 0.9;
  }

  .room-card h3,
  .service-card h3,
  .card-body h3 {
    font-size: 1.04rem;
  }
}
