:root {
  --green-950: #173c2c;
  --green-900: #234d3b;
  --green-700: #3d6b4f;
  --green-100: #e8f3df;
  --leaf: #82c341;
  --orange: #f7941d;
  --orange-soft: #fff0d8;
  --cream: #fffdf8;
  --paper: #f6f3e9;
  --ink: #203028;
  --muted: #647168;
  --line: #dde4da;
  --shadow: 0 14px 38px rgba(25, 61, 44, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--green-950); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { width: min(100%, 820px); min-height: 100vh; margin: 0 auto; background: var(--cream); box-shadow: 0 0 60px rgba(0, 0, 0, 0.22); }
.app-topbar { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; padding: max(10px, env(safe-area-inset-top)) 20px 10px; border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, 0.96); backdrop-filter: blur(16px); }
.app-brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.app-brand img { width: 54px; height: 54px; flex: 0 0 54px; object-fit: cover; border: 3px solid var(--orange); border-radius: 50%; }
.app-brand span { display: grid; min-width: 0; }
.app-brand strong { overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.app-brand small { color: var(--muted); font-size: 0.78rem; }
.install-button { display: none; align-items: center; gap: 7px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--green-900); border-radius: 999px; color: var(--green-900); background: transparent; font-weight: 750; cursor: pointer; }
.install-button.visible { display: flex; }

.network-status { padding: 8px 20px; color: #6d4207; background: var(--orange-soft); font-size: 0.88rem; text-align: center; }
main { padding: 20px 20px calc(112px + env(safe-area-inset-bottom)); }
section { scroll-margin-top: 96px; }
.welcome { position: relative; display: grid; grid-template-columns: 1fr 120px; align-items: center; min-height: 230px; padding: 28px; overflow: hidden; border-radius: 30px 6px 30px 6px; color: white; background: var(--green-900); box-shadow: var(--shadow); }
.welcome::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 290px; height: 290px; border: 42px solid rgba(130, 195, 65, 0.16); border-radius: 50%; }
.welcome > div, .welcome img { position: relative; z-index: 1; }
.welcome img { width: 130px; height: 130px; object-fit: cover; border: 5px solid var(--orange); border-radius: 50%; transform: rotate(2deg); }
.eyebrow { margin: 0 0 6px; color: #d7efbb; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.welcome h1 { max-width: 470px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 0.98; letter-spacing: -0.04em; }
.welcome p:last-child { max-width: 480px; margin: 16px 0 0; color: #e9f2ec; }
.reflexology-highlight { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; margin-top: 14px; padding: 17px 19px; border: 1px solid #f3c17d; border-radius: 20px 7px 20px 7px; color: var(--ink); background: var(--orange-soft); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.reflexology-highlight:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.reflexology-highlight > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: white; background: var(--orange); font-size: 1.25rem; }
.reflexology-highlight > span:nth-child(2) { display: grid; }
.reflexology-highlight small { color: #85500f; font-size: .74rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.reflexology-highlight strong { color: var(--green-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.reflexology-highlight em { color: var(--muted); font-size: .85rem; font-style: normal; }

.booking-section, .content-section, .contact-section, .social-section { padding-top: 42px; }
.section-heading { display: grid; gap: 5px; margin-bottom: 16px; }
.section-heading > div { display: flex; align-items: baseline; gap: 10px; }
.section-heading span { color: var(--orange); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 5vw, 2.25rem); line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); }
.heading-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.heading-row > a { color: var(--green-700); font-size: 0.9rem; font-weight: 800; text-underline-offset: 4px; }

.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 132px; padding: 20px; border-radius: 22px; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.booking-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.booking-online { color: white; background: var(--green-900); }
.booking-cabinet { color: var(--ink); border: 2px solid var(--orange); background: var(--orange-soft); }
.booking-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 255, 255, 0.15); }
.booking-cabinet .booking-icon { color: #8a4d05; background: white; }
.booking-icon svg { width: 1.55rem; height: 1.55rem; }
.booking-copy { display: grid; }
.booking-copy small { color: inherit; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; opacity: 0.75; text-transform: uppercase; }
.booking-copy strong { font-size: 1.05rem; line-height: 1.25; }
.booking-copy em { margin-top: 6px; color: inherit; font-size: 0.83rem; font-style: normal; line-height: 1.4; opacity: 0.82; }
.booking-card .arrow { width: 1.1rem; }
.booking-note, .mutual-note { margin: 12px 2px 0; color: var(--muted); font-size: 0.88rem; }
.app-hours-card { display: grid; gap: 4px; margin-top: 14px; padding: 14px 16px; border: 1px solid #cbdabd; border-radius: 17px; background: var(--green-100); }
.app-hours-card > span { display: flex; align-items: center; gap: 9px; color: var(--green-900); }
.app-hours-card i { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #be6d12; box-shadow: 0 0 0 4px rgba(190, 109, 18, .13); }
.app-hours-card[data-open] i { background: #2f7a48; box-shadow: 0 0 0 4px rgba(47, 122, 72, .13); }
.app-hours-card p { margin: 0; color: var(--muted); font-size: .86rem; }

.post-list { display: grid; gap: 10px; }
.post-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 104px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.post-card:hover { border-color: var(--leaf); box-shadow: 0 10px 28px rgba(25, 61, 44, 0.09); }
.post-date { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; color: var(--green-900); background: var(--green-100); font-size: 0.75rem; font-weight: 900; line-height: 1.15; text-align: center; text-transform: uppercase; }
.post-copy { display: grid; gap: 4px; }
.post-copy small { color: var(--orange); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.post-copy strong { line-height: 1.3; }
.post-copy p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 0.86rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-video { margin-left: 5px; padding: 2px 7px; border-radius: 999px; color: var(--green-900); background: var(--green-100); font-size: 0.68rem; letter-spacing: 0; text-transform: none; }
.post-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); background: white; text-align: center; }
.post-loading { display: grid; grid-template-columns: 58px 1fr; }
.post-loading span { height: 12px; border-radius: 10px; background: #edf0eb; animation: pulse 1.4s ease-in-out infinite; }
.post-loading span:first-child { grid-row: span 2; width: 58px; height: 58px; }
.post-loading span:nth-child(3) { width: 70%; }

.price-list { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.price-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 0; }
.price-list span { display: grid; }
.price-list strong { font-size: 0.96rem; }
.price-list small { color: var(--muted); }
.price-list b { flex: 0 0 auto; color: var(--green-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }

.contact-section { margin-top: 42px; padding: 28px 24px; border-radius: 26px; color: white; background: var(--green-900); }
.contact-section .section-heading span { color: #d7efbb; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-grid a { display: flex; align-items: center; gap: 11px; min-height: 80px; padding: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; background: rgba(255,255,255,.08); text-decoration: none; }
.contact-grid a:hover { background: rgba(255,255,255,.14); }
.contact-grid a > svg { flex: 0 0 auto; color: #d7efbb; }
.contact-grid span { display: grid; min-width: 0; }
.contact-grid small { color: #cbded2; }
.contact-grid strong { font-size: 0.91rem; line-height: 1.25; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.social-card { --social-color: var(--green-900); min-height: 96px; padding: 15px 10px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.social-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--social-color); }
.social-card svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.social-card strong { color: var(--ink); font-size: .88rem; }
.social-card:hover { border-color: var(--social-color); box-shadow: 0 10px 28px rgba(25, 61, 44, .1); transform: translateY(-2px); }
.social-facebook { --social-color: #1877f2; }
.social-instagram { --social-color: #c13584; }
.social-linkedin { --social-color: #0a66c2; }
.social-youtube { --social-color: #f00; }
.health-note { margin-top: 20px; padding: 18px; border-left: 4px solid var(--orange); background: var(--orange-soft); }
.health-note p { margin: 5px 0 0; color: #5e5b50; font-size: 0.9rem; }
.app-legal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 24px; padding: 18px 4px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.app-legal-footer a { color: var(--green-900); font-weight: 750; text-underline-offset: 3px; }

.bottom-navigation { position: fixed; z-index: 30; right: 50%; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); width: min(100%, 820px); min-height: 70px; padding: 7px 9px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 253, 248, 0.97); box-shadow: 0 -8px 30px rgba(25, 61, 44, 0.1); backdrop-filter: blur(16px); transform: translateX(50%); }
.bottom-navigation a { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 0; border-radius: 14px; color: var(--muted); font-size: 0.69rem; font-weight: 750; text-decoration: none; }
.bottom-navigation svg { width: 1.25rem; height: 1.25rem; }
.bottom-navigation a.active { color: var(--green-900); background: var(--green-100); }
.guide-button { position: fixed; z-index: 29; right: max(18px, calc((100vw - 820px) / 2 + 18px)); bottom: calc(82px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 13px; border: 0; border-radius: 999px; color: white; background: var(--orange); box-shadow: 0 9px 25px rgba(156, 86, 5, 0.3); font-weight: 800; cursor: pointer; }

.app-dialog { width: min(calc(100% - 28px), 520px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--cream); box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.app-dialog::backdrop { background: rgba(14, 38, 27, .65); backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; color: white; background: var(--green-900); }
.dialog-header > span { display: grid; }
.dialog-header small { color: #d7efbb; font-weight: 800; text-transform: uppercase; }
.dialog-header button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: transparent; cursor: pointer; }
#install-instructions, .guide-dialog > p { margin: 0; padding: 20px; }
#install-instructions ol { margin-bottom: 0; padding-left: 22px; }
.guide-actions { display: grid; gap: 8px; padding: 0 16px 18px; }
.guide-actions a { display: grid; padding: 14px 15px; border: 1px solid var(--line); border-radius: 15px; background: white; text-decoration: none; }
.guide-actions a:hover { border-color: var(--leaf); }
.guide-actions span { color: var(--muted); font-size: .84rem; }

@keyframes pulse { 50% { opacity: .45; } }
@media (max-width: 660px) {
  main { padding-inline: 14px; }
  .app-topbar { padding-inline: 14px; }
  .app-brand strong { font-size: .98rem; }
  .app-brand small { font-size: .72rem; }
  .install-button span { display: none; }
  .welcome { grid-template-columns: 1fr 82px; min-height: 215px; padding: 23px 19px; }
  .welcome img { width: 92px; height: 92px; margin-right: -18px; }
  .welcome p:last-child { font-size: .92rem; }
  .reflexology-highlight { grid-template-columns: 40px 1fr; padding: 15px; }
  .reflexology-highlight > span:first-child { width: 40px; height: 40px; }
  .reflexology-highlight > .arrow { display: none; }
  .reflexology-highlight em { margin-top: 3px; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-card { min-height: 122px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid a { min-height: 66px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .social-card { min-height: 88px; }
  .app-legal-footer { display: grid; }
  .guide-button span { display: none; }
  .guide-button { width: 48px; height: 48px; padding: 0; justify-content: center; }
}

@media (max-width: 390px) {
  .app-brand img { width: 46px; height: 46px; flex-basis: 46px; }
  .welcome { grid-template-columns: 1fr; }
  .welcome img { position: absolute; right: 12px; bottom: 12px; width: 68px; height: 68px; opacity: .88; }
  .welcome > div { padding-right: 35px; }
  .bottom-navigation span { font-size: .62rem; }
  .price-list > div { align-items: flex-start; }
}

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

@media (display-mode: standalone) {
  .install-button { display: none !important; }
}
