:root {
  --ink: #241c16;
  --muted: #6d6256;
  --teal: #1f6f68;
  --paper: #efe6d4;
  --card: #fffaf3;
  --line: rgba(72, 52, 32, 0.1);
  --orange: #e15a2b;
  --shadow: 0 16px 40px rgba(72, 52, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 248, 236, 0.95), transparent 34%),
    var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.7;
}

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

a { color: var(--teal); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 3;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(239, 230, 212, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; }

.nav {
  display: flex;
  gap: 16px;
  font-size: 0.92rem;
}

.nav a { color: var(--ink); text-decoration: none; }

.langs {
  display: flex;
  gap: 10px;
  margin-left: auto;
  font-size: 0.82rem;
}

.langs a { color: var(--muted); text-decoration: none; }

.langs a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(36, 28, 22, 0.16);
}

.hero {
  display: grid;
  gap: 28px;
  padding: 36px 0 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.lead { margin: 0 0 18px; font-size: 1.05rem; }

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

.note { color: var(--muted); font-size: 0.88rem; }

.hero-photo {
  margin: 0;
  background: var(--card);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-photo img { width: 100%; height: 320px; object-fit: cover; }

.hero-photo figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: 0.82rem; }

section { padding: 28px 0; }

h2 { margin: 0 0 12px; font-size: 1.45rem; letter-spacing: -0.02em; }

.panel {
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.steps span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 12px;
}

.cards article {
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 8px;
}

.cards h3 { margin: 0 0 6px; font-size: 1.02rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.gallery figure { margin: 0; }

.gallery img { height: 140px; width: 100%; object-fit: cover; border-radius: 16px; }

.gallery figcaption { margin-top: 4px; color: var(--muted); font-size: 0.82rem; }

.faq { display: grid; gap: 18px; }

.faq h3 { margin: 0 0 4px; font-size: 1.05rem; }

.faq p { margin: 0; }

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav { display: flex; gap: 16px; margin-bottom: 8px; }

@media (min-width: 800px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 56px; }
  .hero-photo img { height: 420px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery img { height: 160px; }
}

@media (max-width: 640px) {
  .nav { display: none; }
}

.phone-qr {
  display: none;
}

@media (min-width: 1200px) {
  body { padding-right: 188px; }

  .phone-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: fixed;
    top: 50%;
    right: 16px;
    z-index: 3;
    width: 156px;
    margin: 0;
    padding: 12px 12px 10px;
    transform: translateY(-50%);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .phone-qr a { line-height: 0; }

  .phone-qr img { width: 132px; height: 132px; }

  .phone-qr p {
    margin: 0;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }
}
