:root { --brand:#2F5BEA; --brand-d:#2347c0; --ink:#1B2230; --muted:#5B6478; --line:#E3E7F0; --bg:#F6F8FC; --ok:#16794c; --err:#c0392b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin:0; font-family: -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; color:var(--ink); line-height:1.65; background:#fff; word-break: keep-all; }
a { color: inherit; }
.wrap { width:min(1080px, 100% - 40px); margin:0 auto; }
.narrow { width:min(720px, 100% - 40px); }
.muted { color:var(--muted); }
.pc { display:none; }
@media (min-width: 760px) { .pc { display:inline; } }

.top { position:sticky; top:0; z-index:10; background:rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom:1px solid var(--line); }
.top-in { display:flex; align-items:center; gap:16px; height:60px; }
.brand { display:flex; align-items:center; gap:8px; font-weight:800; font-size:18px; text-decoration:none; margin-right:auto; }
.nav { display:none; gap:20px; }
.nav a { text-decoration:none; color:var(--muted); font-size:15px; }
.nav a:hover { color:var(--brand); }
@media (min-width: 760px) { .nav { display:flex; } }

.btn { display:inline-block; border:0; cursor:pointer; background:var(--brand); color:#fff; font:inherit; font-weight:700; padding:12px 20px; border-radius:10px; text-decoration:none; text-align:center; }
.btn:hover { background:var(--brand-d); }
.btn:disabled { opacity:.5; cursor:default; }
.btn-sm { padding:8px 14px; font-size:14px; }
.btn-lg { width:100%; padding:16px; font-size:17px; margin-top:8px; }
.btn-ghost { background:#fff; color:var(--brand); border:1.5px solid var(--brand); }
.btn-ghost:hover { background:#EEF2FF; }

.hero { background:linear-gradient(160deg,#EEF2FF 0%,#fff 70%); padding:64px 0 56px; }
.hero h1 { font-size:clamp(28px, 6vw, 44px); line-height:1.3; margin:8px 0 16px; letter-spacing:-.5px; }
.eyebrow { color:var(--brand); font-weight:700; margin:0; }
.lead { font-size:clamp(15px, 2.4vw, 18px); color:var(--muted); max-width:720px; }
.cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }

.sec { padding:64px 0; }
.sec.alt { background:var(--bg); }
.sec h2 { font-size:clamp(22px, 4vw, 30px); margin:0 0 8px; }
.sub { color:var(--muted); margin:0 0 28px; }
.tag { font-size:13px; font-weight:700; color:var(--brand); background:#EEF2FF; padding:3px 10px; border-radius:99px; vertical-align:middle; margin-left:6px; }
.note { font-size:13px; color:var(--muted); margin-top:20px; }

.cards { display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 640px) { .cards { grid-template-columns:repeat(2,1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns:repeat(4,1fr); } .cards.three { grid-template-columns:repeat(3,1fr); } }
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; }
.card h3 { margin:6px 0 8px; font-size:18px; }
.card p { margin:0; color:var(--muted); font-size:15px; }
.ico { width:34px; height:34px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-weight:800; }

.panel { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; margin-bottom:16px; }
.panel h3 { margin:0 0 12px; font-size:18px; }
.panel h3.mt { margin-top:28px; }
label { display:block; font-weight:600; font-size:14px; margin:14px 0 6px; }
label b { color:var(--err); }
input[type=text], input[type=tel], input[type=date], textarea { width:100%; font:inherit; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; background:#fff; }
input:focus, textarea:focus { outline:none; border-color:var(--brand); }
input[readonly] { background:var(--bg); }
.row { display:flex; gap:8px; }
.row input { flex:1; min-width:0; }
.row .btn { white-space:nowrap; }
.grid { display:grid; gap:0 16px; grid-template-columns:1fr; }
@media (min-width: 640px) { .grid { grid-template-columns:1fr 1fr; } }
.seg { display:flex; gap:8px; }
.seg label { display:flex; align-items:center; gap:6px; margin:0; padding:11px 18px; border:1.5px solid var(--line); border-radius:10px; font-weight:500; cursor:pointer; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chips label { margin:0; padding:8px 14px; border:1.5px solid var(--line); border-radius:99px; font-weight:500; cursor:pointer; }
.chips label:has(input:checked) { border-color:var(--brand); background:#EEF2FF; color:var(--brand); font-weight:700; }
.chips input { display:none; }
.hint { font-size:13px; color:var(--muted); margin:6px 0 0; }
.ok { color:var(--ok); font-weight:600; margin:0 0 4px; }
.msg { min-height:20px; color:var(--err); font-size:14px; margin:10px 0 0; }
.msg.info { color:var(--ok); }

.addr-layer { position:fixed; inset:0; z-index:50; background:rgba(0,0,0,.5); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:16px; }
.addr-layer[hidden] { display:none; }
#addrEmbed { width:min(520px, 100%); height:min(560px, 78vh); background:#fff; border-radius:12px; overflow:hidden; }
.addr-close { align-self:flex-end; margin:0 auto 8px; width:min(520px, 100%); text-align:right; background:none; border:0; color:#fff; font:inherit; font-weight:700; cursor:pointer; padding:6px 2px; }

.fc-list { list-style:none; padding:0; margin:8px 0; }
.fc-list li { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; margin-bottom:6px; cursor:pointer; }
.fc-list li:hover { border-color:var(--brand); background:#F5F8FF; }
.fc-list li small { color:var(--muted); }
.fc-picked { padding:12px 14px; border:1.5px solid var(--brand); background:#EEF2FF; border-radius:10px; margin:8px 0; font-weight:700; }

.term { border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin-bottom:8px; }
.term summary { cursor:pointer; font-size:14px; color:var(--muted); }
.term pre { white-space:pre-wrap; font:inherit; font-size:13px; color:var(--muted); max-height:180px; overflow:auto; margin:8px 0 0; }
.term label { margin:0 0 6px; display:flex; gap:8px; align-items:center; font-weight:600; }
.done { text-align:center; border-color:var(--brand); }

.contact-box { margin-top:28px; padding:24px; border-radius:14px; background:#EEF2FF; }
.contact-box h3 { margin:0 0 8px; }
.big { font-size:20px; font-weight:800; margin:0 0 12px; white-space:pre-line; }

.gallery { display:grid; gap:12px; grid-template-columns:repeat(2,1fr); margin-bottom:24px; }
@media (min-width: 760px) { .gallery { grid-template-columns:repeat(3,1fr); } }
.gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; display:block; background:var(--line); cursor:zoom-in; }
.gallery .ph { grid-column:1 / -1; text-align:center; padding:48px 16px; border:2px dashed var(--line); border-radius:12px; color:var(--muted); }
.info { display:grid; gap:12px; grid-template-columns:1fr; margin:0; }
@media (min-width: 760px) { .info { grid-template-columns:1fr 1fr; } }
.info div { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; }
.info dt { font-size:13px; color:var(--muted); }
.info dd { margin:2px 0 0; font-weight:600; white-space:pre-line; }

.lightbox { position:fixed; inset:0; z-index:60; background:rgba(0,0,0,.85); display:grid; place-items:center; padding:16px; cursor:zoom-out; }
.lightbox img { max-width:100%; max-height:100%; border-radius:8px; }

.foot { border-top:1px solid var(--line); padding:32px 0 48px; font-size:13px; }
.foot p { margin:4px 0; }
