body { margin: 0; }
:root {
  --bg: #070708;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --fg: #f4eee0;
  --muted: #c2b8a0;
  --gold: #c9a45c;
  --gold-hi: #f0dca4;
  --gold-lo: #8f6d32;
  --line: rgba(201, 164, 92, 0.32);
  --gold-grad: linear-gradient(180deg, #f6e4b0 0%, #d6ae64 45%, #a57c3a 100%);
  color-scheme: dark;
}
.page {
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
  box-sizing: border-box;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
  position: relative;
}
.page a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; position: relative; }
.label {
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 12px;
}
.label::before, .label::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 3px; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  min-height: 48px; box-sizing: border-box; border: 1px solid var(--gold);
  transition: transform 0.2s, filter 0.2s, background 0.2s; text-align: center; cursor: pointer;
  background: transparent; color: var(--gold-hi);
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--gold-grad); color: #141210; border-color: transparent; box-shadow: 0 10px 30px rgba(201, 164, 92, 0.25); }
.btn-solid:hover { filter: brightness(1.06); }
.btn-ghost:hover { background: rgba(201, 164, 92, 0.1); }
.btn-sm { min-height: 40px; padding: 10px 16px; font-size: 12px; }
.btn:focus-visible, .lang-btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .sticky a:focus-visible {
  outline: 2px solid var(--gold-hi); outline-offset: 3px;
}

.announce {
  background: var(--gold-grad); color: #141210; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 12px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  position: relative; z-index: 1;
}

header.top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px; padding-block: 18px; border-bottom: 1px solid var(--line);
}
.brand { font-family: "Cinzel", serif; font-weight: 900; font-size: 20px; letter-spacing: 0.14em; color: var(--gold-hi); text-decoration: none; }
.right-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
nav.menu { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; letter-spacing: 0.04em; }
nav.menu a { text-decoration: none; color: var(--muted); }
nav.menu a:hover { color: var(--gold-hi); }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-btn {
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  min-height: 34px; padding: 5px 11px; border-radius: 999px;
  color: var(--muted); background: transparent; border: 1px solid var(--line);
}
.lang-btn:hover { color: var(--gold-hi); border-color: var(--gold); }
.lang-btn[aria-pressed="true"] { color: #141210; background: var(--gold-grad); border-color: transparent; }

/* HERO */
.hero { position: relative; text-align: center; padding: 48px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -120px; width: min(1000px, 140vw); height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 164, 92, 0.22), rgba(201, 164, 92, 0.05) 60%, transparent 75%);
  pointer-events: none;
}
.hero-logo {
  position: relative; display: block; width: min(560px, 92%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
}
.hero h1 {
  position: relative;
  font-family: "Cinzel", serif; font-weight: 900;
  font-size: clamp(32px, 5.6vw, 60px); line-height: 1.08; margin: 22px auto 14px; max-width: 920px;
  letter-spacing: 0.01em; text-wrap: balance;
}
.hero .lead { position: relative; max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.cta-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.trust {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin-top: 34px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }

.gold-rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

section.block { padding-block: 84px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(26px, 3.6vw, 40px);
  margin: 14px 0 0; color: var(--fg); letter-spacing: 0.04em; text-wrap: balance; line-height: 1.15;
}
.section-head .sub { color: var(--muted); max-width: 600px; margin: 14px auto 0; text-wrap: pretty; }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--line); }
.pillar { padding: 40px 32px; position: relative; min-width: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .big { font-family: "Cinzel", serif; font-size: 44px; font-weight: 700; line-height: 1; }
.pillar h3 { margin: 18px 0 10px; font-size: 19px; font-weight: 700; color: var(--fg); text-wrap: balance; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.service {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  transition: transform 0.25s, border-color 0.25s;
}
.service:hover { transform: translateY(-3px); border-color: var(--gold); }
.service .ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-hi);
}
.service .ico svg { width: 24px; height: 24px; }
.service h3 { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--fg); text-wrap: balance; }

/* QUOTE */
.quote {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  padding: 40px; max-width: 920px; margin: 0 auto; box-sizing: border-box; position: relative;
}
.quote::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 164, 92, 0.12); pointer-events: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.grid2 .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px;
  width: 100%; box-sizing: border-box; min-width: 0; min-height: 46px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d7663; }
.quote-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.quote-foot .hint { font-size: 13px; color: var(--muted); max-width: 470px; margin: 0; text-wrap: pretty; }

/* CONTACTS */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.person {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  padding: 34px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-width: 0;
}
.person h3 { margin: 0; font-family: "Cinzel", serif; font-size: 24px; color: var(--gold-hi); letter-spacing: 0.03em; }
.person .role { color: var(--muted); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0; }
.person .phone { font-size: 19px; font-weight: 600; letter-spacing: 0.05em; margin: 0; user-select: all; font-variant-numeric: tabular-nums; }
.qr { width: 168px; max-width: 100%; height: auto; border-radius: 6px; background: #fff; padding: 6px; box-sizing: border-box; }
.social { text-align: center; margin-top: 18px; }
.social .card-ig {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); padding: 28px 32px;
  max-width: 100%; box-sizing: border-box;
}
.social .handle { font-family: "Cinzel", serif; font-size: 20px; color: var(--gold-hi); letter-spacing: 0.06em; text-decoration: none; }
.social .handle:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* FINAL CTA */
.final {
  position: relative; text-align: center; padding: 88px 24px; overflow: hidden;
  background: radial-gradient(closest-side at 50% 0%, rgba(201, 164, 92, 0.2), transparent 80%), var(--bg-2);
  border-block: 1px solid var(--line);
}
.final h2 { font-family: "Cinzel", serif; font-weight: 900; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.12; margin: 14px auto 14px; max-width: 820px; text-wrap: balance; }
.final p { color: var(--muted); max-width: 580px; margin: 0 auto; text-wrap: pretty; }
.final .cta-row { margin-top: 30px; }

footer.foot { padding-block: 40px 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer.foot .brand-big { font-family: "Cinzel", serif; font-weight: 900; font-size: 22px; letter-spacing: 0.16em; color: var(--gold-hi); margin-bottom: 6px; }
.foot .share { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot .share .msg { font-size: 13px; color: #9fd3a6; min-height: 1em; }

/* FLOATING + STICKY (mobile) */
.fab {
  position: fixed; z-index: 20;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  background: var(--gold-grad); color: #141210;
  font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  min-height: 48px; box-sizing: border-box;
}
.fab:hover { filter: brightness(1.06); }
.fab:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.fab svg { width: 20px; height: 20px; flex: none; }
.sticky { display: none; }

@media (max-width: 720px) {
  .fab { display: none; }
  .sticky {
    display: flex; gap: 10px; position: fixed; z-index: 30; left: 0; right: 0;
    bottom: 0; padding: 10px max(12px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(7, 7, 8, 0.94); border-top: 1px solid var(--line); box-sizing: border-box;
  }
  .sticky .btn { flex: 1; padding: 12px 10px; font-size: 12px; min-height: 46px; }
  footer.foot { padding-bottom: 96px; }
  header.top { justify-content: center; text-align: center; }
  .right-head { justify-content: center; }
  nav.menu { justify-content: center; }
  .langs { justify-content: center; }
  .hero { padding-top: 28px; }
  section.block { padding-block: 60px; }
  .cta-row .btn { width: 100%; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .service { padding: 24px 20px; }
  .quote { padding: 26px 18px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .quote-foot .btn { width: 100%; }
  .final { padding: 64px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.credit{margin-top:14px;font-size:11px;letter-spacing:.12em;opacity:.6}
.credit-contact{font-size:11px;opacity:.6;margin-top:4px}
.credit-contact a{color:inherit}
