.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 247, 239, 0.96);
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.is-scrolled .site-header {
  background: rgba(17, 45, 33, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(10, 22, 17, 0.2);
}

.site-header__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
}

.brand__name {
  display: block;
  color: var(--green-900);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.brand__meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

body.is-scrolled .brand__name,
.site-header.is-scrolled .brand__name {
  color: var(--white);
}

body.is-scrolled .brand__meta,
.site-header.is-scrolled .brand__meta {
  color: rgba(255, 255, 255, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav a:hover {
  background: rgba(47, 138, 95, 0.09);
}

.site-header.is-scrolled .nav a,
body.is-scrolled .nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .nav a:hover,
body.is-scrolled .nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.lang-switch a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.lang-switch a[aria-current="true"] {
  background: var(--green-900);
  color: var(--white);
}

.site-header.is-scrolled .lang-switch,
body.is-scrolled .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .lang-switch a,
body.is-scrolled .lang-switch a {
  color: rgba(255, 255, 255, 0.74);
}

.site-header.is-scrolled .lang-switch a[aria-current="true"],
body.is-scrolled .lang-switch a[aria-current="true"] {
  background: var(--cream-50);
  color: var(--green-900);
}

.house-button {
  display: inline-grid;
  grid-template-rows: auto auto;
  place-items: center;
  gap: 4px;
  min-width: 78px;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 18px;
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 60, 44, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.house-button__icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}

.house-button__icon svg {
  width: 28px;
  height: 28px;
}

.house-button__text {
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

body.is-scrolled .house-button,
.site-header.is-scrolled .house-button {
  background: var(--cream-50);
  color: var(--green-900);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 40px;
}

.hero--home {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 30px;
  align-items: stretch;
}

.hero--space {
  display: block;
  max-width: 780px;
}

.hero__content {
  min-width: 0;
}

.hero__kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.hero__kicker::before,
.section-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  margin: 14px 0 0;
  color: var(--green-900);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero__title {
  margin: 16px 0 0;
  color: var(--green-800);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 600;
}

.hero__copy,
.section-copy {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__panel {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(18, 60, 44, 0.14);
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero__panel--home {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 12px;
  background: linear-gradient(180deg, rgba(17, 45, 33, 0.98), rgba(17, 45, 33, 0.92));
  color: var(--white);
}

.space-house-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 280px;
  border: 1px solid rgba(18, 60, 44, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 243, 237, 0.84));
  color: var(--green-900);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.space-house-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 44, 0.28);
  box-shadow: 0 18px 42px rgba(18, 60, 44, 0.12);
}

.space-house-card__shape {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: var(--green-900);
  color: var(--cream-50);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.space-house-card__shape svg {
  width: 86px;
  height: 86px;
}

.space-house-card__kicker {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.space-house-card strong {
  color: var(--green-900);
  font-size: 28px;
  line-height: 1.2;
}

.panel-line {
  width: 64px;
  height: 2px;
  background: var(--amber);
}

.panel-title {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}

.panel-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.panel-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  max-width: 820px;
}

.section-title {
  margin: 10px 0 0;
  color: var(--green-900);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.about-note {
  border-inline-start: 3px solid var(--amber);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-900);
  border-radius: var(--radius);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  min-height: 190px;
  box-shadow: 0 10px 22px rgba(18, 60, 44, 0.04);
}

.feature-card__mark {
  width: 44px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 20px;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.space-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, var(--green-900), #184b37);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(18, 60, 44, 0.16);
}

.space-status.is-open {
  background: linear-gradient(180deg, var(--green-900), #1f6b49);
}

.space-status.is-reserved {
  background: linear-gradient(180deg, #402b26, #733c35);
}

.space-status.is-closed {
  background: linear-gradient(180deg, #3c3322, #70521f);
}

.space-status__time,
.space-status__activity {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.hero--space .hero__copy {
  max-width: 680px;
}

.day-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.day-rail::-webkit-scrollbar {
  height: 10px;
}

.day-rail::-webkit-scrollbar-thumb {
  background: rgba(18, 60, 44, 0.18);
  border-radius: 999px;
}

.day-card {
  flex: 0 0 clamp(270px, 30vw, 350px);
  scroll-snap-align: start;
  border-radius: 34px;
  border: 1px solid rgba(18, 60, 44, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.98));
  box-shadow: 0 12px 26px rgba(18, 60, 44, 0.05);
  overflow: hidden;
  position: relative;
}

.day-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(47, 138, 95, 0.1), transparent 30%);
  pointer-events: none;
}

.day-card.is-today {
  box-shadow:
    0 0 0 2px rgba(201, 137, 43, 0.9),
    0 0 0 8px rgba(201, 137, 43, 0.12),
    0 12px 26px rgba(18, 60, 44, 0.06);
}

.day-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(18, 60, 44, 0.08);
  background: rgba(18, 60, 44, 0.04);
}

.day-card__kicker {
  display: block;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.day-card__date {
  display: block;
  margin-top: 2px;
  color: var(--green-900);
  font-size: 16px;
  line-height: 1.35;
}

.today-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(201, 137, 43, 0.14);
  color: #855b19;
  font-size: 12px;
  font-weight: 700;
}

.day-card__summary {
  margin: 0;
  padding: 12px 16px 0;
  color: var(--green-900);
  font-size: 13px;
  line-height: 1.65;
}

.period-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px 18px;
}

.period-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  padding: 11px 12px;
  border: 1px solid rgba(18, 60, 44, 0.08);
}

.period-row.is-open {
  background: linear-gradient(180deg, rgba(232, 243, 237, 0.96), rgba(223, 239, 230, 0.9));
  color: var(--green-900);
}

.period-row.is-reserved {
  background: linear-gradient(180deg, rgba(248, 229, 225, 0.98), rgba(251, 238, 235, 0.94));
  color: #7f4640;
}

.period-row.is-closed {
  background: linear-gradient(180deg, rgba(255, 243, 229, 0.98), rgba(255, 248, 237, 0.94));
  color: #8b5f1c;
}

.period-row__time {
  font-size: 12px;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.period-row__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.period-row__note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(18, 60, 44, 0.72);
}

.activity-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.activity-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  padding: 14px 16px;
}

.activity-item__date {
  color: var(--green-800);
  font-weight: 700;
}

.activity-item__time {
  color: var(--muted);
  font-size: 13px;
}

.activity-item__title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  margin-top: 3px;
}

.product-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 16px;
}

.product-item__name {
  color: var(--green-900);
  font-size: 16px;
  font-weight: 700;
}

.product-item__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.product-item__price {
  color: var(--ink);
  font-weight: 700;
}

.product-item__currency {
  color: var(--muted);
  font-size: 13px;
}

.product-item__note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-panel--with-manager {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-panel--social-only {
  grid-template-columns: minmax(0, 1fr);
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.contact-box--manager {
  display: grid;
  align-content: start;
  gap: 6px;
}

.contact-box h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 20px;
}

.social-panel {
  display: grid;
  gap: 12px;
}

.social-panel h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 20px;
}

.manager-name {
  color: var(--green-900);
  font-size: 22px;
  font-weight: 700;
}

.manager-phone {
  display: inline-block;
  justify-self: start;
  margin-top: -2px;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.contact-box__button {
  margin-top: 14px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.social-link {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 108px;
  border: 1px solid rgba(18, 60, 44, 0.12);
  border-radius: 20px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-link:hover {
  border-color: rgba(18, 60, 44, 0.22);
  background: rgba(232, 243, 237, 0.62);
  transform: translateY(-1px);
}

.social-link__icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(18, 60, 44, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
  flex: 0 0 auto;
}

.social-link__icon svg {
  width: 23px;
  height: 23px;
}

.social-link__label {
  min-width: 0;
  line-height: 1.2;
  font-size: 14px;
}

.footer {
  position: relative;
  margin-top: 40px;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.84);
}

.footer::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background:
    radial-gradient(circle at 8px 16px, var(--cream-50) 7px, transparent 7.4px) 0 0 / 16px 16px repeat-x;
}

.footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 30px 0 28px;
}

.footer__brand {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.footer__meta {
  color: rgba(255, 255, 255, 0.76);
  direction: ltr;
  unicode-bidi: isolate;
}

.empty-note {
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.hero__panel--home .panel-chip,
.hero__panel--home .panel-copy,
.hero__panel--home .panel-title {
  color: inherit;
}

@media (max-width: 960px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .contact-panel--with-manager,
  .product-menu,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .hero,
  .section,
  .footer__inner {
    width: min(100% - 22px, 1120px);
  }

  .site-header__inner {
    gap: 8px;
    padding: 8px 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .brand {
    gap: 8px;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__meta {
    display: none;
  }

  .nav {
    gap: 3px;
  }

  .nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .header-actions {
    width: auto;
    margin-inline-start: auto;
    gap: 6px;
    justify-content: flex-end;
  }

  .lang-switch,
  .house-button {
    flex: 0 0 auto;
  }

  .lang-switch a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .house-button {
    width: 42px;
    min-width: 0;
    grid-template-rows: 1fr;
    min-height: 42px;
    padding: 6px;
    border-radius: 12px;
  }

  .house-button__icon,
  .house-button__icon svg {
    width: 24px;
    height: 24px;
  }

  .house-button__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero {
    padding: 34px 0 32px;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero__title {
    font-size: 22px;
  }

  .hero__copy,
  .section-copy {
    font-size: 15px;
  }

  .feature-grid,
  .contact-panel--with-manager,
  .product-menu,
  .social-links {
    grid-template-columns: 1fr;
  }

  .space-house-card {
    min-height: 230px;
    padding: 20px;
  }

  .space-house-card__shape {
    width: 112px;
    height: 112px;
  }

  .space-house-card__shape svg {
    width: 72px;
    height: 72px;
  }

  .day-card {
    flex-basis: clamp(250px, 84vw, 330px);
  }

  .period-row {
    grid-template-columns: 1fr;
  }

  .activity-item {
    grid-template-columns: 1fr;
  }

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