/*
Theme Name: 素敵なお部屋 ポータルサイト
Author: NiceRoom Dev Team
Description: 素敵なお部屋 ポータルサイト
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: niceroom-portal
*/

:root {
  --nr-primary: #2563eb;
  --nr-primary-dark: #1d4ed8;
  --nr-accent: #f59e0b;
  --nr-bg: #f9fafb;
  --nr-surface: #ffffff;
  --nr-text: #111827;
  --nr-muted: #6b7280;
  --nr-border: rgba(15, 23, 42, 0.08);
  --nr-header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  height: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  background: var(--nr-bg);
  color: var(--nr-text);
  line-height: 1.6;
  padding-top: var(--nr-header-height);
}

main,
.site-main,
.content-area,
#primary,
.site-content,
.site,
#page {
  flex: 1 0 auto;
  width: 100%;
  display: block;
}

.site,
#page {
  display: flex;
  flex-direction: column;
}

.site-content,
.site-main,
#primary {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--nr-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--nr-primary);
  color: #fff;
  box-shadow: 0 12px 24px -18px rgba(37, 99, 235, 0.85);
}

.button--primary:hover,
.button--primary:focus {
  background: var(--nr-primary-dark);
  color: #f8fafc;
}

.button--ghost {
  background: rgba(37, 99, 235, 0.1);
  color: var(--nr-primary-dark);
}

.button--outline {
  background: transparent;
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--nr-primary-dark);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-header {
  background: var(--nr-surface);
  border-bottom: 1px solid var(--nr-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.5);
}

body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar {
  padding-top: calc(var(--nr-header-height) + 32px);
}

.site-header .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
}

.site-title {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 700;
}

.site-title a {
  text-decoration: none;
}

.site-tagline {
  color: var(--nr-muted);
  font-size: 0.9rem;
  margin: 0;
}

.global-nav {
  margin-left: auto;
}

.global-nav .menu,
.menu.menu--fallback {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.global-nav .menu a,
.menu.menu--fallback a {
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 0.75rem;
  color: var(--nr-muted);
}

.global-nav .menu a:hover,
.global-nav .menu a:focus,
.menu.menu--fallback a:hover,
.menu.menu--fallback a:focus {
  color: var(--nr-primary);
  background: rgba(37, 99, 235, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-toggle:focus,
.nav-toggle:hover {
  background: rgba(37, 99, 235, 0.15);
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--nr-primary);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.global-nav__cta {
  display: none;
}

.global-nav__cta .button {
  width: 100%;
  justify-content: center;
}

.hero,
.feature,
.trial,
.steps,
.cases,
.cta-banner,
.news,
.property-list,
.blog,
.error-404,
.auth-page,
.contact-page {
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
}

.blog,
.property-list,
.news,
.error-404,
.auth-page,
.contact-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.blog > .inner,
.property-list > .inner,
.news > .inner,
.error-404 > .inner,
.blog-single > .inner,
.contact-page > .inner {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.property-list .inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.blog .inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.news .inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.blog-single {
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
}

.blog-single .inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.blog-single__article {
  background: var(--nr-surface);
  border-radius: 1.25rem;
  box-shadow: 0 18px 46px -32px rgba(15, 23, 42, 0.35);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.blog-single__header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-single__meta {
  font-size: 0.9rem;
  color: var(--nr-muted);
  letter-spacing: 0.05em;
}

.blog-single__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-single__categories a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--nr-primary);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.blog-single__categories a:hover,
.blog-single__categories a:focus {
  background: rgba(37, 99, 235, 0.22);
}

.blog-single__title {
  margin: 0;
  font-size: clamp(1.95rem, 5.5vw, 2.4rem);
  color: var(--nr-primary-dark);
}

.blog-single__content {
  line-height: 1.8;
  color: var(--nr-text);
}

.blog-single__content a {
  color: var(--nr-primary);
}

.blog-single__content img,
.blog-single__content figure {
  max-width: 100%;
  height: auto;
}

.blog-single__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--nr-border);
  padding-top: 1.5rem;
}

.blog-single__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--nr-primary);
  font-weight: 600;
}

.blog-single__nav-link--list {
  justify-content: center;
}

.blog-single__nav-link--prev {
  justify-content: flex-start;
}

.blog-single__nav-link--next {
  justify-content: flex-end;
}

.blog-single__nav-placeholder {
  height: 1.5rem;
}

@media (max-width: 640px) {
  .blog-single__nav {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .blog-single__nav-link--prev,
  .blog-single__nav-link--next {
    justify-content: center;
  }

  .blog-single__nav-placeholder {
    display: none;
  }
}

.section-header--left {
  text-align: left;
  align-items: flex-start;
}

.section-header--left h1,
.section-header--left h2,
.section-header--left p {
  text-align: left;
}

.error-404 {
  text-align: center;
}

.error-404__body {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.error-404__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--nr-primary);
  font-size: 2.5rem;
  font-weight: 700;
}

.error-404 p {
  margin: 0;
  color: var(--nr-muted);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-page .inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.contact-card {
  background: var(--nr-surface);
  border-radius: 1.25rem;
  box-shadow: 0 24px 50px -34px rgba(15, 23, 42, 0.32);
  padding: clamp(2.2rem, 6vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 1.75rem 1.5rem;
    gap: 1.3rem;
  }

  .contact-card__body {
    gap: 0.9rem;
  }

  .contact-card__body label {
    gap: 0.35rem;
  }
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card__body label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--nr-text);
  margin: 15px 0;
}

.contact-card__body label .wpcf7-form-control-wrap {
  display: block;
}

.contact-card__body .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card__body .wpcf7 input[type="text"],
.contact-card__body .wpcf7 input[type="email"],
.contact-card__body .wpcf7 input[type="tel"],
.contact-card__body .wpcf7 textarea,
.contact-card__body .wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--nr-border);
  border-radius: 0.85rem;
  font-size: 1rem;
  background: #fff;
}

.contact-card__body .wpcf7 input[type="text"],
.contact-card__body .wpcf7 input[type="email"],
.contact-card__body .wpcf7 input[type="tel"] {
  height: 3rem;
}

.contact-card__body .wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-card__body .wpcf7 select,
.contact-card__body .wpcf7-select {
  appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgba(37, 99, 235, 0.45) 50%
    ),
    linear-gradient(135deg, rgba(37, 99, 235, 0.45) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-card__body .wpcf7 select:focus,
.contact-card__body .wpcf7 input[type="text"]:focus,
.contact-card__body .wpcf7 input[type="email"]:focus,
.contact-card__body .wpcf7 input[type="tel"]:focus,
.contact-card__body .wpcf7 textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.06);
}

.contact-card__body .wpcf7-submit,
.contact-card__body .wpcf7 input[type="submit"] {
  align-self: center;
  padding: 0.9rem 3rem;
  border-radius: 999px;
  background: var(--nr-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-card__body .wpcf7-submit:hover,
.contact-card__body .wpcf7 input[type="submit"]:hover,
.contact-card__body .wpcf7-submit:focus,
.contact-card__body .wpcf7 input[type="submit"]:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -24px rgba(37, 99, 235, 0.45);
}

.contact-card__notice {
  margin: 0;
  color: var(--nr-muted);
  font-size: 0.92rem;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(37, 99, 235, 0.25);
}

.contact-card__body .wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #b91c1c;
}

.contact-card__body .wpcf7 br {
  display: none;
}

.contact-card__body .wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(219, 234, 254, 0.58);
}

.contact-card__body .wpcf7-spinner {
  margin-top: 0.6rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(237, 245, 255, 0.62) 45%,
      rgba(241, 247, 255, 0.65) 100%
    ),
    linear-gradient(
      120deg,
      rgba(14, 116, 144, 0.2) 0%,
      rgba(37, 99, 235, 0.35) 55%,
      rgba(255, 255, 255, 0.15) 100%
    ),
    url("assets/images/cropped-Responsive-showcase-presentation.jpg");
  background-size: cover;
  background-position: center;
  color: #0f172a;
  text-align: center;
  min-height: clamp(520px, 82vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
}

.hero .inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  border-radius: clamp(16px, 3vw, 26px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(237, 244, 255, 0.85)
  );
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1.15;
  color: #1d4ed8;
}

.hero__subtitle {
  margin: 1.1rem auto 0;
  max-width: 900px;
  color: rgba(30, 41, 59, 0.78);
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  font-weight: 600;
  text-shadow: none;
}

.hero__lead {
  margin: 1.6rem auto 0;
  max-width: 900px;
  color: rgba(30, 41, 59, 0.72);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  line-height: 1.8;
}

.hero__lead p {
  margin: 0 0 1rem;
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__actions .button {
  justify-content: center;
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.2);
}

.hero__actions .button--ghost {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.95);
  color: #1d4ed8;
}

.hero__actions .button--ghost:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(2.5rem, 10vw, 3.5rem) 1.25rem;
  }

  .hero .inner {
    max-width: 640px;
  }

  .hero__actions {
    gap: 0.75rem;
  }

  .hero__actions .button {
    width: 100%;
  }
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2,
.section-header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
}

.section-header p {
  color: var(--nr-muted);
  margin: 0.85rem auto 0;
}

.feature__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature__item {
  background: var(--nr-surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 18px 36px -28px rgba(37, 99, 235, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.feature__icon {
  width: 64px;
  height: 64px;
}

.feature__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.feature__item h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feature__item p {
  margin: 0;
  color: var(--nr-muted);
}

.trial {
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.08),
    rgba(14, 165, 233, 0.05)
  );
}

.trial__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.trial__figure {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(37, 99, 235, 0.45);
}

.trial__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.trial__body {
  color: var(--nr-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.trial__body p {
  margin: 0.75rem 0;
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.steps__item {
  background: var(--nr-surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 16px 30px -26px rgba(15, 23, 42, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps__number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.2);
}

.steps__item h3 {
  margin: 0;
  font-size: 1.2rem;
}

.steps__item p {
  margin: 0;
  color: var(--nr-muted);
}

.steps__image {
  width: 72px;
  height: 72px;
}

.steps__image img {
  width: 100%;
  height: 100%;
}

.cases {
  background: var(--nr-surface);
}

.cases__content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.cases__content h2 {
  margin: 0 0 0.5rem;
}

.cases__content p {
  margin: 0;
  color: var(--nr-muted);
  max-width: 520px;
}

.cta-banner {
  background: linear-gradient(
      145deg,
      rgba(37, 99, 235, 0.15),
      rgba(59, 130, 246, 0.08)
    ),
    url("assets/images/cta-pattern.svg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-banner__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cta-banner__body h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.news__item {
  background: var(--nr-surface);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news__categories a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--nr-primary);
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}

.news__categories a:hover,
.news__categories a:focus {
  background: rgba(37, 99, 235, 0.2);
}

.news__date {
  font-size: 0.85rem;
  color: var(--nr-muted);
}

.news__title {
  margin: 0;
  font-size: 1.2rem;
}

.news__title a {
  text-decoration: none;
}

.news__excerpt {
  margin: 0;
  color: var(--nr-muted);
  flex: 1;
}

.news__link {
  text-decoration: none;
  color: var(--nr-primary);
  font-weight: 600;
  margin-top: auto;
}

.news__empty {
  text-align: center;
  color: var(--nr-muted);
}

.rooms-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

@media (min-width: 1024px) {
  .rooms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.room-card {
  background: var(--nr-surface);
  border-radius: 1.125rem;
  box-shadow: 0 18px 40px -25px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
  min-height: 100%;
}

.room-card:hover,
.room-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(37, 99, 235, 0.35);
}

.room-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(15, 23, 42, 0.05);
}

.room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 24, 39, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
}

.room-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.room-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--nr-text);
}

.room-card__excerpt {
  margin: 0;
  color: var(--nr-muted);
  font-size: 0.95rem;
}

.room-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.85rem;
  color: var(--nr-muted);
}

.room-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--nr-primary);
  font-weight: 600;
  text-decoration: none;
}

.room-card__link svg {
  width: 16px;
  height: 16px;
}

.notice {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin: 1rem 0 2rem;
}

.notice--warning {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.notice--error {
  background: rgba(239, 68, 68, 0.14);
  color: #991b1b;
}

.property-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.blog .section-header {
  text-align: left;
}

.pagination {
  margin-top: 2.5rem;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-flex;
  margin: 0 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--nr-surface);
  color: var(--nr-primary);
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.pagination .page-numbers.current {
  background: var(--nr-primary);
  color: #fff;
  border-color: transparent;
}

.site-footer {
  background: var(--nr-surface);
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--nr-border);
  color: var(--nr-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--nr-muted);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--nr-primary);
}

.footer-copy {
  text-align: center;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar {
    padding-top: calc(var(--nr-header-height) + 46px);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .global-nav {
    position: fixed;
    top: var(--nr-header-height);
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(249, 250, 255, 0.98);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--nr-border);
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem 2.25rem;
    box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.35);
    z-index: 25;
    overflow-y: auto;
  }

  .global-nav .menu,
  .menu.menu--fallback {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1rem;
  }

  .global-nav .menu a,
  .menu.menu--fallback a {
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
    display: block;
  }

  .global-nav__cta {
    display: block;
  }

  .header-cta {
    display: none;
  }

  html.nav-open {
    overflow: hidden;
  }

  html.nav-open .global-nav {
    display: flex;
  }

  html.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  html.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  html.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  :root {
    --nr-header-height: 92px;
  }

  body {
    padding-top: var(--nr-header-height);
  }

  .site-header .inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 1.25rem;
  }

  .site-header .inner .brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .global-nav {
    width: 100%;
    grid-column: 1 / -1;
    order: 3;
  }

  .global-nav .menu,
  .menu.menu--fallback {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0 0 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    order: 2;
  }

  .trial__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trial__figure {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero,
  .feature,
  .trial,
  .steps,
  .cases,
  .cta-banner,
  .news,
  .property-list,
  .blog {
    padding: 2.5rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__subtitle {
    font-size: clamp(1rem, 3.8vw, 1.15rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature__grid {
    grid-template-columns: 1fr;
  }

  .steps__list {
    grid-template-columns: 1fr;
  }

  .cases__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .rooms-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 2.5rem 1.25rem;
  }

  body {
    padding-top: var(--nr-header-height);
  }
}
