/* Home page (QM_9) additions: inquiry receipt view */
body[data-page="home"] [hidden]{display:none!important}
.inquiry-success{min-height:calc(100svh - 116px);background:#f8f9fa;padding:clamp(56px,9vw,120px) 24px;display:flex;align-items:center;justify-content:center;text-align:center}
.success-card{width:100%;max-width:820px;margin:auto;padding:clamp(36px,6vw,72px) clamp(22px,6vw,76px);background:#fff;border:1px solid #e6e9ec;border-radius:4px;box-shadow:0 16px 56px -32px rgba(23,38,54,.2);position:relative}
.success-card::before{content:"";position:absolute;top:-1px;left:calc(50% - 24px);width:48px;height:2px;background:var(--gold)}
.success-card .success-kicker{display:block;color:#66717d;font-size:10px;font-weight:700;letter-spacing:.22em;line-height:1.6;margin-bottom:32px}
.success-card h1{max-width:650px;margin:25px auto 20px;font-size:clamp(29px,3.4vw,44px);font-weight:600;color:var(--deep);line-height:1.35;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:anywhere}
.success-card p{max-width:490px;margin:0 auto;color:#66717d;font-size:15px;line-height:1.95;text-wrap:pretty;overflow-wrap:anywhere}
.success-mark{width:56px;height:56px;margin:auto;display:flex;align-items:center;justify-content:center;border:1px solid #d5dfe0;border-radius:50%;background:#f5f8f7;color:#38635b}
.success-mark svg{width:24px;height:24px}
.success-card .actions{justify-content:center;align-items:center;gap:14px 28px;margin-top:32px}
.success-card .smallbtn{min-height:48px;min-width:154px;display:inline-flex;align-items:center;justify-content:center;padding:12px 23px;border:1px solid var(--deep);border-radius:3px;background:var(--deep);color:#fff;font-size:13px;font-weight:600;line-height:1.5;transition:background .18s,border-color .18s}
.success-card .smallbtn:hover{background:#283e53;border-color:#283e53}
.success-card .smallbtn.light{background:transparent;border-color:transparent;min-width:0;color:#526171;padding:12px 2px;text-decoration:underline;text-decoration-color:#c1c9d0;text-underline-offset:5px}
.success-card .smallbtn.light:hover{color:var(--deep);text-decoration-color:var(--deep)}
.success-card .success-contact{max-width:none;margin-top:38px;padding-top:23px;border-top:1px solid #edf0f2;font-size:12px;line-height:1.7;color:#77828d;letter-spacing:.025em}
.success-contact strong{font-weight:500;color:#425364;margin-left:7px;user-select:all}
body.inquiry-confirmed .mobile-contact-bar,body.inquiry-confirmed .floating{display:none}
body.inquiry-confirmed{padding-bottom:0}
@media(max-width:600px){
 .inquiry-success{min-height:calc(100svh - 76px);padding:36px 18px}
 .success-card{padding:38px 23px 26px}
 .success-card .success-kicker{font-size:9px;margin-bottom:28px;letter-spacing:.17em}
 .success-card h1{font-size:29px;margin:23px auto 16px}
 .success-card p{font-size:14px;line-height:1.9}
 .success-card .actions{flex-direction:column;gap:8px;margin-top:27px}
 .success-card .smallbtn{width:100%;max-width:300px;min-height:48px}
 .success-card .smallbtn.light{width:auto;max-width:100%;min-height:44px}
 .success-card .success-contact{margin-top:25px;padding-top:21px}
}

body[data-page="home"] .detail-content{min-height:0}
body[data-page="home"] .detail-content .detail-more{margin:26px 0 0}
body[data-page="home"] .detail-content .detail-more a{color:var(--point);font-weight:800}
body[data-page="home"] .detail-content ul b{color:var(--deep)}

/* Mobile home: restore the compact QM_9 sizing (hero, language switch, cards) */
@media(max-width:920px){
 body[data-page="home"] .brand{font-size:18px;line-height:1.05}
 body[data-page="home"] .brand small{font-size:9px;letter-spacing:.12em}
 body[data-page="home"] .lang a{font-size:11px;padding:6px 8px;min-width:0}
 body[data-page="home"] .hero{padding:76px 0 70px}
 body[data-page="home"] .hero .eyebrow{font-size:11px;letter-spacing:.11em}
 body[data-page="home"] .hero h1{font-size:30px;line-height:1.18;letter-spacing:-.04em;margin:14px 0 18px}
 body[data-page="home"] .hero p{font-size:14px;line-height:1.75;margin-bottom:24px}
 body[data-page="home"] .btn{padding:13px 12px;font-size:14px}
 body[data-page="home"] .quick-card{min-height:0;padding:18px 14px}
 body[data-page="home"] .quick-card h3{font-size:16px;margin:8px 0 5px}
 body[data-page="home"] .quick-card p{font-size:12.5px;line-height:1.55}
 body[data-page="home"] .service h3{font-size:18px}
 body[data-page="home"] .service p{font-size:14px}
 body[data-page="home"] .mobile-contact-bar{height:56px}
 body[data-page="home"] .mobile-contact-bar a{font-size:13px}
}

/* Home intro photo */
body[data-page="home"] .intro-photo{background-image:url('/assets/photo-home.webp');background-size:cover;background-position:center}
